From a5dd5cd8e2f74a5ffe5588f673e791b37a1efea6 Mon Sep 17 00:00:00 2001 From: Phil Date: Tue, 31 Oct 2023 14:17:02 -0600 Subject: [PATCH] Add initial Penumbra Skeleton --- conf/penumbra.yml | 6 + conf/root.yml | 121 + package.json | 4 + .../cosmos/ics23/v1/proofs_grpc_pb.js | 1 + .../generated/cosmos/ics23/v1/proofs_pb.d.ts | 488 + .../generated/cosmos/ics23/v1/proofs_pb.js | 3758 ++ .../generated/gogoproto/gogo_grpc_pb.js | 1 + .../penumbra/generated/gogoproto/gogo_pb.d.ts | 162 + .../penumbra/generated/gogoproto/gogo_pb.js | 2028 ++ .../ibc/core/client/v1/client_grpc_pb.js | 1 + .../ibc/core/client/v1/client_pb.d.ts | 134 + .../generated/ibc/core/client/v1/client_pb.js | 1027 + .../core/commitment/v1/commitment_grpc_pb.js | 1 + .../ibc/core/commitment/v1/commitment_pb.d.ts | 97 + .../ibc/core/commitment/v1/commitment_pb.js | 740 + .../core/app/v1alpha1/app_grpc_pb.d.ts | 81 + .../penumbra/core/app/v1alpha1/app_grpc_pb.js | 125 + .../penumbra/core/app/v1alpha1/app_pb.d.ts | 337 + .../penumbra/core/app/v1alpha1/app_pb.js | 2544 ++ .../core/asset/v1alpha1/asset_grpc_pb.js | 1 + .../core/asset/v1alpha1/asset_pb.d.ts | 282 + .../penumbra/core/asset/v1alpha1/asset_pb.js | 2194 ++ .../chain/v1alpha1/chain_grpc_pb.d.ts | 42 + .../component/chain/v1alpha1/chain_grpc_pb.js | 47 + .../component/chain/v1alpha1/chain_pb.d.ts | 258 + .../core/component/chain/v1alpha1/chain_pb.js | 1989 ++ .../v1alpha1/compact_block_grpc_pb.d.ts | 45 + .../v1alpha1/compact_block_grpc_pb.js | 52 + .../v1alpha1/compact_block_pb.d.ts | 258 + .../v1alpha1/compact_block_pb.js | 1957 ++ .../component/dao/v1alpha1/dao_grpc_pb.js | 1 + .../core/component/dao/v1alpha1/dao_pb.d.ts | 50 + .../core/component/dao/v1alpha1/dao_pb.js | 349 + .../component/dex/v1alpha1/dex_grpc_pb.d.ts | 224 + .../component/dex/v1alpha1/dex_grpc_pb.js | 407 + .../core/component/dex/v1alpha1/dex_pb.d.ts | 1784 + .../core/component/dex/v1alpha1/dex_pb.js | 13787 ++++++++ .../v1alpha1/distributions_grpc_pb.js | 1 + .../v1alpha1/distributions_pb.d.ts | 7 + .../v1alpha1/distributions_pb.js | 23 + .../component/fee/v1alpha1/fee_grpc_pb.js | 1 + .../core/component/fee/v1alpha1/fee_pb.d.ts | 113 + .../core/component/fee/v1alpha1/fee_pb.js | 841 + .../v1alpha1/governance_grpc_pb.d.ts | 67 + .../governance/v1alpha1/governance_grpc_pb.js | 90 + .../governance/v1alpha1/governance_pb.d.ts | 1252 + .../governance/v1alpha1/governance_pb.js | 9509 +++++ .../component/ibc/v1alpha1/ibc_grpc_pb.js | 1 + .../core/component/ibc/v1alpha1/ibc_pb.d.ts | 302 + .../core/component/ibc/v1alpha1/ibc_pb.js | 2350 ++ .../component/sct/v1alpha1/sct_grpc_pb.d.ts | 43 + .../component/sct/v1alpha1/sct_grpc_pb.js | 48 + .../core/component/sct/v1alpha1/sct_pb.d.ts | 80 + .../core/component/sct/v1alpha1/sct_pb.js | 580 + .../v1alpha1/shielded_pool_grpc_pb.d.ts | 46 + .../v1alpha1/shielded_pool_grpc_pb.js | 50 + .../v1alpha1/shielded_pool_pb.d.ts | 728 + .../v1alpha1/shielded_pool_pb.js | 5702 +++ .../stake/v1alpha1/stake_grpc_pb.d.ts | 110 + .../component/stake/v1alpha1/stake_grpc_pb.js | 181 + .../component/stake/v1alpha1/stake_pb.d.ts | 1017 + .../core/component/stake/v1alpha1/stake_pb.js | 7999 +++++ .../core/keys/v1alpha1/keys_grpc_pb.js | 1 + .../penumbra/core/keys/v1alpha1/keys_pb.d.ts | 353 + .../penumbra/core/keys/v1alpha1/keys_pb.js | 2719 ++ .../penumbra/core/num/v1alpha1/num_grpc_pb.js | 1 + .../penumbra/core/num/v1alpha1/num_pb.d.ts | 30 + .../penumbra/core/num/v1alpha1/num_pb.js | 206 + .../v1alpha1/transaction_grpc_pb.js | 1 + .../transaction/v1alpha1/transaction_pb.d.ts | 1214 + .../transaction/v1alpha1/transaction_pb.js | 9287 +++++ .../v1alpha1/decaf377_fmd_grpc_pb.js | 1 + .../v1alpha1/decaf377_fmd_pb.d.ts | 29 + .../decaf377_fmd/v1alpha1/decaf377_fmd_pb.js | 200 + .../v1alpha1/decaf377_rdsa_grpc_pb.js | 1 + .../v1alpha1/decaf377_rdsa_pb.d.ts | 51 + .../v1alpha1/decaf377_rdsa_pb.js | 376 + .../crypto/tct/v1alpha1/tct_grpc_pb.js | 1 + .../penumbra/crypto/tct/v1alpha1/tct_pb.d.ts | 114 + .../penumbra/crypto/tct/v1alpha1/tct_pb.js | 923 + .../custody/v1alpha1/custody_grpc_pb.d.ts | 43 + .../custody/v1alpha1/custody_grpc_pb.js | 58 + .../penumbra/custody/v1alpha1/custody_pb.d.ts | 126 + .../penumbra/custody/v1alpha1/custody_pb.js | 914 + .../storage/v1alpha1/storage_grpc_pb.js | 1 + .../penumbra/storage/v1alpha1/storage_pb.d.ts | 7 + .../penumbra/storage/v1alpha1/storage_pb.js | 23 + .../summoning/v1alpha1/summoning_grpc_pb.d.ts | 42 + .../summoning/v1alpha1/summoning_grpc_pb.js | 58 + .../summoning/v1alpha1/summoning_pb.d.ts | 388 + .../tools/summoning/v1alpha1/summoning_pb.js | 3139 ++ .../v1alpha1/tendermint_proxy_grpc_pb.d.ts | 132 + .../v1alpha1/tendermint_proxy_grpc_pb.js | 224 + .../v1alpha1/tendermint_proxy_pb.d.ts | 476 + .../v1alpha1/tendermint_proxy_pb.js | 3949 +++ .../penumbra/view/v1alpha1/view_grpc_pb.d.ts | 479 + .../penumbra/view/v1alpha1/view_grpc_pb.js | 927 + .../penumbra/view/v1alpha1/view_pb.d.ts | 1802 + .../penumbra/view/v1alpha1/view_pb.js | 14033 ++++++++ .../tendermint/crypto/keys_grpc_pb.js | 1 + .../generated/tendermint/crypto/keys_pb.d.ts | 50 + .../generated/tendermint/crypto/keys_pb.js | 319 + .../tendermint/crypto/proof_grpc_pb.js | 1 + .../generated/tendermint/crypto/proof_pb.d.ts | 149 + .../generated/tendermint/crypto/proof_pb.js | 1223 + .../generated/tendermint/p2p/types_grpc_pb.js | 1 + .../generated/tendermint/p2p/types_pb.d.ts | 132 + .../generated/tendermint/p2p/types_pb.js | 1060 + .../tendermint/types/block_grpc_pb.js | 1 + .../generated/tendermint/types/block_pb.d.ts | 51 + .../generated/tendermint/types/block_pb.js | 356 + .../tendermint/types/evidence_grpc_pb.js | 1 + .../tendermint/types/evidence_pb.d.ts | 152 + .../generated/tendermint/types/evidence_pb.js | 1144 + .../tendermint/types/types_grpc_pb.js | 1 + .../generated/tendermint/types/types_pb.d.ts | 513 + .../generated/tendermint/types/types_pb.js | 4236 +++ .../tendermint/types/validator_grpc_pb.js | 1 + .../tendermint/types/validator_pb.d.ts | 100 + .../tendermint/types/validator_pb.js | 781 + .../tendermint/version/types_grpc_pb.js | 1 + .../tendermint/version/types_pb.d.ts | 54 + .../generated/tendermint/version/types_pb.js | 390 + src/chains/penumbra/penumbra.config.ts | 41 + src/chains/penumbra/penumbra.controller.ts | 50 + src/chains/penumbra/proto/buf.gen.yaml | 11 + src/chains/penumbra/proto/buf.work.yaml | 3 + src/chains/penumbra/proto/penumbra/buf.lock | 33 + src/chains/penumbra/proto/penumbra/buf.yaml | 18 + .../penumbra/cosmos/ics23/v1/proofs.proto | 234 + .../proto/penumbra/gogoproto/gogo.proto | 145 + .../penumbra/ibc/core/client/v1/client.proto | 63 + .../ibc/core/commitment/v1/commitment.proto | 41 + .../penumbra/core/app/v1alpha1/app.proto | 110 + .../penumbra/core/asset/v1alpha1/asset.proto | 104 + .../core/component/chain/v1alpha1/chain.proto | 71 + .../v1alpha1/compact_block.proto | 74 + .../core/component/dao/v1alpha1/dao.proto | 14 + .../core/component/dex/v1alpha1/dex.proto | 563 + .../v1alpha1/distributions.proto | 3 + .../core/component/fee/v1alpha1/fee.proto | 37 + .../governance/v1alpha1/governance.proto | 378 + .../core/component/ibc/v1alpha1/ibc.proto | 93 + .../core/component/sct/v1alpha1/sct.proto | 26 + .../v1alpha1/shielded_pool.proto | 189 + .../core/component/stake/v1alpha1/stake.proto | 318 + .../penumbra/core/keys/v1alpha1/keys.proto | 77 + .../penumbra/core/num/v1alpha1/num.proto | 12 + .../transaction/v1alpha1/transaction.proto | 327 + .../decaf377_fmd/v1alpha1/decaf377_fmd.proto | 7 + .../v1alpha1/decaf377_rdsa.proto | 10 + .../penumbra/crypto/tct/v1alpha1/tct.proto | 24 + .../penumbra/custody/v1alpha1/custody.proto | 57 + .../penumbra/storage/v1alpha1/storage.proto | 60 + .../tools/summoning/v1alpha1/summoning.proto | 102 + .../v1alpha1/tendermint_proxy.proto | 155 + .../penumbra/view/v1alpha1/view.proto | 539 + .../penumbra/tendermint/crypto/keys.proto | 17 + .../penumbra/tendermint/crypto/proof.proto | 41 + .../proto/penumbra/tendermint/p2p/types.proto | 34 + .../penumbra/tendermint/types/block.proto | 15 + .../penumbra/tendermint/types/evidence.proto | 38 + .../penumbra/tendermint/types/types.proto | 157 + .../penumbra/tendermint/types/validator.proto | 25 + .../penumbra/tendermint/version/types.proto | 24 + src/services/schema/penumbra-schema.json | 24 + src/templates/penumbra.yml | 7 + yarn.lock | 29331 ++++++++-------- 168 files changed, 138974 insertions(+), 14299 deletions(-) create mode 100644 conf/penumbra.yml create mode 100644 conf/root.yml create mode 100644 src/chains/penumbra/generated/cosmos/ics23/v1/proofs_grpc_pb.js create mode 100644 src/chains/penumbra/generated/cosmos/ics23/v1/proofs_pb.d.ts create mode 100644 src/chains/penumbra/generated/cosmos/ics23/v1/proofs_pb.js create mode 100644 src/chains/penumbra/generated/gogoproto/gogo_grpc_pb.js create mode 100644 src/chains/penumbra/generated/gogoproto/gogo_pb.d.ts create mode 100644 src/chains/penumbra/generated/gogoproto/gogo_pb.js create mode 100644 src/chains/penumbra/generated/ibc/core/client/v1/client_grpc_pb.js create mode 100644 src/chains/penumbra/generated/ibc/core/client/v1/client_pb.d.ts create mode 100644 src/chains/penumbra/generated/ibc/core/client/v1/client_pb.js create mode 100644 src/chains/penumbra/generated/ibc/core/commitment/v1/commitment_grpc_pb.js create mode 100644 src/chains/penumbra/generated/ibc/core/commitment/v1/commitment_pb.d.ts create mode 100644 src/chains/penumbra/generated/ibc/core/commitment/v1/commitment_pb.js create mode 100644 src/chains/penumbra/generated/penumbra/core/app/v1alpha1/app_grpc_pb.d.ts create mode 100644 src/chains/penumbra/generated/penumbra/core/app/v1alpha1/app_grpc_pb.js create mode 100644 src/chains/penumbra/generated/penumbra/core/app/v1alpha1/app_pb.d.ts create mode 100644 src/chains/penumbra/generated/penumbra/core/app/v1alpha1/app_pb.js create mode 100644 src/chains/penumbra/generated/penumbra/core/asset/v1alpha1/asset_grpc_pb.js create mode 100644 src/chains/penumbra/generated/penumbra/core/asset/v1alpha1/asset_pb.d.ts create mode 100644 src/chains/penumbra/generated/penumbra/core/asset/v1alpha1/asset_pb.js create mode 100644 src/chains/penumbra/generated/penumbra/core/component/chain/v1alpha1/chain_grpc_pb.d.ts create mode 100644 src/chains/penumbra/generated/penumbra/core/component/chain/v1alpha1/chain_grpc_pb.js create mode 100644 src/chains/penumbra/generated/penumbra/core/component/chain/v1alpha1/chain_pb.d.ts create mode 100644 src/chains/penumbra/generated/penumbra/core/component/chain/v1alpha1/chain_pb.js create mode 100644 src/chains/penumbra/generated/penumbra/core/component/compact_block/v1alpha1/compact_block_grpc_pb.d.ts create mode 100644 src/chains/penumbra/generated/penumbra/core/component/compact_block/v1alpha1/compact_block_grpc_pb.js create mode 100644 src/chains/penumbra/generated/penumbra/core/component/compact_block/v1alpha1/compact_block_pb.d.ts create mode 100644 src/chains/penumbra/generated/penumbra/core/component/compact_block/v1alpha1/compact_block_pb.js create mode 100644 src/chains/penumbra/generated/penumbra/core/component/dao/v1alpha1/dao_grpc_pb.js create mode 100644 src/chains/penumbra/generated/penumbra/core/component/dao/v1alpha1/dao_pb.d.ts create mode 100644 src/chains/penumbra/generated/penumbra/core/component/dao/v1alpha1/dao_pb.js create mode 100644 src/chains/penumbra/generated/penumbra/core/component/dex/v1alpha1/dex_grpc_pb.d.ts create mode 100644 src/chains/penumbra/generated/penumbra/core/component/dex/v1alpha1/dex_grpc_pb.js create mode 100644 src/chains/penumbra/generated/penumbra/core/component/dex/v1alpha1/dex_pb.d.ts create mode 100644 src/chains/penumbra/generated/penumbra/core/component/dex/v1alpha1/dex_pb.js create mode 100644 src/chains/penumbra/generated/penumbra/core/component/distributions/v1alpha1/distributions_grpc_pb.js create mode 100644 src/chains/penumbra/generated/penumbra/core/component/distributions/v1alpha1/distributions_pb.d.ts create mode 100644 src/chains/penumbra/generated/penumbra/core/component/distributions/v1alpha1/distributions_pb.js create mode 100644 src/chains/penumbra/generated/penumbra/core/component/fee/v1alpha1/fee_grpc_pb.js create mode 100644 src/chains/penumbra/generated/penumbra/core/component/fee/v1alpha1/fee_pb.d.ts create mode 100644 src/chains/penumbra/generated/penumbra/core/component/fee/v1alpha1/fee_pb.js create mode 100644 src/chains/penumbra/generated/penumbra/core/component/governance/v1alpha1/governance_grpc_pb.d.ts create mode 100644 src/chains/penumbra/generated/penumbra/core/component/governance/v1alpha1/governance_grpc_pb.js create mode 100644 src/chains/penumbra/generated/penumbra/core/component/governance/v1alpha1/governance_pb.d.ts create mode 100644 src/chains/penumbra/generated/penumbra/core/component/governance/v1alpha1/governance_pb.js create mode 100644 src/chains/penumbra/generated/penumbra/core/component/ibc/v1alpha1/ibc_grpc_pb.js create mode 100644 src/chains/penumbra/generated/penumbra/core/component/ibc/v1alpha1/ibc_pb.d.ts create mode 100644 src/chains/penumbra/generated/penumbra/core/component/ibc/v1alpha1/ibc_pb.js create mode 100644 src/chains/penumbra/generated/penumbra/core/component/sct/v1alpha1/sct_grpc_pb.d.ts create mode 100644 src/chains/penumbra/generated/penumbra/core/component/sct/v1alpha1/sct_grpc_pb.js create mode 100644 src/chains/penumbra/generated/penumbra/core/component/sct/v1alpha1/sct_pb.d.ts create mode 100644 src/chains/penumbra/generated/penumbra/core/component/sct/v1alpha1/sct_pb.js create mode 100644 src/chains/penumbra/generated/penumbra/core/component/shielded_pool/v1alpha1/shielded_pool_grpc_pb.d.ts create mode 100644 src/chains/penumbra/generated/penumbra/core/component/shielded_pool/v1alpha1/shielded_pool_grpc_pb.js create mode 100644 src/chains/penumbra/generated/penumbra/core/component/shielded_pool/v1alpha1/shielded_pool_pb.d.ts create mode 100644 src/chains/penumbra/generated/penumbra/core/component/shielded_pool/v1alpha1/shielded_pool_pb.js create mode 100644 src/chains/penumbra/generated/penumbra/core/component/stake/v1alpha1/stake_grpc_pb.d.ts create mode 100644 src/chains/penumbra/generated/penumbra/core/component/stake/v1alpha1/stake_grpc_pb.js create mode 100644 src/chains/penumbra/generated/penumbra/core/component/stake/v1alpha1/stake_pb.d.ts create mode 100644 src/chains/penumbra/generated/penumbra/core/component/stake/v1alpha1/stake_pb.js create mode 100644 src/chains/penumbra/generated/penumbra/core/keys/v1alpha1/keys_grpc_pb.js create mode 100644 src/chains/penumbra/generated/penumbra/core/keys/v1alpha1/keys_pb.d.ts create mode 100644 src/chains/penumbra/generated/penumbra/core/keys/v1alpha1/keys_pb.js create mode 100644 src/chains/penumbra/generated/penumbra/core/num/v1alpha1/num_grpc_pb.js create mode 100644 src/chains/penumbra/generated/penumbra/core/num/v1alpha1/num_pb.d.ts create mode 100644 src/chains/penumbra/generated/penumbra/core/num/v1alpha1/num_pb.js create mode 100644 src/chains/penumbra/generated/penumbra/core/transaction/v1alpha1/transaction_grpc_pb.js create mode 100644 src/chains/penumbra/generated/penumbra/core/transaction/v1alpha1/transaction_pb.d.ts create mode 100644 src/chains/penumbra/generated/penumbra/core/transaction/v1alpha1/transaction_pb.js create mode 100644 src/chains/penumbra/generated/penumbra/crypto/decaf377_fmd/v1alpha1/decaf377_fmd_grpc_pb.js create mode 100644 src/chains/penumbra/generated/penumbra/crypto/decaf377_fmd/v1alpha1/decaf377_fmd_pb.d.ts create mode 100644 src/chains/penumbra/generated/penumbra/crypto/decaf377_fmd/v1alpha1/decaf377_fmd_pb.js create mode 100644 src/chains/penumbra/generated/penumbra/crypto/decaf377_rdsa/v1alpha1/decaf377_rdsa_grpc_pb.js create mode 100644 src/chains/penumbra/generated/penumbra/crypto/decaf377_rdsa/v1alpha1/decaf377_rdsa_pb.d.ts create mode 100644 src/chains/penumbra/generated/penumbra/crypto/decaf377_rdsa/v1alpha1/decaf377_rdsa_pb.js create mode 100644 src/chains/penumbra/generated/penumbra/crypto/tct/v1alpha1/tct_grpc_pb.js create mode 100644 src/chains/penumbra/generated/penumbra/crypto/tct/v1alpha1/tct_pb.d.ts create mode 100644 src/chains/penumbra/generated/penumbra/crypto/tct/v1alpha1/tct_pb.js create mode 100644 src/chains/penumbra/generated/penumbra/custody/v1alpha1/custody_grpc_pb.d.ts create mode 100644 src/chains/penumbra/generated/penumbra/custody/v1alpha1/custody_grpc_pb.js create mode 100644 src/chains/penumbra/generated/penumbra/custody/v1alpha1/custody_pb.d.ts create mode 100644 src/chains/penumbra/generated/penumbra/custody/v1alpha1/custody_pb.js create mode 100644 src/chains/penumbra/generated/penumbra/storage/v1alpha1/storage_grpc_pb.js create mode 100644 src/chains/penumbra/generated/penumbra/storage/v1alpha1/storage_pb.d.ts create mode 100644 src/chains/penumbra/generated/penumbra/storage/v1alpha1/storage_pb.js create mode 100644 src/chains/penumbra/generated/penumbra/tools/summoning/v1alpha1/summoning_grpc_pb.d.ts create mode 100644 src/chains/penumbra/generated/penumbra/tools/summoning/v1alpha1/summoning_grpc_pb.js create mode 100644 src/chains/penumbra/generated/penumbra/tools/summoning/v1alpha1/summoning_pb.d.ts create mode 100644 src/chains/penumbra/generated/penumbra/tools/summoning/v1alpha1/summoning_pb.js create mode 100644 src/chains/penumbra/generated/penumbra/util/tendermint_proxy/v1alpha1/tendermint_proxy_grpc_pb.d.ts create mode 100644 src/chains/penumbra/generated/penumbra/util/tendermint_proxy/v1alpha1/tendermint_proxy_grpc_pb.js create mode 100644 src/chains/penumbra/generated/penumbra/util/tendermint_proxy/v1alpha1/tendermint_proxy_pb.d.ts create mode 100644 src/chains/penumbra/generated/penumbra/util/tendermint_proxy/v1alpha1/tendermint_proxy_pb.js create mode 100644 src/chains/penumbra/generated/penumbra/view/v1alpha1/view_grpc_pb.d.ts create mode 100644 src/chains/penumbra/generated/penumbra/view/v1alpha1/view_grpc_pb.js create mode 100644 src/chains/penumbra/generated/penumbra/view/v1alpha1/view_pb.d.ts create mode 100644 src/chains/penumbra/generated/penumbra/view/v1alpha1/view_pb.js create mode 100644 src/chains/penumbra/generated/tendermint/crypto/keys_grpc_pb.js create mode 100644 src/chains/penumbra/generated/tendermint/crypto/keys_pb.d.ts create mode 100644 src/chains/penumbra/generated/tendermint/crypto/keys_pb.js create mode 100644 src/chains/penumbra/generated/tendermint/crypto/proof_grpc_pb.js create mode 100644 src/chains/penumbra/generated/tendermint/crypto/proof_pb.d.ts create mode 100644 src/chains/penumbra/generated/tendermint/crypto/proof_pb.js create mode 100644 src/chains/penumbra/generated/tendermint/p2p/types_grpc_pb.js create mode 100644 src/chains/penumbra/generated/tendermint/p2p/types_pb.d.ts create mode 100644 src/chains/penumbra/generated/tendermint/p2p/types_pb.js create mode 100644 src/chains/penumbra/generated/tendermint/types/block_grpc_pb.js create mode 100644 src/chains/penumbra/generated/tendermint/types/block_pb.d.ts create mode 100644 src/chains/penumbra/generated/tendermint/types/block_pb.js create mode 100644 src/chains/penumbra/generated/tendermint/types/evidence_grpc_pb.js create mode 100644 src/chains/penumbra/generated/tendermint/types/evidence_pb.d.ts create mode 100644 src/chains/penumbra/generated/tendermint/types/evidence_pb.js create mode 100644 src/chains/penumbra/generated/tendermint/types/types_grpc_pb.js create mode 100644 src/chains/penumbra/generated/tendermint/types/types_pb.d.ts create mode 100644 src/chains/penumbra/generated/tendermint/types/types_pb.js create mode 100644 src/chains/penumbra/generated/tendermint/types/validator_grpc_pb.js create mode 100644 src/chains/penumbra/generated/tendermint/types/validator_pb.d.ts create mode 100644 src/chains/penumbra/generated/tendermint/types/validator_pb.js create mode 100644 src/chains/penumbra/generated/tendermint/version/types_grpc_pb.js create mode 100644 src/chains/penumbra/generated/tendermint/version/types_pb.d.ts create mode 100644 src/chains/penumbra/generated/tendermint/version/types_pb.js create mode 100644 src/chains/penumbra/penumbra.config.ts create mode 100644 src/chains/penumbra/penumbra.controller.ts create mode 100644 src/chains/penumbra/proto/buf.gen.yaml create mode 100644 src/chains/penumbra/proto/buf.work.yaml create mode 100644 src/chains/penumbra/proto/penumbra/buf.lock create mode 100644 src/chains/penumbra/proto/penumbra/buf.yaml create mode 100644 src/chains/penumbra/proto/penumbra/cosmos/ics23/v1/proofs.proto create mode 100644 src/chains/penumbra/proto/penumbra/gogoproto/gogo.proto create mode 100644 src/chains/penumbra/proto/penumbra/ibc/core/client/v1/client.proto create mode 100644 src/chains/penumbra/proto/penumbra/ibc/core/commitment/v1/commitment.proto create mode 100644 src/chains/penumbra/proto/penumbra/penumbra/core/app/v1alpha1/app.proto create mode 100644 src/chains/penumbra/proto/penumbra/penumbra/core/asset/v1alpha1/asset.proto create mode 100644 src/chains/penumbra/proto/penumbra/penumbra/core/component/chain/v1alpha1/chain.proto create mode 100644 src/chains/penumbra/proto/penumbra/penumbra/core/component/compact_block/v1alpha1/compact_block.proto create mode 100644 src/chains/penumbra/proto/penumbra/penumbra/core/component/dao/v1alpha1/dao.proto create mode 100644 src/chains/penumbra/proto/penumbra/penumbra/core/component/dex/v1alpha1/dex.proto create mode 100644 src/chains/penumbra/proto/penumbra/penumbra/core/component/distributions/v1alpha1/distributions.proto create mode 100644 src/chains/penumbra/proto/penumbra/penumbra/core/component/fee/v1alpha1/fee.proto create mode 100644 src/chains/penumbra/proto/penumbra/penumbra/core/component/governance/v1alpha1/governance.proto create mode 100644 src/chains/penumbra/proto/penumbra/penumbra/core/component/ibc/v1alpha1/ibc.proto create mode 100644 src/chains/penumbra/proto/penumbra/penumbra/core/component/sct/v1alpha1/sct.proto create mode 100644 src/chains/penumbra/proto/penumbra/penumbra/core/component/shielded_pool/v1alpha1/shielded_pool.proto create mode 100644 src/chains/penumbra/proto/penumbra/penumbra/core/component/stake/v1alpha1/stake.proto create mode 100644 src/chains/penumbra/proto/penumbra/penumbra/core/keys/v1alpha1/keys.proto create mode 100644 src/chains/penumbra/proto/penumbra/penumbra/core/num/v1alpha1/num.proto create mode 100644 src/chains/penumbra/proto/penumbra/penumbra/core/transaction/v1alpha1/transaction.proto create mode 100644 src/chains/penumbra/proto/penumbra/penumbra/crypto/decaf377_fmd/v1alpha1/decaf377_fmd.proto create mode 100644 src/chains/penumbra/proto/penumbra/penumbra/crypto/decaf377_rdsa/v1alpha1/decaf377_rdsa.proto create mode 100644 src/chains/penumbra/proto/penumbra/penumbra/crypto/tct/v1alpha1/tct.proto create mode 100644 src/chains/penumbra/proto/penumbra/penumbra/custody/v1alpha1/custody.proto create mode 100644 src/chains/penumbra/proto/penumbra/penumbra/storage/v1alpha1/storage.proto create mode 100644 src/chains/penumbra/proto/penumbra/penumbra/tools/summoning/v1alpha1/summoning.proto create mode 100644 src/chains/penumbra/proto/penumbra/penumbra/util/tendermint_proxy/v1alpha1/tendermint_proxy.proto create mode 100644 src/chains/penumbra/proto/penumbra/penumbra/view/v1alpha1/view.proto create mode 100644 src/chains/penumbra/proto/penumbra/tendermint/crypto/keys.proto create mode 100644 src/chains/penumbra/proto/penumbra/tendermint/crypto/proof.proto create mode 100644 src/chains/penumbra/proto/penumbra/tendermint/p2p/types.proto create mode 100644 src/chains/penumbra/proto/penumbra/tendermint/types/block.proto create mode 100644 src/chains/penumbra/proto/penumbra/tendermint/types/evidence.proto create mode 100644 src/chains/penumbra/proto/penumbra/tendermint/types/types.proto create mode 100644 src/chains/penumbra/proto/penumbra/tendermint/types/validator.proto create mode 100644 src/chains/penumbra/proto/penumbra/tendermint/version/types.proto create mode 100644 src/services/schema/penumbra-schema.json create mode 100644 src/templates/penumbra.yml diff --git a/conf/penumbra.yml b/conf/penumbra.yml new file mode 100644 index 0000000000..859e0c108b --- /dev/null +++ b/conf/penumbra.yml @@ -0,0 +1,6 @@ +networks: + testnet: + rpcURL: localhost:8081 + tokenListType: URL + tokenListSource: https://cosmos-chain-registry-list.vercel.app/list.json +network: testnet diff --git a/conf/root.yml b/conf/root.yml new file mode 100644 index 0000000000..6e36cc27ef --- /dev/null +++ b/conf/root.yml @@ -0,0 +1,121 @@ +version: 1 +configurations: + $namespace server: + configurationPath: server.yml + schemaPath: server-schema.json + + $namespace algorand: + configurationPath: algorand.yml + schemaPath: algorand-schema.json + + $namespace ethereum: + configurationPath: ethereum.yml + schemaPath: ethereum-schema.json + + $namespace harmony: + configurationPath: harmony.yml + schemaPath: harmony-schema.json + + $namespace avalanche: + configurationPath: avalanche.yml + schemaPath: ethereum-schema.json + + $namespace dexalot: + configurationPath: dexalot.yml + schemaPath: dexalot-schema.json + + $namespace polygon: + configurationPath: polygon.yml + schemaPath: ethereum-schema.json + + $namespace near: + configurationPath: near.yml + schemaPath: ethereum-schema.json + + $namespace pangolin: + configurationPath: pangolin.yml + schemaPath: pangolin-schema.json + + $namespace quickswap: + configurationPath: quickswap.yml + schemaPath: quickswap-schema.json + + $namespace perp: + configurationPath: perp.yml + schemaPath: perp-schema.json + + $namespace sushiswap: + configurationPath: sushiswap.yml + schemaPath: sushiswap-schema.json + + $namespace tinyman: + configurationPath: tinyman.yml + schemaPath: tinyman-schema.json + + $namespace traderjoe: + configurationPath: traderjoe.yml + schemaPath: traderjoe-schema.json + + $namespace uniswap: + configurationPath: uniswap.yml + schemaPath: uniswap-schema.json + + $namespace ref: + configurationPath: ref.yml + schemaPath: ref-schema.json + + $namespace openocean: + configurationPath: openocean.yml + schemaPath: openocean-schema.json + + $namespace cosmos: + configurationPath: cosmos.yml + schemaPath: cosmos-schema.json + + $namespace cronos: + configurationPath: cronos.yml + schemaPath: ethereum-schema.json + + $namespace mad_meerkat: + configurationPath: mad_meerkat.yml + schemaPath: cronos-connector-schema.json + + $namespace vvs: + configurationPath: vvs.yml + schemaPath: cronos-connector-schema.json + + $namespace binance-smart-chain: + configurationPath: binance-smart-chain.yml + schemaPath: ethereum-schema.json + + $namespace pancakeswap: + configurationPath: pancakeswap.yml + schemaPath: pangolin-schema.json + + $namespace injective: + configurationPath: injective.yml + schemaPath: injective-schema.json + + $namespace xdc: + configurationPath: xdc.yml + schemaPath: ethereum-schema.json + + $namespace xsswap: + configurationPath: xsswap.yml + schemaPath: xsswap-schema.json + + $namespace tezos: + configurationPath: tezos.yml + schemaPath: tezos-schema.json + + $namespace plenty: + configurationPath: plenty.yml + schemaPath: plenty-schema.json + + $namespace kujira: + configurationPath: kujira.yml + schemaPath: kujira-schema.json + + $namespace penumbra: + configurationPath: penumbra.yml + schemaPath: penumbra-schema.json \ No newline at end of file diff --git a/package.json b/package.json index f9932a6b73..8cf6f9e5bb 100644 --- a/package.json +++ b/package.json @@ -32,6 +32,8 @@ "@ethersproject/networks": "5.7.0", "@ethersproject/providers": "5.7.0", "@ethersproject/solidity": "5.7.0", + "@grpc/grpc-js": "^1.9.9", + "@grpc/proto-loader": "^0.7.10", "@harmony-js/core": "^0.1.57", "@harmony-js/utils": "^0.1.56", "@improbable-eng/grpc-web": "^0.13.0", @@ -76,6 +78,8 @@ "express": "^4.17.1", "express-winston": "^4.1.0", "fs-extra": "^10.0.0", + "grpc_tools_node_protoc_ts": "^5.3.3", + "grpc-tools": "^1.12.4", "http-status-codes": "2.2.0", "immutable": "^4.2.4", "js-yaml": "^4.1.0", diff --git a/src/chains/penumbra/generated/cosmos/ics23/v1/proofs_grpc_pb.js b/src/chains/penumbra/generated/cosmos/ics23/v1/proofs_grpc_pb.js new file mode 100644 index 0000000000..97b3a2461d --- /dev/null +++ b/src/chains/penumbra/generated/cosmos/ics23/v1/proofs_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/src/chains/penumbra/generated/cosmos/ics23/v1/proofs_pb.d.ts b/src/chains/penumbra/generated/cosmos/ics23/v1/proofs_pb.d.ts new file mode 100644 index 0000000000..7c45d5d2ac --- /dev/null +++ b/src/chains/penumbra/generated/cosmos/ics23/v1/proofs_pb.d.ts @@ -0,0 +1,488 @@ +// package: cosmos.ics23.v1 +// file: cosmos/ics23/v1/proofs.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; + +export class ExistenceProof extends jspb.Message { + getKey(): Uint8Array | string; + getKey_asU8(): Uint8Array; + getKey_asB64(): string; + setKey(value: Uint8Array | string): ExistenceProof; + getValue(): Uint8Array | string; + getValue_asU8(): Uint8Array; + getValue_asB64(): string; + setValue(value: Uint8Array | string): ExistenceProof; + + hasLeaf(): boolean; + clearLeaf(): void; + getLeaf(): LeafOp | undefined; + setLeaf(value?: LeafOp): ExistenceProof; + clearPathList(): void; + getPathList(): Array; + setPathList(value: Array): ExistenceProof; + addPath(value?: InnerOp, index?: number): InnerOp; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ExistenceProof.AsObject; + static toObject(includeInstance: boolean, msg: ExistenceProof): ExistenceProof.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ExistenceProof, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ExistenceProof; + static deserializeBinaryFromReader(message: ExistenceProof, reader: jspb.BinaryReader): ExistenceProof; +} + +export namespace ExistenceProof { + export type AsObject = { + key: Uint8Array | string, + value: Uint8Array | string, + leaf?: LeafOp.AsObject, + pathList: Array, + } +} + +export class NonExistenceProof extends jspb.Message { + getKey(): Uint8Array | string; + getKey_asU8(): Uint8Array; + getKey_asB64(): string; + setKey(value: Uint8Array | string): NonExistenceProof; + + hasLeft(): boolean; + clearLeft(): void; + getLeft(): ExistenceProof | undefined; + setLeft(value?: ExistenceProof): NonExistenceProof; + + hasRight(): boolean; + clearRight(): void; + getRight(): ExistenceProof | undefined; + setRight(value?: ExistenceProof): NonExistenceProof; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): NonExistenceProof.AsObject; + static toObject(includeInstance: boolean, msg: NonExistenceProof): NonExistenceProof.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: NonExistenceProof, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): NonExistenceProof; + static deserializeBinaryFromReader(message: NonExistenceProof, reader: jspb.BinaryReader): NonExistenceProof; +} + +export namespace NonExistenceProof { + export type AsObject = { + key: Uint8Array | string, + left?: ExistenceProof.AsObject, + right?: ExistenceProof.AsObject, + } +} + +export class CommitmentProof extends jspb.Message { + + hasExist(): boolean; + clearExist(): void; + getExist(): ExistenceProof | undefined; + setExist(value?: ExistenceProof): CommitmentProof; + + hasNonexist(): boolean; + clearNonexist(): void; + getNonexist(): NonExistenceProof | undefined; + setNonexist(value?: NonExistenceProof): CommitmentProof; + + hasBatch(): boolean; + clearBatch(): void; + getBatch(): BatchProof | undefined; + setBatch(value?: BatchProof): CommitmentProof; + + hasCompressed(): boolean; + clearCompressed(): void; + getCompressed(): CompressedBatchProof | undefined; + setCompressed(value?: CompressedBatchProof): CommitmentProof; + + getProofCase(): CommitmentProof.ProofCase; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): CommitmentProof.AsObject; + static toObject(includeInstance: boolean, msg: CommitmentProof): CommitmentProof.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: CommitmentProof, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): CommitmentProof; + static deserializeBinaryFromReader(message: CommitmentProof, reader: jspb.BinaryReader): CommitmentProof; +} + +export namespace CommitmentProof { + export type AsObject = { + exist?: ExistenceProof.AsObject, + nonexist?: NonExistenceProof.AsObject, + batch?: BatchProof.AsObject, + compressed?: CompressedBatchProof.AsObject, + } + + export enum ProofCase { + PROOF_NOT_SET = 0, + EXIST = 1, + NONEXIST = 2, + BATCH = 3, + COMPRESSED = 4, + } + +} + +export class LeafOp extends jspb.Message { + getHash(): HashOp; + setHash(value: HashOp): LeafOp; + getPrehashKey(): HashOp; + setPrehashKey(value: HashOp): LeafOp; + getPrehashValue(): HashOp; + setPrehashValue(value: HashOp): LeafOp; + getLength(): LengthOp; + setLength(value: LengthOp): LeafOp; + getPrefix(): Uint8Array | string; + getPrefix_asU8(): Uint8Array; + getPrefix_asB64(): string; + setPrefix(value: Uint8Array | string): LeafOp; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): LeafOp.AsObject; + static toObject(includeInstance: boolean, msg: LeafOp): LeafOp.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: LeafOp, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): LeafOp; + static deserializeBinaryFromReader(message: LeafOp, reader: jspb.BinaryReader): LeafOp; +} + +export namespace LeafOp { + export type AsObject = { + hash: HashOp, + prehashKey: HashOp, + prehashValue: HashOp, + length: LengthOp, + prefix: Uint8Array | string, + } +} + +export class InnerOp extends jspb.Message { + getHash(): HashOp; + setHash(value: HashOp): InnerOp; + getPrefix(): Uint8Array | string; + getPrefix_asU8(): Uint8Array; + getPrefix_asB64(): string; + setPrefix(value: Uint8Array | string): InnerOp; + getSuffix(): Uint8Array | string; + getSuffix_asU8(): Uint8Array; + getSuffix_asB64(): string; + setSuffix(value: Uint8Array | string): InnerOp; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): InnerOp.AsObject; + static toObject(includeInstance: boolean, msg: InnerOp): InnerOp.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: InnerOp, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): InnerOp; + static deserializeBinaryFromReader(message: InnerOp, reader: jspb.BinaryReader): InnerOp; +} + +export namespace InnerOp { + export type AsObject = { + hash: HashOp, + prefix: Uint8Array | string, + suffix: Uint8Array | string, + } +} + +export class ProofSpec extends jspb.Message { + + hasLeafSpec(): boolean; + clearLeafSpec(): void; + getLeafSpec(): LeafOp | undefined; + setLeafSpec(value?: LeafOp): ProofSpec; + + hasInnerSpec(): boolean; + clearInnerSpec(): void; + getInnerSpec(): InnerSpec | undefined; + setInnerSpec(value?: InnerSpec): ProofSpec; + getMaxDepth(): number; + setMaxDepth(value: number): ProofSpec; + getMinDepth(): number; + setMinDepth(value: number): ProofSpec; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ProofSpec.AsObject; + static toObject(includeInstance: boolean, msg: ProofSpec): ProofSpec.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ProofSpec, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ProofSpec; + static deserializeBinaryFromReader(message: ProofSpec, reader: jspb.BinaryReader): ProofSpec; +} + +export namespace ProofSpec { + export type AsObject = { + leafSpec?: LeafOp.AsObject, + innerSpec?: InnerSpec.AsObject, + maxDepth: number, + minDepth: number, + } +} + +export class InnerSpec extends jspb.Message { + clearChildOrderList(): void; + getChildOrderList(): Array; + setChildOrderList(value: Array): InnerSpec; + addChildOrder(value: number, index?: number): number; + getChildSize(): number; + setChildSize(value: number): InnerSpec; + getMinPrefixLength(): number; + setMinPrefixLength(value: number): InnerSpec; + getMaxPrefixLength(): number; + setMaxPrefixLength(value: number): InnerSpec; + getEmptyChild(): Uint8Array | string; + getEmptyChild_asU8(): Uint8Array; + getEmptyChild_asB64(): string; + setEmptyChild(value: Uint8Array | string): InnerSpec; + getHash(): HashOp; + setHash(value: HashOp): InnerSpec; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): InnerSpec.AsObject; + static toObject(includeInstance: boolean, msg: InnerSpec): InnerSpec.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: InnerSpec, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): InnerSpec; + static deserializeBinaryFromReader(message: InnerSpec, reader: jspb.BinaryReader): InnerSpec; +} + +export namespace InnerSpec { + export type AsObject = { + childOrderList: Array, + childSize: number, + minPrefixLength: number, + maxPrefixLength: number, + emptyChild: Uint8Array | string, + hash: HashOp, + } +} + +export class BatchProof extends jspb.Message { + clearEntriesList(): void; + getEntriesList(): Array; + setEntriesList(value: Array): BatchProof; + addEntries(value?: BatchEntry, index?: number): BatchEntry; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): BatchProof.AsObject; + static toObject(includeInstance: boolean, msg: BatchProof): BatchProof.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: BatchProof, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): BatchProof; + static deserializeBinaryFromReader(message: BatchProof, reader: jspb.BinaryReader): BatchProof; +} + +export namespace BatchProof { + export type AsObject = { + entriesList: Array, + } +} + +export class BatchEntry extends jspb.Message { + + hasExist(): boolean; + clearExist(): void; + getExist(): ExistenceProof | undefined; + setExist(value?: ExistenceProof): BatchEntry; + + hasNonexist(): boolean; + clearNonexist(): void; + getNonexist(): NonExistenceProof | undefined; + setNonexist(value?: NonExistenceProof): BatchEntry; + + getProofCase(): BatchEntry.ProofCase; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): BatchEntry.AsObject; + static toObject(includeInstance: boolean, msg: BatchEntry): BatchEntry.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: BatchEntry, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): BatchEntry; + static deserializeBinaryFromReader(message: BatchEntry, reader: jspb.BinaryReader): BatchEntry; +} + +export namespace BatchEntry { + export type AsObject = { + exist?: ExistenceProof.AsObject, + nonexist?: NonExistenceProof.AsObject, + } + + export enum ProofCase { + PROOF_NOT_SET = 0, + EXIST = 1, + NONEXIST = 2, + } + +} + +export class CompressedBatchProof extends jspb.Message { + clearEntriesList(): void; + getEntriesList(): Array; + setEntriesList(value: Array): CompressedBatchProof; + addEntries(value?: CompressedBatchEntry, index?: number): CompressedBatchEntry; + clearLookupInnersList(): void; + getLookupInnersList(): Array; + setLookupInnersList(value: Array): CompressedBatchProof; + addLookupInners(value?: InnerOp, index?: number): InnerOp; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): CompressedBatchProof.AsObject; + static toObject(includeInstance: boolean, msg: CompressedBatchProof): CompressedBatchProof.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: CompressedBatchProof, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): CompressedBatchProof; + static deserializeBinaryFromReader(message: CompressedBatchProof, reader: jspb.BinaryReader): CompressedBatchProof; +} + +export namespace CompressedBatchProof { + export type AsObject = { + entriesList: Array, + lookupInnersList: Array, + } +} + +export class CompressedBatchEntry extends jspb.Message { + + hasExist(): boolean; + clearExist(): void; + getExist(): CompressedExistenceProof | undefined; + setExist(value?: CompressedExistenceProof): CompressedBatchEntry; + + hasNonexist(): boolean; + clearNonexist(): void; + getNonexist(): CompressedNonExistenceProof | undefined; + setNonexist(value?: CompressedNonExistenceProof): CompressedBatchEntry; + + getProofCase(): CompressedBatchEntry.ProofCase; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): CompressedBatchEntry.AsObject; + static toObject(includeInstance: boolean, msg: CompressedBatchEntry): CompressedBatchEntry.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: CompressedBatchEntry, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): CompressedBatchEntry; + static deserializeBinaryFromReader(message: CompressedBatchEntry, reader: jspb.BinaryReader): CompressedBatchEntry; +} + +export namespace CompressedBatchEntry { + export type AsObject = { + exist?: CompressedExistenceProof.AsObject, + nonexist?: CompressedNonExistenceProof.AsObject, + } + + export enum ProofCase { + PROOF_NOT_SET = 0, + EXIST = 1, + NONEXIST = 2, + } + +} + +export class CompressedExistenceProof extends jspb.Message { + getKey(): Uint8Array | string; + getKey_asU8(): Uint8Array; + getKey_asB64(): string; + setKey(value: Uint8Array | string): CompressedExistenceProof; + getValue(): Uint8Array | string; + getValue_asU8(): Uint8Array; + getValue_asB64(): string; + setValue(value: Uint8Array | string): CompressedExistenceProof; + + hasLeaf(): boolean; + clearLeaf(): void; + getLeaf(): LeafOp | undefined; + setLeaf(value?: LeafOp): CompressedExistenceProof; + clearPathList(): void; + getPathList(): Array; + setPathList(value: Array): CompressedExistenceProof; + addPath(value: number, index?: number): number; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): CompressedExistenceProof.AsObject; + static toObject(includeInstance: boolean, msg: CompressedExistenceProof): CompressedExistenceProof.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: CompressedExistenceProof, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): CompressedExistenceProof; + static deserializeBinaryFromReader(message: CompressedExistenceProof, reader: jspb.BinaryReader): CompressedExistenceProof; +} + +export namespace CompressedExistenceProof { + export type AsObject = { + key: Uint8Array | string, + value: Uint8Array | string, + leaf?: LeafOp.AsObject, + pathList: Array, + } +} + +export class CompressedNonExistenceProof extends jspb.Message { + getKey(): Uint8Array | string; + getKey_asU8(): Uint8Array; + getKey_asB64(): string; + setKey(value: Uint8Array | string): CompressedNonExistenceProof; + + hasLeft(): boolean; + clearLeft(): void; + getLeft(): CompressedExistenceProof | undefined; + setLeft(value?: CompressedExistenceProof): CompressedNonExistenceProof; + + hasRight(): boolean; + clearRight(): void; + getRight(): CompressedExistenceProof | undefined; + setRight(value?: CompressedExistenceProof): CompressedNonExistenceProof; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): CompressedNonExistenceProof.AsObject; + static toObject(includeInstance: boolean, msg: CompressedNonExistenceProof): CompressedNonExistenceProof.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: CompressedNonExistenceProof, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): CompressedNonExistenceProof; + static deserializeBinaryFromReader(message: CompressedNonExistenceProof, reader: jspb.BinaryReader): CompressedNonExistenceProof; +} + +export namespace CompressedNonExistenceProof { + export type AsObject = { + key: Uint8Array | string, + left?: CompressedExistenceProof.AsObject, + right?: CompressedExistenceProof.AsObject, + } +} + +export enum HashOp { + NO_HASH = 0, + SHA256 = 1, + SHA512 = 2, + KECCAK = 3, + RIPEMD160 = 4, + BITCOIN = 5, + SHA512_256 = 6, +} + +export enum LengthOp { + NO_PREFIX = 0, + VAR_PROTO = 1, + VAR_RLP = 2, + FIXED32_BIG = 3, + FIXED32_LITTLE = 4, + FIXED64_BIG = 5, + FIXED64_LITTLE = 6, + REQUIRE_32_BYTES = 7, + REQUIRE_64_BYTES = 8, +} diff --git a/src/chains/penumbra/generated/cosmos/ics23/v1/proofs_pb.js b/src/chains/penumbra/generated/cosmos/ics23/v1/proofs_pb.js new file mode 100644 index 0000000000..b4e0cc770c --- /dev/null +++ b/src/chains/penumbra/generated/cosmos/ics23/v1/proofs_pb.js @@ -0,0 +1,3758 @@ +// source: cosmos/ics23/v1/proofs.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = (function() { + if (this) { return this; } + if (typeof window !== 'undefined') { return window; } + if (typeof global !== 'undefined') { return global; } + if (typeof self !== 'undefined') { return self; } + return Function('return this')(); +}.call(null)); + +goog.exportSymbol('proto.cosmos.ics23.v1.BatchEntry', null, global); +goog.exportSymbol('proto.cosmos.ics23.v1.BatchEntry.ProofCase', null, global); +goog.exportSymbol('proto.cosmos.ics23.v1.BatchProof', null, global); +goog.exportSymbol('proto.cosmos.ics23.v1.CommitmentProof', null, global); +goog.exportSymbol('proto.cosmos.ics23.v1.CommitmentProof.ProofCase', null, global); +goog.exportSymbol('proto.cosmos.ics23.v1.CompressedBatchEntry', null, global); +goog.exportSymbol('proto.cosmos.ics23.v1.CompressedBatchEntry.ProofCase', null, global); +goog.exportSymbol('proto.cosmos.ics23.v1.CompressedBatchProof', null, global); +goog.exportSymbol('proto.cosmos.ics23.v1.CompressedExistenceProof', null, global); +goog.exportSymbol('proto.cosmos.ics23.v1.CompressedNonExistenceProof', null, global); +goog.exportSymbol('proto.cosmos.ics23.v1.ExistenceProof', null, global); +goog.exportSymbol('proto.cosmos.ics23.v1.HashOp', null, global); +goog.exportSymbol('proto.cosmos.ics23.v1.InnerOp', null, global); +goog.exportSymbol('proto.cosmos.ics23.v1.InnerSpec', null, global); +goog.exportSymbol('proto.cosmos.ics23.v1.LeafOp', null, global); +goog.exportSymbol('proto.cosmos.ics23.v1.LengthOp', null, global); +goog.exportSymbol('proto.cosmos.ics23.v1.NonExistenceProof', null, global); +goog.exportSymbol('proto.cosmos.ics23.v1.ProofSpec', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.cosmos.ics23.v1.ExistenceProof = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.cosmos.ics23.v1.ExistenceProof.repeatedFields_, null); +}; +goog.inherits(proto.cosmos.ics23.v1.ExistenceProof, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.cosmos.ics23.v1.ExistenceProof.displayName = 'proto.cosmos.ics23.v1.ExistenceProof'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.cosmos.ics23.v1.NonExistenceProof = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.cosmos.ics23.v1.NonExistenceProof, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.cosmos.ics23.v1.NonExistenceProof.displayName = 'proto.cosmos.ics23.v1.NonExistenceProof'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.cosmos.ics23.v1.CommitmentProof = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.cosmos.ics23.v1.CommitmentProof.oneofGroups_); +}; +goog.inherits(proto.cosmos.ics23.v1.CommitmentProof, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.cosmos.ics23.v1.CommitmentProof.displayName = 'proto.cosmos.ics23.v1.CommitmentProof'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.cosmos.ics23.v1.LeafOp = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.cosmos.ics23.v1.LeafOp, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.cosmos.ics23.v1.LeafOp.displayName = 'proto.cosmos.ics23.v1.LeafOp'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.cosmos.ics23.v1.InnerOp = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.cosmos.ics23.v1.InnerOp, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.cosmos.ics23.v1.InnerOp.displayName = 'proto.cosmos.ics23.v1.InnerOp'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.cosmos.ics23.v1.ProofSpec = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.cosmos.ics23.v1.ProofSpec, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.cosmos.ics23.v1.ProofSpec.displayName = 'proto.cosmos.ics23.v1.ProofSpec'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.cosmos.ics23.v1.InnerSpec = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.cosmos.ics23.v1.InnerSpec.repeatedFields_, null); +}; +goog.inherits(proto.cosmos.ics23.v1.InnerSpec, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.cosmos.ics23.v1.InnerSpec.displayName = 'proto.cosmos.ics23.v1.InnerSpec'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.cosmos.ics23.v1.BatchProof = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.cosmos.ics23.v1.BatchProof.repeatedFields_, null); +}; +goog.inherits(proto.cosmos.ics23.v1.BatchProof, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.cosmos.ics23.v1.BatchProof.displayName = 'proto.cosmos.ics23.v1.BatchProof'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.cosmos.ics23.v1.BatchEntry = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.cosmos.ics23.v1.BatchEntry.oneofGroups_); +}; +goog.inherits(proto.cosmos.ics23.v1.BatchEntry, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.cosmos.ics23.v1.BatchEntry.displayName = 'proto.cosmos.ics23.v1.BatchEntry'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.cosmos.ics23.v1.CompressedBatchProof = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.cosmos.ics23.v1.CompressedBatchProof.repeatedFields_, null); +}; +goog.inherits(proto.cosmos.ics23.v1.CompressedBatchProof, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.cosmos.ics23.v1.CompressedBatchProof.displayName = 'proto.cosmos.ics23.v1.CompressedBatchProof'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.cosmos.ics23.v1.CompressedBatchEntry = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.cosmos.ics23.v1.CompressedBatchEntry.oneofGroups_); +}; +goog.inherits(proto.cosmos.ics23.v1.CompressedBatchEntry, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.cosmos.ics23.v1.CompressedBatchEntry.displayName = 'proto.cosmos.ics23.v1.CompressedBatchEntry'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.cosmos.ics23.v1.CompressedExistenceProof = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.cosmos.ics23.v1.CompressedExistenceProof.repeatedFields_, null); +}; +goog.inherits(proto.cosmos.ics23.v1.CompressedExistenceProof, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.cosmos.ics23.v1.CompressedExistenceProof.displayName = 'proto.cosmos.ics23.v1.CompressedExistenceProof'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.cosmos.ics23.v1.CompressedNonExistenceProof = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.cosmos.ics23.v1.CompressedNonExistenceProof, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.cosmos.ics23.v1.CompressedNonExistenceProof.displayName = 'proto.cosmos.ics23.v1.CompressedNonExistenceProof'; +} + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.cosmos.ics23.v1.ExistenceProof.repeatedFields_ = [4]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.cosmos.ics23.v1.ExistenceProof.prototype.toObject = function(opt_includeInstance) { + return proto.cosmos.ics23.v1.ExistenceProof.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.cosmos.ics23.v1.ExistenceProof} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.cosmos.ics23.v1.ExistenceProof.toObject = function(includeInstance, msg) { + var f, obj = { + key: msg.getKey_asB64(), + value: msg.getValue_asB64(), + leaf: (f = msg.getLeaf()) && proto.cosmos.ics23.v1.LeafOp.toObject(includeInstance, f), + pathList: jspb.Message.toObjectList(msg.getPathList(), + proto.cosmos.ics23.v1.InnerOp.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.cosmos.ics23.v1.ExistenceProof} + */ +proto.cosmos.ics23.v1.ExistenceProof.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.cosmos.ics23.v1.ExistenceProof; + return proto.cosmos.ics23.v1.ExistenceProof.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.cosmos.ics23.v1.ExistenceProof} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.cosmos.ics23.v1.ExistenceProof} + */ +proto.cosmos.ics23.v1.ExistenceProof.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setKey(value); + break; + case 2: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setValue(value); + break; + case 3: + var value = new proto.cosmos.ics23.v1.LeafOp; + reader.readMessage(value,proto.cosmos.ics23.v1.LeafOp.deserializeBinaryFromReader); + msg.setLeaf(value); + break; + case 4: + var value = new proto.cosmos.ics23.v1.InnerOp; + reader.readMessage(value,proto.cosmos.ics23.v1.InnerOp.deserializeBinaryFromReader); + msg.addPath(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.cosmos.ics23.v1.ExistenceProof.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.cosmos.ics23.v1.ExistenceProof.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.cosmos.ics23.v1.ExistenceProof} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.cosmos.ics23.v1.ExistenceProof.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getKey_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } + f = message.getValue_asU8(); + if (f.length > 0) { + writer.writeBytes( + 2, + f + ); + } + f = message.getLeaf(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.cosmos.ics23.v1.LeafOp.serializeBinaryToWriter + ); + } + f = message.getPathList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 4, + f, + proto.cosmos.ics23.v1.InnerOp.serializeBinaryToWriter + ); + } +}; + + +/** + * optional bytes key = 1; + * @return {!(string|Uint8Array)} + */ +proto.cosmos.ics23.v1.ExistenceProof.prototype.getKey = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes key = 1; + * This is a type-conversion wrapper around `getKey()` + * @return {string} + */ +proto.cosmos.ics23.v1.ExistenceProof.prototype.getKey_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getKey())); +}; + + +/** + * optional bytes key = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getKey()` + * @return {!Uint8Array} + */ +proto.cosmos.ics23.v1.ExistenceProof.prototype.getKey_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getKey())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.cosmos.ics23.v1.ExistenceProof} returns this + */ +proto.cosmos.ics23.v1.ExistenceProof.prototype.setKey = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + +/** + * optional bytes value = 2; + * @return {!(string|Uint8Array)} + */ +proto.cosmos.ics23.v1.ExistenceProof.prototype.getValue = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * optional bytes value = 2; + * This is a type-conversion wrapper around `getValue()` + * @return {string} + */ +proto.cosmos.ics23.v1.ExistenceProof.prototype.getValue_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getValue())); +}; + + +/** + * optional bytes value = 2; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getValue()` + * @return {!Uint8Array} + */ +proto.cosmos.ics23.v1.ExistenceProof.prototype.getValue_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getValue())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.cosmos.ics23.v1.ExistenceProof} returns this + */ +proto.cosmos.ics23.v1.ExistenceProof.prototype.setValue = function(value) { + return jspb.Message.setProto3BytesField(this, 2, value); +}; + + +/** + * optional LeafOp leaf = 3; + * @return {?proto.cosmos.ics23.v1.LeafOp} + */ +proto.cosmos.ics23.v1.ExistenceProof.prototype.getLeaf = function() { + return /** @type{?proto.cosmos.ics23.v1.LeafOp} */ ( + jspb.Message.getWrapperField(this, proto.cosmos.ics23.v1.LeafOp, 3)); +}; + + +/** + * @param {?proto.cosmos.ics23.v1.LeafOp|undefined} value + * @return {!proto.cosmos.ics23.v1.ExistenceProof} returns this +*/ +proto.cosmos.ics23.v1.ExistenceProof.prototype.setLeaf = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.cosmos.ics23.v1.ExistenceProof} returns this + */ +proto.cosmos.ics23.v1.ExistenceProof.prototype.clearLeaf = function() { + return this.setLeaf(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.cosmos.ics23.v1.ExistenceProof.prototype.hasLeaf = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * repeated InnerOp path = 4; + * @return {!Array} + */ +proto.cosmos.ics23.v1.ExistenceProof.prototype.getPathList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.cosmos.ics23.v1.InnerOp, 4)); +}; + + +/** + * @param {!Array} value + * @return {!proto.cosmos.ics23.v1.ExistenceProof} returns this +*/ +proto.cosmos.ics23.v1.ExistenceProof.prototype.setPathList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 4, value); +}; + + +/** + * @param {!proto.cosmos.ics23.v1.InnerOp=} opt_value + * @param {number=} opt_index + * @return {!proto.cosmos.ics23.v1.InnerOp} + */ +proto.cosmos.ics23.v1.ExistenceProof.prototype.addPath = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.cosmos.ics23.v1.InnerOp, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.cosmos.ics23.v1.ExistenceProof} returns this + */ +proto.cosmos.ics23.v1.ExistenceProof.prototype.clearPathList = function() { + return this.setPathList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.cosmos.ics23.v1.NonExistenceProof.prototype.toObject = function(opt_includeInstance) { + return proto.cosmos.ics23.v1.NonExistenceProof.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.cosmos.ics23.v1.NonExistenceProof} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.cosmos.ics23.v1.NonExistenceProof.toObject = function(includeInstance, msg) { + var f, obj = { + key: msg.getKey_asB64(), + left: (f = msg.getLeft()) && proto.cosmos.ics23.v1.ExistenceProof.toObject(includeInstance, f), + right: (f = msg.getRight()) && proto.cosmos.ics23.v1.ExistenceProof.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.cosmos.ics23.v1.NonExistenceProof} + */ +proto.cosmos.ics23.v1.NonExistenceProof.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.cosmos.ics23.v1.NonExistenceProof; + return proto.cosmos.ics23.v1.NonExistenceProof.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.cosmos.ics23.v1.NonExistenceProof} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.cosmos.ics23.v1.NonExistenceProof} + */ +proto.cosmos.ics23.v1.NonExistenceProof.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setKey(value); + break; + case 2: + var value = new proto.cosmos.ics23.v1.ExistenceProof; + reader.readMessage(value,proto.cosmos.ics23.v1.ExistenceProof.deserializeBinaryFromReader); + msg.setLeft(value); + break; + case 3: + var value = new proto.cosmos.ics23.v1.ExistenceProof; + reader.readMessage(value,proto.cosmos.ics23.v1.ExistenceProof.deserializeBinaryFromReader); + msg.setRight(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.cosmos.ics23.v1.NonExistenceProof.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.cosmos.ics23.v1.NonExistenceProof.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.cosmos.ics23.v1.NonExistenceProof} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.cosmos.ics23.v1.NonExistenceProof.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getKey_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } + f = message.getLeft(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.cosmos.ics23.v1.ExistenceProof.serializeBinaryToWriter + ); + } + f = message.getRight(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.cosmos.ics23.v1.ExistenceProof.serializeBinaryToWriter + ); + } +}; + + +/** + * optional bytes key = 1; + * @return {!(string|Uint8Array)} + */ +proto.cosmos.ics23.v1.NonExistenceProof.prototype.getKey = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes key = 1; + * This is a type-conversion wrapper around `getKey()` + * @return {string} + */ +proto.cosmos.ics23.v1.NonExistenceProof.prototype.getKey_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getKey())); +}; + + +/** + * optional bytes key = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getKey()` + * @return {!Uint8Array} + */ +proto.cosmos.ics23.v1.NonExistenceProof.prototype.getKey_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getKey())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.cosmos.ics23.v1.NonExistenceProof} returns this + */ +proto.cosmos.ics23.v1.NonExistenceProof.prototype.setKey = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + +/** + * optional ExistenceProof left = 2; + * @return {?proto.cosmos.ics23.v1.ExistenceProof} + */ +proto.cosmos.ics23.v1.NonExistenceProof.prototype.getLeft = function() { + return /** @type{?proto.cosmos.ics23.v1.ExistenceProof} */ ( + jspb.Message.getWrapperField(this, proto.cosmos.ics23.v1.ExistenceProof, 2)); +}; + + +/** + * @param {?proto.cosmos.ics23.v1.ExistenceProof|undefined} value + * @return {!proto.cosmos.ics23.v1.NonExistenceProof} returns this +*/ +proto.cosmos.ics23.v1.NonExistenceProof.prototype.setLeft = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.cosmos.ics23.v1.NonExistenceProof} returns this + */ +proto.cosmos.ics23.v1.NonExistenceProof.prototype.clearLeft = function() { + return this.setLeft(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.cosmos.ics23.v1.NonExistenceProof.prototype.hasLeft = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional ExistenceProof right = 3; + * @return {?proto.cosmos.ics23.v1.ExistenceProof} + */ +proto.cosmos.ics23.v1.NonExistenceProof.prototype.getRight = function() { + return /** @type{?proto.cosmos.ics23.v1.ExistenceProof} */ ( + jspb.Message.getWrapperField(this, proto.cosmos.ics23.v1.ExistenceProof, 3)); +}; + + +/** + * @param {?proto.cosmos.ics23.v1.ExistenceProof|undefined} value + * @return {!proto.cosmos.ics23.v1.NonExistenceProof} returns this +*/ +proto.cosmos.ics23.v1.NonExistenceProof.prototype.setRight = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.cosmos.ics23.v1.NonExistenceProof} returns this + */ +proto.cosmos.ics23.v1.NonExistenceProof.prototype.clearRight = function() { + return this.setRight(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.cosmos.ics23.v1.NonExistenceProof.prototype.hasRight = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.cosmos.ics23.v1.CommitmentProof.oneofGroups_ = [[1,2,3,4]]; + +/** + * @enum {number} + */ +proto.cosmos.ics23.v1.CommitmentProof.ProofCase = { + PROOF_NOT_SET: 0, + EXIST: 1, + NONEXIST: 2, + BATCH: 3, + COMPRESSED: 4 +}; + +/** + * @return {proto.cosmos.ics23.v1.CommitmentProof.ProofCase} + */ +proto.cosmos.ics23.v1.CommitmentProof.prototype.getProofCase = function() { + return /** @type {proto.cosmos.ics23.v1.CommitmentProof.ProofCase} */(jspb.Message.computeOneofCase(this, proto.cosmos.ics23.v1.CommitmentProof.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.cosmos.ics23.v1.CommitmentProof.prototype.toObject = function(opt_includeInstance) { + return proto.cosmos.ics23.v1.CommitmentProof.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.cosmos.ics23.v1.CommitmentProof} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.cosmos.ics23.v1.CommitmentProof.toObject = function(includeInstance, msg) { + var f, obj = { + exist: (f = msg.getExist()) && proto.cosmos.ics23.v1.ExistenceProof.toObject(includeInstance, f), + nonexist: (f = msg.getNonexist()) && proto.cosmos.ics23.v1.NonExistenceProof.toObject(includeInstance, f), + batch: (f = msg.getBatch()) && proto.cosmos.ics23.v1.BatchProof.toObject(includeInstance, f), + compressed: (f = msg.getCompressed()) && proto.cosmos.ics23.v1.CompressedBatchProof.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.cosmos.ics23.v1.CommitmentProof} + */ +proto.cosmos.ics23.v1.CommitmentProof.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.cosmos.ics23.v1.CommitmentProof; + return proto.cosmos.ics23.v1.CommitmentProof.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.cosmos.ics23.v1.CommitmentProof} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.cosmos.ics23.v1.CommitmentProof} + */ +proto.cosmos.ics23.v1.CommitmentProof.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.cosmos.ics23.v1.ExistenceProof; + reader.readMessage(value,proto.cosmos.ics23.v1.ExistenceProof.deserializeBinaryFromReader); + msg.setExist(value); + break; + case 2: + var value = new proto.cosmos.ics23.v1.NonExistenceProof; + reader.readMessage(value,proto.cosmos.ics23.v1.NonExistenceProof.deserializeBinaryFromReader); + msg.setNonexist(value); + break; + case 3: + var value = new proto.cosmos.ics23.v1.BatchProof; + reader.readMessage(value,proto.cosmos.ics23.v1.BatchProof.deserializeBinaryFromReader); + msg.setBatch(value); + break; + case 4: + var value = new proto.cosmos.ics23.v1.CompressedBatchProof; + reader.readMessage(value,proto.cosmos.ics23.v1.CompressedBatchProof.deserializeBinaryFromReader); + msg.setCompressed(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.cosmos.ics23.v1.CommitmentProof.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.cosmos.ics23.v1.CommitmentProof.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.cosmos.ics23.v1.CommitmentProof} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.cosmos.ics23.v1.CommitmentProof.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getExist(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.cosmos.ics23.v1.ExistenceProof.serializeBinaryToWriter + ); + } + f = message.getNonexist(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.cosmos.ics23.v1.NonExistenceProof.serializeBinaryToWriter + ); + } + f = message.getBatch(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.cosmos.ics23.v1.BatchProof.serializeBinaryToWriter + ); + } + f = message.getCompressed(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.cosmos.ics23.v1.CompressedBatchProof.serializeBinaryToWriter + ); + } +}; + + +/** + * optional ExistenceProof exist = 1; + * @return {?proto.cosmos.ics23.v1.ExistenceProof} + */ +proto.cosmos.ics23.v1.CommitmentProof.prototype.getExist = function() { + return /** @type{?proto.cosmos.ics23.v1.ExistenceProof} */ ( + jspb.Message.getWrapperField(this, proto.cosmos.ics23.v1.ExistenceProof, 1)); +}; + + +/** + * @param {?proto.cosmos.ics23.v1.ExistenceProof|undefined} value + * @return {!proto.cosmos.ics23.v1.CommitmentProof} returns this +*/ +proto.cosmos.ics23.v1.CommitmentProof.prototype.setExist = function(value) { + return jspb.Message.setOneofWrapperField(this, 1, proto.cosmos.ics23.v1.CommitmentProof.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.cosmos.ics23.v1.CommitmentProof} returns this + */ +proto.cosmos.ics23.v1.CommitmentProof.prototype.clearExist = function() { + return this.setExist(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.cosmos.ics23.v1.CommitmentProof.prototype.hasExist = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional NonExistenceProof nonexist = 2; + * @return {?proto.cosmos.ics23.v1.NonExistenceProof} + */ +proto.cosmos.ics23.v1.CommitmentProof.prototype.getNonexist = function() { + return /** @type{?proto.cosmos.ics23.v1.NonExistenceProof} */ ( + jspb.Message.getWrapperField(this, proto.cosmos.ics23.v1.NonExistenceProof, 2)); +}; + + +/** + * @param {?proto.cosmos.ics23.v1.NonExistenceProof|undefined} value + * @return {!proto.cosmos.ics23.v1.CommitmentProof} returns this +*/ +proto.cosmos.ics23.v1.CommitmentProof.prototype.setNonexist = function(value) { + return jspb.Message.setOneofWrapperField(this, 2, proto.cosmos.ics23.v1.CommitmentProof.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.cosmos.ics23.v1.CommitmentProof} returns this + */ +proto.cosmos.ics23.v1.CommitmentProof.prototype.clearNonexist = function() { + return this.setNonexist(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.cosmos.ics23.v1.CommitmentProof.prototype.hasNonexist = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional BatchProof batch = 3; + * @return {?proto.cosmos.ics23.v1.BatchProof} + */ +proto.cosmos.ics23.v1.CommitmentProof.prototype.getBatch = function() { + return /** @type{?proto.cosmos.ics23.v1.BatchProof} */ ( + jspb.Message.getWrapperField(this, proto.cosmos.ics23.v1.BatchProof, 3)); +}; + + +/** + * @param {?proto.cosmos.ics23.v1.BatchProof|undefined} value + * @return {!proto.cosmos.ics23.v1.CommitmentProof} returns this +*/ +proto.cosmos.ics23.v1.CommitmentProof.prototype.setBatch = function(value) { + return jspb.Message.setOneofWrapperField(this, 3, proto.cosmos.ics23.v1.CommitmentProof.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.cosmos.ics23.v1.CommitmentProof} returns this + */ +proto.cosmos.ics23.v1.CommitmentProof.prototype.clearBatch = function() { + return this.setBatch(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.cosmos.ics23.v1.CommitmentProof.prototype.hasBatch = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional CompressedBatchProof compressed = 4; + * @return {?proto.cosmos.ics23.v1.CompressedBatchProof} + */ +proto.cosmos.ics23.v1.CommitmentProof.prototype.getCompressed = function() { + return /** @type{?proto.cosmos.ics23.v1.CompressedBatchProof} */ ( + jspb.Message.getWrapperField(this, proto.cosmos.ics23.v1.CompressedBatchProof, 4)); +}; + + +/** + * @param {?proto.cosmos.ics23.v1.CompressedBatchProof|undefined} value + * @return {!proto.cosmos.ics23.v1.CommitmentProof} returns this +*/ +proto.cosmos.ics23.v1.CommitmentProof.prototype.setCompressed = function(value) { + return jspb.Message.setOneofWrapperField(this, 4, proto.cosmos.ics23.v1.CommitmentProof.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.cosmos.ics23.v1.CommitmentProof} returns this + */ +proto.cosmos.ics23.v1.CommitmentProof.prototype.clearCompressed = function() { + return this.setCompressed(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.cosmos.ics23.v1.CommitmentProof.prototype.hasCompressed = function() { + return jspb.Message.getField(this, 4) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.cosmos.ics23.v1.LeafOp.prototype.toObject = function(opt_includeInstance) { + return proto.cosmos.ics23.v1.LeafOp.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.cosmos.ics23.v1.LeafOp} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.cosmos.ics23.v1.LeafOp.toObject = function(includeInstance, msg) { + var f, obj = { + hash: jspb.Message.getFieldWithDefault(msg, 1, 0), + prehashKey: jspb.Message.getFieldWithDefault(msg, 2, 0), + prehashValue: jspb.Message.getFieldWithDefault(msg, 3, 0), + length: jspb.Message.getFieldWithDefault(msg, 4, 0), + prefix: msg.getPrefix_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.cosmos.ics23.v1.LeafOp} + */ +proto.cosmos.ics23.v1.LeafOp.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.cosmos.ics23.v1.LeafOp; + return proto.cosmos.ics23.v1.LeafOp.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.cosmos.ics23.v1.LeafOp} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.cosmos.ics23.v1.LeafOp} + */ +proto.cosmos.ics23.v1.LeafOp.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!proto.cosmos.ics23.v1.HashOp} */ (reader.readEnum()); + msg.setHash(value); + break; + case 2: + var value = /** @type {!proto.cosmos.ics23.v1.HashOp} */ (reader.readEnum()); + msg.setPrehashKey(value); + break; + case 3: + var value = /** @type {!proto.cosmos.ics23.v1.HashOp} */ (reader.readEnum()); + msg.setPrehashValue(value); + break; + case 4: + var value = /** @type {!proto.cosmos.ics23.v1.LengthOp} */ (reader.readEnum()); + msg.setLength(value); + break; + case 5: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setPrefix(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.cosmos.ics23.v1.LeafOp.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.cosmos.ics23.v1.LeafOp.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.cosmos.ics23.v1.LeafOp} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.cosmos.ics23.v1.LeafOp.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getHash(); + if (f !== 0.0) { + writer.writeEnum( + 1, + f + ); + } + f = message.getPrehashKey(); + if (f !== 0.0) { + writer.writeEnum( + 2, + f + ); + } + f = message.getPrehashValue(); + if (f !== 0.0) { + writer.writeEnum( + 3, + f + ); + } + f = message.getLength(); + if (f !== 0.0) { + writer.writeEnum( + 4, + f + ); + } + f = message.getPrefix_asU8(); + if (f.length > 0) { + writer.writeBytes( + 5, + f + ); + } +}; + + +/** + * optional HashOp hash = 1; + * @return {!proto.cosmos.ics23.v1.HashOp} + */ +proto.cosmos.ics23.v1.LeafOp.prototype.getHash = function() { + return /** @type {!proto.cosmos.ics23.v1.HashOp} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {!proto.cosmos.ics23.v1.HashOp} value + * @return {!proto.cosmos.ics23.v1.LeafOp} returns this + */ +proto.cosmos.ics23.v1.LeafOp.prototype.setHash = function(value) { + return jspb.Message.setProto3EnumField(this, 1, value); +}; + + +/** + * optional HashOp prehash_key = 2; + * @return {!proto.cosmos.ics23.v1.HashOp} + */ +proto.cosmos.ics23.v1.LeafOp.prototype.getPrehashKey = function() { + return /** @type {!proto.cosmos.ics23.v1.HashOp} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {!proto.cosmos.ics23.v1.HashOp} value + * @return {!proto.cosmos.ics23.v1.LeafOp} returns this + */ +proto.cosmos.ics23.v1.LeafOp.prototype.setPrehashKey = function(value) { + return jspb.Message.setProto3EnumField(this, 2, value); +}; + + +/** + * optional HashOp prehash_value = 3; + * @return {!proto.cosmos.ics23.v1.HashOp} + */ +proto.cosmos.ics23.v1.LeafOp.prototype.getPrehashValue = function() { + return /** @type {!proto.cosmos.ics23.v1.HashOp} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +}; + + +/** + * @param {!proto.cosmos.ics23.v1.HashOp} value + * @return {!proto.cosmos.ics23.v1.LeafOp} returns this + */ +proto.cosmos.ics23.v1.LeafOp.prototype.setPrehashValue = function(value) { + return jspb.Message.setProto3EnumField(this, 3, value); +}; + + +/** + * optional LengthOp length = 4; + * @return {!proto.cosmos.ics23.v1.LengthOp} + */ +proto.cosmos.ics23.v1.LeafOp.prototype.getLength = function() { + return /** @type {!proto.cosmos.ics23.v1.LengthOp} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); +}; + + +/** + * @param {!proto.cosmos.ics23.v1.LengthOp} value + * @return {!proto.cosmos.ics23.v1.LeafOp} returns this + */ +proto.cosmos.ics23.v1.LeafOp.prototype.setLength = function(value) { + return jspb.Message.setProto3EnumField(this, 4, value); +}; + + +/** + * optional bytes prefix = 5; + * @return {!(string|Uint8Array)} + */ +proto.cosmos.ics23.v1.LeafOp.prototype.getPrefix = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * optional bytes prefix = 5; + * This is a type-conversion wrapper around `getPrefix()` + * @return {string} + */ +proto.cosmos.ics23.v1.LeafOp.prototype.getPrefix_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getPrefix())); +}; + + +/** + * optional bytes prefix = 5; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getPrefix()` + * @return {!Uint8Array} + */ +proto.cosmos.ics23.v1.LeafOp.prototype.getPrefix_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getPrefix())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.cosmos.ics23.v1.LeafOp} returns this + */ +proto.cosmos.ics23.v1.LeafOp.prototype.setPrefix = function(value) { + return jspb.Message.setProto3BytesField(this, 5, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.cosmos.ics23.v1.InnerOp.prototype.toObject = function(opt_includeInstance) { + return proto.cosmos.ics23.v1.InnerOp.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.cosmos.ics23.v1.InnerOp} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.cosmos.ics23.v1.InnerOp.toObject = function(includeInstance, msg) { + var f, obj = { + hash: jspb.Message.getFieldWithDefault(msg, 1, 0), + prefix: msg.getPrefix_asB64(), + suffix: msg.getSuffix_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.cosmos.ics23.v1.InnerOp} + */ +proto.cosmos.ics23.v1.InnerOp.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.cosmos.ics23.v1.InnerOp; + return proto.cosmos.ics23.v1.InnerOp.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.cosmos.ics23.v1.InnerOp} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.cosmos.ics23.v1.InnerOp} + */ +proto.cosmos.ics23.v1.InnerOp.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!proto.cosmos.ics23.v1.HashOp} */ (reader.readEnum()); + msg.setHash(value); + break; + case 2: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setPrefix(value); + break; + case 3: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setSuffix(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.cosmos.ics23.v1.InnerOp.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.cosmos.ics23.v1.InnerOp.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.cosmos.ics23.v1.InnerOp} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.cosmos.ics23.v1.InnerOp.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getHash(); + if (f !== 0.0) { + writer.writeEnum( + 1, + f + ); + } + f = message.getPrefix_asU8(); + if (f.length > 0) { + writer.writeBytes( + 2, + f + ); + } + f = message.getSuffix_asU8(); + if (f.length > 0) { + writer.writeBytes( + 3, + f + ); + } +}; + + +/** + * optional HashOp hash = 1; + * @return {!proto.cosmos.ics23.v1.HashOp} + */ +proto.cosmos.ics23.v1.InnerOp.prototype.getHash = function() { + return /** @type {!proto.cosmos.ics23.v1.HashOp} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {!proto.cosmos.ics23.v1.HashOp} value + * @return {!proto.cosmos.ics23.v1.InnerOp} returns this + */ +proto.cosmos.ics23.v1.InnerOp.prototype.setHash = function(value) { + return jspb.Message.setProto3EnumField(this, 1, value); +}; + + +/** + * optional bytes prefix = 2; + * @return {!(string|Uint8Array)} + */ +proto.cosmos.ics23.v1.InnerOp.prototype.getPrefix = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * optional bytes prefix = 2; + * This is a type-conversion wrapper around `getPrefix()` + * @return {string} + */ +proto.cosmos.ics23.v1.InnerOp.prototype.getPrefix_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getPrefix())); +}; + + +/** + * optional bytes prefix = 2; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getPrefix()` + * @return {!Uint8Array} + */ +proto.cosmos.ics23.v1.InnerOp.prototype.getPrefix_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getPrefix())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.cosmos.ics23.v1.InnerOp} returns this + */ +proto.cosmos.ics23.v1.InnerOp.prototype.setPrefix = function(value) { + return jspb.Message.setProto3BytesField(this, 2, value); +}; + + +/** + * optional bytes suffix = 3; + * @return {!(string|Uint8Array)} + */ +proto.cosmos.ics23.v1.InnerOp.prototype.getSuffix = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * optional bytes suffix = 3; + * This is a type-conversion wrapper around `getSuffix()` + * @return {string} + */ +proto.cosmos.ics23.v1.InnerOp.prototype.getSuffix_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getSuffix())); +}; + + +/** + * optional bytes suffix = 3; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getSuffix()` + * @return {!Uint8Array} + */ +proto.cosmos.ics23.v1.InnerOp.prototype.getSuffix_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getSuffix())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.cosmos.ics23.v1.InnerOp} returns this + */ +proto.cosmos.ics23.v1.InnerOp.prototype.setSuffix = function(value) { + return jspb.Message.setProto3BytesField(this, 3, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.cosmos.ics23.v1.ProofSpec.prototype.toObject = function(opt_includeInstance) { + return proto.cosmos.ics23.v1.ProofSpec.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.cosmos.ics23.v1.ProofSpec} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.cosmos.ics23.v1.ProofSpec.toObject = function(includeInstance, msg) { + var f, obj = { + leafSpec: (f = msg.getLeafSpec()) && proto.cosmos.ics23.v1.LeafOp.toObject(includeInstance, f), + innerSpec: (f = msg.getInnerSpec()) && proto.cosmos.ics23.v1.InnerSpec.toObject(includeInstance, f), + maxDepth: jspb.Message.getFieldWithDefault(msg, 3, 0), + minDepth: jspb.Message.getFieldWithDefault(msg, 4, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.cosmos.ics23.v1.ProofSpec} + */ +proto.cosmos.ics23.v1.ProofSpec.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.cosmos.ics23.v1.ProofSpec; + return proto.cosmos.ics23.v1.ProofSpec.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.cosmos.ics23.v1.ProofSpec} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.cosmos.ics23.v1.ProofSpec} + */ +proto.cosmos.ics23.v1.ProofSpec.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.cosmos.ics23.v1.LeafOp; + reader.readMessage(value,proto.cosmos.ics23.v1.LeafOp.deserializeBinaryFromReader); + msg.setLeafSpec(value); + break; + case 2: + var value = new proto.cosmos.ics23.v1.InnerSpec; + reader.readMessage(value,proto.cosmos.ics23.v1.InnerSpec.deserializeBinaryFromReader); + msg.setInnerSpec(value); + break; + case 3: + var value = /** @type {number} */ (reader.readInt32()); + msg.setMaxDepth(value); + break; + case 4: + var value = /** @type {number} */ (reader.readInt32()); + msg.setMinDepth(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.cosmos.ics23.v1.ProofSpec.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.cosmos.ics23.v1.ProofSpec.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.cosmos.ics23.v1.ProofSpec} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.cosmos.ics23.v1.ProofSpec.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getLeafSpec(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.cosmos.ics23.v1.LeafOp.serializeBinaryToWriter + ); + } + f = message.getInnerSpec(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.cosmos.ics23.v1.InnerSpec.serializeBinaryToWriter + ); + } + f = message.getMaxDepth(); + if (f !== 0) { + writer.writeInt32( + 3, + f + ); + } + f = message.getMinDepth(); + if (f !== 0) { + writer.writeInt32( + 4, + f + ); + } +}; + + +/** + * optional LeafOp leaf_spec = 1; + * @return {?proto.cosmos.ics23.v1.LeafOp} + */ +proto.cosmos.ics23.v1.ProofSpec.prototype.getLeafSpec = function() { + return /** @type{?proto.cosmos.ics23.v1.LeafOp} */ ( + jspb.Message.getWrapperField(this, proto.cosmos.ics23.v1.LeafOp, 1)); +}; + + +/** + * @param {?proto.cosmos.ics23.v1.LeafOp|undefined} value + * @return {!proto.cosmos.ics23.v1.ProofSpec} returns this +*/ +proto.cosmos.ics23.v1.ProofSpec.prototype.setLeafSpec = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.cosmos.ics23.v1.ProofSpec} returns this + */ +proto.cosmos.ics23.v1.ProofSpec.prototype.clearLeafSpec = function() { + return this.setLeafSpec(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.cosmos.ics23.v1.ProofSpec.prototype.hasLeafSpec = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional InnerSpec inner_spec = 2; + * @return {?proto.cosmos.ics23.v1.InnerSpec} + */ +proto.cosmos.ics23.v1.ProofSpec.prototype.getInnerSpec = function() { + return /** @type{?proto.cosmos.ics23.v1.InnerSpec} */ ( + jspb.Message.getWrapperField(this, proto.cosmos.ics23.v1.InnerSpec, 2)); +}; + + +/** + * @param {?proto.cosmos.ics23.v1.InnerSpec|undefined} value + * @return {!proto.cosmos.ics23.v1.ProofSpec} returns this +*/ +proto.cosmos.ics23.v1.ProofSpec.prototype.setInnerSpec = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.cosmos.ics23.v1.ProofSpec} returns this + */ +proto.cosmos.ics23.v1.ProofSpec.prototype.clearInnerSpec = function() { + return this.setInnerSpec(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.cosmos.ics23.v1.ProofSpec.prototype.hasInnerSpec = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional int32 max_depth = 3; + * @return {number} + */ +proto.cosmos.ics23.v1.ProofSpec.prototype.getMaxDepth = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.cosmos.ics23.v1.ProofSpec} returns this + */ +proto.cosmos.ics23.v1.ProofSpec.prototype.setMaxDepth = function(value) { + return jspb.Message.setProto3IntField(this, 3, value); +}; + + +/** + * optional int32 min_depth = 4; + * @return {number} + */ +proto.cosmos.ics23.v1.ProofSpec.prototype.getMinDepth = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.cosmos.ics23.v1.ProofSpec} returns this + */ +proto.cosmos.ics23.v1.ProofSpec.prototype.setMinDepth = function(value) { + return jspb.Message.setProto3IntField(this, 4, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.cosmos.ics23.v1.InnerSpec.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.cosmos.ics23.v1.InnerSpec.prototype.toObject = function(opt_includeInstance) { + return proto.cosmos.ics23.v1.InnerSpec.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.cosmos.ics23.v1.InnerSpec} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.cosmos.ics23.v1.InnerSpec.toObject = function(includeInstance, msg) { + var f, obj = { + childOrderList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, + childSize: jspb.Message.getFieldWithDefault(msg, 2, 0), + minPrefixLength: jspb.Message.getFieldWithDefault(msg, 3, 0), + maxPrefixLength: jspb.Message.getFieldWithDefault(msg, 4, 0), + emptyChild: msg.getEmptyChild_asB64(), + hash: jspb.Message.getFieldWithDefault(msg, 6, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.cosmos.ics23.v1.InnerSpec} + */ +proto.cosmos.ics23.v1.InnerSpec.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.cosmos.ics23.v1.InnerSpec; + return proto.cosmos.ics23.v1.InnerSpec.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.cosmos.ics23.v1.InnerSpec} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.cosmos.ics23.v1.InnerSpec} + */ +proto.cosmos.ics23.v1.InnerSpec.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]); + for (var i = 0; i < values.length; i++) { + msg.addChildOrder(values[i]); + } + break; + case 2: + var value = /** @type {number} */ (reader.readInt32()); + msg.setChildSize(value); + break; + case 3: + var value = /** @type {number} */ (reader.readInt32()); + msg.setMinPrefixLength(value); + break; + case 4: + var value = /** @type {number} */ (reader.readInt32()); + msg.setMaxPrefixLength(value); + break; + case 5: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setEmptyChild(value); + break; + case 6: + var value = /** @type {!proto.cosmos.ics23.v1.HashOp} */ (reader.readEnum()); + msg.setHash(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.cosmos.ics23.v1.InnerSpec.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.cosmos.ics23.v1.InnerSpec.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.cosmos.ics23.v1.InnerSpec} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.cosmos.ics23.v1.InnerSpec.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getChildOrderList(); + if (f.length > 0) { + writer.writePackedInt32( + 1, + f + ); + } + f = message.getChildSize(); + if (f !== 0) { + writer.writeInt32( + 2, + f + ); + } + f = message.getMinPrefixLength(); + if (f !== 0) { + writer.writeInt32( + 3, + f + ); + } + f = message.getMaxPrefixLength(); + if (f !== 0) { + writer.writeInt32( + 4, + f + ); + } + f = message.getEmptyChild_asU8(); + if (f.length > 0) { + writer.writeBytes( + 5, + f + ); + } + f = message.getHash(); + if (f !== 0.0) { + writer.writeEnum( + 6, + f + ); + } +}; + + +/** + * repeated int32 child_order = 1; + * @return {!Array} + */ +proto.cosmos.ics23.v1.InnerSpec.prototype.getChildOrderList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.cosmos.ics23.v1.InnerSpec} returns this + */ +proto.cosmos.ics23.v1.InnerSpec.prototype.setChildOrderList = function(value) { + return jspb.Message.setField(this, 1, value || []); +}; + + +/** + * @param {number} value + * @param {number=} opt_index + * @return {!proto.cosmos.ics23.v1.InnerSpec} returns this + */ +proto.cosmos.ics23.v1.InnerSpec.prototype.addChildOrder = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.cosmos.ics23.v1.InnerSpec} returns this + */ +proto.cosmos.ics23.v1.InnerSpec.prototype.clearChildOrderList = function() { + return this.setChildOrderList([]); +}; + + +/** + * optional int32 child_size = 2; + * @return {number} + */ +proto.cosmos.ics23.v1.InnerSpec.prototype.getChildSize = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.cosmos.ics23.v1.InnerSpec} returns this + */ +proto.cosmos.ics23.v1.InnerSpec.prototype.setChildSize = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + +/** + * optional int32 min_prefix_length = 3; + * @return {number} + */ +proto.cosmos.ics23.v1.InnerSpec.prototype.getMinPrefixLength = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.cosmos.ics23.v1.InnerSpec} returns this + */ +proto.cosmos.ics23.v1.InnerSpec.prototype.setMinPrefixLength = function(value) { + return jspb.Message.setProto3IntField(this, 3, value); +}; + + +/** + * optional int32 max_prefix_length = 4; + * @return {number} + */ +proto.cosmos.ics23.v1.InnerSpec.prototype.getMaxPrefixLength = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.cosmos.ics23.v1.InnerSpec} returns this + */ +proto.cosmos.ics23.v1.InnerSpec.prototype.setMaxPrefixLength = function(value) { + return jspb.Message.setProto3IntField(this, 4, value); +}; + + +/** + * optional bytes empty_child = 5; + * @return {!(string|Uint8Array)} + */ +proto.cosmos.ics23.v1.InnerSpec.prototype.getEmptyChild = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * optional bytes empty_child = 5; + * This is a type-conversion wrapper around `getEmptyChild()` + * @return {string} + */ +proto.cosmos.ics23.v1.InnerSpec.prototype.getEmptyChild_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getEmptyChild())); +}; + + +/** + * optional bytes empty_child = 5; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getEmptyChild()` + * @return {!Uint8Array} + */ +proto.cosmos.ics23.v1.InnerSpec.prototype.getEmptyChild_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getEmptyChild())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.cosmos.ics23.v1.InnerSpec} returns this + */ +proto.cosmos.ics23.v1.InnerSpec.prototype.setEmptyChild = function(value) { + return jspb.Message.setProto3BytesField(this, 5, value); +}; + + +/** + * optional HashOp hash = 6; + * @return {!proto.cosmos.ics23.v1.HashOp} + */ +proto.cosmos.ics23.v1.InnerSpec.prototype.getHash = function() { + return /** @type {!proto.cosmos.ics23.v1.HashOp} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); +}; + + +/** + * @param {!proto.cosmos.ics23.v1.HashOp} value + * @return {!proto.cosmos.ics23.v1.InnerSpec} returns this + */ +proto.cosmos.ics23.v1.InnerSpec.prototype.setHash = function(value) { + return jspb.Message.setProto3EnumField(this, 6, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.cosmos.ics23.v1.BatchProof.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.cosmos.ics23.v1.BatchProof.prototype.toObject = function(opt_includeInstance) { + return proto.cosmos.ics23.v1.BatchProof.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.cosmos.ics23.v1.BatchProof} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.cosmos.ics23.v1.BatchProof.toObject = function(includeInstance, msg) { + var f, obj = { + entriesList: jspb.Message.toObjectList(msg.getEntriesList(), + proto.cosmos.ics23.v1.BatchEntry.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.cosmos.ics23.v1.BatchProof} + */ +proto.cosmos.ics23.v1.BatchProof.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.cosmos.ics23.v1.BatchProof; + return proto.cosmos.ics23.v1.BatchProof.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.cosmos.ics23.v1.BatchProof} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.cosmos.ics23.v1.BatchProof} + */ +proto.cosmos.ics23.v1.BatchProof.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.cosmos.ics23.v1.BatchEntry; + reader.readMessage(value,proto.cosmos.ics23.v1.BatchEntry.deserializeBinaryFromReader); + msg.addEntries(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.cosmos.ics23.v1.BatchProof.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.cosmos.ics23.v1.BatchProof.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.cosmos.ics23.v1.BatchProof} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.cosmos.ics23.v1.BatchProof.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getEntriesList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + proto.cosmos.ics23.v1.BatchEntry.serializeBinaryToWriter + ); + } +}; + + +/** + * repeated BatchEntry entries = 1; + * @return {!Array} + */ +proto.cosmos.ics23.v1.BatchProof.prototype.getEntriesList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.cosmos.ics23.v1.BatchEntry, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.cosmos.ics23.v1.BatchProof} returns this +*/ +proto.cosmos.ics23.v1.BatchProof.prototype.setEntriesList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.cosmos.ics23.v1.BatchEntry=} opt_value + * @param {number=} opt_index + * @return {!proto.cosmos.ics23.v1.BatchEntry} + */ +proto.cosmos.ics23.v1.BatchProof.prototype.addEntries = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.cosmos.ics23.v1.BatchEntry, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.cosmos.ics23.v1.BatchProof} returns this + */ +proto.cosmos.ics23.v1.BatchProof.prototype.clearEntriesList = function() { + return this.setEntriesList([]); +}; + + + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.cosmos.ics23.v1.BatchEntry.oneofGroups_ = [[1,2]]; + +/** + * @enum {number} + */ +proto.cosmos.ics23.v1.BatchEntry.ProofCase = { + PROOF_NOT_SET: 0, + EXIST: 1, + NONEXIST: 2 +}; + +/** + * @return {proto.cosmos.ics23.v1.BatchEntry.ProofCase} + */ +proto.cosmos.ics23.v1.BatchEntry.prototype.getProofCase = function() { + return /** @type {proto.cosmos.ics23.v1.BatchEntry.ProofCase} */(jspb.Message.computeOneofCase(this, proto.cosmos.ics23.v1.BatchEntry.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.cosmos.ics23.v1.BatchEntry.prototype.toObject = function(opt_includeInstance) { + return proto.cosmos.ics23.v1.BatchEntry.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.cosmos.ics23.v1.BatchEntry} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.cosmos.ics23.v1.BatchEntry.toObject = function(includeInstance, msg) { + var f, obj = { + exist: (f = msg.getExist()) && proto.cosmos.ics23.v1.ExistenceProof.toObject(includeInstance, f), + nonexist: (f = msg.getNonexist()) && proto.cosmos.ics23.v1.NonExistenceProof.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.cosmos.ics23.v1.BatchEntry} + */ +proto.cosmos.ics23.v1.BatchEntry.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.cosmos.ics23.v1.BatchEntry; + return proto.cosmos.ics23.v1.BatchEntry.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.cosmos.ics23.v1.BatchEntry} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.cosmos.ics23.v1.BatchEntry} + */ +proto.cosmos.ics23.v1.BatchEntry.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.cosmos.ics23.v1.ExistenceProof; + reader.readMessage(value,proto.cosmos.ics23.v1.ExistenceProof.deserializeBinaryFromReader); + msg.setExist(value); + break; + case 2: + var value = new proto.cosmos.ics23.v1.NonExistenceProof; + reader.readMessage(value,proto.cosmos.ics23.v1.NonExistenceProof.deserializeBinaryFromReader); + msg.setNonexist(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.cosmos.ics23.v1.BatchEntry.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.cosmos.ics23.v1.BatchEntry.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.cosmos.ics23.v1.BatchEntry} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.cosmos.ics23.v1.BatchEntry.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getExist(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.cosmos.ics23.v1.ExistenceProof.serializeBinaryToWriter + ); + } + f = message.getNonexist(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.cosmos.ics23.v1.NonExistenceProof.serializeBinaryToWriter + ); + } +}; + + +/** + * optional ExistenceProof exist = 1; + * @return {?proto.cosmos.ics23.v1.ExistenceProof} + */ +proto.cosmos.ics23.v1.BatchEntry.prototype.getExist = function() { + return /** @type{?proto.cosmos.ics23.v1.ExistenceProof} */ ( + jspb.Message.getWrapperField(this, proto.cosmos.ics23.v1.ExistenceProof, 1)); +}; + + +/** + * @param {?proto.cosmos.ics23.v1.ExistenceProof|undefined} value + * @return {!proto.cosmos.ics23.v1.BatchEntry} returns this +*/ +proto.cosmos.ics23.v1.BatchEntry.prototype.setExist = function(value) { + return jspb.Message.setOneofWrapperField(this, 1, proto.cosmos.ics23.v1.BatchEntry.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.cosmos.ics23.v1.BatchEntry} returns this + */ +proto.cosmos.ics23.v1.BatchEntry.prototype.clearExist = function() { + return this.setExist(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.cosmos.ics23.v1.BatchEntry.prototype.hasExist = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional NonExistenceProof nonexist = 2; + * @return {?proto.cosmos.ics23.v1.NonExistenceProof} + */ +proto.cosmos.ics23.v1.BatchEntry.prototype.getNonexist = function() { + return /** @type{?proto.cosmos.ics23.v1.NonExistenceProof} */ ( + jspb.Message.getWrapperField(this, proto.cosmos.ics23.v1.NonExistenceProof, 2)); +}; + + +/** + * @param {?proto.cosmos.ics23.v1.NonExistenceProof|undefined} value + * @return {!proto.cosmos.ics23.v1.BatchEntry} returns this +*/ +proto.cosmos.ics23.v1.BatchEntry.prototype.setNonexist = function(value) { + return jspb.Message.setOneofWrapperField(this, 2, proto.cosmos.ics23.v1.BatchEntry.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.cosmos.ics23.v1.BatchEntry} returns this + */ +proto.cosmos.ics23.v1.BatchEntry.prototype.clearNonexist = function() { + return this.setNonexist(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.cosmos.ics23.v1.BatchEntry.prototype.hasNonexist = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.cosmos.ics23.v1.CompressedBatchProof.repeatedFields_ = [1,2]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.cosmos.ics23.v1.CompressedBatchProof.prototype.toObject = function(opt_includeInstance) { + return proto.cosmos.ics23.v1.CompressedBatchProof.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.cosmos.ics23.v1.CompressedBatchProof} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.cosmos.ics23.v1.CompressedBatchProof.toObject = function(includeInstance, msg) { + var f, obj = { + entriesList: jspb.Message.toObjectList(msg.getEntriesList(), + proto.cosmos.ics23.v1.CompressedBatchEntry.toObject, includeInstance), + lookupInnersList: jspb.Message.toObjectList(msg.getLookupInnersList(), + proto.cosmos.ics23.v1.InnerOp.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.cosmos.ics23.v1.CompressedBatchProof} + */ +proto.cosmos.ics23.v1.CompressedBatchProof.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.cosmos.ics23.v1.CompressedBatchProof; + return proto.cosmos.ics23.v1.CompressedBatchProof.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.cosmos.ics23.v1.CompressedBatchProof} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.cosmos.ics23.v1.CompressedBatchProof} + */ +proto.cosmos.ics23.v1.CompressedBatchProof.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.cosmos.ics23.v1.CompressedBatchEntry; + reader.readMessage(value,proto.cosmos.ics23.v1.CompressedBatchEntry.deserializeBinaryFromReader); + msg.addEntries(value); + break; + case 2: + var value = new proto.cosmos.ics23.v1.InnerOp; + reader.readMessage(value,proto.cosmos.ics23.v1.InnerOp.deserializeBinaryFromReader); + msg.addLookupInners(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.cosmos.ics23.v1.CompressedBatchProof.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.cosmos.ics23.v1.CompressedBatchProof.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.cosmos.ics23.v1.CompressedBatchProof} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.cosmos.ics23.v1.CompressedBatchProof.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getEntriesList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + proto.cosmos.ics23.v1.CompressedBatchEntry.serializeBinaryToWriter + ); + } + f = message.getLookupInnersList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 2, + f, + proto.cosmos.ics23.v1.InnerOp.serializeBinaryToWriter + ); + } +}; + + +/** + * repeated CompressedBatchEntry entries = 1; + * @return {!Array} + */ +proto.cosmos.ics23.v1.CompressedBatchProof.prototype.getEntriesList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.cosmos.ics23.v1.CompressedBatchEntry, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.cosmos.ics23.v1.CompressedBatchProof} returns this +*/ +proto.cosmos.ics23.v1.CompressedBatchProof.prototype.setEntriesList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.cosmos.ics23.v1.CompressedBatchEntry=} opt_value + * @param {number=} opt_index + * @return {!proto.cosmos.ics23.v1.CompressedBatchEntry} + */ +proto.cosmos.ics23.v1.CompressedBatchProof.prototype.addEntries = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.cosmos.ics23.v1.CompressedBatchEntry, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.cosmos.ics23.v1.CompressedBatchProof} returns this + */ +proto.cosmos.ics23.v1.CompressedBatchProof.prototype.clearEntriesList = function() { + return this.setEntriesList([]); +}; + + +/** + * repeated InnerOp lookup_inners = 2; + * @return {!Array} + */ +proto.cosmos.ics23.v1.CompressedBatchProof.prototype.getLookupInnersList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.cosmos.ics23.v1.InnerOp, 2)); +}; + + +/** + * @param {!Array} value + * @return {!proto.cosmos.ics23.v1.CompressedBatchProof} returns this +*/ +proto.cosmos.ics23.v1.CompressedBatchProof.prototype.setLookupInnersList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 2, value); +}; + + +/** + * @param {!proto.cosmos.ics23.v1.InnerOp=} opt_value + * @param {number=} opt_index + * @return {!proto.cosmos.ics23.v1.InnerOp} + */ +proto.cosmos.ics23.v1.CompressedBatchProof.prototype.addLookupInners = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.cosmos.ics23.v1.InnerOp, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.cosmos.ics23.v1.CompressedBatchProof} returns this + */ +proto.cosmos.ics23.v1.CompressedBatchProof.prototype.clearLookupInnersList = function() { + return this.setLookupInnersList([]); +}; + + + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.cosmos.ics23.v1.CompressedBatchEntry.oneofGroups_ = [[1,2]]; + +/** + * @enum {number} + */ +proto.cosmos.ics23.v1.CompressedBatchEntry.ProofCase = { + PROOF_NOT_SET: 0, + EXIST: 1, + NONEXIST: 2 +}; + +/** + * @return {proto.cosmos.ics23.v1.CompressedBatchEntry.ProofCase} + */ +proto.cosmos.ics23.v1.CompressedBatchEntry.prototype.getProofCase = function() { + return /** @type {proto.cosmos.ics23.v1.CompressedBatchEntry.ProofCase} */(jspb.Message.computeOneofCase(this, proto.cosmos.ics23.v1.CompressedBatchEntry.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.cosmos.ics23.v1.CompressedBatchEntry.prototype.toObject = function(opt_includeInstance) { + return proto.cosmos.ics23.v1.CompressedBatchEntry.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.cosmos.ics23.v1.CompressedBatchEntry} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.cosmos.ics23.v1.CompressedBatchEntry.toObject = function(includeInstance, msg) { + var f, obj = { + exist: (f = msg.getExist()) && proto.cosmos.ics23.v1.CompressedExistenceProof.toObject(includeInstance, f), + nonexist: (f = msg.getNonexist()) && proto.cosmos.ics23.v1.CompressedNonExistenceProof.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.cosmos.ics23.v1.CompressedBatchEntry} + */ +proto.cosmos.ics23.v1.CompressedBatchEntry.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.cosmos.ics23.v1.CompressedBatchEntry; + return proto.cosmos.ics23.v1.CompressedBatchEntry.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.cosmos.ics23.v1.CompressedBatchEntry} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.cosmos.ics23.v1.CompressedBatchEntry} + */ +proto.cosmos.ics23.v1.CompressedBatchEntry.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.cosmos.ics23.v1.CompressedExistenceProof; + reader.readMessage(value,proto.cosmos.ics23.v1.CompressedExistenceProof.deserializeBinaryFromReader); + msg.setExist(value); + break; + case 2: + var value = new proto.cosmos.ics23.v1.CompressedNonExistenceProof; + reader.readMessage(value,proto.cosmos.ics23.v1.CompressedNonExistenceProof.deserializeBinaryFromReader); + msg.setNonexist(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.cosmos.ics23.v1.CompressedBatchEntry.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.cosmos.ics23.v1.CompressedBatchEntry.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.cosmos.ics23.v1.CompressedBatchEntry} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.cosmos.ics23.v1.CompressedBatchEntry.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getExist(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.cosmos.ics23.v1.CompressedExistenceProof.serializeBinaryToWriter + ); + } + f = message.getNonexist(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.cosmos.ics23.v1.CompressedNonExistenceProof.serializeBinaryToWriter + ); + } +}; + + +/** + * optional CompressedExistenceProof exist = 1; + * @return {?proto.cosmos.ics23.v1.CompressedExistenceProof} + */ +proto.cosmos.ics23.v1.CompressedBatchEntry.prototype.getExist = function() { + return /** @type{?proto.cosmos.ics23.v1.CompressedExistenceProof} */ ( + jspb.Message.getWrapperField(this, proto.cosmos.ics23.v1.CompressedExistenceProof, 1)); +}; + + +/** + * @param {?proto.cosmos.ics23.v1.CompressedExistenceProof|undefined} value + * @return {!proto.cosmos.ics23.v1.CompressedBatchEntry} returns this +*/ +proto.cosmos.ics23.v1.CompressedBatchEntry.prototype.setExist = function(value) { + return jspb.Message.setOneofWrapperField(this, 1, proto.cosmos.ics23.v1.CompressedBatchEntry.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.cosmos.ics23.v1.CompressedBatchEntry} returns this + */ +proto.cosmos.ics23.v1.CompressedBatchEntry.prototype.clearExist = function() { + return this.setExist(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.cosmos.ics23.v1.CompressedBatchEntry.prototype.hasExist = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional CompressedNonExistenceProof nonexist = 2; + * @return {?proto.cosmos.ics23.v1.CompressedNonExistenceProof} + */ +proto.cosmos.ics23.v1.CompressedBatchEntry.prototype.getNonexist = function() { + return /** @type{?proto.cosmos.ics23.v1.CompressedNonExistenceProof} */ ( + jspb.Message.getWrapperField(this, proto.cosmos.ics23.v1.CompressedNonExistenceProof, 2)); +}; + + +/** + * @param {?proto.cosmos.ics23.v1.CompressedNonExistenceProof|undefined} value + * @return {!proto.cosmos.ics23.v1.CompressedBatchEntry} returns this +*/ +proto.cosmos.ics23.v1.CompressedBatchEntry.prototype.setNonexist = function(value) { + return jspb.Message.setOneofWrapperField(this, 2, proto.cosmos.ics23.v1.CompressedBatchEntry.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.cosmos.ics23.v1.CompressedBatchEntry} returns this + */ +proto.cosmos.ics23.v1.CompressedBatchEntry.prototype.clearNonexist = function() { + return this.setNonexist(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.cosmos.ics23.v1.CompressedBatchEntry.prototype.hasNonexist = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.cosmos.ics23.v1.CompressedExistenceProof.repeatedFields_ = [4]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.cosmos.ics23.v1.CompressedExistenceProof.prototype.toObject = function(opt_includeInstance) { + return proto.cosmos.ics23.v1.CompressedExistenceProof.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.cosmos.ics23.v1.CompressedExistenceProof} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.cosmos.ics23.v1.CompressedExistenceProof.toObject = function(includeInstance, msg) { + var f, obj = { + key: msg.getKey_asB64(), + value: msg.getValue_asB64(), + leaf: (f = msg.getLeaf()) && proto.cosmos.ics23.v1.LeafOp.toObject(includeInstance, f), + pathList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.cosmos.ics23.v1.CompressedExistenceProof} + */ +proto.cosmos.ics23.v1.CompressedExistenceProof.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.cosmos.ics23.v1.CompressedExistenceProof; + return proto.cosmos.ics23.v1.CompressedExistenceProof.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.cosmos.ics23.v1.CompressedExistenceProof} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.cosmos.ics23.v1.CompressedExistenceProof} + */ +proto.cosmos.ics23.v1.CompressedExistenceProof.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setKey(value); + break; + case 2: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setValue(value); + break; + case 3: + var value = new proto.cosmos.ics23.v1.LeafOp; + reader.readMessage(value,proto.cosmos.ics23.v1.LeafOp.deserializeBinaryFromReader); + msg.setLeaf(value); + break; + case 4: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]); + for (var i = 0; i < values.length; i++) { + msg.addPath(values[i]); + } + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.cosmos.ics23.v1.CompressedExistenceProof.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.cosmos.ics23.v1.CompressedExistenceProof.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.cosmos.ics23.v1.CompressedExistenceProof} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.cosmos.ics23.v1.CompressedExistenceProof.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getKey_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } + f = message.getValue_asU8(); + if (f.length > 0) { + writer.writeBytes( + 2, + f + ); + } + f = message.getLeaf(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.cosmos.ics23.v1.LeafOp.serializeBinaryToWriter + ); + } + f = message.getPathList(); + if (f.length > 0) { + writer.writePackedInt32( + 4, + f + ); + } +}; + + +/** + * optional bytes key = 1; + * @return {!(string|Uint8Array)} + */ +proto.cosmos.ics23.v1.CompressedExistenceProof.prototype.getKey = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes key = 1; + * This is a type-conversion wrapper around `getKey()` + * @return {string} + */ +proto.cosmos.ics23.v1.CompressedExistenceProof.prototype.getKey_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getKey())); +}; + + +/** + * optional bytes key = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getKey()` + * @return {!Uint8Array} + */ +proto.cosmos.ics23.v1.CompressedExistenceProof.prototype.getKey_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getKey())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.cosmos.ics23.v1.CompressedExistenceProof} returns this + */ +proto.cosmos.ics23.v1.CompressedExistenceProof.prototype.setKey = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + +/** + * optional bytes value = 2; + * @return {!(string|Uint8Array)} + */ +proto.cosmos.ics23.v1.CompressedExistenceProof.prototype.getValue = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * optional bytes value = 2; + * This is a type-conversion wrapper around `getValue()` + * @return {string} + */ +proto.cosmos.ics23.v1.CompressedExistenceProof.prototype.getValue_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getValue())); +}; + + +/** + * optional bytes value = 2; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getValue()` + * @return {!Uint8Array} + */ +proto.cosmos.ics23.v1.CompressedExistenceProof.prototype.getValue_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getValue())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.cosmos.ics23.v1.CompressedExistenceProof} returns this + */ +proto.cosmos.ics23.v1.CompressedExistenceProof.prototype.setValue = function(value) { + return jspb.Message.setProto3BytesField(this, 2, value); +}; + + +/** + * optional LeafOp leaf = 3; + * @return {?proto.cosmos.ics23.v1.LeafOp} + */ +proto.cosmos.ics23.v1.CompressedExistenceProof.prototype.getLeaf = function() { + return /** @type{?proto.cosmos.ics23.v1.LeafOp} */ ( + jspb.Message.getWrapperField(this, proto.cosmos.ics23.v1.LeafOp, 3)); +}; + + +/** + * @param {?proto.cosmos.ics23.v1.LeafOp|undefined} value + * @return {!proto.cosmos.ics23.v1.CompressedExistenceProof} returns this +*/ +proto.cosmos.ics23.v1.CompressedExistenceProof.prototype.setLeaf = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.cosmos.ics23.v1.CompressedExistenceProof} returns this + */ +proto.cosmos.ics23.v1.CompressedExistenceProof.prototype.clearLeaf = function() { + return this.setLeaf(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.cosmos.ics23.v1.CompressedExistenceProof.prototype.hasLeaf = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * repeated int32 path = 4; + * @return {!Array} + */ +proto.cosmos.ics23.v1.CompressedExistenceProof.prototype.getPathList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 4)); +}; + + +/** + * @param {!Array} value + * @return {!proto.cosmos.ics23.v1.CompressedExistenceProof} returns this + */ +proto.cosmos.ics23.v1.CompressedExistenceProof.prototype.setPathList = function(value) { + return jspb.Message.setField(this, 4, value || []); +}; + + +/** + * @param {number} value + * @param {number=} opt_index + * @return {!proto.cosmos.ics23.v1.CompressedExistenceProof} returns this + */ +proto.cosmos.ics23.v1.CompressedExistenceProof.prototype.addPath = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 4, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.cosmos.ics23.v1.CompressedExistenceProof} returns this + */ +proto.cosmos.ics23.v1.CompressedExistenceProof.prototype.clearPathList = function() { + return this.setPathList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.cosmos.ics23.v1.CompressedNonExistenceProof.prototype.toObject = function(opt_includeInstance) { + return proto.cosmos.ics23.v1.CompressedNonExistenceProof.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.cosmos.ics23.v1.CompressedNonExistenceProof} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.cosmos.ics23.v1.CompressedNonExistenceProof.toObject = function(includeInstance, msg) { + var f, obj = { + key: msg.getKey_asB64(), + left: (f = msg.getLeft()) && proto.cosmos.ics23.v1.CompressedExistenceProof.toObject(includeInstance, f), + right: (f = msg.getRight()) && proto.cosmos.ics23.v1.CompressedExistenceProof.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.cosmos.ics23.v1.CompressedNonExistenceProof} + */ +proto.cosmos.ics23.v1.CompressedNonExistenceProof.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.cosmos.ics23.v1.CompressedNonExistenceProof; + return proto.cosmos.ics23.v1.CompressedNonExistenceProof.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.cosmos.ics23.v1.CompressedNonExistenceProof} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.cosmos.ics23.v1.CompressedNonExistenceProof} + */ +proto.cosmos.ics23.v1.CompressedNonExistenceProof.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setKey(value); + break; + case 2: + var value = new proto.cosmos.ics23.v1.CompressedExistenceProof; + reader.readMessage(value,proto.cosmos.ics23.v1.CompressedExistenceProof.deserializeBinaryFromReader); + msg.setLeft(value); + break; + case 3: + var value = new proto.cosmos.ics23.v1.CompressedExistenceProof; + reader.readMessage(value,proto.cosmos.ics23.v1.CompressedExistenceProof.deserializeBinaryFromReader); + msg.setRight(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.cosmos.ics23.v1.CompressedNonExistenceProof.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.cosmos.ics23.v1.CompressedNonExistenceProof.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.cosmos.ics23.v1.CompressedNonExistenceProof} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.cosmos.ics23.v1.CompressedNonExistenceProof.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getKey_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } + f = message.getLeft(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.cosmos.ics23.v1.CompressedExistenceProof.serializeBinaryToWriter + ); + } + f = message.getRight(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.cosmos.ics23.v1.CompressedExistenceProof.serializeBinaryToWriter + ); + } +}; + + +/** + * optional bytes key = 1; + * @return {!(string|Uint8Array)} + */ +proto.cosmos.ics23.v1.CompressedNonExistenceProof.prototype.getKey = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes key = 1; + * This is a type-conversion wrapper around `getKey()` + * @return {string} + */ +proto.cosmos.ics23.v1.CompressedNonExistenceProof.prototype.getKey_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getKey())); +}; + + +/** + * optional bytes key = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getKey()` + * @return {!Uint8Array} + */ +proto.cosmos.ics23.v1.CompressedNonExistenceProof.prototype.getKey_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getKey())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.cosmos.ics23.v1.CompressedNonExistenceProof} returns this + */ +proto.cosmos.ics23.v1.CompressedNonExistenceProof.prototype.setKey = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + +/** + * optional CompressedExistenceProof left = 2; + * @return {?proto.cosmos.ics23.v1.CompressedExistenceProof} + */ +proto.cosmos.ics23.v1.CompressedNonExistenceProof.prototype.getLeft = function() { + return /** @type{?proto.cosmos.ics23.v1.CompressedExistenceProof} */ ( + jspb.Message.getWrapperField(this, proto.cosmos.ics23.v1.CompressedExistenceProof, 2)); +}; + + +/** + * @param {?proto.cosmos.ics23.v1.CompressedExistenceProof|undefined} value + * @return {!proto.cosmos.ics23.v1.CompressedNonExistenceProof} returns this +*/ +proto.cosmos.ics23.v1.CompressedNonExistenceProof.prototype.setLeft = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.cosmos.ics23.v1.CompressedNonExistenceProof} returns this + */ +proto.cosmos.ics23.v1.CompressedNonExistenceProof.prototype.clearLeft = function() { + return this.setLeft(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.cosmos.ics23.v1.CompressedNonExistenceProof.prototype.hasLeft = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional CompressedExistenceProof right = 3; + * @return {?proto.cosmos.ics23.v1.CompressedExistenceProof} + */ +proto.cosmos.ics23.v1.CompressedNonExistenceProof.prototype.getRight = function() { + return /** @type{?proto.cosmos.ics23.v1.CompressedExistenceProof} */ ( + jspb.Message.getWrapperField(this, proto.cosmos.ics23.v1.CompressedExistenceProof, 3)); +}; + + +/** + * @param {?proto.cosmos.ics23.v1.CompressedExistenceProof|undefined} value + * @return {!proto.cosmos.ics23.v1.CompressedNonExistenceProof} returns this +*/ +proto.cosmos.ics23.v1.CompressedNonExistenceProof.prototype.setRight = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.cosmos.ics23.v1.CompressedNonExistenceProof} returns this + */ +proto.cosmos.ics23.v1.CompressedNonExistenceProof.prototype.clearRight = function() { + return this.setRight(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.cosmos.ics23.v1.CompressedNonExistenceProof.prototype.hasRight = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * @enum {number} + */ +proto.cosmos.ics23.v1.HashOp = { + NO_HASH: 0, + SHA256: 1, + SHA512: 2, + KECCAK: 3, + RIPEMD160: 4, + BITCOIN: 5, + SHA512_256: 6 +}; + +/** + * @enum {number} + */ +proto.cosmos.ics23.v1.LengthOp = { + NO_PREFIX: 0, + VAR_PROTO: 1, + VAR_RLP: 2, + FIXED32_BIG: 3, + FIXED32_LITTLE: 4, + FIXED64_BIG: 5, + FIXED64_LITTLE: 6, + REQUIRE_32_BYTES: 7, + REQUIRE_64_BYTES: 8 +}; + +goog.object.extend(exports, proto.cosmos.ics23.v1); diff --git a/src/chains/penumbra/generated/gogoproto/gogo_grpc_pb.js b/src/chains/penumbra/generated/gogoproto/gogo_grpc_pb.js new file mode 100644 index 0000000000..97b3a2461d --- /dev/null +++ b/src/chains/penumbra/generated/gogoproto/gogo_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/src/chains/penumbra/generated/gogoproto/gogo_pb.d.ts b/src/chains/penumbra/generated/gogoproto/gogo_pb.d.ts new file mode 100644 index 0000000000..cca5470dd3 --- /dev/null +++ b/src/chains/penumbra/generated/gogoproto/gogo_pb.d.ts @@ -0,0 +1,162 @@ +// package: gogoproto +// file: gogoproto/gogo.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_descriptor_pb from "google-protobuf/google/protobuf/descriptor_pb"; + +export const goprotoEnumPrefix: jspb.ExtensionFieldInfo; + +export const goprotoEnumStringer: jspb.ExtensionFieldInfo; + +export const enumStringer: jspb.ExtensionFieldInfo; + +export const enumCustomname: jspb.ExtensionFieldInfo; + +export const enumdecl: jspb.ExtensionFieldInfo; + +export const enumvalueCustomname: jspb.ExtensionFieldInfo; + +export const goprotoGettersAll: jspb.ExtensionFieldInfo; + +export const goprotoEnumPrefixAll: jspb.ExtensionFieldInfo; + +export const goprotoStringerAll: jspb.ExtensionFieldInfo; + +export const verboseEqualAll: jspb.ExtensionFieldInfo; + +export const faceAll: jspb.ExtensionFieldInfo; + +export const gostringAll: jspb.ExtensionFieldInfo; + +export const populateAll: jspb.ExtensionFieldInfo; + +export const stringerAll: jspb.ExtensionFieldInfo; + +export const onlyoneAll: jspb.ExtensionFieldInfo; + +export const equalAll: jspb.ExtensionFieldInfo; + +export const descriptionAll: jspb.ExtensionFieldInfo; + +export const testgenAll: jspb.ExtensionFieldInfo; + +export const benchgenAll: jspb.ExtensionFieldInfo; + +export const marshalerAll: jspb.ExtensionFieldInfo; + +export const unmarshalerAll: jspb.ExtensionFieldInfo; + +export const stableMarshalerAll: jspb.ExtensionFieldInfo; + +export const sizerAll: jspb.ExtensionFieldInfo; + +export const goprotoEnumStringerAll: jspb.ExtensionFieldInfo; + +export const enumStringerAll: jspb.ExtensionFieldInfo; + +export const unsafeMarshalerAll: jspb.ExtensionFieldInfo; + +export const unsafeUnmarshalerAll: jspb.ExtensionFieldInfo; + +export const goprotoExtensionsMapAll: jspb.ExtensionFieldInfo; + +export const goprotoUnrecognizedAll: jspb.ExtensionFieldInfo; + +export const gogoprotoImport: jspb.ExtensionFieldInfo; + +export const protosizerAll: jspb.ExtensionFieldInfo; + +export const compareAll: jspb.ExtensionFieldInfo; + +export const typedeclAll: jspb.ExtensionFieldInfo; + +export const enumdeclAll: jspb.ExtensionFieldInfo; + +export const goprotoRegistration: jspb.ExtensionFieldInfo; + +export const messagenameAll: jspb.ExtensionFieldInfo; + +export const goprotoSizecacheAll: jspb.ExtensionFieldInfo; + +export const goprotoUnkeyedAll: jspb.ExtensionFieldInfo; + +export const goprotoGetters: jspb.ExtensionFieldInfo; + +export const goprotoStringer: jspb.ExtensionFieldInfo; + +export const verboseEqual: jspb.ExtensionFieldInfo; + +export const face: jspb.ExtensionFieldInfo; + +export const gostring: jspb.ExtensionFieldInfo; + +export const populate: jspb.ExtensionFieldInfo; + +export const stringer: jspb.ExtensionFieldInfo; + +export const onlyone: jspb.ExtensionFieldInfo; + +export const equal: jspb.ExtensionFieldInfo; + +export const description: jspb.ExtensionFieldInfo; + +export const testgen: jspb.ExtensionFieldInfo; + +export const benchgen: jspb.ExtensionFieldInfo; + +export const marshaler: jspb.ExtensionFieldInfo; + +export const unmarshaler: jspb.ExtensionFieldInfo; + +export const stableMarshaler: jspb.ExtensionFieldInfo; + +export const sizer: jspb.ExtensionFieldInfo; + +export const unsafeMarshaler: jspb.ExtensionFieldInfo; + +export const unsafeUnmarshaler: jspb.ExtensionFieldInfo; + +export const goprotoExtensionsMap: jspb.ExtensionFieldInfo; + +export const goprotoUnrecognized: jspb.ExtensionFieldInfo; + +export const protosizer: jspb.ExtensionFieldInfo; + +export const compare: jspb.ExtensionFieldInfo; + +export const typedecl: jspb.ExtensionFieldInfo; + +export const messagename: jspb.ExtensionFieldInfo; + +export const goprotoSizecache: jspb.ExtensionFieldInfo; + +export const goprotoUnkeyed: jspb.ExtensionFieldInfo; + +export const nullable: jspb.ExtensionFieldInfo; + +export const embed: jspb.ExtensionFieldInfo; + +export const customtype: jspb.ExtensionFieldInfo; + +export const customname: jspb.ExtensionFieldInfo; + +export const jsontag: jspb.ExtensionFieldInfo; + +export const moretags: jspb.ExtensionFieldInfo; + +export const casttype: jspb.ExtensionFieldInfo; + +export const castkey: jspb.ExtensionFieldInfo; + +export const castvalue: jspb.ExtensionFieldInfo; + +export const stdtime: jspb.ExtensionFieldInfo; + +export const stdduration: jspb.ExtensionFieldInfo; + +export const wktpointer: jspb.ExtensionFieldInfo; + +export const castrepeated: jspb.ExtensionFieldInfo; diff --git a/src/chains/penumbra/generated/gogoproto/gogo_pb.js b/src/chains/penumbra/generated/gogoproto/gogo_pb.js new file mode 100644 index 0000000000..a24646374d --- /dev/null +++ b/src/chains/penumbra/generated/gogoproto/gogo_pb.js @@ -0,0 +1,2028 @@ +// source: gogoproto/gogo.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = (function() { + if (this) { return this; } + if (typeof window !== 'undefined') { return window; } + if (typeof global !== 'undefined') { return global; } + if (typeof self !== 'undefined') { return self; } + return Function('return this')(); +}.call(null)); + +var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); +goog.object.extend(proto, google_protobuf_descriptor_pb); +goog.exportSymbol('proto.gogoproto.benchgen', null, global); +goog.exportSymbol('proto.gogoproto.benchgenAll', null, global); +goog.exportSymbol('proto.gogoproto.castkey', null, global); +goog.exportSymbol('proto.gogoproto.castrepeated', null, global); +goog.exportSymbol('proto.gogoproto.casttype', null, global); +goog.exportSymbol('proto.gogoproto.castvalue', null, global); +goog.exportSymbol('proto.gogoproto.compare', null, global); +goog.exportSymbol('proto.gogoproto.compareAll', null, global); +goog.exportSymbol('proto.gogoproto.customname', null, global); +goog.exportSymbol('proto.gogoproto.customtype', null, global); +goog.exportSymbol('proto.gogoproto.description', null, global); +goog.exportSymbol('proto.gogoproto.descriptionAll', null, global); +goog.exportSymbol('proto.gogoproto.embed', null, global); +goog.exportSymbol('proto.gogoproto.enumCustomname', null, global); +goog.exportSymbol('proto.gogoproto.enumStringer', null, global); +goog.exportSymbol('proto.gogoproto.enumStringerAll', null, global); +goog.exportSymbol('proto.gogoproto.enumdecl', null, global); +goog.exportSymbol('proto.gogoproto.enumdeclAll', null, global); +goog.exportSymbol('proto.gogoproto.enumvalueCustomname', null, global); +goog.exportSymbol('proto.gogoproto.equal', null, global); +goog.exportSymbol('proto.gogoproto.equalAll', null, global); +goog.exportSymbol('proto.gogoproto.face', null, global); +goog.exportSymbol('proto.gogoproto.faceAll', null, global); +goog.exportSymbol('proto.gogoproto.gogoprotoImport', null, global); +goog.exportSymbol('proto.gogoproto.goprotoEnumPrefix', null, global); +goog.exportSymbol('proto.gogoproto.goprotoEnumPrefixAll', null, global); +goog.exportSymbol('proto.gogoproto.goprotoEnumStringer', null, global); +goog.exportSymbol('proto.gogoproto.goprotoEnumStringerAll', null, global); +goog.exportSymbol('proto.gogoproto.goprotoExtensionsMap', null, global); +goog.exportSymbol('proto.gogoproto.goprotoExtensionsMapAll', null, global); +goog.exportSymbol('proto.gogoproto.goprotoGetters', null, global); +goog.exportSymbol('proto.gogoproto.goprotoGettersAll', null, global); +goog.exportSymbol('proto.gogoproto.goprotoRegistration', null, global); +goog.exportSymbol('proto.gogoproto.goprotoSizecache', null, global); +goog.exportSymbol('proto.gogoproto.goprotoSizecacheAll', null, global); +goog.exportSymbol('proto.gogoproto.goprotoStringer', null, global); +goog.exportSymbol('proto.gogoproto.goprotoStringerAll', null, global); +goog.exportSymbol('proto.gogoproto.goprotoUnkeyed', null, global); +goog.exportSymbol('proto.gogoproto.goprotoUnkeyedAll', null, global); +goog.exportSymbol('proto.gogoproto.goprotoUnrecognized', null, global); +goog.exportSymbol('proto.gogoproto.goprotoUnrecognizedAll', null, global); +goog.exportSymbol('proto.gogoproto.gostring', null, global); +goog.exportSymbol('proto.gogoproto.gostringAll', null, global); +goog.exportSymbol('proto.gogoproto.jsontag', null, global); +goog.exportSymbol('proto.gogoproto.marshaler', null, global); +goog.exportSymbol('proto.gogoproto.marshalerAll', null, global); +goog.exportSymbol('proto.gogoproto.messagename', null, global); +goog.exportSymbol('proto.gogoproto.messagenameAll', null, global); +goog.exportSymbol('proto.gogoproto.moretags', null, global); +goog.exportSymbol('proto.gogoproto.nullable', null, global); +goog.exportSymbol('proto.gogoproto.onlyone', null, global); +goog.exportSymbol('proto.gogoproto.onlyoneAll', null, global); +goog.exportSymbol('proto.gogoproto.populate', null, global); +goog.exportSymbol('proto.gogoproto.populateAll', null, global); +goog.exportSymbol('proto.gogoproto.protosizer', null, global); +goog.exportSymbol('proto.gogoproto.protosizerAll', null, global); +goog.exportSymbol('proto.gogoproto.sizer', null, global); +goog.exportSymbol('proto.gogoproto.sizerAll', null, global); +goog.exportSymbol('proto.gogoproto.stableMarshaler', null, global); +goog.exportSymbol('proto.gogoproto.stableMarshalerAll', null, global); +goog.exportSymbol('proto.gogoproto.stdduration', null, global); +goog.exportSymbol('proto.gogoproto.stdtime', null, global); +goog.exportSymbol('proto.gogoproto.stringer', null, global); +goog.exportSymbol('proto.gogoproto.stringerAll', null, global); +goog.exportSymbol('proto.gogoproto.testgen', null, global); +goog.exportSymbol('proto.gogoproto.testgenAll', null, global); +goog.exportSymbol('proto.gogoproto.typedecl', null, global); +goog.exportSymbol('proto.gogoproto.typedeclAll', null, global); +goog.exportSymbol('proto.gogoproto.unmarshaler', null, global); +goog.exportSymbol('proto.gogoproto.unmarshalerAll', null, global); +goog.exportSymbol('proto.gogoproto.unsafeMarshaler', null, global); +goog.exportSymbol('proto.gogoproto.unsafeMarshalerAll', null, global); +goog.exportSymbol('proto.gogoproto.unsafeUnmarshaler', null, global); +goog.exportSymbol('proto.gogoproto.unsafeUnmarshalerAll', null, global); +goog.exportSymbol('proto.gogoproto.verboseEqual', null, global); +goog.exportSymbol('proto.gogoproto.verboseEqualAll', null, global); +goog.exportSymbol('proto.gogoproto.wktpointer', null, global); + +/** + * A tuple of {field number, class constructor} for the extension + * field named `goprotoEnumPrefix`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.goprotoEnumPrefix = new jspb.ExtensionFieldInfo( + 62001, + {goprotoEnumPrefix: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.EnumOptions.extensionsBinary[62001] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.goprotoEnumPrefix, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.EnumOptions.extensions[62001] = proto.gogoproto.goprotoEnumPrefix; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `goprotoEnumStringer`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.goprotoEnumStringer = new jspb.ExtensionFieldInfo( + 62021, + {goprotoEnumStringer: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.EnumOptions.extensionsBinary[62021] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.goprotoEnumStringer, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.EnumOptions.extensions[62021] = proto.gogoproto.goprotoEnumStringer; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `enumStringer`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.enumStringer = new jspb.ExtensionFieldInfo( + 62022, + {enumStringer: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.EnumOptions.extensionsBinary[62022] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.enumStringer, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.EnumOptions.extensions[62022] = proto.gogoproto.enumStringer; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `enumCustomname`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.enumCustomname = new jspb.ExtensionFieldInfo( + 62023, + {enumCustomname: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.EnumOptions.extensionsBinary[62023] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.enumCustomname, + jspb.BinaryReader.prototype.readString, + jspb.BinaryWriter.prototype.writeString, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.EnumOptions.extensions[62023] = proto.gogoproto.enumCustomname; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `enumdecl`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.enumdecl = new jspb.ExtensionFieldInfo( + 62024, + {enumdecl: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.EnumOptions.extensionsBinary[62024] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.enumdecl, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.EnumOptions.extensions[62024] = proto.gogoproto.enumdecl; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `enumvalueCustomname`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.enumvalueCustomname = new jspb.ExtensionFieldInfo( + 66001, + {enumvalueCustomname: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.EnumValueOptions.extensionsBinary[66001] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.enumvalueCustomname, + jspb.BinaryReader.prototype.readString, + jspb.BinaryWriter.prototype.writeString, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.EnumValueOptions.extensions[66001] = proto.gogoproto.enumvalueCustomname; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `goprotoGettersAll`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.goprotoGettersAll = new jspb.ExtensionFieldInfo( + 63001, + {goprotoGettersAll: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.FileOptions.extensionsBinary[63001] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.goprotoGettersAll, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FileOptions.extensions[63001] = proto.gogoproto.goprotoGettersAll; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `goprotoEnumPrefixAll`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.goprotoEnumPrefixAll = new jspb.ExtensionFieldInfo( + 63002, + {goprotoEnumPrefixAll: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.FileOptions.extensionsBinary[63002] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.goprotoEnumPrefixAll, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FileOptions.extensions[63002] = proto.gogoproto.goprotoEnumPrefixAll; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `goprotoStringerAll`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.goprotoStringerAll = new jspb.ExtensionFieldInfo( + 63003, + {goprotoStringerAll: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.FileOptions.extensionsBinary[63003] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.goprotoStringerAll, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FileOptions.extensions[63003] = proto.gogoproto.goprotoStringerAll; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `verboseEqualAll`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.verboseEqualAll = new jspb.ExtensionFieldInfo( + 63004, + {verboseEqualAll: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.FileOptions.extensionsBinary[63004] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.verboseEqualAll, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FileOptions.extensions[63004] = proto.gogoproto.verboseEqualAll; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `faceAll`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.faceAll = new jspb.ExtensionFieldInfo( + 63005, + {faceAll: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.FileOptions.extensionsBinary[63005] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.faceAll, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FileOptions.extensions[63005] = proto.gogoproto.faceAll; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `gostringAll`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.gostringAll = new jspb.ExtensionFieldInfo( + 63006, + {gostringAll: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.FileOptions.extensionsBinary[63006] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.gostringAll, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FileOptions.extensions[63006] = proto.gogoproto.gostringAll; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `populateAll`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.populateAll = new jspb.ExtensionFieldInfo( + 63007, + {populateAll: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.FileOptions.extensionsBinary[63007] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.populateAll, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FileOptions.extensions[63007] = proto.gogoproto.populateAll; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `stringerAll`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.stringerAll = new jspb.ExtensionFieldInfo( + 63008, + {stringerAll: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.FileOptions.extensionsBinary[63008] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.stringerAll, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FileOptions.extensions[63008] = proto.gogoproto.stringerAll; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `onlyoneAll`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.onlyoneAll = new jspb.ExtensionFieldInfo( + 63009, + {onlyoneAll: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.FileOptions.extensionsBinary[63009] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.onlyoneAll, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FileOptions.extensions[63009] = proto.gogoproto.onlyoneAll; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `equalAll`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.equalAll = new jspb.ExtensionFieldInfo( + 63013, + {equalAll: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.FileOptions.extensionsBinary[63013] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.equalAll, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FileOptions.extensions[63013] = proto.gogoproto.equalAll; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `descriptionAll`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.descriptionAll = new jspb.ExtensionFieldInfo( + 63014, + {descriptionAll: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.FileOptions.extensionsBinary[63014] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.descriptionAll, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FileOptions.extensions[63014] = proto.gogoproto.descriptionAll; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `testgenAll`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.testgenAll = new jspb.ExtensionFieldInfo( + 63015, + {testgenAll: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.FileOptions.extensionsBinary[63015] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.testgenAll, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FileOptions.extensions[63015] = proto.gogoproto.testgenAll; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `benchgenAll`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.benchgenAll = new jspb.ExtensionFieldInfo( + 63016, + {benchgenAll: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.FileOptions.extensionsBinary[63016] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.benchgenAll, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FileOptions.extensions[63016] = proto.gogoproto.benchgenAll; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `marshalerAll`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.marshalerAll = new jspb.ExtensionFieldInfo( + 63017, + {marshalerAll: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.FileOptions.extensionsBinary[63017] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.marshalerAll, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FileOptions.extensions[63017] = proto.gogoproto.marshalerAll; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `unmarshalerAll`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.unmarshalerAll = new jspb.ExtensionFieldInfo( + 63018, + {unmarshalerAll: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.FileOptions.extensionsBinary[63018] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.unmarshalerAll, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FileOptions.extensions[63018] = proto.gogoproto.unmarshalerAll; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `stableMarshalerAll`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.stableMarshalerAll = new jspb.ExtensionFieldInfo( + 63019, + {stableMarshalerAll: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.FileOptions.extensionsBinary[63019] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.stableMarshalerAll, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FileOptions.extensions[63019] = proto.gogoproto.stableMarshalerAll; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `sizerAll`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.sizerAll = new jspb.ExtensionFieldInfo( + 63020, + {sizerAll: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.FileOptions.extensionsBinary[63020] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.sizerAll, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FileOptions.extensions[63020] = proto.gogoproto.sizerAll; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `goprotoEnumStringerAll`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.goprotoEnumStringerAll = new jspb.ExtensionFieldInfo( + 63021, + {goprotoEnumStringerAll: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.FileOptions.extensionsBinary[63021] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.goprotoEnumStringerAll, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FileOptions.extensions[63021] = proto.gogoproto.goprotoEnumStringerAll; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `enumStringerAll`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.enumStringerAll = new jspb.ExtensionFieldInfo( + 63022, + {enumStringerAll: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.FileOptions.extensionsBinary[63022] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.enumStringerAll, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FileOptions.extensions[63022] = proto.gogoproto.enumStringerAll; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `unsafeMarshalerAll`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.unsafeMarshalerAll = new jspb.ExtensionFieldInfo( + 63023, + {unsafeMarshalerAll: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.FileOptions.extensionsBinary[63023] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.unsafeMarshalerAll, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FileOptions.extensions[63023] = proto.gogoproto.unsafeMarshalerAll; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `unsafeUnmarshalerAll`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.unsafeUnmarshalerAll = new jspb.ExtensionFieldInfo( + 63024, + {unsafeUnmarshalerAll: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.FileOptions.extensionsBinary[63024] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.unsafeUnmarshalerAll, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FileOptions.extensions[63024] = proto.gogoproto.unsafeUnmarshalerAll; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `goprotoExtensionsMapAll`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.goprotoExtensionsMapAll = new jspb.ExtensionFieldInfo( + 63025, + {goprotoExtensionsMapAll: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.FileOptions.extensionsBinary[63025] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.goprotoExtensionsMapAll, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FileOptions.extensions[63025] = proto.gogoproto.goprotoExtensionsMapAll; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `goprotoUnrecognizedAll`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.goprotoUnrecognizedAll = new jspb.ExtensionFieldInfo( + 63026, + {goprotoUnrecognizedAll: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.FileOptions.extensionsBinary[63026] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.goprotoUnrecognizedAll, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FileOptions.extensions[63026] = proto.gogoproto.goprotoUnrecognizedAll; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `gogoprotoImport`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.gogoprotoImport = new jspb.ExtensionFieldInfo( + 63027, + {gogoprotoImport: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.FileOptions.extensionsBinary[63027] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.gogoprotoImport, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FileOptions.extensions[63027] = proto.gogoproto.gogoprotoImport; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `protosizerAll`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.protosizerAll = new jspb.ExtensionFieldInfo( + 63028, + {protosizerAll: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.FileOptions.extensionsBinary[63028] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.protosizerAll, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FileOptions.extensions[63028] = proto.gogoproto.protosizerAll; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `compareAll`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.compareAll = new jspb.ExtensionFieldInfo( + 63029, + {compareAll: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.FileOptions.extensionsBinary[63029] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.compareAll, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FileOptions.extensions[63029] = proto.gogoproto.compareAll; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `typedeclAll`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.typedeclAll = new jspb.ExtensionFieldInfo( + 63030, + {typedeclAll: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.FileOptions.extensionsBinary[63030] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.typedeclAll, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FileOptions.extensions[63030] = proto.gogoproto.typedeclAll; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `enumdeclAll`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.enumdeclAll = new jspb.ExtensionFieldInfo( + 63031, + {enumdeclAll: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.FileOptions.extensionsBinary[63031] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.enumdeclAll, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FileOptions.extensions[63031] = proto.gogoproto.enumdeclAll; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `goprotoRegistration`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.goprotoRegistration = new jspb.ExtensionFieldInfo( + 63032, + {goprotoRegistration: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.FileOptions.extensionsBinary[63032] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.goprotoRegistration, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FileOptions.extensions[63032] = proto.gogoproto.goprotoRegistration; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `messagenameAll`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.messagenameAll = new jspb.ExtensionFieldInfo( + 63033, + {messagenameAll: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.FileOptions.extensionsBinary[63033] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.messagenameAll, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FileOptions.extensions[63033] = proto.gogoproto.messagenameAll; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `goprotoSizecacheAll`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.goprotoSizecacheAll = new jspb.ExtensionFieldInfo( + 63034, + {goprotoSizecacheAll: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.FileOptions.extensionsBinary[63034] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.goprotoSizecacheAll, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FileOptions.extensions[63034] = proto.gogoproto.goprotoSizecacheAll; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `goprotoUnkeyedAll`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.goprotoUnkeyedAll = new jspb.ExtensionFieldInfo( + 63035, + {goprotoUnkeyedAll: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.FileOptions.extensionsBinary[63035] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.goprotoUnkeyedAll, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FileOptions.extensions[63035] = proto.gogoproto.goprotoUnkeyedAll; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `goprotoGetters`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.goprotoGetters = new jspb.ExtensionFieldInfo( + 64001, + {goprotoGetters: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.MessageOptions.extensionsBinary[64001] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.goprotoGetters, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MessageOptions.extensions[64001] = proto.gogoproto.goprotoGetters; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `goprotoStringer`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.goprotoStringer = new jspb.ExtensionFieldInfo( + 64003, + {goprotoStringer: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.MessageOptions.extensionsBinary[64003] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.goprotoStringer, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MessageOptions.extensions[64003] = proto.gogoproto.goprotoStringer; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `verboseEqual`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.verboseEqual = new jspb.ExtensionFieldInfo( + 64004, + {verboseEqual: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.MessageOptions.extensionsBinary[64004] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.verboseEqual, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MessageOptions.extensions[64004] = proto.gogoproto.verboseEqual; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `face`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.face = new jspb.ExtensionFieldInfo( + 64005, + {face: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.MessageOptions.extensionsBinary[64005] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.face, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MessageOptions.extensions[64005] = proto.gogoproto.face; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `gostring`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.gostring = new jspb.ExtensionFieldInfo( + 64006, + {gostring: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.MessageOptions.extensionsBinary[64006] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.gostring, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MessageOptions.extensions[64006] = proto.gogoproto.gostring; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `populate`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.populate = new jspb.ExtensionFieldInfo( + 64007, + {populate: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.MessageOptions.extensionsBinary[64007] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.populate, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MessageOptions.extensions[64007] = proto.gogoproto.populate; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `stringer`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.stringer = new jspb.ExtensionFieldInfo( + 67008, + {stringer: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.MessageOptions.extensionsBinary[67008] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.stringer, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MessageOptions.extensions[67008] = proto.gogoproto.stringer; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `onlyone`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.onlyone = new jspb.ExtensionFieldInfo( + 64009, + {onlyone: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.MessageOptions.extensionsBinary[64009] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.onlyone, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MessageOptions.extensions[64009] = proto.gogoproto.onlyone; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `equal`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.equal = new jspb.ExtensionFieldInfo( + 64013, + {equal: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.MessageOptions.extensionsBinary[64013] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.equal, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MessageOptions.extensions[64013] = proto.gogoproto.equal; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `description`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.description = new jspb.ExtensionFieldInfo( + 64014, + {description: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.MessageOptions.extensionsBinary[64014] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.description, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MessageOptions.extensions[64014] = proto.gogoproto.description; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `testgen`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.testgen = new jspb.ExtensionFieldInfo( + 64015, + {testgen: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.MessageOptions.extensionsBinary[64015] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.testgen, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MessageOptions.extensions[64015] = proto.gogoproto.testgen; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `benchgen`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.benchgen = new jspb.ExtensionFieldInfo( + 64016, + {benchgen: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.MessageOptions.extensionsBinary[64016] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.benchgen, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MessageOptions.extensions[64016] = proto.gogoproto.benchgen; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `marshaler`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.marshaler = new jspb.ExtensionFieldInfo( + 64017, + {marshaler: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.MessageOptions.extensionsBinary[64017] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.marshaler, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MessageOptions.extensions[64017] = proto.gogoproto.marshaler; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `unmarshaler`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.unmarshaler = new jspb.ExtensionFieldInfo( + 64018, + {unmarshaler: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.MessageOptions.extensionsBinary[64018] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.unmarshaler, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MessageOptions.extensions[64018] = proto.gogoproto.unmarshaler; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `stableMarshaler`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.stableMarshaler = new jspb.ExtensionFieldInfo( + 64019, + {stableMarshaler: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.MessageOptions.extensionsBinary[64019] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.stableMarshaler, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MessageOptions.extensions[64019] = proto.gogoproto.stableMarshaler; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `sizer`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.sizer = new jspb.ExtensionFieldInfo( + 64020, + {sizer: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.MessageOptions.extensionsBinary[64020] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.sizer, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MessageOptions.extensions[64020] = proto.gogoproto.sizer; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `unsafeMarshaler`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.unsafeMarshaler = new jspb.ExtensionFieldInfo( + 64023, + {unsafeMarshaler: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.MessageOptions.extensionsBinary[64023] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.unsafeMarshaler, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MessageOptions.extensions[64023] = proto.gogoproto.unsafeMarshaler; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `unsafeUnmarshaler`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.unsafeUnmarshaler = new jspb.ExtensionFieldInfo( + 64024, + {unsafeUnmarshaler: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.MessageOptions.extensionsBinary[64024] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.unsafeUnmarshaler, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MessageOptions.extensions[64024] = proto.gogoproto.unsafeUnmarshaler; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `goprotoExtensionsMap`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.goprotoExtensionsMap = new jspb.ExtensionFieldInfo( + 64025, + {goprotoExtensionsMap: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.MessageOptions.extensionsBinary[64025] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.goprotoExtensionsMap, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MessageOptions.extensions[64025] = proto.gogoproto.goprotoExtensionsMap; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `goprotoUnrecognized`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.goprotoUnrecognized = new jspb.ExtensionFieldInfo( + 64026, + {goprotoUnrecognized: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.MessageOptions.extensionsBinary[64026] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.goprotoUnrecognized, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MessageOptions.extensions[64026] = proto.gogoproto.goprotoUnrecognized; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `protosizer`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.protosizer = new jspb.ExtensionFieldInfo( + 64028, + {protosizer: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.MessageOptions.extensionsBinary[64028] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.protosizer, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MessageOptions.extensions[64028] = proto.gogoproto.protosizer; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `compare`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.compare = new jspb.ExtensionFieldInfo( + 64029, + {compare: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.MessageOptions.extensionsBinary[64029] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.compare, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MessageOptions.extensions[64029] = proto.gogoproto.compare; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `typedecl`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.typedecl = new jspb.ExtensionFieldInfo( + 64030, + {typedecl: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.MessageOptions.extensionsBinary[64030] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.typedecl, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MessageOptions.extensions[64030] = proto.gogoproto.typedecl; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `messagename`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.messagename = new jspb.ExtensionFieldInfo( + 64033, + {messagename: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.MessageOptions.extensionsBinary[64033] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.messagename, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MessageOptions.extensions[64033] = proto.gogoproto.messagename; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `goprotoSizecache`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.goprotoSizecache = new jspb.ExtensionFieldInfo( + 64034, + {goprotoSizecache: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.MessageOptions.extensionsBinary[64034] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.goprotoSizecache, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MessageOptions.extensions[64034] = proto.gogoproto.goprotoSizecache; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `goprotoUnkeyed`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.goprotoUnkeyed = new jspb.ExtensionFieldInfo( + 64035, + {goprotoUnkeyed: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.MessageOptions.extensionsBinary[64035] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.goprotoUnkeyed, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MessageOptions.extensions[64035] = proto.gogoproto.goprotoUnkeyed; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `nullable`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.nullable = new jspb.ExtensionFieldInfo( + 65001, + {nullable: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.FieldOptions.extensionsBinary[65001] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.nullable, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FieldOptions.extensions[65001] = proto.gogoproto.nullable; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `embed`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.embed = new jspb.ExtensionFieldInfo( + 65002, + {embed: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.FieldOptions.extensionsBinary[65002] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.embed, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FieldOptions.extensions[65002] = proto.gogoproto.embed; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `customtype`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.customtype = new jspb.ExtensionFieldInfo( + 65003, + {customtype: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.FieldOptions.extensionsBinary[65003] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.customtype, + jspb.BinaryReader.prototype.readString, + jspb.BinaryWriter.prototype.writeString, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FieldOptions.extensions[65003] = proto.gogoproto.customtype; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `customname`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.customname = new jspb.ExtensionFieldInfo( + 65004, + {customname: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.FieldOptions.extensionsBinary[65004] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.customname, + jspb.BinaryReader.prototype.readString, + jspb.BinaryWriter.prototype.writeString, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FieldOptions.extensions[65004] = proto.gogoproto.customname; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `jsontag`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.jsontag = new jspb.ExtensionFieldInfo( + 65005, + {jsontag: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.FieldOptions.extensionsBinary[65005] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.jsontag, + jspb.BinaryReader.prototype.readString, + jspb.BinaryWriter.prototype.writeString, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FieldOptions.extensions[65005] = proto.gogoproto.jsontag; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `moretags`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.moretags = new jspb.ExtensionFieldInfo( + 65006, + {moretags: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.FieldOptions.extensionsBinary[65006] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.moretags, + jspb.BinaryReader.prototype.readString, + jspb.BinaryWriter.prototype.writeString, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FieldOptions.extensions[65006] = proto.gogoproto.moretags; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `casttype`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.casttype = new jspb.ExtensionFieldInfo( + 65007, + {casttype: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.FieldOptions.extensionsBinary[65007] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.casttype, + jspb.BinaryReader.prototype.readString, + jspb.BinaryWriter.prototype.writeString, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FieldOptions.extensions[65007] = proto.gogoproto.casttype; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `castkey`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.castkey = new jspb.ExtensionFieldInfo( + 65008, + {castkey: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.FieldOptions.extensionsBinary[65008] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.castkey, + jspb.BinaryReader.prototype.readString, + jspb.BinaryWriter.prototype.writeString, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FieldOptions.extensions[65008] = proto.gogoproto.castkey; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `castvalue`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.castvalue = new jspb.ExtensionFieldInfo( + 65009, + {castvalue: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.FieldOptions.extensionsBinary[65009] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.castvalue, + jspb.BinaryReader.prototype.readString, + jspb.BinaryWriter.prototype.writeString, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FieldOptions.extensions[65009] = proto.gogoproto.castvalue; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `stdtime`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.stdtime = new jspb.ExtensionFieldInfo( + 65010, + {stdtime: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.FieldOptions.extensionsBinary[65010] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.stdtime, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FieldOptions.extensions[65010] = proto.gogoproto.stdtime; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `stdduration`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.stdduration = new jspb.ExtensionFieldInfo( + 65011, + {stdduration: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.FieldOptions.extensionsBinary[65011] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.stdduration, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FieldOptions.extensions[65011] = proto.gogoproto.stdduration; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `wktpointer`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.wktpointer = new jspb.ExtensionFieldInfo( + 65012, + {wktpointer: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.FieldOptions.extensionsBinary[65012] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.wktpointer, + jspb.BinaryReader.prototype.readBool, + jspb.BinaryWriter.prototype.writeBool, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FieldOptions.extensions[65012] = proto.gogoproto.wktpointer; + + +/** + * A tuple of {field number, class constructor} for the extension + * field named `castrepeated`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.gogoproto.castrepeated = new jspb.ExtensionFieldInfo( + 65013, + {castrepeated: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.FieldOptions.extensionsBinary[65013] = new jspb.ExtensionFieldBinaryInfo( + proto.gogoproto.castrepeated, + jspb.BinaryReader.prototype.readString, + jspb.BinaryWriter.prototype.writeString, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.FieldOptions.extensions[65013] = proto.gogoproto.castrepeated; + +goog.object.extend(exports, proto.gogoproto); diff --git a/src/chains/penumbra/generated/ibc/core/client/v1/client_grpc_pb.js b/src/chains/penumbra/generated/ibc/core/client/v1/client_grpc_pb.js new file mode 100644 index 0000000000..97b3a2461d --- /dev/null +++ b/src/chains/penumbra/generated/ibc/core/client/v1/client_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/src/chains/penumbra/generated/ibc/core/client/v1/client_pb.d.ts b/src/chains/penumbra/generated/ibc/core/client/v1/client_pb.d.ts new file mode 100644 index 0000000000..4ac61731fb --- /dev/null +++ b/src/chains/penumbra/generated/ibc/core/client/v1/client_pb.d.ts @@ -0,0 +1,134 @@ +// package: ibc.core.client.v1 +// file: ibc/core/client/v1/client.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as gogoproto_gogo_pb from "../../../../gogoproto/gogo_pb"; +import * as google_protobuf_any_pb from "google-protobuf/google/protobuf/any_pb"; + +export class IdentifiedClientState extends jspb.Message { + getClientId(): string; + setClientId(value: string): IdentifiedClientState; + + hasClientState(): boolean; + clearClientState(): void; + getClientState(): google_protobuf_any_pb.Any | undefined; + setClientState(value?: google_protobuf_any_pb.Any): IdentifiedClientState; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): IdentifiedClientState.AsObject; + static toObject(includeInstance: boolean, msg: IdentifiedClientState): IdentifiedClientState.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: IdentifiedClientState, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): IdentifiedClientState; + static deserializeBinaryFromReader(message: IdentifiedClientState, reader: jspb.BinaryReader): IdentifiedClientState; +} + +export namespace IdentifiedClientState { + export type AsObject = { + clientId: string, + clientState?: google_protobuf_any_pb.Any.AsObject, + } +} + +export class ConsensusStateWithHeight extends jspb.Message { + + hasHeight(): boolean; + clearHeight(): void; + getHeight(): Height | undefined; + setHeight(value?: Height): ConsensusStateWithHeight; + + hasConsensusState(): boolean; + clearConsensusState(): void; + getConsensusState(): google_protobuf_any_pb.Any | undefined; + setConsensusState(value?: google_protobuf_any_pb.Any): ConsensusStateWithHeight; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ConsensusStateWithHeight.AsObject; + static toObject(includeInstance: boolean, msg: ConsensusStateWithHeight): ConsensusStateWithHeight.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ConsensusStateWithHeight, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ConsensusStateWithHeight; + static deserializeBinaryFromReader(message: ConsensusStateWithHeight, reader: jspb.BinaryReader): ConsensusStateWithHeight; +} + +export namespace ConsensusStateWithHeight { + export type AsObject = { + height?: Height.AsObject, + consensusState?: google_protobuf_any_pb.Any.AsObject, + } +} + +export class ClientConsensusStates extends jspb.Message { + getClientId(): string; + setClientId(value: string): ClientConsensusStates; + clearConsensusStatesList(): void; + getConsensusStatesList(): Array; + setConsensusStatesList(value: Array): ClientConsensusStates; + addConsensusStates(value?: ConsensusStateWithHeight, index?: number): ConsensusStateWithHeight; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ClientConsensusStates.AsObject; + static toObject(includeInstance: boolean, msg: ClientConsensusStates): ClientConsensusStates.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ClientConsensusStates, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ClientConsensusStates; + static deserializeBinaryFromReader(message: ClientConsensusStates, reader: jspb.BinaryReader): ClientConsensusStates; +} + +export namespace ClientConsensusStates { + export type AsObject = { + clientId: string, + consensusStatesList: Array, + } +} + +export class Height extends jspb.Message { + getRevisionNumber(): number; + setRevisionNumber(value: number): Height; + getRevisionHeight(): number; + setRevisionHeight(value: number): Height; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Height.AsObject; + static toObject(includeInstance: boolean, msg: Height): Height.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Height, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Height; + static deserializeBinaryFromReader(message: Height, reader: jspb.BinaryReader): Height; +} + +export namespace Height { + export type AsObject = { + revisionNumber: number, + revisionHeight: number, + } +} + +export class Params extends jspb.Message { + clearAllowedClientsList(): void; + getAllowedClientsList(): Array; + setAllowedClientsList(value: Array): Params; + addAllowedClients(value: string, index?: number): string; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Params.AsObject; + static toObject(includeInstance: boolean, msg: Params): Params.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Params, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Params; + static deserializeBinaryFromReader(message: Params, reader: jspb.BinaryReader): Params; +} + +export namespace Params { + export type AsObject = { + allowedClientsList: Array, + } +} diff --git a/src/chains/penumbra/generated/ibc/core/client/v1/client_pb.js b/src/chains/penumbra/generated/ibc/core/client/v1/client_pb.js new file mode 100644 index 0000000000..0069349b80 --- /dev/null +++ b/src/chains/penumbra/generated/ibc/core/client/v1/client_pb.js @@ -0,0 +1,1027 @@ +// source: ibc/core/client/v1/client.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = (function() { + if (this) { return this; } + if (typeof window !== 'undefined') { return window; } + if (typeof global !== 'undefined') { return global; } + if (typeof self !== 'undefined') { return self; } + return Function('return this')(); +}.call(null)); + +var gogoproto_gogo_pb = require('../../../../gogoproto/gogo_pb.js'); +goog.object.extend(proto, gogoproto_gogo_pb); +var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js'); +goog.object.extend(proto, google_protobuf_any_pb); +goog.exportSymbol('proto.ibc.core.client.v1.ClientConsensusStates', null, global); +goog.exportSymbol('proto.ibc.core.client.v1.ConsensusStateWithHeight', null, global); +goog.exportSymbol('proto.ibc.core.client.v1.Height', null, global); +goog.exportSymbol('proto.ibc.core.client.v1.IdentifiedClientState', null, global); +goog.exportSymbol('proto.ibc.core.client.v1.Params', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.ibc.core.client.v1.IdentifiedClientState = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.ibc.core.client.v1.IdentifiedClientState, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ibc.core.client.v1.IdentifiedClientState.displayName = 'proto.ibc.core.client.v1.IdentifiedClientState'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.ibc.core.client.v1.ConsensusStateWithHeight = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.ibc.core.client.v1.ConsensusStateWithHeight, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ibc.core.client.v1.ConsensusStateWithHeight.displayName = 'proto.ibc.core.client.v1.ConsensusStateWithHeight'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.ibc.core.client.v1.ClientConsensusStates = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.ibc.core.client.v1.ClientConsensusStates.repeatedFields_, null); +}; +goog.inherits(proto.ibc.core.client.v1.ClientConsensusStates, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ibc.core.client.v1.ClientConsensusStates.displayName = 'proto.ibc.core.client.v1.ClientConsensusStates'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.ibc.core.client.v1.Height = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.ibc.core.client.v1.Height, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ibc.core.client.v1.Height.displayName = 'proto.ibc.core.client.v1.Height'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.ibc.core.client.v1.Params = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.ibc.core.client.v1.Params.repeatedFields_, null); +}; +goog.inherits(proto.ibc.core.client.v1.Params, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ibc.core.client.v1.Params.displayName = 'proto.ibc.core.client.v1.Params'; +} + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ibc.core.client.v1.IdentifiedClientState.prototype.toObject = function(opt_includeInstance) { + return proto.ibc.core.client.v1.IdentifiedClientState.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ibc.core.client.v1.IdentifiedClientState} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ibc.core.client.v1.IdentifiedClientState.toObject = function(includeInstance, msg) { + var f, obj = { + clientId: jspb.Message.getFieldWithDefault(msg, 1, ""), + clientState: (f = msg.getClientState()) && google_protobuf_any_pb.Any.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ibc.core.client.v1.IdentifiedClientState} + */ +proto.ibc.core.client.v1.IdentifiedClientState.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ibc.core.client.v1.IdentifiedClientState; + return proto.ibc.core.client.v1.IdentifiedClientState.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ibc.core.client.v1.IdentifiedClientState} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ibc.core.client.v1.IdentifiedClientState} + */ +proto.ibc.core.client.v1.IdentifiedClientState.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setClientId(value); + break; + case 2: + var value = new google_protobuf_any_pb.Any; + reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader); + msg.setClientState(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ibc.core.client.v1.IdentifiedClientState.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ibc.core.client.v1.IdentifiedClientState.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ibc.core.client.v1.IdentifiedClientState} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ibc.core.client.v1.IdentifiedClientState.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getClientId(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getClientState(); + if (f != null) { + writer.writeMessage( + 2, + f, + google_protobuf_any_pb.Any.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string client_id = 1; + * @return {string} + */ +proto.ibc.core.client.v1.IdentifiedClientState.prototype.getClientId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.ibc.core.client.v1.IdentifiedClientState} returns this + */ +proto.ibc.core.client.v1.IdentifiedClientState.prototype.setClientId = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional google.protobuf.Any client_state = 2; + * @return {?proto.google.protobuf.Any} + */ +proto.ibc.core.client.v1.IdentifiedClientState.prototype.getClientState = function() { + return /** @type{?proto.google.protobuf.Any} */ ( + jspb.Message.getWrapperField(this, google_protobuf_any_pb.Any, 2)); +}; + + +/** + * @param {?proto.google.protobuf.Any|undefined} value + * @return {!proto.ibc.core.client.v1.IdentifiedClientState} returns this +*/ +proto.ibc.core.client.v1.IdentifiedClientState.prototype.setClientState = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ibc.core.client.v1.IdentifiedClientState} returns this + */ +proto.ibc.core.client.v1.IdentifiedClientState.prototype.clearClientState = function() { + return this.setClientState(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ibc.core.client.v1.IdentifiedClientState.prototype.hasClientState = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ibc.core.client.v1.ConsensusStateWithHeight.prototype.toObject = function(opt_includeInstance) { + return proto.ibc.core.client.v1.ConsensusStateWithHeight.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ibc.core.client.v1.ConsensusStateWithHeight} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ibc.core.client.v1.ConsensusStateWithHeight.toObject = function(includeInstance, msg) { + var f, obj = { + height: (f = msg.getHeight()) && proto.ibc.core.client.v1.Height.toObject(includeInstance, f), + consensusState: (f = msg.getConsensusState()) && google_protobuf_any_pb.Any.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ibc.core.client.v1.ConsensusStateWithHeight} + */ +proto.ibc.core.client.v1.ConsensusStateWithHeight.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ibc.core.client.v1.ConsensusStateWithHeight; + return proto.ibc.core.client.v1.ConsensusStateWithHeight.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ibc.core.client.v1.ConsensusStateWithHeight} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ibc.core.client.v1.ConsensusStateWithHeight} + */ +proto.ibc.core.client.v1.ConsensusStateWithHeight.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.ibc.core.client.v1.Height; + reader.readMessage(value,proto.ibc.core.client.v1.Height.deserializeBinaryFromReader); + msg.setHeight(value); + break; + case 2: + var value = new google_protobuf_any_pb.Any; + reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader); + msg.setConsensusState(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ibc.core.client.v1.ConsensusStateWithHeight.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ibc.core.client.v1.ConsensusStateWithHeight.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ibc.core.client.v1.ConsensusStateWithHeight} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ibc.core.client.v1.ConsensusStateWithHeight.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getHeight(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.ibc.core.client.v1.Height.serializeBinaryToWriter + ); + } + f = message.getConsensusState(); + if (f != null) { + writer.writeMessage( + 2, + f, + google_protobuf_any_pb.Any.serializeBinaryToWriter + ); + } +}; + + +/** + * optional Height height = 1; + * @return {?proto.ibc.core.client.v1.Height} + */ +proto.ibc.core.client.v1.ConsensusStateWithHeight.prototype.getHeight = function() { + return /** @type{?proto.ibc.core.client.v1.Height} */ ( + jspb.Message.getWrapperField(this, proto.ibc.core.client.v1.Height, 1)); +}; + + +/** + * @param {?proto.ibc.core.client.v1.Height|undefined} value + * @return {!proto.ibc.core.client.v1.ConsensusStateWithHeight} returns this +*/ +proto.ibc.core.client.v1.ConsensusStateWithHeight.prototype.setHeight = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ibc.core.client.v1.ConsensusStateWithHeight} returns this + */ +proto.ibc.core.client.v1.ConsensusStateWithHeight.prototype.clearHeight = function() { + return this.setHeight(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ibc.core.client.v1.ConsensusStateWithHeight.prototype.hasHeight = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional google.protobuf.Any consensus_state = 2; + * @return {?proto.google.protobuf.Any} + */ +proto.ibc.core.client.v1.ConsensusStateWithHeight.prototype.getConsensusState = function() { + return /** @type{?proto.google.protobuf.Any} */ ( + jspb.Message.getWrapperField(this, google_protobuf_any_pb.Any, 2)); +}; + + +/** + * @param {?proto.google.protobuf.Any|undefined} value + * @return {!proto.ibc.core.client.v1.ConsensusStateWithHeight} returns this +*/ +proto.ibc.core.client.v1.ConsensusStateWithHeight.prototype.setConsensusState = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ibc.core.client.v1.ConsensusStateWithHeight} returns this + */ +proto.ibc.core.client.v1.ConsensusStateWithHeight.prototype.clearConsensusState = function() { + return this.setConsensusState(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ibc.core.client.v1.ConsensusStateWithHeight.prototype.hasConsensusState = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.ibc.core.client.v1.ClientConsensusStates.repeatedFields_ = [2]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ibc.core.client.v1.ClientConsensusStates.prototype.toObject = function(opt_includeInstance) { + return proto.ibc.core.client.v1.ClientConsensusStates.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ibc.core.client.v1.ClientConsensusStates} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ibc.core.client.v1.ClientConsensusStates.toObject = function(includeInstance, msg) { + var f, obj = { + clientId: jspb.Message.getFieldWithDefault(msg, 1, ""), + consensusStatesList: jspb.Message.toObjectList(msg.getConsensusStatesList(), + proto.ibc.core.client.v1.ConsensusStateWithHeight.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ibc.core.client.v1.ClientConsensusStates} + */ +proto.ibc.core.client.v1.ClientConsensusStates.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ibc.core.client.v1.ClientConsensusStates; + return proto.ibc.core.client.v1.ClientConsensusStates.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ibc.core.client.v1.ClientConsensusStates} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ibc.core.client.v1.ClientConsensusStates} + */ +proto.ibc.core.client.v1.ClientConsensusStates.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setClientId(value); + break; + case 2: + var value = new proto.ibc.core.client.v1.ConsensusStateWithHeight; + reader.readMessage(value,proto.ibc.core.client.v1.ConsensusStateWithHeight.deserializeBinaryFromReader); + msg.addConsensusStates(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ibc.core.client.v1.ClientConsensusStates.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ibc.core.client.v1.ClientConsensusStates.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ibc.core.client.v1.ClientConsensusStates} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ibc.core.client.v1.ClientConsensusStates.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getClientId(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getConsensusStatesList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 2, + f, + proto.ibc.core.client.v1.ConsensusStateWithHeight.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string client_id = 1; + * @return {string} + */ +proto.ibc.core.client.v1.ClientConsensusStates.prototype.getClientId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.ibc.core.client.v1.ClientConsensusStates} returns this + */ +proto.ibc.core.client.v1.ClientConsensusStates.prototype.setClientId = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * repeated ConsensusStateWithHeight consensus_states = 2; + * @return {!Array} + */ +proto.ibc.core.client.v1.ClientConsensusStates.prototype.getConsensusStatesList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.ibc.core.client.v1.ConsensusStateWithHeight, 2)); +}; + + +/** + * @param {!Array} value + * @return {!proto.ibc.core.client.v1.ClientConsensusStates} returns this +*/ +proto.ibc.core.client.v1.ClientConsensusStates.prototype.setConsensusStatesList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 2, value); +}; + + +/** + * @param {!proto.ibc.core.client.v1.ConsensusStateWithHeight=} opt_value + * @param {number=} opt_index + * @return {!proto.ibc.core.client.v1.ConsensusStateWithHeight} + */ +proto.ibc.core.client.v1.ClientConsensusStates.prototype.addConsensusStates = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.ibc.core.client.v1.ConsensusStateWithHeight, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.ibc.core.client.v1.ClientConsensusStates} returns this + */ +proto.ibc.core.client.v1.ClientConsensusStates.prototype.clearConsensusStatesList = function() { + return this.setConsensusStatesList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ibc.core.client.v1.Height.prototype.toObject = function(opt_includeInstance) { + return proto.ibc.core.client.v1.Height.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ibc.core.client.v1.Height} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ibc.core.client.v1.Height.toObject = function(includeInstance, msg) { + var f, obj = { + revisionNumber: jspb.Message.getFieldWithDefault(msg, 1, 0), + revisionHeight: jspb.Message.getFieldWithDefault(msg, 2, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ibc.core.client.v1.Height} + */ +proto.ibc.core.client.v1.Height.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ibc.core.client.v1.Height; + return proto.ibc.core.client.v1.Height.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ibc.core.client.v1.Height} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ibc.core.client.v1.Height} + */ +proto.ibc.core.client.v1.Height.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setRevisionNumber(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint64()); + msg.setRevisionHeight(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ibc.core.client.v1.Height.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ibc.core.client.v1.Height.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ibc.core.client.v1.Height} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ibc.core.client.v1.Height.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getRevisionNumber(); + if (f !== 0) { + writer.writeUint64( + 1, + f + ); + } + f = message.getRevisionHeight(); + if (f !== 0) { + writer.writeUint64( + 2, + f + ); + } +}; + + +/** + * optional uint64 revision_number = 1; + * @return {number} + */ +proto.ibc.core.client.v1.Height.prototype.getRevisionNumber = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.ibc.core.client.v1.Height} returns this + */ +proto.ibc.core.client.v1.Height.prototype.setRevisionNumber = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional uint64 revision_height = 2; + * @return {number} + */ +proto.ibc.core.client.v1.Height.prototype.getRevisionHeight = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.ibc.core.client.v1.Height} returns this + */ +proto.ibc.core.client.v1.Height.prototype.setRevisionHeight = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.ibc.core.client.v1.Params.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ibc.core.client.v1.Params.prototype.toObject = function(opt_includeInstance) { + return proto.ibc.core.client.v1.Params.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ibc.core.client.v1.Params} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ibc.core.client.v1.Params.toObject = function(includeInstance, msg) { + var f, obj = { + allowedClientsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ibc.core.client.v1.Params} + */ +proto.ibc.core.client.v1.Params.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ibc.core.client.v1.Params; + return proto.ibc.core.client.v1.Params.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ibc.core.client.v1.Params} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ibc.core.client.v1.Params} + */ +proto.ibc.core.client.v1.Params.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.addAllowedClients(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ibc.core.client.v1.Params.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ibc.core.client.v1.Params.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ibc.core.client.v1.Params} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ibc.core.client.v1.Params.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getAllowedClientsList(); + if (f.length > 0) { + writer.writeRepeatedString( + 1, + f + ); + } +}; + + +/** + * repeated string allowed_clients = 1; + * @return {!Array} + */ +proto.ibc.core.client.v1.Params.prototype.getAllowedClientsList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.ibc.core.client.v1.Params} returns this + */ +proto.ibc.core.client.v1.Params.prototype.setAllowedClientsList = function(value) { + return jspb.Message.setField(this, 1, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.ibc.core.client.v1.Params} returns this + */ +proto.ibc.core.client.v1.Params.prototype.addAllowedClients = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.ibc.core.client.v1.Params} returns this + */ +proto.ibc.core.client.v1.Params.prototype.clearAllowedClientsList = function() { + return this.setAllowedClientsList([]); +}; + + +goog.object.extend(exports, proto.ibc.core.client.v1); diff --git a/src/chains/penumbra/generated/ibc/core/commitment/v1/commitment_grpc_pb.js b/src/chains/penumbra/generated/ibc/core/commitment/v1/commitment_grpc_pb.js new file mode 100644 index 0000000000..97b3a2461d --- /dev/null +++ b/src/chains/penumbra/generated/ibc/core/commitment/v1/commitment_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/src/chains/penumbra/generated/ibc/core/commitment/v1/commitment_pb.d.ts b/src/chains/penumbra/generated/ibc/core/commitment/v1/commitment_pb.d.ts new file mode 100644 index 0000000000..3666b7d52d --- /dev/null +++ b/src/chains/penumbra/generated/ibc/core/commitment/v1/commitment_pb.d.ts @@ -0,0 +1,97 @@ +// package: ibc.core.commitment.v1 +// file: ibc/core/commitment/v1/commitment.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as gogoproto_gogo_pb from "../../../../gogoproto/gogo_pb"; +import * as cosmos_ics23_v1_proofs_pb from "../../../../cosmos/ics23/v1/proofs_pb"; + +export class MerkleRoot extends jspb.Message { + getHash(): Uint8Array | string; + getHash_asU8(): Uint8Array; + getHash_asB64(): string; + setHash(value: Uint8Array | string): MerkleRoot; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): MerkleRoot.AsObject; + static toObject(includeInstance: boolean, msg: MerkleRoot): MerkleRoot.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: MerkleRoot, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): MerkleRoot; + static deserializeBinaryFromReader(message: MerkleRoot, reader: jspb.BinaryReader): MerkleRoot; +} + +export namespace MerkleRoot { + export type AsObject = { + hash: Uint8Array | string, + } +} + +export class MerklePrefix extends jspb.Message { + getKeyPrefix(): Uint8Array | string; + getKeyPrefix_asU8(): Uint8Array; + getKeyPrefix_asB64(): string; + setKeyPrefix(value: Uint8Array | string): MerklePrefix; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): MerklePrefix.AsObject; + static toObject(includeInstance: boolean, msg: MerklePrefix): MerklePrefix.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: MerklePrefix, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): MerklePrefix; + static deserializeBinaryFromReader(message: MerklePrefix, reader: jspb.BinaryReader): MerklePrefix; +} + +export namespace MerklePrefix { + export type AsObject = { + keyPrefix: Uint8Array | string, + } +} + +export class MerklePath extends jspb.Message { + clearKeyPathList(): void; + getKeyPathList(): Array; + setKeyPathList(value: Array): MerklePath; + addKeyPath(value: string, index?: number): string; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): MerklePath.AsObject; + static toObject(includeInstance: boolean, msg: MerklePath): MerklePath.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: MerklePath, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): MerklePath; + static deserializeBinaryFromReader(message: MerklePath, reader: jspb.BinaryReader): MerklePath; +} + +export namespace MerklePath { + export type AsObject = { + keyPathList: Array, + } +} + +export class MerkleProof extends jspb.Message { + clearProofsList(): void; + getProofsList(): Array; + setProofsList(value: Array): MerkleProof; + addProofs(value?: cosmos_ics23_v1_proofs_pb.CommitmentProof, index?: number): cosmos_ics23_v1_proofs_pb.CommitmentProof; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): MerkleProof.AsObject; + static toObject(includeInstance: boolean, msg: MerkleProof): MerkleProof.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: MerkleProof, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): MerkleProof; + static deserializeBinaryFromReader(message: MerkleProof, reader: jspb.BinaryReader): MerkleProof; +} + +export namespace MerkleProof { + export type AsObject = { + proofsList: Array, + } +} diff --git a/src/chains/penumbra/generated/ibc/core/commitment/v1/commitment_pb.js b/src/chains/penumbra/generated/ibc/core/commitment/v1/commitment_pb.js new file mode 100644 index 0000000000..81209ce5ab --- /dev/null +++ b/src/chains/penumbra/generated/ibc/core/commitment/v1/commitment_pb.js @@ -0,0 +1,740 @@ +// source: ibc/core/commitment/v1/commitment.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = (function() { + if (this) { return this; } + if (typeof window !== 'undefined') { return window; } + if (typeof global !== 'undefined') { return global; } + if (typeof self !== 'undefined') { return self; } + return Function('return this')(); +}.call(null)); + +var gogoproto_gogo_pb = require('../../../../gogoproto/gogo_pb.js'); +goog.object.extend(proto, gogoproto_gogo_pb); +var cosmos_ics23_v1_proofs_pb = require('../../../../cosmos/ics23/v1/proofs_pb.js'); +goog.object.extend(proto, cosmos_ics23_v1_proofs_pb); +goog.exportSymbol('proto.ibc.core.commitment.v1.MerklePath', null, global); +goog.exportSymbol('proto.ibc.core.commitment.v1.MerklePrefix', null, global); +goog.exportSymbol('proto.ibc.core.commitment.v1.MerkleProof', null, global); +goog.exportSymbol('proto.ibc.core.commitment.v1.MerkleRoot', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.ibc.core.commitment.v1.MerkleRoot = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.ibc.core.commitment.v1.MerkleRoot, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ibc.core.commitment.v1.MerkleRoot.displayName = 'proto.ibc.core.commitment.v1.MerkleRoot'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.ibc.core.commitment.v1.MerklePrefix = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.ibc.core.commitment.v1.MerklePrefix, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ibc.core.commitment.v1.MerklePrefix.displayName = 'proto.ibc.core.commitment.v1.MerklePrefix'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.ibc.core.commitment.v1.MerklePath = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.ibc.core.commitment.v1.MerklePath.repeatedFields_, null); +}; +goog.inherits(proto.ibc.core.commitment.v1.MerklePath, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ibc.core.commitment.v1.MerklePath.displayName = 'proto.ibc.core.commitment.v1.MerklePath'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.ibc.core.commitment.v1.MerkleProof = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.ibc.core.commitment.v1.MerkleProof.repeatedFields_, null); +}; +goog.inherits(proto.ibc.core.commitment.v1.MerkleProof, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ibc.core.commitment.v1.MerkleProof.displayName = 'proto.ibc.core.commitment.v1.MerkleProof'; +} + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ibc.core.commitment.v1.MerkleRoot.prototype.toObject = function(opt_includeInstance) { + return proto.ibc.core.commitment.v1.MerkleRoot.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ibc.core.commitment.v1.MerkleRoot} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ibc.core.commitment.v1.MerkleRoot.toObject = function(includeInstance, msg) { + var f, obj = { + hash: msg.getHash_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ibc.core.commitment.v1.MerkleRoot} + */ +proto.ibc.core.commitment.v1.MerkleRoot.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ibc.core.commitment.v1.MerkleRoot; + return proto.ibc.core.commitment.v1.MerkleRoot.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ibc.core.commitment.v1.MerkleRoot} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ibc.core.commitment.v1.MerkleRoot} + */ +proto.ibc.core.commitment.v1.MerkleRoot.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setHash(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ibc.core.commitment.v1.MerkleRoot.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ibc.core.commitment.v1.MerkleRoot.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ibc.core.commitment.v1.MerkleRoot} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ibc.core.commitment.v1.MerkleRoot.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getHash_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } +}; + + +/** + * optional bytes hash = 1; + * @return {!(string|Uint8Array)} + */ +proto.ibc.core.commitment.v1.MerkleRoot.prototype.getHash = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes hash = 1; + * This is a type-conversion wrapper around `getHash()` + * @return {string} + */ +proto.ibc.core.commitment.v1.MerkleRoot.prototype.getHash_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getHash())); +}; + + +/** + * optional bytes hash = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getHash()` + * @return {!Uint8Array} + */ +proto.ibc.core.commitment.v1.MerkleRoot.prototype.getHash_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getHash())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.ibc.core.commitment.v1.MerkleRoot} returns this + */ +proto.ibc.core.commitment.v1.MerkleRoot.prototype.setHash = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ibc.core.commitment.v1.MerklePrefix.prototype.toObject = function(opt_includeInstance) { + return proto.ibc.core.commitment.v1.MerklePrefix.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ibc.core.commitment.v1.MerklePrefix} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ibc.core.commitment.v1.MerklePrefix.toObject = function(includeInstance, msg) { + var f, obj = { + keyPrefix: msg.getKeyPrefix_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ibc.core.commitment.v1.MerklePrefix} + */ +proto.ibc.core.commitment.v1.MerklePrefix.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ibc.core.commitment.v1.MerklePrefix; + return proto.ibc.core.commitment.v1.MerklePrefix.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ibc.core.commitment.v1.MerklePrefix} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ibc.core.commitment.v1.MerklePrefix} + */ +proto.ibc.core.commitment.v1.MerklePrefix.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setKeyPrefix(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ibc.core.commitment.v1.MerklePrefix.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ibc.core.commitment.v1.MerklePrefix.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ibc.core.commitment.v1.MerklePrefix} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ibc.core.commitment.v1.MerklePrefix.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getKeyPrefix_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } +}; + + +/** + * optional bytes key_prefix = 1; + * @return {!(string|Uint8Array)} + */ +proto.ibc.core.commitment.v1.MerklePrefix.prototype.getKeyPrefix = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes key_prefix = 1; + * This is a type-conversion wrapper around `getKeyPrefix()` + * @return {string} + */ +proto.ibc.core.commitment.v1.MerklePrefix.prototype.getKeyPrefix_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getKeyPrefix())); +}; + + +/** + * optional bytes key_prefix = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getKeyPrefix()` + * @return {!Uint8Array} + */ +proto.ibc.core.commitment.v1.MerklePrefix.prototype.getKeyPrefix_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getKeyPrefix())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.ibc.core.commitment.v1.MerklePrefix} returns this + */ +proto.ibc.core.commitment.v1.MerklePrefix.prototype.setKeyPrefix = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.ibc.core.commitment.v1.MerklePath.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ibc.core.commitment.v1.MerklePath.prototype.toObject = function(opt_includeInstance) { + return proto.ibc.core.commitment.v1.MerklePath.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ibc.core.commitment.v1.MerklePath} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ibc.core.commitment.v1.MerklePath.toObject = function(includeInstance, msg) { + var f, obj = { + keyPathList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ibc.core.commitment.v1.MerklePath} + */ +proto.ibc.core.commitment.v1.MerklePath.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ibc.core.commitment.v1.MerklePath; + return proto.ibc.core.commitment.v1.MerklePath.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ibc.core.commitment.v1.MerklePath} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ibc.core.commitment.v1.MerklePath} + */ +proto.ibc.core.commitment.v1.MerklePath.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.addKeyPath(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ibc.core.commitment.v1.MerklePath.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ibc.core.commitment.v1.MerklePath.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ibc.core.commitment.v1.MerklePath} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ibc.core.commitment.v1.MerklePath.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getKeyPathList(); + if (f.length > 0) { + writer.writeRepeatedString( + 1, + f + ); + } +}; + + +/** + * repeated string key_path = 1; + * @return {!Array} + */ +proto.ibc.core.commitment.v1.MerklePath.prototype.getKeyPathList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.ibc.core.commitment.v1.MerklePath} returns this + */ +proto.ibc.core.commitment.v1.MerklePath.prototype.setKeyPathList = function(value) { + return jspb.Message.setField(this, 1, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.ibc.core.commitment.v1.MerklePath} returns this + */ +proto.ibc.core.commitment.v1.MerklePath.prototype.addKeyPath = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.ibc.core.commitment.v1.MerklePath} returns this + */ +proto.ibc.core.commitment.v1.MerklePath.prototype.clearKeyPathList = function() { + return this.setKeyPathList([]); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.ibc.core.commitment.v1.MerkleProof.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ibc.core.commitment.v1.MerkleProof.prototype.toObject = function(opt_includeInstance) { + return proto.ibc.core.commitment.v1.MerkleProof.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ibc.core.commitment.v1.MerkleProof} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ibc.core.commitment.v1.MerkleProof.toObject = function(includeInstance, msg) { + var f, obj = { + proofsList: jspb.Message.toObjectList(msg.getProofsList(), + cosmos_ics23_v1_proofs_pb.CommitmentProof.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ibc.core.commitment.v1.MerkleProof} + */ +proto.ibc.core.commitment.v1.MerkleProof.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ibc.core.commitment.v1.MerkleProof; + return proto.ibc.core.commitment.v1.MerkleProof.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ibc.core.commitment.v1.MerkleProof} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ibc.core.commitment.v1.MerkleProof} + */ +proto.ibc.core.commitment.v1.MerkleProof.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new cosmos_ics23_v1_proofs_pb.CommitmentProof; + reader.readMessage(value,cosmos_ics23_v1_proofs_pb.CommitmentProof.deserializeBinaryFromReader); + msg.addProofs(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ibc.core.commitment.v1.MerkleProof.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ibc.core.commitment.v1.MerkleProof.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ibc.core.commitment.v1.MerkleProof} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ibc.core.commitment.v1.MerkleProof.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getProofsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + cosmos_ics23_v1_proofs_pb.CommitmentProof.serializeBinaryToWriter + ); + } +}; + + +/** + * repeated cosmos.ics23.v1.CommitmentProof proofs = 1; + * @return {!Array} + */ +proto.ibc.core.commitment.v1.MerkleProof.prototype.getProofsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, cosmos_ics23_v1_proofs_pb.CommitmentProof, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.ibc.core.commitment.v1.MerkleProof} returns this +*/ +proto.ibc.core.commitment.v1.MerkleProof.prototype.setProofsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.cosmos.ics23.v1.CommitmentProof=} opt_value + * @param {number=} opt_index + * @return {!proto.cosmos.ics23.v1.CommitmentProof} + */ +proto.ibc.core.commitment.v1.MerkleProof.prototype.addProofs = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.cosmos.ics23.v1.CommitmentProof, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.ibc.core.commitment.v1.MerkleProof} returns this + */ +proto.ibc.core.commitment.v1.MerkleProof.prototype.clearProofsList = function() { + return this.setProofsList([]); +}; + + +goog.object.extend(exports, proto.ibc.core.commitment.v1); diff --git a/src/chains/penumbra/generated/penumbra/core/app/v1alpha1/app_grpc_pb.d.ts b/src/chains/penumbra/generated/penumbra/core/app/v1alpha1/app_grpc_pb.d.ts new file mode 100644 index 0000000000..1034238a13 --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/app/v1alpha1/app_grpc_pb.d.ts @@ -0,0 +1,81 @@ +// package: penumbra.core.app.v1alpha1 +// file: penumbra/core/app/v1alpha1/app.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as grpc from "grpc"; +import * as penumbra_core_app_v1alpha1_app_pb from "../../../../penumbra/core/app/v1alpha1/app_pb"; +import * as penumbra_core_component_chain_v1alpha1_chain_pb from "../../../../penumbra/core/component/chain/v1alpha1/chain_pb"; +import * as penumbra_core_component_stake_v1alpha1_stake_pb from "../../../../penumbra/core/component/stake/v1alpha1/stake_pb"; +import * as penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb from "../../../../penumbra/core/component/shielded_pool/v1alpha1/shielded_pool_pb"; +import * as penumbra_core_component_governance_v1alpha1_governance_pb from "../../../../penumbra/core/component/governance/v1alpha1/governance_pb"; +import * as penumbra_core_component_ibc_v1alpha1_ibc_pb from "../../../../penumbra/core/component/ibc/v1alpha1/ibc_pb"; +import * as penumbra_core_component_fee_v1alpha1_fee_pb from "../../../../penumbra/core/component/fee/v1alpha1/fee_pb"; +import * as penumbra_core_component_dao_v1alpha1_dao_pb from "../../../../penumbra/core/component/dao/v1alpha1/dao_pb"; +import * as ibc_core_commitment_v1_commitment_pb from "../../../../ibc/core/commitment/v1/commitment_pb"; + +interface IQueryServiceService extends grpc.ServiceDefinition { + appParameters: IQueryServiceService_IAppParameters; + keyValue: IQueryServiceService_IKeyValue; + prefixValue: IQueryServiceService_IPrefixValue; +} + +interface IQueryServiceService_IAppParameters extends grpc.MethodDefinition { + path: "/penumbra.core.app.v1alpha1.QueryService/AppParameters"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IQueryServiceService_IKeyValue extends grpc.MethodDefinition { + path: "/penumbra.core.app.v1alpha1.QueryService/KeyValue"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IQueryServiceService_IPrefixValue extends grpc.MethodDefinition { + path: "/penumbra.core.app.v1alpha1.QueryService/PrefixValue"; + requestStream: false; + responseStream: true; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} + +export const QueryServiceService: IQueryServiceService; + +export interface IQueryServiceServer { + appParameters: grpc.handleUnaryCall; + keyValue: grpc.handleUnaryCall; + prefixValue: grpc.handleServerStreamingCall; +} + +export interface IQueryServiceClient { + appParameters(request: penumbra_core_app_v1alpha1_app_pb.AppParametersRequest, callback: (error: grpc.ServiceError | null, response: penumbra_core_app_v1alpha1_app_pb.AppParametersResponse) => void): grpc.ClientUnaryCall; + appParameters(request: penumbra_core_app_v1alpha1_app_pb.AppParametersRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_core_app_v1alpha1_app_pb.AppParametersResponse) => void): grpc.ClientUnaryCall; + appParameters(request: penumbra_core_app_v1alpha1_app_pb.AppParametersRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_core_app_v1alpha1_app_pb.AppParametersResponse) => void): grpc.ClientUnaryCall; + keyValue(request: penumbra_core_app_v1alpha1_app_pb.KeyValueRequest, callback: (error: grpc.ServiceError | null, response: penumbra_core_app_v1alpha1_app_pb.KeyValueResponse) => void): grpc.ClientUnaryCall; + keyValue(request: penumbra_core_app_v1alpha1_app_pb.KeyValueRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_core_app_v1alpha1_app_pb.KeyValueResponse) => void): grpc.ClientUnaryCall; + keyValue(request: penumbra_core_app_v1alpha1_app_pb.KeyValueRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_core_app_v1alpha1_app_pb.KeyValueResponse) => void): grpc.ClientUnaryCall; + prefixValue(request: penumbra_core_app_v1alpha1_app_pb.PrefixValueRequest, options?: Partial): grpc.ClientReadableStream; + prefixValue(request: penumbra_core_app_v1alpha1_app_pb.PrefixValueRequest, metadata?: grpc.Metadata, options?: Partial): grpc.ClientReadableStream; +} + +export class QueryServiceClient extends grpc.Client implements IQueryServiceClient { + constructor(address: string, credentials: grpc.ChannelCredentials, options?: object); + public appParameters(request: penumbra_core_app_v1alpha1_app_pb.AppParametersRequest, callback: (error: grpc.ServiceError | null, response: penumbra_core_app_v1alpha1_app_pb.AppParametersResponse) => void): grpc.ClientUnaryCall; + public appParameters(request: penumbra_core_app_v1alpha1_app_pb.AppParametersRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_core_app_v1alpha1_app_pb.AppParametersResponse) => void): grpc.ClientUnaryCall; + public appParameters(request: penumbra_core_app_v1alpha1_app_pb.AppParametersRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_core_app_v1alpha1_app_pb.AppParametersResponse) => void): grpc.ClientUnaryCall; + public keyValue(request: penumbra_core_app_v1alpha1_app_pb.KeyValueRequest, callback: (error: grpc.ServiceError | null, response: penumbra_core_app_v1alpha1_app_pb.KeyValueResponse) => void): grpc.ClientUnaryCall; + public keyValue(request: penumbra_core_app_v1alpha1_app_pb.KeyValueRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_core_app_v1alpha1_app_pb.KeyValueResponse) => void): grpc.ClientUnaryCall; + public keyValue(request: penumbra_core_app_v1alpha1_app_pb.KeyValueRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_core_app_v1alpha1_app_pb.KeyValueResponse) => void): grpc.ClientUnaryCall; + public prefixValue(request: penumbra_core_app_v1alpha1_app_pb.PrefixValueRequest, options?: Partial): grpc.ClientReadableStream; + public prefixValue(request: penumbra_core_app_v1alpha1_app_pb.PrefixValueRequest, metadata?: grpc.Metadata, options?: Partial): grpc.ClientReadableStream; +} diff --git a/src/chains/penumbra/generated/penumbra/core/app/v1alpha1/app_grpc_pb.js b/src/chains/penumbra/generated/penumbra/core/app/v1alpha1/app_grpc_pb.js new file mode 100644 index 0000000000..0984731669 --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/app/v1alpha1/app_grpc_pb.js @@ -0,0 +1,125 @@ +// GENERATED CODE -- DO NOT EDIT! + +'use strict'; +var grpc = require('@grpc/grpc-js'); +var penumbra_core_app_v1alpha1_app_pb = require('../../../../penumbra/core/app/v1alpha1/app_pb.js'); +var penumbra_core_component_chain_v1alpha1_chain_pb = require('../../../../penumbra/core/component/chain/v1alpha1/chain_pb.js'); +var penumbra_core_component_stake_v1alpha1_stake_pb = require('../../../../penumbra/core/component/stake/v1alpha1/stake_pb.js'); +var penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb = require('../../../../penumbra/core/component/shielded_pool/v1alpha1/shielded_pool_pb.js'); +var penumbra_core_component_governance_v1alpha1_governance_pb = require('../../../../penumbra/core/component/governance/v1alpha1/governance_pb.js'); +var penumbra_core_component_ibc_v1alpha1_ibc_pb = require('../../../../penumbra/core/component/ibc/v1alpha1/ibc_pb.js'); +var penumbra_core_component_fee_v1alpha1_fee_pb = require('../../../../penumbra/core/component/fee/v1alpha1/fee_pb.js'); +var penumbra_core_component_dao_v1alpha1_dao_pb = require('../../../../penumbra/core/component/dao/v1alpha1/dao_pb.js'); +var ibc_core_commitment_v1_commitment_pb = require('../../../../ibc/core/commitment/v1/commitment_pb.js'); + +function serialize_penumbra_core_app_v1alpha1_AppParametersRequest(arg) { + if (!(arg instanceof penumbra_core_app_v1alpha1_app_pb.AppParametersRequest)) { + throw new Error('Expected argument of type penumbra.core.app.v1alpha1.AppParametersRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_core_app_v1alpha1_AppParametersRequest(buffer_arg) { + return penumbra_core_app_v1alpha1_app_pb.AppParametersRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_core_app_v1alpha1_AppParametersResponse(arg) { + if (!(arg instanceof penumbra_core_app_v1alpha1_app_pb.AppParametersResponse)) { + throw new Error('Expected argument of type penumbra.core.app.v1alpha1.AppParametersResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_core_app_v1alpha1_AppParametersResponse(buffer_arg) { + return penumbra_core_app_v1alpha1_app_pb.AppParametersResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_core_app_v1alpha1_KeyValueRequest(arg) { + if (!(arg instanceof penumbra_core_app_v1alpha1_app_pb.KeyValueRequest)) { + throw new Error('Expected argument of type penumbra.core.app.v1alpha1.KeyValueRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_core_app_v1alpha1_KeyValueRequest(buffer_arg) { + return penumbra_core_app_v1alpha1_app_pb.KeyValueRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_core_app_v1alpha1_KeyValueResponse(arg) { + if (!(arg instanceof penumbra_core_app_v1alpha1_app_pb.KeyValueResponse)) { + throw new Error('Expected argument of type penumbra.core.app.v1alpha1.KeyValueResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_core_app_v1alpha1_KeyValueResponse(buffer_arg) { + return penumbra_core_app_v1alpha1_app_pb.KeyValueResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_core_app_v1alpha1_PrefixValueRequest(arg) { + if (!(arg instanceof penumbra_core_app_v1alpha1_app_pb.PrefixValueRequest)) { + throw new Error('Expected argument of type penumbra.core.app.v1alpha1.PrefixValueRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_core_app_v1alpha1_PrefixValueRequest(buffer_arg) { + return penumbra_core_app_v1alpha1_app_pb.PrefixValueRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_core_app_v1alpha1_PrefixValueResponse(arg) { + if (!(arg instanceof penumbra_core_app_v1alpha1_app_pb.PrefixValueResponse)) { + throw new Error('Expected argument of type penumbra.core.app.v1alpha1.PrefixValueResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_core_app_v1alpha1_PrefixValueResponse(buffer_arg) { + return penumbra_core_app_v1alpha1_app_pb.PrefixValueResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + + +// Query operations for the overall Penumbra application. +var QueryServiceService = exports.QueryServiceService = { + // Gets the app parameters. +appParameters: { + path: '/penumbra.core.app.v1alpha1.QueryService/AppParameters', + requestStream: false, + responseStream: false, + requestType: penumbra_core_app_v1alpha1_app_pb.AppParametersRequest, + responseType: penumbra_core_app_v1alpha1_app_pb.AppParametersResponse, + requestSerialize: serialize_penumbra_core_app_v1alpha1_AppParametersRequest, + requestDeserialize: deserialize_penumbra_core_app_v1alpha1_AppParametersRequest, + responseSerialize: serialize_penumbra_core_app_v1alpha1_AppParametersResponse, + responseDeserialize: deserialize_penumbra_core_app_v1alpha1_AppParametersResponse, + }, + // General-purpose key-value state query API, that can be used to query +// arbitrary keys in the JMT storage. +keyValue: { + path: '/penumbra.core.app.v1alpha1.QueryService/KeyValue', + requestStream: false, + responseStream: false, + requestType: penumbra_core_app_v1alpha1_app_pb.KeyValueRequest, + responseType: penumbra_core_app_v1alpha1_app_pb.KeyValueResponse, + requestSerialize: serialize_penumbra_core_app_v1alpha1_KeyValueRequest, + requestDeserialize: deserialize_penumbra_core_app_v1alpha1_KeyValueRequest, + responseSerialize: serialize_penumbra_core_app_v1alpha1_KeyValueResponse, + responseDeserialize: deserialize_penumbra_core_app_v1alpha1_KeyValueResponse, + }, + // General-purpose prefixed key-value state query API, that can be used to query +// arbitrary prefixes in the JMT storage. +// Returns a stream of `PrefixValueResponse`s. +prefixValue: { + path: '/penumbra.core.app.v1alpha1.QueryService/PrefixValue', + requestStream: false, + responseStream: true, + requestType: penumbra_core_app_v1alpha1_app_pb.PrefixValueRequest, + responseType: penumbra_core_app_v1alpha1_app_pb.PrefixValueResponse, + requestSerialize: serialize_penumbra_core_app_v1alpha1_PrefixValueRequest, + requestDeserialize: deserialize_penumbra_core_app_v1alpha1_PrefixValueRequest, + responseSerialize: serialize_penumbra_core_app_v1alpha1_PrefixValueResponse, + responseDeserialize: deserialize_penumbra_core_app_v1alpha1_PrefixValueResponse, + }, +}; + +exports.QueryServiceClient = grpc.makeGenericClientConstructor(QueryServiceService); diff --git a/src/chains/penumbra/generated/penumbra/core/app/v1alpha1/app_pb.d.ts b/src/chains/penumbra/generated/penumbra/core/app/v1alpha1/app_pb.d.ts new file mode 100644 index 0000000000..9f617307cc --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/app/v1alpha1/app_pb.d.ts @@ -0,0 +1,337 @@ +// package: penumbra.core.app.v1alpha1 +// file: penumbra/core/app/v1alpha1/app.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as penumbra_core_component_chain_v1alpha1_chain_pb from "../../../../penumbra/core/component/chain/v1alpha1/chain_pb"; +import * as penumbra_core_component_stake_v1alpha1_stake_pb from "../../../../penumbra/core/component/stake/v1alpha1/stake_pb"; +import * as penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb from "../../../../penumbra/core/component/shielded_pool/v1alpha1/shielded_pool_pb"; +import * as penumbra_core_component_governance_v1alpha1_governance_pb from "../../../../penumbra/core/component/governance/v1alpha1/governance_pb"; +import * as penumbra_core_component_ibc_v1alpha1_ibc_pb from "../../../../penumbra/core/component/ibc/v1alpha1/ibc_pb"; +import * as penumbra_core_component_fee_v1alpha1_fee_pb from "../../../../penumbra/core/component/fee/v1alpha1/fee_pb"; +import * as penumbra_core_component_dao_v1alpha1_dao_pb from "../../../../penumbra/core/component/dao/v1alpha1/dao_pb"; +import * as ibc_core_commitment_v1_commitment_pb from "../../../../ibc/core/commitment/v1/commitment_pb"; + +export class KeyValueRequest extends jspb.Message { + getChainId(): string; + setChainId(value: string): KeyValueRequest; + getKey(): string; + setKey(value: string): KeyValueRequest; + getProof(): boolean; + setProof(value: boolean): KeyValueRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): KeyValueRequest.AsObject; + static toObject(includeInstance: boolean, msg: KeyValueRequest): KeyValueRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: KeyValueRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): KeyValueRequest; + static deserializeBinaryFromReader(message: KeyValueRequest, reader: jspb.BinaryReader): KeyValueRequest; +} + +export namespace KeyValueRequest { + export type AsObject = { + chainId: string, + key: string, + proof: boolean, + } +} + +export class KeyValueResponse extends jspb.Message { + + hasValue(): boolean; + clearValue(): void; + getValue(): KeyValueResponse.Value | undefined; + setValue(value?: KeyValueResponse.Value): KeyValueResponse; + + hasProof(): boolean; + clearProof(): void; + getProof(): ibc_core_commitment_v1_commitment_pb.MerkleProof | undefined; + setProof(value?: ibc_core_commitment_v1_commitment_pb.MerkleProof): KeyValueResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): KeyValueResponse.AsObject; + static toObject(includeInstance: boolean, msg: KeyValueResponse): KeyValueResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: KeyValueResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): KeyValueResponse; + static deserializeBinaryFromReader(message: KeyValueResponse, reader: jspb.BinaryReader): KeyValueResponse; +} + +export namespace KeyValueResponse { + export type AsObject = { + value?: KeyValueResponse.Value.AsObject, + proof?: ibc_core_commitment_v1_commitment_pb.MerkleProof.AsObject, + } + + + export class Value extends jspb.Message { + getValue(): Uint8Array | string; + getValue_asU8(): Uint8Array; + getValue_asB64(): string; + setValue(value: Uint8Array | string): Value; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Value.AsObject; + static toObject(includeInstance: boolean, msg: Value): Value.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Value, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Value; + static deserializeBinaryFromReader(message: Value, reader: jspb.BinaryReader): Value; + } + + export namespace Value { + export type AsObject = { + value: Uint8Array | string, + } + } + +} + +export class PrefixValueRequest extends jspb.Message { + getChainId(): string; + setChainId(value: string): PrefixValueRequest; + getPrefix(): string; + setPrefix(value: string): PrefixValueRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): PrefixValueRequest.AsObject; + static toObject(includeInstance: boolean, msg: PrefixValueRequest): PrefixValueRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: PrefixValueRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): PrefixValueRequest; + static deserializeBinaryFromReader(message: PrefixValueRequest, reader: jspb.BinaryReader): PrefixValueRequest; +} + +export namespace PrefixValueRequest { + export type AsObject = { + chainId: string, + prefix: string, + } +} + +export class PrefixValueResponse extends jspb.Message { + getKey(): string; + setKey(value: string): PrefixValueResponse; + getValue(): Uint8Array | string; + getValue_asU8(): Uint8Array; + getValue_asB64(): string; + setValue(value: Uint8Array | string): PrefixValueResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): PrefixValueResponse.AsObject; + static toObject(includeInstance: boolean, msg: PrefixValueResponse): PrefixValueResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: PrefixValueResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): PrefixValueResponse; + static deserializeBinaryFromReader(message: PrefixValueResponse, reader: jspb.BinaryReader): PrefixValueResponse; +} + +export namespace PrefixValueResponse { + export type AsObject = { + key: string, + value: Uint8Array | string, + } +} + +export class AppParameters extends jspb.Message { + + hasChainParams(): boolean; + clearChainParams(): void; + getChainParams(): penumbra_core_component_chain_v1alpha1_chain_pb.ChainParameters | undefined; + setChainParams(value?: penumbra_core_component_chain_v1alpha1_chain_pb.ChainParameters): AppParameters; + + hasDaoParams(): boolean; + clearDaoParams(): void; + getDaoParams(): penumbra_core_component_dao_v1alpha1_dao_pb.DaoParameters | undefined; + setDaoParams(value?: penumbra_core_component_dao_v1alpha1_dao_pb.DaoParameters): AppParameters; + + hasGovernanceParams(): boolean; + clearGovernanceParams(): void; + getGovernanceParams(): penumbra_core_component_governance_v1alpha1_governance_pb.GovernanceParameters | undefined; + setGovernanceParams(value?: penumbra_core_component_governance_v1alpha1_governance_pb.GovernanceParameters): AppParameters; + + hasIbcParams(): boolean; + clearIbcParams(): void; + getIbcParams(): penumbra_core_component_ibc_v1alpha1_ibc_pb.IbcParameters | undefined; + setIbcParams(value?: penumbra_core_component_ibc_v1alpha1_ibc_pb.IbcParameters): AppParameters; + + hasStakeParams(): boolean; + clearStakeParams(): void; + getStakeParams(): penumbra_core_component_stake_v1alpha1_stake_pb.StakeParameters | undefined; + setStakeParams(value?: penumbra_core_component_stake_v1alpha1_stake_pb.StakeParameters): AppParameters; + + hasFeeParams(): boolean; + clearFeeParams(): void; + getFeeParams(): penumbra_core_component_fee_v1alpha1_fee_pb.FeeParameters | undefined; + setFeeParams(value?: penumbra_core_component_fee_v1alpha1_fee_pb.FeeParameters): AppParameters; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): AppParameters.AsObject; + static toObject(includeInstance: boolean, msg: AppParameters): AppParameters.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: AppParameters, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): AppParameters; + static deserializeBinaryFromReader(message: AppParameters, reader: jspb.BinaryReader): AppParameters; +} + +export namespace AppParameters { + export type AsObject = { + chainParams?: penumbra_core_component_chain_v1alpha1_chain_pb.ChainParameters.AsObject, + daoParams?: penumbra_core_component_dao_v1alpha1_dao_pb.DaoParameters.AsObject, + governanceParams?: penumbra_core_component_governance_v1alpha1_governance_pb.GovernanceParameters.AsObject, + ibcParams?: penumbra_core_component_ibc_v1alpha1_ibc_pb.IbcParameters.AsObject, + stakeParams?: penumbra_core_component_stake_v1alpha1_stake_pb.StakeParameters.AsObject, + feeParams?: penumbra_core_component_fee_v1alpha1_fee_pb.FeeParameters.AsObject, + } +} + +export class AppParametersRequest extends jspb.Message { + getChainId(): string; + setChainId(value: string): AppParametersRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): AppParametersRequest.AsObject; + static toObject(includeInstance: boolean, msg: AppParametersRequest): AppParametersRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: AppParametersRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): AppParametersRequest; + static deserializeBinaryFromReader(message: AppParametersRequest, reader: jspb.BinaryReader): AppParametersRequest; +} + +export namespace AppParametersRequest { + export type AsObject = { + chainId: string, + } +} + +export class AppParametersResponse extends jspb.Message { + + hasAppParameters(): boolean; + clearAppParameters(): void; + getAppParameters(): AppParameters | undefined; + setAppParameters(value?: AppParameters): AppParametersResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): AppParametersResponse.AsObject; + static toObject(includeInstance: boolean, msg: AppParametersResponse): AppParametersResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: AppParametersResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): AppParametersResponse; + static deserializeBinaryFromReader(message: AppParametersResponse, reader: jspb.BinaryReader): AppParametersResponse; +} + +export namespace AppParametersResponse { + export type AsObject = { + appParameters?: AppParameters.AsObject, + } +} + +export class GenesisAppState extends jspb.Message { + + hasGenesisContent(): boolean; + clearGenesisContent(): void; + getGenesisContent(): GenesisContent | undefined; + setGenesisContent(value?: GenesisContent): GenesisAppState; + + hasGenesisCheckpoint(): boolean; + clearGenesisCheckpoint(): void; + getGenesisCheckpoint(): Uint8Array | string; + getGenesisCheckpoint_asU8(): Uint8Array; + getGenesisCheckpoint_asB64(): string; + setGenesisCheckpoint(value: Uint8Array | string): GenesisAppState; + + getGenesisAppStateCase(): GenesisAppState.GenesisAppStateCase; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GenesisAppState.AsObject; + static toObject(includeInstance: boolean, msg: GenesisAppState): GenesisAppState.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: GenesisAppState, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GenesisAppState; + static deserializeBinaryFromReader(message: GenesisAppState, reader: jspb.BinaryReader): GenesisAppState; +} + +export namespace GenesisAppState { + export type AsObject = { + genesisContent?: GenesisContent.AsObject, + genesisCheckpoint: Uint8Array | string, + } + + export enum GenesisAppStateCase { + GENESIS_APP_STATE_NOT_SET = 0, + GENESIS_CONTENT = 1, + GENESIS_CHECKPOINT = 2, + } + +} + +export class GenesisContent extends jspb.Message { + + hasStakeContent(): boolean; + clearStakeContent(): void; + getStakeContent(): penumbra_core_component_stake_v1alpha1_stake_pb.GenesisContent | undefined; + setStakeContent(value?: penumbra_core_component_stake_v1alpha1_stake_pb.GenesisContent): GenesisContent; + + hasShieldedPoolContent(): boolean; + clearShieldedPoolContent(): void; + getShieldedPoolContent(): penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.GenesisContent | undefined; + setShieldedPoolContent(value?: penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.GenesisContent): GenesisContent; + + hasGovernanceContent(): boolean; + clearGovernanceContent(): void; + getGovernanceContent(): penumbra_core_component_governance_v1alpha1_governance_pb.GenesisContent | undefined; + setGovernanceContent(value?: penumbra_core_component_governance_v1alpha1_governance_pb.GenesisContent): GenesisContent; + + hasIbcContent(): boolean; + clearIbcContent(): void; + getIbcContent(): penumbra_core_component_ibc_v1alpha1_ibc_pb.GenesisContent | undefined; + setIbcContent(value?: penumbra_core_component_ibc_v1alpha1_ibc_pb.GenesisContent): GenesisContent; + + hasChainContent(): boolean; + clearChainContent(): void; + getChainContent(): penumbra_core_component_chain_v1alpha1_chain_pb.GenesisContent | undefined; + setChainContent(value?: penumbra_core_component_chain_v1alpha1_chain_pb.GenesisContent): GenesisContent; + + hasDaoContent(): boolean; + clearDaoContent(): void; + getDaoContent(): penumbra_core_component_dao_v1alpha1_dao_pb.GenesisContent | undefined; + setDaoContent(value?: penumbra_core_component_dao_v1alpha1_dao_pb.GenesisContent): GenesisContent; + + hasFeeContent(): boolean; + clearFeeContent(): void; + getFeeContent(): penumbra_core_component_fee_v1alpha1_fee_pb.GenesisContent | undefined; + setFeeContent(value?: penumbra_core_component_fee_v1alpha1_fee_pb.GenesisContent): GenesisContent; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GenesisContent.AsObject; + static toObject(includeInstance: boolean, msg: GenesisContent): GenesisContent.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: GenesisContent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GenesisContent; + static deserializeBinaryFromReader(message: GenesisContent, reader: jspb.BinaryReader): GenesisContent; +} + +export namespace GenesisContent { + export type AsObject = { + stakeContent?: penumbra_core_component_stake_v1alpha1_stake_pb.GenesisContent.AsObject, + shieldedPoolContent?: penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.GenesisContent.AsObject, + governanceContent?: penumbra_core_component_governance_v1alpha1_governance_pb.GenesisContent.AsObject, + ibcContent?: penumbra_core_component_ibc_v1alpha1_ibc_pb.GenesisContent.AsObject, + chainContent?: penumbra_core_component_chain_v1alpha1_chain_pb.GenesisContent.AsObject, + daoContent?: penumbra_core_component_dao_v1alpha1_dao_pb.GenesisContent.AsObject, + feeContent?: penumbra_core_component_fee_v1alpha1_fee_pb.GenesisContent.AsObject, + } +} diff --git a/src/chains/penumbra/generated/penumbra/core/app/v1alpha1/app_pb.js b/src/chains/penumbra/generated/penumbra/core/app/v1alpha1/app_pb.js new file mode 100644 index 0000000000..9e1752293d --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/app/v1alpha1/app_pb.js @@ -0,0 +1,2544 @@ +// source: penumbra/core/app/v1alpha1/app.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = (function() { + if (this) { return this; } + if (typeof window !== 'undefined') { return window; } + if (typeof global !== 'undefined') { return global; } + if (typeof self !== 'undefined') { return self; } + return Function('return this')(); +}.call(null)); + +var penumbra_core_component_chain_v1alpha1_chain_pb = require('../../../../penumbra/core/component/chain/v1alpha1/chain_pb.js'); +goog.object.extend(proto, penumbra_core_component_chain_v1alpha1_chain_pb); +var penumbra_core_component_stake_v1alpha1_stake_pb = require('../../../../penumbra/core/component/stake/v1alpha1/stake_pb.js'); +goog.object.extend(proto, penumbra_core_component_stake_v1alpha1_stake_pb); +var penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb = require('../../../../penumbra/core/component/shielded_pool/v1alpha1/shielded_pool_pb.js'); +goog.object.extend(proto, penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb); +var penumbra_core_component_governance_v1alpha1_governance_pb = require('../../../../penumbra/core/component/governance/v1alpha1/governance_pb.js'); +goog.object.extend(proto, penumbra_core_component_governance_v1alpha1_governance_pb); +var penumbra_core_component_ibc_v1alpha1_ibc_pb = require('../../../../penumbra/core/component/ibc/v1alpha1/ibc_pb.js'); +goog.object.extend(proto, penumbra_core_component_ibc_v1alpha1_ibc_pb); +var penumbra_core_component_fee_v1alpha1_fee_pb = require('../../../../penumbra/core/component/fee/v1alpha1/fee_pb.js'); +goog.object.extend(proto, penumbra_core_component_fee_v1alpha1_fee_pb); +var penumbra_core_component_dao_v1alpha1_dao_pb = require('../../../../penumbra/core/component/dao/v1alpha1/dao_pb.js'); +goog.object.extend(proto, penumbra_core_component_dao_v1alpha1_dao_pb); +var ibc_core_commitment_v1_commitment_pb = require('../../../../ibc/core/commitment/v1/commitment_pb.js'); +goog.object.extend(proto, ibc_core_commitment_v1_commitment_pb); +goog.exportSymbol('proto.penumbra.core.app.v1alpha1.AppParameters', null, global); +goog.exportSymbol('proto.penumbra.core.app.v1alpha1.AppParametersRequest', null, global); +goog.exportSymbol('proto.penumbra.core.app.v1alpha1.AppParametersResponse', null, global); +goog.exportSymbol('proto.penumbra.core.app.v1alpha1.GenesisAppState', null, global); +goog.exportSymbol('proto.penumbra.core.app.v1alpha1.GenesisAppState.GenesisAppStateCase', null, global); +goog.exportSymbol('proto.penumbra.core.app.v1alpha1.GenesisContent', null, global); +goog.exportSymbol('proto.penumbra.core.app.v1alpha1.KeyValueRequest', null, global); +goog.exportSymbol('proto.penumbra.core.app.v1alpha1.KeyValueResponse', null, global); +goog.exportSymbol('proto.penumbra.core.app.v1alpha1.KeyValueResponse.Value', null, global); +goog.exportSymbol('proto.penumbra.core.app.v1alpha1.PrefixValueRequest', null, global); +goog.exportSymbol('proto.penumbra.core.app.v1alpha1.PrefixValueResponse', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.app.v1alpha1.KeyValueRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.app.v1alpha1.KeyValueRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.app.v1alpha1.KeyValueRequest.displayName = 'proto.penumbra.core.app.v1alpha1.KeyValueRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.app.v1alpha1.KeyValueResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.app.v1alpha1.KeyValueResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.app.v1alpha1.KeyValueResponse.displayName = 'proto.penumbra.core.app.v1alpha1.KeyValueResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.app.v1alpha1.KeyValueResponse.Value = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.app.v1alpha1.KeyValueResponse.Value, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.app.v1alpha1.KeyValueResponse.Value.displayName = 'proto.penumbra.core.app.v1alpha1.KeyValueResponse.Value'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.app.v1alpha1.PrefixValueRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.app.v1alpha1.PrefixValueRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.app.v1alpha1.PrefixValueRequest.displayName = 'proto.penumbra.core.app.v1alpha1.PrefixValueRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.app.v1alpha1.PrefixValueResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.app.v1alpha1.PrefixValueResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.app.v1alpha1.PrefixValueResponse.displayName = 'proto.penumbra.core.app.v1alpha1.PrefixValueResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.app.v1alpha1.AppParameters = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.app.v1alpha1.AppParameters, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.app.v1alpha1.AppParameters.displayName = 'proto.penumbra.core.app.v1alpha1.AppParameters'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.app.v1alpha1.AppParametersRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.app.v1alpha1.AppParametersRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.app.v1alpha1.AppParametersRequest.displayName = 'proto.penumbra.core.app.v1alpha1.AppParametersRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.app.v1alpha1.AppParametersResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.app.v1alpha1.AppParametersResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.app.v1alpha1.AppParametersResponse.displayName = 'proto.penumbra.core.app.v1alpha1.AppParametersResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.app.v1alpha1.GenesisAppState = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.penumbra.core.app.v1alpha1.GenesisAppState.oneofGroups_); +}; +goog.inherits(proto.penumbra.core.app.v1alpha1.GenesisAppState, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.app.v1alpha1.GenesisAppState.displayName = 'proto.penumbra.core.app.v1alpha1.GenesisAppState'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.app.v1alpha1.GenesisContent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.app.v1alpha1.GenesisContent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.app.v1alpha1.GenesisContent.displayName = 'proto.penumbra.core.app.v1alpha1.GenesisContent'; +} + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.app.v1alpha1.KeyValueRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.app.v1alpha1.KeyValueRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.app.v1alpha1.KeyValueRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.app.v1alpha1.KeyValueRequest.toObject = function(includeInstance, msg) { + var f, obj = { + chainId: jspb.Message.getFieldWithDefault(msg, 1, ""), + key: jspb.Message.getFieldWithDefault(msg, 2, ""), + proof: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.app.v1alpha1.KeyValueRequest} + */ +proto.penumbra.core.app.v1alpha1.KeyValueRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.app.v1alpha1.KeyValueRequest; + return proto.penumbra.core.app.v1alpha1.KeyValueRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.app.v1alpha1.KeyValueRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.app.v1alpha1.KeyValueRequest} + */ +proto.penumbra.core.app.v1alpha1.KeyValueRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setChainId(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setKey(value); + break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setProof(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.app.v1alpha1.KeyValueRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.app.v1alpha1.KeyValueRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.app.v1alpha1.KeyValueRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.app.v1alpha1.KeyValueRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getChainId(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getKey(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getProof(); + if (f) { + writer.writeBool( + 3, + f + ); + } +}; + + +/** + * optional string chain_id = 1; + * @return {string} + */ +proto.penumbra.core.app.v1alpha1.KeyValueRequest.prototype.getChainId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.app.v1alpha1.KeyValueRequest} returns this + */ +proto.penumbra.core.app.v1alpha1.KeyValueRequest.prototype.setChainId = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string key = 2; + * @return {string} + */ +proto.penumbra.core.app.v1alpha1.KeyValueRequest.prototype.getKey = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.app.v1alpha1.KeyValueRequest} returns this + */ +proto.penumbra.core.app.v1alpha1.KeyValueRequest.prototype.setKey = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional bool proof = 3; + * @return {boolean} + */ +proto.penumbra.core.app.v1alpha1.KeyValueRequest.prototype.getProof = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.penumbra.core.app.v1alpha1.KeyValueRequest} returns this + */ +proto.penumbra.core.app.v1alpha1.KeyValueRequest.prototype.setProof = function(value) { + return jspb.Message.setProto3BooleanField(this, 3, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.app.v1alpha1.KeyValueResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.app.v1alpha1.KeyValueResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.app.v1alpha1.KeyValueResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.app.v1alpha1.KeyValueResponse.toObject = function(includeInstance, msg) { + var f, obj = { + value: (f = msg.getValue()) && proto.penumbra.core.app.v1alpha1.KeyValueResponse.Value.toObject(includeInstance, f), + proof: (f = msg.getProof()) && ibc_core_commitment_v1_commitment_pb.MerkleProof.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.app.v1alpha1.KeyValueResponse} + */ +proto.penumbra.core.app.v1alpha1.KeyValueResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.app.v1alpha1.KeyValueResponse; + return proto.penumbra.core.app.v1alpha1.KeyValueResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.app.v1alpha1.KeyValueResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.app.v1alpha1.KeyValueResponse} + */ +proto.penumbra.core.app.v1alpha1.KeyValueResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.app.v1alpha1.KeyValueResponse.Value; + reader.readMessage(value,proto.penumbra.core.app.v1alpha1.KeyValueResponse.Value.deserializeBinaryFromReader); + msg.setValue(value); + break; + case 2: + var value = new ibc_core_commitment_v1_commitment_pb.MerkleProof; + reader.readMessage(value,ibc_core_commitment_v1_commitment_pb.MerkleProof.deserializeBinaryFromReader); + msg.setProof(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.app.v1alpha1.KeyValueResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.app.v1alpha1.KeyValueResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.app.v1alpha1.KeyValueResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.app.v1alpha1.KeyValueResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getValue(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.app.v1alpha1.KeyValueResponse.Value.serializeBinaryToWriter + ); + } + f = message.getProof(); + if (f != null) { + writer.writeMessage( + 2, + f, + ibc_core_commitment_v1_commitment_pb.MerkleProof.serializeBinaryToWriter + ); + } +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.app.v1alpha1.KeyValueResponse.Value.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.app.v1alpha1.KeyValueResponse.Value.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.app.v1alpha1.KeyValueResponse.Value} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.app.v1alpha1.KeyValueResponse.Value.toObject = function(includeInstance, msg) { + var f, obj = { + value: msg.getValue_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.app.v1alpha1.KeyValueResponse.Value} + */ +proto.penumbra.core.app.v1alpha1.KeyValueResponse.Value.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.app.v1alpha1.KeyValueResponse.Value; + return proto.penumbra.core.app.v1alpha1.KeyValueResponse.Value.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.app.v1alpha1.KeyValueResponse.Value} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.app.v1alpha1.KeyValueResponse.Value} + */ +proto.penumbra.core.app.v1alpha1.KeyValueResponse.Value.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setValue(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.app.v1alpha1.KeyValueResponse.Value.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.app.v1alpha1.KeyValueResponse.Value.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.app.v1alpha1.KeyValueResponse.Value} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.app.v1alpha1.KeyValueResponse.Value.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getValue_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } +}; + + +/** + * optional bytes value = 1; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.app.v1alpha1.KeyValueResponse.Value.prototype.getValue = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes value = 1; + * This is a type-conversion wrapper around `getValue()` + * @return {string} + */ +proto.penumbra.core.app.v1alpha1.KeyValueResponse.Value.prototype.getValue_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getValue())); +}; + + +/** + * optional bytes value = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getValue()` + * @return {!Uint8Array} + */ +proto.penumbra.core.app.v1alpha1.KeyValueResponse.Value.prototype.getValue_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getValue())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.app.v1alpha1.KeyValueResponse.Value} returns this + */ +proto.penumbra.core.app.v1alpha1.KeyValueResponse.Value.prototype.setValue = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + +/** + * optional Value value = 1; + * @return {?proto.penumbra.core.app.v1alpha1.KeyValueResponse.Value} + */ +proto.penumbra.core.app.v1alpha1.KeyValueResponse.prototype.getValue = function() { + return /** @type{?proto.penumbra.core.app.v1alpha1.KeyValueResponse.Value} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.app.v1alpha1.KeyValueResponse.Value, 1)); +}; + + +/** + * @param {?proto.penumbra.core.app.v1alpha1.KeyValueResponse.Value|undefined} value + * @return {!proto.penumbra.core.app.v1alpha1.KeyValueResponse} returns this +*/ +proto.penumbra.core.app.v1alpha1.KeyValueResponse.prototype.setValue = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.app.v1alpha1.KeyValueResponse} returns this + */ +proto.penumbra.core.app.v1alpha1.KeyValueResponse.prototype.clearValue = function() { + return this.setValue(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.app.v1alpha1.KeyValueResponse.prototype.hasValue = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional ibc.core.commitment.v1.MerkleProof proof = 2; + * @return {?proto.ibc.core.commitment.v1.MerkleProof} + */ +proto.penumbra.core.app.v1alpha1.KeyValueResponse.prototype.getProof = function() { + return /** @type{?proto.ibc.core.commitment.v1.MerkleProof} */ ( + jspb.Message.getWrapperField(this, ibc_core_commitment_v1_commitment_pb.MerkleProof, 2)); +}; + + +/** + * @param {?proto.ibc.core.commitment.v1.MerkleProof|undefined} value + * @return {!proto.penumbra.core.app.v1alpha1.KeyValueResponse} returns this +*/ +proto.penumbra.core.app.v1alpha1.KeyValueResponse.prototype.setProof = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.app.v1alpha1.KeyValueResponse} returns this + */ +proto.penumbra.core.app.v1alpha1.KeyValueResponse.prototype.clearProof = function() { + return this.setProof(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.app.v1alpha1.KeyValueResponse.prototype.hasProof = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.app.v1alpha1.PrefixValueRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.app.v1alpha1.PrefixValueRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.app.v1alpha1.PrefixValueRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.app.v1alpha1.PrefixValueRequest.toObject = function(includeInstance, msg) { + var f, obj = { + chainId: jspb.Message.getFieldWithDefault(msg, 1, ""), + prefix: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.app.v1alpha1.PrefixValueRequest} + */ +proto.penumbra.core.app.v1alpha1.PrefixValueRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.app.v1alpha1.PrefixValueRequest; + return proto.penumbra.core.app.v1alpha1.PrefixValueRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.app.v1alpha1.PrefixValueRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.app.v1alpha1.PrefixValueRequest} + */ +proto.penumbra.core.app.v1alpha1.PrefixValueRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setChainId(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setPrefix(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.app.v1alpha1.PrefixValueRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.app.v1alpha1.PrefixValueRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.app.v1alpha1.PrefixValueRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.app.v1alpha1.PrefixValueRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getChainId(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getPrefix(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional string chain_id = 1; + * @return {string} + */ +proto.penumbra.core.app.v1alpha1.PrefixValueRequest.prototype.getChainId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.app.v1alpha1.PrefixValueRequest} returns this + */ +proto.penumbra.core.app.v1alpha1.PrefixValueRequest.prototype.setChainId = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string prefix = 2; + * @return {string} + */ +proto.penumbra.core.app.v1alpha1.PrefixValueRequest.prototype.getPrefix = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.app.v1alpha1.PrefixValueRequest} returns this + */ +proto.penumbra.core.app.v1alpha1.PrefixValueRequest.prototype.setPrefix = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.app.v1alpha1.PrefixValueResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.app.v1alpha1.PrefixValueResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.app.v1alpha1.PrefixValueResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.app.v1alpha1.PrefixValueResponse.toObject = function(includeInstance, msg) { + var f, obj = { + key: jspb.Message.getFieldWithDefault(msg, 1, ""), + value: msg.getValue_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.app.v1alpha1.PrefixValueResponse} + */ +proto.penumbra.core.app.v1alpha1.PrefixValueResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.app.v1alpha1.PrefixValueResponse; + return proto.penumbra.core.app.v1alpha1.PrefixValueResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.app.v1alpha1.PrefixValueResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.app.v1alpha1.PrefixValueResponse} + */ +proto.penumbra.core.app.v1alpha1.PrefixValueResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setKey(value); + break; + case 2: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setValue(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.app.v1alpha1.PrefixValueResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.app.v1alpha1.PrefixValueResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.app.v1alpha1.PrefixValueResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.app.v1alpha1.PrefixValueResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getKey(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getValue_asU8(); + if (f.length > 0) { + writer.writeBytes( + 2, + f + ); + } +}; + + +/** + * optional string key = 1; + * @return {string} + */ +proto.penumbra.core.app.v1alpha1.PrefixValueResponse.prototype.getKey = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.app.v1alpha1.PrefixValueResponse} returns this + */ +proto.penumbra.core.app.v1alpha1.PrefixValueResponse.prototype.setKey = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional bytes value = 2; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.app.v1alpha1.PrefixValueResponse.prototype.getValue = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * optional bytes value = 2; + * This is a type-conversion wrapper around `getValue()` + * @return {string} + */ +proto.penumbra.core.app.v1alpha1.PrefixValueResponse.prototype.getValue_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getValue())); +}; + + +/** + * optional bytes value = 2; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getValue()` + * @return {!Uint8Array} + */ +proto.penumbra.core.app.v1alpha1.PrefixValueResponse.prototype.getValue_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getValue())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.app.v1alpha1.PrefixValueResponse} returns this + */ +proto.penumbra.core.app.v1alpha1.PrefixValueResponse.prototype.setValue = function(value) { + return jspb.Message.setProto3BytesField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.app.v1alpha1.AppParameters.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.app.v1alpha1.AppParameters.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.app.v1alpha1.AppParameters} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.app.v1alpha1.AppParameters.toObject = function(includeInstance, msg) { + var f, obj = { + chainParams: (f = msg.getChainParams()) && penumbra_core_component_chain_v1alpha1_chain_pb.ChainParameters.toObject(includeInstance, f), + daoParams: (f = msg.getDaoParams()) && penumbra_core_component_dao_v1alpha1_dao_pb.DaoParameters.toObject(includeInstance, f), + governanceParams: (f = msg.getGovernanceParams()) && penumbra_core_component_governance_v1alpha1_governance_pb.GovernanceParameters.toObject(includeInstance, f), + ibcParams: (f = msg.getIbcParams()) && penumbra_core_component_ibc_v1alpha1_ibc_pb.IbcParameters.toObject(includeInstance, f), + stakeParams: (f = msg.getStakeParams()) && penumbra_core_component_stake_v1alpha1_stake_pb.StakeParameters.toObject(includeInstance, f), + feeParams: (f = msg.getFeeParams()) && penumbra_core_component_fee_v1alpha1_fee_pb.FeeParameters.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.app.v1alpha1.AppParameters} + */ +proto.penumbra.core.app.v1alpha1.AppParameters.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.app.v1alpha1.AppParameters; + return proto.penumbra.core.app.v1alpha1.AppParameters.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.app.v1alpha1.AppParameters} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.app.v1alpha1.AppParameters} + */ +proto.penumbra.core.app.v1alpha1.AppParameters.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_component_chain_v1alpha1_chain_pb.ChainParameters; + reader.readMessage(value,penumbra_core_component_chain_v1alpha1_chain_pb.ChainParameters.deserializeBinaryFromReader); + msg.setChainParams(value); + break; + case 2: + var value = new penumbra_core_component_dao_v1alpha1_dao_pb.DaoParameters; + reader.readMessage(value,penumbra_core_component_dao_v1alpha1_dao_pb.DaoParameters.deserializeBinaryFromReader); + msg.setDaoParams(value); + break; + case 3: + var value = new penumbra_core_component_governance_v1alpha1_governance_pb.GovernanceParameters; + reader.readMessage(value,penumbra_core_component_governance_v1alpha1_governance_pb.GovernanceParameters.deserializeBinaryFromReader); + msg.setGovernanceParams(value); + break; + case 4: + var value = new penumbra_core_component_ibc_v1alpha1_ibc_pb.IbcParameters; + reader.readMessage(value,penumbra_core_component_ibc_v1alpha1_ibc_pb.IbcParameters.deserializeBinaryFromReader); + msg.setIbcParams(value); + break; + case 5: + var value = new penumbra_core_component_stake_v1alpha1_stake_pb.StakeParameters; + reader.readMessage(value,penumbra_core_component_stake_v1alpha1_stake_pb.StakeParameters.deserializeBinaryFromReader); + msg.setStakeParams(value); + break; + case 6: + var value = new penumbra_core_component_fee_v1alpha1_fee_pb.FeeParameters; + reader.readMessage(value,penumbra_core_component_fee_v1alpha1_fee_pb.FeeParameters.deserializeBinaryFromReader); + msg.setFeeParams(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.app.v1alpha1.AppParameters.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.app.v1alpha1.AppParameters.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.app.v1alpha1.AppParameters} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.app.v1alpha1.AppParameters.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getChainParams(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_component_chain_v1alpha1_chain_pb.ChainParameters.serializeBinaryToWriter + ); + } + f = message.getDaoParams(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_component_dao_v1alpha1_dao_pb.DaoParameters.serializeBinaryToWriter + ); + } + f = message.getGovernanceParams(); + if (f != null) { + writer.writeMessage( + 3, + f, + penumbra_core_component_governance_v1alpha1_governance_pb.GovernanceParameters.serializeBinaryToWriter + ); + } + f = message.getIbcParams(); + if (f != null) { + writer.writeMessage( + 4, + f, + penumbra_core_component_ibc_v1alpha1_ibc_pb.IbcParameters.serializeBinaryToWriter + ); + } + f = message.getStakeParams(); + if (f != null) { + writer.writeMessage( + 5, + f, + penumbra_core_component_stake_v1alpha1_stake_pb.StakeParameters.serializeBinaryToWriter + ); + } + f = message.getFeeParams(); + if (f != null) { + writer.writeMessage( + 6, + f, + penumbra_core_component_fee_v1alpha1_fee_pb.FeeParameters.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.component.chain.v1alpha1.ChainParameters chain_params = 1; + * @return {?proto.penumbra.core.component.chain.v1alpha1.ChainParameters} + */ +proto.penumbra.core.app.v1alpha1.AppParameters.prototype.getChainParams = function() { + return /** @type{?proto.penumbra.core.component.chain.v1alpha1.ChainParameters} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_chain_v1alpha1_chain_pb.ChainParameters, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.chain.v1alpha1.ChainParameters|undefined} value + * @return {!proto.penumbra.core.app.v1alpha1.AppParameters} returns this +*/ +proto.penumbra.core.app.v1alpha1.AppParameters.prototype.setChainParams = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.app.v1alpha1.AppParameters} returns this + */ +proto.penumbra.core.app.v1alpha1.AppParameters.prototype.clearChainParams = function() { + return this.setChainParams(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.app.v1alpha1.AppParameters.prototype.hasChainParams = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional penumbra.core.component.dao.v1alpha1.DaoParameters dao_params = 2; + * @return {?proto.penumbra.core.component.dao.v1alpha1.DaoParameters} + */ +proto.penumbra.core.app.v1alpha1.AppParameters.prototype.getDaoParams = function() { + return /** @type{?proto.penumbra.core.component.dao.v1alpha1.DaoParameters} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_dao_v1alpha1_dao_pb.DaoParameters, 2)); +}; + + +/** + * @param {?proto.penumbra.core.component.dao.v1alpha1.DaoParameters|undefined} value + * @return {!proto.penumbra.core.app.v1alpha1.AppParameters} returns this +*/ +proto.penumbra.core.app.v1alpha1.AppParameters.prototype.setDaoParams = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.app.v1alpha1.AppParameters} returns this + */ +proto.penumbra.core.app.v1alpha1.AppParameters.prototype.clearDaoParams = function() { + return this.setDaoParams(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.app.v1alpha1.AppParameters.prototype.hasDaoParams = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional penumbra.core.component.governance.v1alpha1.GovernanceParameters governance_params = 3; + * @return {?proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters} + */ +proto.penumbra.core.app.v1alpha1.AppParameters.prototype.getGovernanceParams = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_governance_v1alpha1_governance_pb.GovernanceParameters, 3)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters|undefined} value + * @return {!proto.penumbra.core.app.v1alpha1.AppParameters} returns this +*/ +proto.penumbra.core.app.v1alpha1.AppParameters.prototype.setGovernanceParams = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.app.v1alpha1.AppParameters} returns this + */ +proto.penumbra.core.app.v1alpha1.AppParameters.prototype.clearGovernanceParams = function() { + return this.setGovernanceParams(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.app.v1alpha1.AppParameters.prototype.hasGovernanceParams = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional penumbra.core.component.ibc.v1alpha1.IbcParameters ibc_params = 4; + * @return {?proto.penumbra.core.component.ibc.v1alpha1.IbcParameters} + */ +proto.penumbra.core.app.v1alpha1.AppParameters.prototype.getIbcParams = function() { + return /** @type{?proto.penumbra.core.component.ibc.v1alpha1.IbcParameters} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_ibc_v1alpha1_ibc_pb.IbcParameters, 4)); +}; + + +/** + * @param {?proto.penumbra.core.component.ibc.v1alpha1.IbcParameters|undefined} value + * @return {!proto.penumbra.core.app.v1alpha1.AppParameters} returns this +*/ +proto.penumbra.core.app.v1alpha1.AppParameters.prototype.setIbcParams = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.app.v1alpha1.AppParameters} returns this + */ +proto.penumbra.core.app.v1alpha1.AppParameters.prototype.clearIbcParams = function() { + return this.setIbcParams(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.app.v1alpha1.AppParameters.prototype.hasIbcParams = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional penumbra.core.component.stake.v1alpha1.StakeParameters stake_params = 5; + * @return {?proto.penumbra.core.component.stake.v1alpha1.StakeParameters} + */ +proto.penumbra.core.app.v1alpha1.AppParameters.prototype.getStakeParams = function() { + return /** @type{?proto.penumbra.core.component.stake.v1alpha1.StakeParameters} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_stake_v1alpha1_stake_pb.StakeParameters, 5)); +}; + + +/** + * @param {?proto.penumbra.core.component.stake.v1alpha1.StakeParameters|undefined} value + * @return {!proto.penumbra.core.app.v1alpha1.AppParameters} returns this +*/ +proto.penumbra.core.app.v1alpha1.AppParameters.prototype.setStakeParams = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.app.v1alpha1.AppParameters} returns this + */ +proto.penumbra.core.app.v1alpha1.AppParameters.prototype.clearStakeParams = function() { + return this.setStakeParams(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.app.v1alpha1.AppParameters.prototype.hasStakeParams = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional penumbra.core.component.fee.v1alpha1.FeeParameters fee_params = 6; + * @return {?proto.penumbra.core.component.fee.v1alpha1.FeeParameters} + */ +proto.penumbra.core.app.v1alpha1.AppParameters.prototype.getFeeParams = function() { + return /** @type{?proto.penumbra.core.component.fee.v1alpha1.FeeParameters} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_fee_v1alpha1_fee_pb.FeeParameters, 6)); +}; + + +/** + * @param {?proto.penumbra.core.component.fee.v1alpha1.FeeParameters|undefined} value + * @return {!proto.penumbra.core.app.v1alpha1.AppParameters} returns this +*/ +proto.penumbra.core.app.v1alpha1.AppParameters.prototype.setFeeParams = function(value) { + return jspb.Message.setWrapperField(this, 6, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.app.v1alpha1.AppParameters} returns this + */ +proto.penumbra.core.app.v1alpha1.AppParameters.prototype.clearFeeParams = function() { + return this.setFeeParams(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.app.v1alpha1.AppParameters.prototype.hasFeeParams = function() { + return jspb.Message.getField(this, 6) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.app.v1alpha1.AppParametersRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.app.v1alpha1.AppParametersRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.app.v1alpha1.AppParametersRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.app.v1alpha1.AppParametersRequest.toObject = function(includeInstance, msg) { + var f, obj = { + chainId: jspb.Message.getFieldWithDefault(msg, 1, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.app.v1alpha1.AppParametersRequest} + */ +proto.penumbra.core.app.v1alpha1.AppParametersRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.app.v1alpha1.AppParametersRequest; + return proto.penumbra.core.app.v1alpha1.AppParametersRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.app.v1alpha1.AppParametersRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.app.v1alpha1.AppParametersRequest} + */ +proto.penumbra.core.app.v1alpha1.AppParametersRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setChainId(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.app.v1alpha1.AppParametersRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.app.v1alpha1.AppParametersRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.app.v1alpha1.AppParametersRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.app.v1alpha1.AppParametersRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getChainId(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } +}; + + +/** + * optional string chain_id = 1; + * @return {string} + */ +proto.penumbra.core.app.v1alpha1.AppParametersRequest.prototype.getChainId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.app.v1alpha1.AppParametersRequest} returns this + */ +proto.penumbra.core.app.v1alpha1.AppParametersRequest.prototype.setChainId = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.app.v1alpha1.AppParametersResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.app.v1alpha1.AppParametersResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.app.v1alpha1.AppParametersResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.app.v1alpha1.AppParametersResponse.toObject = function(includeInstance, msg) { + var f, obj = { + appParameters: (f = msg.getAppParameters()) && proto.penumbra.core.app.v1alpha1.AppParameters.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.app.v1alpha1.AppParametersResponse} + */ +proto.penumbra.core.app.v1alpha1.AppParametersResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.app.v1alpha1.AppParametersResponse; + return proto.penumbra.core.app.v1alpha1.AppParametersResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.app.v1alpha1.AppParametersResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.app.v1alpha1.AppParametersResponse} + */ +proto.penumbra.core.app.v1alpha1.AppParametersResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.app.v1alpha1.AppParameters; + reader.readMessage(value,proto.penumbra.core.app.v1alpha1.AppParameters.deserializeBinaryFromReader); + msg.setAppParameters(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.app.v1alpha1.AppParametersResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.app.v1alpha1.AppParametersResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.app.v1alpha1.AppParametersResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.app.v1alpha1.AppParametersResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getAppParameters(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.app.v1alpha1.AppParameters.serializeBinaryToWriter + ); + } +}; + + +/** + * optional AppParameters app_parameters = 1; + * @return {?proto.penumbra.core.app.v1alpha1.AppParameters} + */ +proto.penumbra.core.app.v1alpha1.AppParametersResponse.prototype.getAppParameters = function() { + return /** @type{?proto.penumbra.core.app.v1alpha1.AppParameters} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.app.v1alpha1.AppParameters, 1)); +}; + + +/** + * @param {?proto.penumbra.core.app.v1alpha1.AppParameters|undefined} value + * @return {!proto.penumbra.core.app.v1alpha1.AppParametersResponse} returns this +*/ +proto.penumbra.core.app.v1alpha1.AppParametersResponse.prototype.setAppParameters = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.app.v1alpha1.AppParametersResponse} returns this + */ +proto.penumbra.core.app.v1alpha1.AppParametersResponse.prototype.clearAppParameters = function() { + return this.setAppParameters(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.app.v1alpha1.AppParametersResponse.prototype.hasAppParameters = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.penumbra.core.app.v1alpha1.GenesisAppState.oneofGroups_ = [[1,2]]; + +/** + * @enum {number} + */ +proto.penumbra.core.app.v1alpha1.GenesisAppState.GenesisAppStateCase = { + GENESIS_APP_STATE_NOT_SET: 0, + GENESIS_CONTENT: 1, + GENESIS_CHECKPOINT: 2 +}; + +/** + * @return {proto.penumbra.core.app.v1alpha1.GenesisAppState.GenesisAppStateCase} + */ +proto.penumbra.core.app.v1alpha1.GenesisAppState.prototype.getGenesisAppStateCase = function() { + return /** @type {proto.penumbra.core.app.v1alpha1.GenesisAppState.GenesisAppStateCase} */(jspb.Message.computeOneofCase(this, proto.penumbra.core.app.v1alpha1.GenesisAppState.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.app.v1alpha1.GenesisAppState.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.app.v1alpha1.GenesisAppState.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.app.v1alpha1.GenesisAppState} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.app.v1alpha1.GenesisAppState.toObject = function(includeInstance, msg) { + var f, obj = { + genesisContent: (f = msg.getGenesisContent()) && proto.penumbra.core.app.v1alpha1.GenesisContent.toObject(includeInstance, f), + genesisCheckpoint: msg.getGenesisCheckpoint_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.app.v1alpha1.GenesisAppState} + */ +proto.penumbra.core.app.v1alpha1.GenesisAppState.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.app.v1alpha1.GenesisAppState; + return proto.penumbra.core.app.v1alpha1.GenesisAppState.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.app.v1alpha1.GenesisAppState} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.app.v1alpha1.GenesisAppState} + */ +proto.penumbra.core.app.v1alpha1.GenesisAppState.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.app.v1alpha1.GenesisContent; + reader.readMessage(value,proto.penumbra.core.app.v1alpha1.GenesisContent.deserializeBinaryFromReader); + msg.setGenesisContent(value); + break; + case 2: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setGenesisCheckpoint(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.app.v1alpha1.GenesisAppState.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.app.v1alpha1.GenesisAppState.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.app.v1alpha1.GenesisAppState} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.app.v1alpha1.GenesisAppState.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getGenesisContent(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.app.v1alpha1.GenesisContent.serializeBinaryToWriter + ); + } + f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeBytes( + 2, + f + ); + } +}; + + +/** + * optional GenesisContent genesis_content = 1; + * @return {?proto.penumbra.core.app.v1alpha1.GenesisContent} + */ +proto.penumbra.core.app.v1alpha1.GenesisAppState.prototype.getGenesisContent = function() { + return /** @type{?proto.penumbra.core.app.v1alpha1.GenesisContent} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.app.v1alpha1.GenesisContent, 1)); +}; + + +/** + * @param {?proto.penumbra.core.app.v1alpha1.GenesisContent|undefined} value + * @return {!proto.penumbra.core.app.v1alpha1.GenesisAppState} returns this +*/ +proto.penumbra.core.app.v1alpha1.GenesisAppState.prototype.setGenesisContent = function(value) { + return jspb.Message.setOneofWrapperField(this, 1, proto.penumbra.core.app.v1alpha1.GenesisAppState.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.app.v1alpha1.GenesisAppState} returns this + */ +proto.penumbra.core.app.v1alpha1.GenesisAppState.prototype.clearGenesisContent = function() { + return this.setGenesisContent(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.app.v1alpha1.GenesisAppState.prototype.hasGenesisContent = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional bytes genesis_checkpoint = 2; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.app.v1alpha1.GenesisAppState.prototype.getGenesisCheckpoint = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * optional bytes genesis_checkpoint = 2; + * This is a type-conversion wrapper around `getGenesisCheckpoint()` + * @return {string} + */ +proto.penumbra.core.app.v1alpha1.GenesisAppState.prototype.getGenesisCheckpoint_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getGenesisCheckpoint())); +}; + + +/** + * optional bytes genesis_checkpoint = 2; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getGenesisCheckpoint()` + * @return {!Uint8Array} + */ +proto.penumbra.core.app.v1alpha1.GenesisAppState.prototype.getGenesisCheckpoint_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getGenesisCheckpoint())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.app.v1alpha1.GenesisAppState} returns this + */ +proto.penumbra.core.app.v1alpha1.GenesisAppState.prototype.setGenesisCheckpoint = function(value) { + return jspb.Message.setOneofField(this, 2, proto.penumbra.core.app.v1alpha1.GenesisAppState.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.penumbra.core.app.v1alpha1.GenesisAppState} returns this + */ +proto.penumbra.core.app.v1alpha1.GenesisAppState.prototype.clearGenesisCheckpoint = function() { + return jspb.Message.setOneofField(this, 2, proto.penumbra.core.app.v1alpha1.GenesisAppState.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.app.v1alpha1.GenesisAppState.prototype.hasGenesisCheckpoint = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.app.v1alpha1.GenesisContent.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.app.v1alpha1.GenesisContent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.app.v1alpha1.GenesisContent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.app.v1alpha1.GenesisContent.toObject = function(includeInstance, msg) { + var f, obj = { + stakeContent: (f = msg.getStakeContent()) && penumbra_core_component_stake_v1alpha1_stake_pb.GenesisContent.toObject(includeInstance, f), + shieldedPoolContent: (f = msg.getShieldedPoolContent()) && penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.GenesisContent.toObject(includeInstance, f), + governanceContent: (f = msg.getGovernanceContent()) && penumbra_core_component_governance_v1alpha1_governance_pb.GenesisContent.toObject(includeInstance, f), + ibcContent: (f = msg.getIbcContent()) && penumbra_core_component_ibc_v1alpha1_ibc_pb.GenesisContent.toObject(includeInstance, f), + chainContent: (f = msg.getChainContent()) && penumbra_core_component_chain_v1alpha1_chain_pb.GenesisContent.toObject(includeInstance, f), + daoContent: (f = msg.getDaoContent()) && penumbra_core_component_dao_v1alpha1_dao_pb.GenesisContent.toObject(includeInstance, f), + feeContent: (f = msg.getFeeContent()) && penumbra_core_component_fee_v1alpha1_fee_pb.GenesisContent.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.app.v1alpha1.GenesisContent} + */ +proto.penumbra.core.app.v1alpha1.GenesisContent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.app.v1alpha1.GenesisContent; + return proto.penumbra.core.app.v1alpha1.GenesisContent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.app.v1alpha1.GenesisContent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.app.v1alpha1.GenesisContent} + */ +proto.penumbra.core.app.v1alpha1.GenesisContent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_component_stake_v1alpha1_stake_pb.GenesisContent; + reader.readMessage(value,penumbra_core_component_stake_v1alpha1_stake_pb.GenesisContent.deserializeBinaryFromReader); + msg.setStakeContent(value); + break; + case 2: + var value = new penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.GenesisContent; + reader.readMessage(value,penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.GenesisContent.deserializeBinaryFromReader); + msg.setShieldedPoolContent(value); + break; + case 3: + var value = new penumbra_core_component_governance_v1alpha1_governance_pb.GenesisContent; + reader.readMessage(value,penumbra_core_component_governance_v1alpha1_governance_pb.GenesisContent.deserializeBinaryFromReader); + msg.setGovernanceContent(value); + break; + case 4: + var value = new penumbra_core_component_ibc_v1alpha1_ibc_pb.GenesisContent; + reader.readMessage(value,penumbra_core_component_ibc_v1alpha1_ibc_pb.GenesisContent.deserializeBinaryFromReader); + msg.setIbcContent(value); + break; + case 5: + var value = new penumbra_core_component_chain_v1alpha1_chain_pb.GenesisContent; + reader.readMessage(value,penumbra_core_component_chain_v1alpha1_chain_pb.GenesisContent.deserializeBinaryFromReader); + msg.setChainContent(value); + break; + case 6: + var value = new penumbra_core_component_dao_v1alpha1_dao_pb.GenesisContent; + reader.readMessage(value,penumbra_core_component_dao_v1alpha1_dao_pb.GenesisContent.deserializeBinaryFromReader); + msg.setDaoContent(value); + break; + case 7: + var value = new penumbra_core_component_fee_v1alpha1_fee_pb.GenesisContent; + reader.readMessage(value,penumbra_core_component_fee_v1alpha1_fee_pb.GenesisContent.deserializeBinaryFromReader); + msg.setFeeContent(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.app.v1alpha1.GenesisContent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.app.v1alpha1.GenesisContent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.app.v1alpha1.GenesisContent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.app.v1alpha1.GenesisContent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getStakeContent(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_component_stake_v1alpha1_stake_pb.GenesisContent.serializeBinaryToWriter + ); + } + f = message.getShieldedPoolContent(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.GenesisContent.serializeBinaryToWriter + ); + } + f = message.getGovernanceContent(); + if (f != null) { + writer.writeMessage( + 3, + f, + penumbra_core_component_governance_v1alpha1_governance_pb.GenesisContent.serializeBinaryToWriter + ); + } + f = message.getIbcContent(); + if (f != null) { + writer.writeMessage( + 4, + f, + penumbra_core_component_ibc_v1alpha1_ibc_pb.GenesisContent.serializeBinaryToWriter + ); + } + f = message.getChainContent(); + if (f != null) { + writer.writeMessage( + 5, + f, + penumbra_core_component_chain_v1alpha1_chain_pb.GenesisContent.serializeBinaryToWriter + ); + } + f = message.getDaoContent(); + if (f != null) { + writer.writeMessage( + 6, + f, + penumbra_core_component_dao_v1alpha1_dao_pb.GenesisContent.serializeBinaryToWriter + ); + } + f = message.getFeeContent(); + if (f != null) { + writer.writeMessage( + 7, + f, + penumbra_core_component_fee_v1alpha1_fee_pb.GenesisContent.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.component.stake.v1alpha1.GenesisContent stake_content = 1; + * @return {?proto.penumbra.core.component.stake.v1alpha1.GenesisContent} + */ +proto.penumbra.core.app.v1alpha1.GenesisContent.prototype.getStakeContent = function() { + return /** @type{?proto.penumbra.core.component.stake.v1alpha1.GenesisContent} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_stake_v1alpha1_stake_pb.GenesisContent, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.stake.v1alpha1.GenesisContent|undefined} value + * @return {!proto.penumbra.core.app.v1alpha1.GenesisContent} returns this +*/ +proto.penumbra.core.app.v1alpha1.GenesisContent.prototype.setStakeContent = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.app.v1alpha1.GenesisContent} returns this + */ +proto.penumbra.core.app.v1alpha1.GenesisContent.prototype.clearStakeContent = function() { + return this.setStakeContent(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.app.v1alpha1.GenesisContent.prototype.hasStakeContent = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional penumbra.core.component.shielded_pool.v1alpha1.GenesisContent shielded_pool_content = 2; + * @return {?proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent} + */ +proto.penumbra.core.app.v1alpha1.GenesisContent.prototype.getShieldedPoolContent = function() { + return /** @type{?proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.GenesisContent, 2)); +}; + + +/** + * @param {?proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent|undefined} value + * @return {!proto.penumbra.core.app.v1alpha1.GenesisContent} returns this +*/ +proto.penumbra.core.app.v1alpha1.GenesisContent.prototype.setShieldedPoolContent = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.app.v1alpha1.GenesisContent} returns this + */ +proto.penumbra.core.app.v1alpha1.GenesisContent.prototype.clearShieldedPoolContent = function() { + return this.setShieldedPoolContent(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.app.v1alpha1.GenesisContent.prototype.hasShieldedPoolContent = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional penumbra.core.component.governance.v1alpha1.GenesisContent governance_content = 3; + * @return {?proto.penumbra.core.component.governance.v1alpha1.GenesisContent} + */ +proto.penumbra.core.app.v1alpha1.GenesisContent.prototype.getGovernanceContent = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.GenesisContent} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_governance_v1alpha1_governance_pb.GenesisContent, 3)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.GenesisContent|undefined} value + * @return {!proto.penumbra.core.app.v1alpha1.GenesisContent} returns this +*/ +proto.penumbra.core.app.v1alpha1.GenesisContent.prototype.setGovernanceContent = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.app.v1alpha1.GenesisContent} returns this + */ +proto.penumbra.core.app.v1alpha1.GenesisContent.prototype.clearGovernanceContent = function() { + return this.setGovernanceContent(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.app.v1alpha1.GenesisContent.prototype.hasGovernanceContent = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional penumbra.core.component.ibc.v1alpha1.GenesisContent ibc_content = 4; + * @return {?proto.penumbra.core.component.ibc.v1alpha1.GenesisContent} + */ +proto.penumbra.core.app.v1alpha1.GenesisContent.prototype.getIbcContent = function() { + return /** @type{?proto.penumbra.core.component.ibc.v1alpha1.GenesisContent} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_ibc_v1alpha1_ibc_pb.GenesisContent, 4)); +}; + + +/** + * @param {?proto.penumbra.core.component.ibc.v1alpha1.GenesisContent|undefined} value + * @return {!proto.penumbra.core.app.v1alpha1.GenesisContent} returns this +*/ +proto.penumbra.core.app.v1alpha1.GenesisContent.prototype.setIbcContent = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.app.v1alpha1.GenesisContent} returns this + */ +proto.penumbra.core.app.v1alpha1.GenesisContent.prototype.clearIbcContent = function() { + return this.setIbcContent(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.app.v1alpha1.GenesisContent.prototype.hasIbcContent = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional penumbra.core.component.chain.v1alpha1.GenesisContent chain_content = 5; + * @return {?proto.penumbra.core.component.chain.v1alpha1.GenesisContent} + */ +proto.penumbra.core.app.v1alpha1.GenesisContent.prototype.getChainContent = function() { + return /** @type{?proto.penumbra.core.component.chain.v1alpha1.GenesisContent} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_chain_v1alpha1_chain_pb.GenesisContent, 5)); +}; + + +/** + * @param {?proto.penumbra.core.component.chain.v1alpha1.GenesisContent|undefined} value + * @return {!proto.penumbra.core.app.v1alpha1.GenesisContent} returns this +*/ +proto.penumbra.core.app.v1alpha1.GenesisContent.prototype.setChainContent = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.app.v1alpha1.GenesisContent} returns this + */ +proto.penumbra.core.app.v1alpha1.GenesisContent.prototype.clearChainContent = function() { + return this.setChainContent(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.app.v1alpha1.GenesisContent.prototype.hasChainContent = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional penumbra.core.component.dao.v1alpha1.GenesisContent dao_content = 6; + * @return {?proto.penumbra.core.component.dao.v1alpha1.GenesisContent} + */ +proto.penumbra.core.app.v1alpha1.GenesisContent.prototype.getDaoContent = function() { + return /** @type{?proto.penumbra.core.component.dao.v1alpha1.GenesisContent} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_dao_v1alpha1_dao_pb.GenesisContent, 6)); +}; + + +/** + * @param {?proto.penumbra.core.component.dao.v1alpha1.GenesisContent|undefined} value + * @return {!proto.penumbra.core.app.v1alpha1.GenesisContent} returns this +*/ +proto.penumbra.core.app.v1alpha1.GenesisContent.prototype.setDaoContent = function(value) { + return jspb.Message.setWrapperField(this, 6, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.app.v1alpha1.GenesisContent} returns this + */ +proto.penumbra.core.app.v1alpha1.GenesisContent.prototype.clearDaoContent = function() { + return this.setDaoContent(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.app.v1alpha1.GenesisContent.prototype.hasDaoContent = function() { + return jspb.Message.getField(this, 6) != null; +}; + + +/** + * optional penumbra.core.component.fee.v1alpha1.GenesisContent fee_content = 7; + * @return {?proto.penumbra.core.component.fee.v1alpha1.GenesisContent} + */ +proto.penumbra.core.app.v1alpha1.GenesisContent.prototype.getFeeContent = function() { + return /** @type{?proto.penumbra.core.component.fee.v1alpha1.GenesisContent} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_fee_v1alpha1_fee_pb.GenesisContent, 7)); +}; + + +/** + * @param {?proto.penumbra.core.component.fee.v1alpha1.GenesisContent|undefined} value + * @return {!proto.penumbra.core.app.v1alpha1.GenesisContent} returns this +*/ +proto.penumbra.core.app.v1alpha1.GenesisContent.prototype.setFeeContent = function(value) { + return jspb.Message.setWrapperField(this, 7, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.app.v1alpha1.GenesisContent} returns this + */ +proto.penumbra.core.app.v1alpha1.GenesisContent.prototype.clearFeeContent = function() { + return this.setFeeContent(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.app.v1alpha1.GenesisContent.prototype.hasFeeContent = function() { + return jspb.Message.getField(this, 7) != null; +}; + + +goog.object.extend(exports, proto.penumbra.core.app.v1alpha1); diff --git a/src/chains/penumbra/generated/penumbra/core/asset/v1alpha1/asset_grpc_pb.js b/src/chains/penumbra/generated/penumbra/core/asset/v1alpha1/asset_grpc_pb.js new file mode 100644 index 0000000000..97b3a2461d --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/asset/v1alpha1/asset_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/src/chains/penumbra/generated/penumbra/core/asset/v1alpha1/asset_pb.d.ts b/src/chains/penumbra/generated/penumbra/core/asset/v1alpha1/asset_pb.d.ts new file mode 100644 index 0000000000..57d6080833 --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/asset/v1alpha1/asset_pb.d.ts @@ -0,0 +1,282 @@ +// package: penumbra.core.asset.v1alpha1 +// file: penumbra/core/asset/v1alpha1/asset.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as penumbra_core_num_v1alpha1_num_pb from "../../../../penumbra/core/num/v1alpha1/num_pb"; + +export class BalanceCommitment extends jspb.Message { + getInner(): Uint8Array | string; + getInner_asU8(): Uint8Array; + getInner_asB64(): string; + setInner(value: Uint8Array | string): BalanceCommitment; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): BalanceCommitment.AsObject; + static toObject(includeInstance: boolean, msg: BalanceCommitment): BalanceCommitment.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: BalanceCommitment, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): BalanceCommitment; + static deserializeBinaryFromReader(message: BalanceCommitment, reader: jspb.BinaryReader): BalanceCommitment; +} + +export namespace BalanceCommitment { + export type AsObject = { + inner: Uint8Array | string, + } +} + +export class AssetId extends jspb.Message { + getInner(): Uint8Array | string; + getInner_asU8(): Uint8Array; + getInner_asB64(): string; + setInner(value: Uint8Array | string): AssetId; + getAltBech32m(): string; + setAltBech32m(value: string): AssetId; + getAltBaseDenom(): string; + setAltBaseDenom(value: string): AssetId; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): AssetId.AsObject; + static toObject(includeInstance: boolean, msg: AssetId): AssetId.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: AssetId, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): AssetId; + static deserializeBinaryFromReader(message: AssetId, reader: jspb.BinaryReader): AssetId; +} + +export namespace AssetId { + export type AsObject = { + inner: Uint8Array | string, + altBech32m: string, + altBaseDenom: string, + } +} + +export class Denom extends jspb.Message { + getDenom(): string; + setDenom(value: string): Denom; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Denom.AsObject; + static toObject(includeInstance: boolean, msg: Denom): Denom.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Denom, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Denom; + static deserializeBinaryFromReader(message: Denom, reader: jspb.BinaryReader): Denom; +} + +export namespace Denom { + export type AsObject = { + denom: string, + } +} + +export class DenomMetadata extends jspb.Message { + getDescription(): string; + setDescription(value: string): DenomMetadata; + clearDenomUnitsList(): void; + getDenomUnitsList(): Array; + setDenomUnitsList(value: Array): DenomMetadata; + addDenomUnits(value?: DenomUnit, index?: number): DenomUnit; + getBase(): string; + setBase(value: string): DenomMetadata; + getDisplay(): string; + setDisplay(value: string): DenomMetadata; + getName(): string; + setName(value: string): DenomMetadata; + getSymbol(): string; + setSymbol(value: string): DenomMetadata; + getUri(): string; + setUri(value: string): DenomMetadata; + getUriHash(): string; + setUriHash(value: string): DenomMetadata; + + hasPenumbraAssetId(): boolean; + clearPenumbraAssetId(): void; + getPenumbraAssetId(): AssetId | undefined; + setPenumbraAssetId(value?: AssetId): DenomMetadata; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): DenomMetadata.AsObject; + static toObject(includeInstance: boolean, msg: DenomMetadata): DenomMetadata.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: DenomMetadata, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): DenomMetadata; + static deserializeBinaryFromReader(message: DenomMetadata, reader: jspb.BinaryReader): DenomMetadata; +} + +export namespace DenomMetadata { + export type AsObject = { + description: string, + denomUnitsList: Array, + base: string, + display: string, + name: string, + symbol: string, + uri: string, + uriHash: string, + penumbraAssetId?: AssetId.AsObject, + } +} + +export class DenomUnit extends jspb.Message { + getDenom(): string; + setDenom(value: string): DenomUnit; + getExponent(): number; + setExponent(value: number): DenomUnit; + clearAliasesList(): void; + getAliasesList(): Array; + setAliasesList(value: Array): DenomUnit; + addAliases(value: string, index?: number): string; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): DenomUnit.AsObject; + static toObject(includeInstance: boolean, msg: DenomUnit): DenomUnit.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: DenomUnit, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): DenomUnit; + static deserializeBinaryFromReader(message: DenomUnit, reader: jspb.BinaryReader): DenomUnit; +} + +export namespace DenomUnit { + export type AsObject = { + denom: string, + exponent: number, + aliasesList: Array, + } +} + +export class Value extends jspb.Message { + + hasAmount(): boolean; + clearAmount(): void; + getAmount(): penumbra_core_num_v1alpha1_num_pb.Amount | undefined; + setAmount(value?: penumbra_core_num_v1alpha1_num_pb.Amount): Value; + + hasAssetId(): boolean; + clearAssetId(): void; + getAssetId(): AssetId | undefined; + setAssetId(value?: AssetId): Value; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Value.AsObject; + static toObject(includeInstance: boolean, msg: Value): Value.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Value, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Value; + static deserializeBinaryFromReader(message: Value, reader: jspb.BinaryReader): Value; +} + +export namespace Value { + export type AsObject = { + amount?: penumbra_core_num_v1alpha1_num_pb.Amount.AsObject, + assetId?: AssetId.AsObject, + } +} + +export class ValueView extends jspb.Message { + + hasKnownDenom(): boolean; + clearKnownDenom(): void; + getKnownDenom(): ValueView.KnownDenom | undefined; + setKnownDenom(value?: ValueView.KnownDenom): ValueView; + + hasUnknownDenom(): boolean; + clearUnknownDenom(): void; + getUnknownDenom(): ValueView.UnknownDenom | undefined; + setUnknownDenom(value?: ValueView.UnknownDenom): ValueView; + + getValueViewCase(): ValueView.ValueViewCase; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ValueView.AsObject; + static toObject(includeInstance: boolean, msg: ValueView): ValueView.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ValueView, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ValueView; + static deserializeBinaryFromReader(message: ValueView, reader: jspb.BinaryReader): ValueView; +} + +export namespace ValueView { + export type AsObject = { + knownDenom?: ValueView.KnownDenom.AsObject, + unknownDenom?: ValueView.UnknownDenom.AsObject, + } + + + export class KnownDenom extends jspb.Message { + + hasAmount(): boolean; + clearAmount(): void; + getAmount(): penumbra_core_num_v1alpha1_num_pb.Amount | undefined; + setAmount(value?: penumbra_core_num_v1alpha1_num_pb.Amount): KnownDenom; + + hasDenom(): boolean; + clearDenom(): void; + getDenom(): DenomMetadata | undefined; + setDenom(value?: DenomMetadata): KnownDenom; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): KnownDenom.AsObject; + static toObject(includeInstance: boolean, msg: KnownDenom): KnownDenom.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: KnownDenom, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): KnownDenom; + static deserializeBinaryFromReader(message: KnownDenom, reader: jspb.BinaryReader): KnownDenom; + } + + export namespace KnownDenom { + export type AsObject = { + amount?: penumbra_core_num_v1alpha1_num_pb.Amount.AsObject, + denom?: DenomMetadata.AsObject, + } + } + + export class UnknownDenom extends jspb.Message { + + hasAmount(): boolean; + clearAmount(): void; + getAmount(): penumbra_core_num_v1alpha1_num_pb.Amount | undefined; + setAmount(value?: penumbra_core_num_v1alpha1_num_pb.Amount): UnknownDenom; + + hasAssetId(): boolean; + clearAssetId(): void; + getAssetId(): AssetId | undefined; + setAssetId(value?: AssetId): UnknownDenom; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): UnknownDenom.AsObject; + static toObject(includeInstance: boolean, msg: UnknownDenom): UnknownDenom.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: UnknownDenom, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): UnknownDenom; + static deserializeBinaryFromReader(message: UnknownDenom, reader: jspb.BinaryReader): UnknownDenom; + } + + export namespace UnknownDenom { + export type AsObject = { + amount?: penumbra_core_num_v1alpha1_num_pb.Amount.AsObject, + assetId?: AssetId.AsObject, + } + } + + + export enum ValueViewCase { + VALUE_VIEW_NOT_SET = 0, + KNOWN_DENOM = 1, + UNKNOWN_DENOM = 2, + } + +} diff --git a/src/chains/penumbra/generated/penumbra/core/asset/v1alpha1/asset_pb.js b/src/chains/penumbra/generated/penumbra/core/asset/v1alpha1/asset_pb.js new file mode 100644 index 0000000000..e3c2b86d6d --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/asset/v1alpha1/asset_pb.js @@ -0,0 +1,2194 @@ +// source: penumbra/core/asset/v1alpha1/asset.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = (function() { + if (this) { return this; } + if (typeof window !== 'undefined') { return window; } + if (typeof global !== 'undefined') { return global; } + if (typeof self !== 'undefined') { return self; } + return Function('return this')(); +}.call(null)); + +var penumbra_core_num_v1alpha1_num_pb = require('../../../../penumbra/core/num/v1alpha1/num_pb.js'); +goog.object.extend(proto, penumbra_core_num_v1alpha1_num_pb); +goog.exportSymbol('proto.penumbra.core.asset.v1alpha1.AssetId', null, global); +goog.exportSymbol('proto.penumbra.core.asset.v1alpha1.BalanceCommitment', null, global); +goog.exportSymbol('proto.penumbra.core.asset.v1alpha1.Denom', null, global); +goog.exportSymbol('proto.penumbra.core.asset.v1alpha1.DenomMetadata', null, global); +goog.exportSymbol('proto.penumbra.core.asset.v1alpha1.DenomUnit', null, global); +goog.exportSymbol('proto.penumbra.core.asset.v1alpha1.Value', null, global); +goog.exportSymbol('proto.penumbra.core.asset.v1alpha1.ValueView', null, global); +goog.exportSymbol('proto.penumbra.core.asset.v1alpha1.ValueView.KnownDenom', null, global); +goog.exportSymbol('proto.penumbra.core.asset.v1alpha1.ValueView.UnknownDenom', null, global); +goog.exportSymbol('proto.penumbra.core.asset.v1alpha1.ValueView.ValueViewCase', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.asset.v1alpha1.BalanceCommitment = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.asset.v1alpha1.BalanceCommitment, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.asset.v1alpha1.BalanceCommitment.displayName = 'proto.penumbra.core.asset.v1alpha1.BalanceCommitment'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.asset.v1alpha1.AssetId = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.asset.v1alpha1.AssetId, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.asset.v1alpha1.AssetId.displayName = 'proto.penumbra.core.asset.v1alpha1.AssetId'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.asset.v1alpha1.Denom = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.asset.v1alpha1.Denom, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.asset.v1alpha1.Denom.displayName = 'proto.penumbra.core.asset.v1alpha1.Denom'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.asset.v1alpha1.DenomMetadata = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, 500, proto.penumbra.core.asset.v1alpha1.DenomMetadata.repeatedFields_, null); +}; +goog.inherits(proto.penumbra.core.asset.v1alpha1.DenomMetadata, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.asset.v1alpha1.DenomMetadata.displayName = 'proto.penumbra.core.asset.v1alpha1.DenomMetadata'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.asset.v1alpha1.DenomUnit = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.penumbra.core.asset.v1alpha1.DenomUnit.repeatedFields_, null); +}; +goog.inherits(proto.penumbra.core.asset.v1alpha1.DenomUnit, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.asset.v1alpha1.DenomUnit.displayName = 'proto.penumbra.core.asset.v1alpha1.DenomUnit'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.asset.v1alpha1.Value = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.asset.v1alpha1.Value, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.asset.v1alpha1.Value.displayName = 'proto.penumbra.core.asset.v1alpha1.Value'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.asset.v1alpha1.ValueView = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.penumbra.core.asset.v1alpha1.ValueView.oneofGroups_); +}; +goog.inherits(proto.penumbra.core.asset.v1alpha1.ValueView, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.asset.v1alpha1.ValueView.displayName = 'proto.penumbra.core.asset.v1alpha1.ValueView'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.asset.v1alpha1.ValueView.KnownDenom = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.asset.v1alpha1.ValueView.KnownDenom, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.asset.v1alpha1.ValueView.KnownDenom.displayName = 'proto.penumbra.core.asset.v1alpha1.ValueView.KnownDenom'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.asset.v1alpha1.ValueView.UnknownDenom = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.asset.v1alpha1.ValueView.UnknownDenom, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.asset.v1alpha1.ValueView.UnknownDenom.displayName = 'proto.penumbra.core.asset.v1alpha1.ValueView.UnknownDenom'; +} + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.asset.v1alpha1.BalanceCommitment.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.asset.v1alpha1.BalanceCommitment.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.asset.v1alpha1.BalanceCommitment} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.asset.v1alpha1.BalanceCommitment.toObject = function(includeInstance, msg) { + var f, obj = { + inner: msg.getInner_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.asset.v1alpha1.BalanceCommitment} + */ +proto.penumbra.core.asset.v1alpha1.BalanceCommitment.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.asset.v1alpha1.BalanceCommitment; + return proto.penumbra.core.asset.v1alpha1.BalanceCommitment.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.asset.v1alpha1.BalanceCommitment} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.asset.v1alpha1.BalanceCommitment} + */ +proto.penumbra.core.asset.v1alpha1.BalanceCommitment.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setInner(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.asset.v1alpha1.BalanceCommitment.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.asset.v1alpha1.BalanceCommitment.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.asset.v1alpha1.BalanceCommitment} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.asset.v1alpha1.BalanceCommitment.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInner_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } +}; + + +/** + * optional bytes inner = 1; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.asset.v1alpha1.BalanceCommitment.prototype.getInner = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes inner = 1; + * This is a type-conversion wrapper around `getInner()` + * @return {string} + */ +proto.penumbra.core.asset.v1alpha1.BalanceCommitment.prototype.getInner_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getInner())); +}; + + +/** + * optional bytes inner = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getInner()` + * @return {!Uint8Array} + */ +proto.penumbra.core.asset.v1alpha1.BalanceCommitment.prototype.getInner_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getInner())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.asset.v1alpha1.BalanceCommitment} returns this + */ +proto.penumbra.core.asset.v1alpha1.BalanceCommitment.prototype.setInner = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.asset.v1alpha1.AssetId.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.asset.v1alpha1.AssetId.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.asset.v1alpha1.AssetId} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.asset.v1alpha1.AssetId.toObject = function(includeInstance, msg) { + var f, obj = { + inner: msg.getInner_asB64(), + altBech32m: jspb.Message.getFieldWithDefault(msg, 2, ""), + altBaseDenom: jspb.Message.getFieldWithDefault(msg, 3, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.asset.v1alpha1.AssetId} + */ +proto.penumbra.core.asset.v1alpha1.AssetId.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.asset.v1alpha1.AssetId; + return proto.penumbra.core.asset.v1alpha1.AssetId.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.asset.v1alpha1.AssetId} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.asset.v1alpha1.AssetId} + */ +proto.penumbra.core.asset.v1alpha1.AssetId.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setInner(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setAltBech32m(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setAltBaseDenom(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.asset.v1alpha1.AssetId.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.asset.v1alpha1.AssetId.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.asset.v1alpha1.AssetId} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.asset.v1alpha1.AssetId.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInner_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } + f = message.getAltBech32m(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getAltBaseDenom(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } +}; + + +/** + * optional bytes inner = 1; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.asset.v1alpha1.AssetId.prototype.getInner = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes inner = 1; + * This is a type-conversion wrapper around `getInner()` + * @return {string} + */ +proto.penumbra.core.asset.v1alpha1.AssetId.prototype.getInner_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getInner())); +}; + + +/** + * optional bytes inner = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getInner()` + * @return {!Uint8Array} + */ +proto.penumbra.core.asset.v1alpha1.AssetId.prototype.getInner_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getInner())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.asset.v1alpha1.AssetId} returns this + */ +proto.penumbra.core.asset.v1alpha1.AssetId.prototype.setInner = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + +/** + * optional string alt_bech32m = 2; + * @return {string} + */ +proto.penumbra.core.asset.v1alpha1.AssetId.prototype.getAltBech32m = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.asset.v1alpha1.AssetId} returns this + */ +proto.penumbra.core.asset.v1alpha1.AssetId.prototype.setAltBech32m = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string alt_base_denom = 3; + * @return {string} + */ +proto.penumbra.core.asset.v1alpha1.AssetId.prototype.getAltBaseDenom = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.asset.v1alpha1.AssetId} returns this + */ +proto.penumbra.core.asset.v1alpha1.AssetId.prototype.setAltBaseDenom = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.asset.v1alpha1.Denom.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.asset.v1alpha1.Denom.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.asset.v1alpha1.Denom} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.asset.v1alpha1.Denom.toObject = function(includeInstance, msg) { + var f, obj = { + denom: jspb.Message.getFieldWithDefault(msg, 1, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.asset.v1alpha1.Denom} + */ +proto.penumbra.core.asset.v1alpha1.Denom.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.asset.v1alpha1.Denom; + return proto.penumbra.core.asset.v1alpha1.Denom.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.asset.v1alpha1.Denom} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.asset.v1alpha1.Denom} + */ +proto.penumbra.core.asset.v1alpha1.Denom.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setDenom(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.asset.v1alpha1.Denom.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.asset.v1alpha1.Denom.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.asset.v1alpha1.Denom} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.asset.v1alpha1.Denom.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDenom(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } +}; + + +/** + * optional string denom = 1; + * @return {string} + */ +proto.penumbra.core.asset.v1alpha1.Denom.prototype.getDenom = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.asset.v1alpha1.Denom} returns this + */ +proto.penumbra.core.asset.v1alpha1.Denom.prototype.setDenom = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.penumbra.core.asset.v1alpha1.DenomMetadata.repeatedFields_ = [2]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.asset.v1alpha1.DenomMetadata.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.asset.v1alpha1.DenomMetadata.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.asset.v1alpha1.DenomMetadata} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.asset.v1alpha1.DenomMetadata.toObject = function(includeInstance, msg) { + var f, obj = { + description: jspb.Message.getFieldWithDefault(msg, 1, ""), + denomUnitsList: jspb.Message.toObjectList(msg.getDenomUnitsList(), + proto.penumbra.core.asset.v1alpha1.DenomUnit.toObject, includeInstance), + base: jspb.Message.getFieldWithDefault(msg, 3, ""), + display: jspb.Message.getFieldWithDefault(msg, 4, ""), + name: jspb.Message.getFieldWithDefault(msg, 5, ""), + symbol: jspb.Message.getFieldWithDefault(msg, 6, ""), + uri: jspb.Message.getFieldWithDefault(msg, 7, ""), + uriHash: jspb.Message.getFieldWithDefault(msg, 8, ""), + penumbraAssetId: (f = msg.getPenumbraAssetId()) && proto.penumbra.core.asset.v1alpha1.AssetId.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.asset.v1alpha1.DenomMetadata} + */ +proto.penumbra.core.asset.v1alpha1.DenomMetadata.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.asset.v1alpha1.DenomMetadata; + return proto.penumbra.core.asset.v1alpha1.DenomMetadata.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.asset.v1alpha1.DenomMetadata} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.asset.v1alpha1.DenomMetadata} + */ +proto.penumbra.core.asset.v1alpha1.DenomMetadata.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 2: + var value = new proto.penumbra.core.asset.v1alpha1.DenomUnit; + reader.readMessage(value,proto.penumbra.core.asset.v1alpha1.DenomUnit.deserializeBinaryFromReader); + msg.addDenomUnits(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setBase(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setDisplay(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setSymbol(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setUri(value); + break; + case 8: + var value = /** @type {string} */ (reader.readString()); + msg.setUriHash(value); + break; + case 1984: + var value = new proto.penumbra.core.asset.v1alpha1.AssetId; + reader.readMessage(value,proto.penumbra.core.asset.v1alpha1.AssetId.deserializeBinaryFromReader); + msg.setPenumbraAssetId(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.asset.v1alpha1.DenomMetadata.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.asset.v1alpha1.DenomMetadata.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.asset.v1alpha1.DenomMetadata} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.asset.v1alpha1.DenomMetadata.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getDenomUnitsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 2, + f, + proto.penumbra.core.asset.v1alpha1.DenomUnit.serializeBinaryToWriter + ); + } + f = message.getBase(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getDisplay(); + if (f.length > 0) { + writer.writeString( + 4, + f + ); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 5, + f + ); + } + f = message.getSymbol(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getUri(); + if (f.length > 0) { + writer.writeString( + 7, + f + ); + } + f = message.getUriHash(); + if (f.length > 0) { + writer.writeString( + 8, + f + ); + } + f = message.getPenumbraAssetId(); + if (f != null) { + writer.writeMessage( + 1984, + f, + proto.penumbra.core.asset.v1alpha1.AssetId.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string description = 1; + * @return {string} + */ +proto.penumbra.core.asset.v1alpha1.DenomMetadata.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.asset.v1alpha1.DenomMetadata} returns this + */ +proto.penumbra.core.asset.v1alpha1.DenomMetadata.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * repeated DenomUnit denom_units = 2; + * @return {!Array} + */ +proto.penumbra.core.asset.v1alpha1.DenomMetadata.prototype.getDenomUnitsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.penumbra.core.asset.v1alpha1.DenomUnit, 2)); +}; + + +/** + * @param {!Array} value + * @return {!proto.penumbra.core.asset.v1alpha1.DenomMetadata} returns this +*/ +proto.penumbra.core.asset.v1alpha1.DenomMetadata.prototype.setDenomUnitsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 2, value); +}; + + +/** + * @param {!proto.penumbra.core.asset.v1alpha1.DenomUnit=} opt_value + * @param {number=} opt_index + * @return {!proto.penumbra.core.asset.v1alpha1.DenomUnit} + */ +proto.penumbra.core.asset.v1alpha1.DenomMetadata.prototype.addDenomUnits = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.penumbra.core.asset.v1alpha1.DenomUnit, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.penumbra.core.asset.v1alpha1.DenomMetadata} returns this + */ +proto.penumbra.core.asset.v1alpha1.DenomMetadata.prototype.clearDenomUnitsList = function() { + return this.setDenomUnitsList([]); +}; + + +/** + * optional string base = 3; + * @return {string} + */ +proto.penumbra.core.asset.v1alpha1.DenomMetadata.prototype.getBase = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.asset.v1alpha1.DenomMetadata} returns this + */ +proto.penumbra.core.asset.v1alpha1.DenomMetadata.prototype.setBase = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string display = 4; + * @return {string} + */ +proto.penumbra.core.asset.v1alpha1.DenomMetadata.prototype.getDisplay = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.asset.v1alpha1.DenomMetadata} returns this + */ +proto.penumbra.core.asset.v1alpha1.DenomMetadata.prototype.setDisplay = function(value) { + return jspb.Message.setProto3StringField(this, 4, value); +}; + + +/** + * optional string name = 5; + * @return {string} + */ +proto.penumbra.core.asset.v1alpha1.DenomMetadata.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.asset.v1alpha1.DenomMetadata} returns this + */ +proto.penumbra.core.asset.v1alpha1.DenomMetadata.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 5, value); +}; + + +/** + * optional string symbol = 6; + * @return {string} + */ +proto.penumbra.core.asset.v1alpha1.DenomMetadata.prototype.getSymbol = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.asset.v1alpha1.DenomMetadata} returns this + */ +proto.penumbra.core.asset.v1alpha1.DenomMetadata.prototype.setSymbol = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * optional string uri = 7; + * @return {string} + */ +proto.penumbra.core.asset.v1alpha1.DenomMetadata.prototype.getUri = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.asset.v1alpha1.DenomMetadata} returns this + */ +proto.penumbra.core.asset.v1alpha1.DenomMetadata.prototype.setUri = function(value) { + return jspb.Message.setProto3StringField(this, 7, value); +}; + + +/** + * optional string uri_hash = 8; + * @return {string} + */ +proto.penumbra.core.asset.v1alpha1.DenomMetadata.prototype.getUriHash = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.asset.v1alpha1.DenomMetadata} returns this + */ +proto.penumbra.core.asset.v1alpha1.DenomMetadata.prototype.setUriHash = function(value) { + return jspb.Message.setProto3StringField(this, 8, value); +}; + + +/** + * optional AssetId penumbra_asset_id = 1984; + * @return {?proto.penumbra.core.asset.v1alpha1.AssetId} + */ +proto.penumbra.core.asset.v1alpha1.DenomMetadata.prototype.getPenumbraAssetId = function() { + return /** @type{?proto.penumbra.core.asset.v1alpha1.AssetId} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.asset.v1alpha1.AssetId, 1984)); +}; + + +/** + * @param {?proto.penumbra.core.asset.v1alpha1.AssetId|undefined} value + * @return {!proto.penumbra.core.asset.v1alpha1.DenomMetadata} returns this +*/ +proto.penumbra.core.asset.v1alpha1.DenomMetadata.prototype.setPenumbraAssetId = function(value) { + return jspb.Message.setWrapperField(this, 1984, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.asset.v1alpha1.DenomMetadata} returns this + */ +proto.penumbra.core.asset.v1alpha1.DenomMetadata.prototype.clearPenumbraAssetId = function() { + return this.setPenumbraAssetId(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.asset.v1alpha1.DenomMetadata.prototype.hasPenumbraAssetId = function() { + return jspb.Message.getField(this, 1984) != null; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.penumbra.core.asset.v1alpha1.DenomUnit.repeatedFields_ = [3]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.asset.v1alpha1.DenomUnit.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.asset.v1alpha1.DenomUnit.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.asset.v1alpha1.DenomUnit} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.asset.v1alpha1.DenomUnit.toObject = function(includeInstance, msg) { + var f, obj = { + denom: jspb.Message.getFieldWithDefault(msg, 1, ""), + exponent: jspb.Message.getFieldWithDefault(msg, 2, 0), + aliasesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.asset.v1alpha1.DenomUnit} + */ +proto.penumbra.core.asset.v1alpha1.DenomUnit.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.asset.v1alpha1.DenomUnit; + return proto.penumbra.core.asset.v1alpha1.DenomUnit.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.asset.v1alpha1.DenomUnit} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.asset.v1alpha1.DenomUnit} + */ +proto.penumbra.core.asset.v1alpha1.DenomUnit.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setDenom(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint32()); + msg.setExponent(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.addAliases(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.asset.v1alpha1.DenomUnit.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.asset.v1alpha1.DenomUnit.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.asset.v1alpha1.DenomUnit} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.asset.v1alpha1.DenomUnit.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDenom(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getExponent(); + if (f !== 0) { + writer.writeUint32( + 2, + f + ); + } + f = message.getAliasesList(); + if (f.length > 0) { + writer.writeRepeatedString( + 3, + f + ); + } +}; + + +/** + * optional string denom = 1; + * @return {string} + */ +proto.penumbra.core.asset.v1alpha1.DenomUnit.prototype.getDenom = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.asset.v1alpha1.DenomUnit} returns this + */ +proto.penumbra.core.asset.v1alpha1.DenomUnit.prototype.setDenom = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional uint32 exponent = 2; + * @return {number} + */ +proto.penumbra.core.asset.v1alpha1.DenomUnit.prototype.getExponent = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.asset.v1alpha1.DenomUnit} returns this + */ +proto.penumbra.core.asset.v1alpha1.DenomUnit.prototype.setExponent = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + +/** + * repeated string aliases = 3; + * @return {!Array} + */ +proto.penumbra.core.asset.v1alpha1.DenomUnit.prototype.getAliasesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 3)); +}; + + +/** + * @param {!Array} value + * @return {!proto.penumbra.core.asset.v1alpha1.DenomUnit} returns this + */ +proto.penumbra.core.asset.v1alpha1.DenomUnit.prototype.setAliasesList = function(value) { + return jspb.Message.setField(this, 3, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.penumbra.core.asset.v1alpha1.DenomUnit} returns this + */ +proto.penumbra.core.asset.v1alpha1.DenomUnit.prototype.addAliases = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 3, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.penumbra.core.asset.v1alpha1.DenomUnit} returns this + */ +proto.penumbra.core.asset.v1alpha1.DenomUnit.prototype.clearAliasesList = function() { + return this.setAliasesList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.asset.v1alpha1.Value.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.asset.v1alpha1.Value.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.asset.v1alpha1.Value} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.asset.v1alpha1.Value.toObject = function(includeInstance, msg) { + var f, obj = { + amount: (f = msg.getAmount()) && penumbra_core_num_v1alpha1_num_pb.Amount.toObject(includeInstance, f), + assetId: (f = msg.getAssetId()) && proto.penumbra.core.asset.v1alpha1.AssetId.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.asset.v1alpha1.Value} + */ +proto.penumbra.core.asset.v1alpha1.Value.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.asset.v1alpha1.Value; + return proto.penumbra.core.asset.v1alpha1.Value.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.asset.v1alpha1.Value} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.asset.v1alpha1.Value} + */ +proto.penumbra.core.asset.v1alpha1.Value.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_num_v1alpha1_num_pb.Amount; + reader.readMessage(value,penumbra_core_num_v1alpha1_num_pb.Amount.deserializeBinaryFromReader); + msg.setAmount(value); + break; + case 2: + var value = new proto.penumbra.core.asset.v1alpha1.AssetId; + reader.readMessage(value,proto.penumbra.core.asset.v1alpha1.AssetId.deserializeBinaryFromReader); + msg.setAssetId(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.asset.v1alpha1.Value.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.asset.v1alpha1.Value.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.asset.v1alpha1.Value} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.asset.v1alpha1.Value.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getAmount(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_num_v1alpha1_num_pb.Amount.serializeBinaryToWriter + ); + } + f = message.getAssetId(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.penumbra.core.asset.v1alpha1.AssetId.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.num.v1alpha1.Amount amount = 1; + * @return {?proto.penumbra.core.num.v1alpha1.Amount} + */ +proto.penumbra.core.asset.v1alpha1.Value.prototype.getAmount = function() { + return /** @type{?proto.penumbra.core.num.v1alpha1.Amount} */ ( + jspb.Message.getWrapperField(this, penumbra_core_num_v1alpha1_num_pb.Amount, 1)); +}; + + +/** + * @param {?proto.penumbra.core.num.v1alpha1.Amount|undefined} value + * @return {!proto.penumbra.core.asset.v1alpha1.Value} returns this +*/ +proto.penumbra.core.asset.v1alpha1.Value.prototype.setAmount = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.asset.v1alpha1.Value} returns this + */ +proto.penumbra.core.asset.v1alpha1.Value.prototype.clearAmount = function() { + return this.setAmount(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.asset.v1alpha1.Value.prototype.hasAmount = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional AssetId asset_id = 2; + * @return {?proto.penumbra.core.asset.v1alpha1.AssetId} + */ +proto.penumbra.core.asset.v1alpha1.Value.prototype.getAssetId = function() { + return /** @type{?proto.penumbra.core.asset.v1alpha1.AssetId} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.asset.v1alpha1.AssetId, 2)); +}; + + +/** + * @param {?proto.penumbra.core.asset.v1alpha1.AssetId|undefined} value + * @return {!proto.penumbra.core.asset.v1alpha1.Value} returns this +*/ +proto.penumbra.core.asset.v1alpha1.Value.prototype.setAssetId = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.asset.v1alpha1.Value} returns this + */ +proto.penumbra.core.asset.v1alpha1.Value.prototype.clearAssetId = function() { + return this.setAssetId(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.asset.v1alpha1.Value.prototype.hasAssetId = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.penumbra.core.asset.v1alpha1.ValueView.oneofGroups_ = [[1,2]]; + +/** + * @enum {number} + */ +proto.penumbra.core.asset.v1alpha1.ValueView.ValueViewCase = { + VALUE_VIEW_NOT_SET: 0, + KNOWN_DENOM: 1, + UNKNOWN_DENOM: 2 +}; + +/** + * @return {proto.penumbra.core.asset.v1alpha1.ValueView.ValueViewCase} + */ +proto.penumbra.core.asset.v1alpha1.ValueView.prototype.getValueViewCase = function() { + return /** @type {proto.penumbra.core.asset.v1alpha1.ValueView.ValueViewCase} */(jspb.Message.computeOneofCase(this, proto.penumbra.core.asset.v1alpha1.ValueView.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.asset.v1alpha1.ValueView.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.asset.v1alpha1.ValueView.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.asset.v1alpha1.ValueView} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.asset.v1alpha1.ValueView.toObject = function(includeInstance, msg) { + var f, obj = { + knownDenom: (f = msg.getKnownDenom()) && proto.penumbra.core.asset.v1alpha1.ValueView.KnownDenom.toObject(includeInstance, f), + unknownDenom: (f = msg.getUnknownDenom()) && proto.penumbra.core.asset.v1alpha1.ValueView.UnknownDenom.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.asset.v1alpha1.ValueView} + */ +proto.penumbra.core.asset.v1alpha1.ValueView.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.asset.v1alpha1.ValueView; + return proto.penumbra.core.asset.v1alpha1.ValueView.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.asset.v1alpha1.ValueView} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.asset.v1alpha1.ValueView} + */ +proto.penumbra.core.asset.v1alpha1.ValueView.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.asset.v1alpha1.ValueView.KnownDenom; + reader.readMessage(value,proto.penumbra.core.asset.v1alpha1.ValueView.KnownDenom.deserializeBinaryFromReader); + msg.setKnownDenom(value); + break; + case 2: + var value = new proto.penumbra.core.asset.v1alpha1.ValueView.UnknownDenom; + reader.readMessage(value,proto.penumbra.core.asset.v1alpha1.ValueView.UnknownDenom.deserializeBinaryFromReader); + msg.setUnknownDenom(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.asset.v1alpha1.ValueView.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.asset.v1alpha1.ValueView.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.asset.v1alpha1.ValueView} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.asset.v1alpha1.ValueView.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getKnownDenom(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.asset.v1alpha1.ValueView.KnownDenom.serializeBinaryToWriter + ); + } + f = message.getUnknownDenom(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.penumbra.core.asset.v1alpha1.ValueView.UnknownDenom.serializeBinaryToWriter + ); + } +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.asset.v1alpha1.ValueView.KnownDenom.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.asset.v1alpha1.ValueView.KnownDenom.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.asset.v1alpha1.ValueView.KnownDenom} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.asset.v1alpha1.ValueView.KnownDenom.toObject = function(includeInstance, msg) { + var f, obj = { + amount: (f = msg.getAmount()) && penumbra_core_num_v1alpha1_num_pb.Amount.toObject(includeInstance, f), + denom: (f = msg.getDenom()) && proto.penumbra.core.asset.v1alpha1.DenomMetadata.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.asset.v1alpha1.ValueView.KnownDenom} + */ +proto.penumbra.core.asset.v1alpha1.ValueView.KnownDenom.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.asset.v1alpha1.ValueView.KnownDenom; + return proto.penumbra.core.asset.v1alpha1.ValueView.KnownDenom.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.asset.v1alpha1.ValueView.KnownDenom} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.asset.v1alpha1.ValueView.KnownDenom} + */ +proto.penumbra.core.asset.v1alpha1.ValueView.KnownDenom.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_num_v1alpha1_num_pb.Amount; + reader.readMessage(value,penumbra_core_num_v1alpha1_num_pb.Amount.deserializeBinaryFromReader); + msg.setAmount(value); + break; + case 2: + var value = new proto.penumbra.core.asset.v1alpha1.DenomMetadata; + reader.readMessage(value,proto.penumbra.core.asset.v1alpha1.DenomMetadata.deserializeBinaryFromReader); + msg.setDenom(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.asset.v1alpha1.ValueView.KnownDenom.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.asset.v1alpha1.ValueView.KnownDenom.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.asset.v1alpha1.ValueView.KnownDenom} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.asset.v1alpha1.ValueView.KnownDenom.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getAmount(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_num_v1alpha1_num_pb.Amount.serializeBinaryToWriter + ); + } + f = message.getDenom(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.penumbra.core.asset.v1alpha1.DenomMetadata.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.num.v1alpha1.Amount amount = 1; + * @return {?proto.penumbra.core.num.v1alpha1.Amount} + */ +proto.penumbra.core.asset.v1alpha1.ValueView.KnownDenom.prototype.getAmount = function() { + return /** @type{?proto.penumbra.core.num.v1alpha1.Amount} */ ( + jspb.Message.getWrapperField(this, penumbra_core_num_v1alpha1_num_pb.Amount, 1)); +}; + + +/** + * @param {?proto.penumbra.core.num.v1alpha1.Amount|undefined} value + * @return {!proto.penumbra.core.asset.v1alpha1.ValueView.KnownDenom} returns this +*/ +proto.penumbra.core.asset.v1alpha1.ValueView.KnownDenom.prototype.setAmount = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.asset.v1alpha1.ValueView.KnownDenom} returns this + */ +proto.penumbra.core.asset.v1alpha1.ValueView.KnownDenom.prototype.clearAmount = function() { + return this.setAmount(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.asset.v1alpha1.ValueView.KnownDenom.prototype.hasAmount = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional DenomMetadata denom = 2; + * @return {?proto.penumbra.core.asset.v1alpha1.DenomMetadata} + */ +proto.penumbra.core.asset.v1alpha1.ValueView.KnownDenom.prototype.getDenom = function() { + return /** @type{?proto.penumbra.core.asset.v1alpha1.DenomMetadata} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.asset.v1alpha1.DenomMetadata, 2)); +}; + + +/** + * @param {?proto.penumbra.core.asset.v1alpha1.DenomMetadata|undefined} value + * @return {!proto.penumbra.core.asset.v1alpha1.ValueView.KnownDenom} returns this +*/ +proto.penumbra.core.asset.v1alpha1.ValueView.KnownDenom.prototype.setDenom = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.asset.v1alpha1.ValueView.KnownDenom} returns this + */ +proto.penumbra.core.asset.v1alpha1.ValueView.KnownDenom.prototype.clearDenom = function() { + return this.setDenom(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.asset.v1alpha1.ValueView.KnownDenom.prototype.hasDenom = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.asset.v1alpha1.ValueView.UnknownDenom.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.asset.v1alpha1.ValueView.UnknownDenom.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.asset.v1alpha1.ValueView.UnknownDenom} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.asset.v1alpha1.ValueView.UnknownDenom.toObject = function(includeInstance, msg) { + var f, obj = { + amount: (f = msg.getAmount()) && penumbra_core_num_v1alpha1_num_pb.Amount.toObject(includeInstance, f), + assetId: (f = msg.getAssetId()) && proto.penumbra.core.asset.v1alpha1.AssetId.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.asset.v1alpha1.ValueView.UnknownDenom} + */ +proto.penumbra.core.asset.v1alpha1.ValueView.UnknownDenom.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.asset.v1alpha1.ValueView.UnknownDenom; + return proto.penumbra.core.asset.v1alpha1.ValueView.UnknownDenom.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.asset.v1alpha1.ValueView.UnknownDenom} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.asset.v1alpha1.ValueView.UnknownDenom} + */ +proto.penumbra.core.asset.v1alpha1.ValueView.UnknownDenom.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_num_v1alpha1_num_pb.Amount; + reader.readMessage(value,penumbra_core_num_v1alpha1_num_pb.Amount.deserializeBinaryFromReader); + msg.setAmount(value); + break; + case 2: + var value = new proto.penumbra.core.asset.v1alpha1.AssetId; + reader.readMessage(value,proto.penumbra.core.asset.v1alpha1.AssetId.deserializeBinaryFromReader); + msg.setAssetId(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.asset.v1alpha1.ValueView.UnknownDenom.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.asset.v1alpha1.ValueView.UnknownDenom.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.asset.v1alpha1.ValueView.UnknownDenom} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.asset.v1alpha1.ValueView.UnknownDenom.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getAmount(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_num_v1alpha1_num_pb.Amount.serializeBinaryToWriter + ); + } + f = message.getAssetId(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.penumbra.core.asset.v1alpha1.AssetId.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.num.v1alpha1.Amount amount = 1; + * @return {?proto.penumbra.core.num.v1alpha1.Amount} + */ +proto.penumbra.core.asset.v1alpha1.ValueView.UnknownDenom.prototype.getAmount = function() { + return /** @type{?proto.penumbra.core.num.v1alpha1.Amount} */ ( + jspb.Message.getWrapperField(this, penumbra_core_num_v1alpha1_num_pb.Amount, 1)); +}; + + +/** + * @param {?proto.penumbra.core.num.v1alpha1.Amount|undefined} value + * @return {!proto.penumbra.core.asset.v1alpha1.ValueView.UnknownDenom} returns this +*/ +proto.penumbra.core.asset.v1alpha1.ValueView.UnknownDenom.prototype.setAmount = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.asset.v1alpha1.ValueView.UnknownDenom} returns this + */ +proto.penumbra.core.asset.v1alpha1.ValueView.UnknownDenom.prototype.clearAmount = function() { + return this.setAmount(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.asset.v1alpha1.ValueView.UnknownDenom.prototype.hasAmount = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional AssetId asset_id = 2; + * @return {?proto.penumbra.core.asset.v1alpha1.AssetId} + */ +proto.penumbra.core.asset.v1alpha1.ValueView.UnknownDenom.prototype.getAssetId = function() { + return /** @type{?proto.penumbra.core.asset.v1alpha1.AssetId} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.asset.v1alpha1.AssetId, 2)); +}; + + +/** + * @param {?proto.penumbra.core.asset.v1alpha1.AssetId|undefined} value + * @return {!proto.penumbra.core.asset.v1alpha1.ValueView.UnknownDenom} returns this +*/ +proto.penumbra.core.asset.v1alpha1.ValueView.UnknownDenom.prototype.setAssetId = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.asset.v1alpha1.ValueView.UnknownDenom} returns this + */ +proto.penumbra.core.asset.v1alpha1.ValueView.UnknownDenom.prototype.clearAssetId = function() { + return this.setAssetId(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.asset.v1alpha1.ValueView.UnknownDenom.prototype.hasAssetId = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional KnownDenom known_denom = 1; + * @return {?proto.penumbra.core.asset.v1alpha1.ValueView.KnownDenom} + */ +proto.penumbra.core.asset.v1alpha1.ValueView.prototype.getKnownDenom = function() { + return /** @type{?proto.penumbra.core.asset.v1alpha1.ValueView.KnownDenom} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.asset.v1alpha1.ValueView.KnownDenom, 1)); +}; + + +/** + * @param {?proto.penumbra.core.asset.v1alpha1.ValueView.KnownDenom|undefined} value + * @return {!proto.penumbra.core.asset.v1alpha1.ValueView} returns this +*/ +proto.penumbra.core.asset.v1alpha1.ValueView.prototype.setKnownDenom = function(value) { + return jspb.Message.setOneofWrapperField(this, 1, proto.penumbra.core.asset.v1alpha1.ValueView.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.asset.v1alpha1.ValueView} returns this + */ +proto.penumbra.core.asset.v1alpha1.ValueView.prototype.clearKnownDenom = function() { + return this.setKnownDenom(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.asset.v1alpha1.ValueView.prototype.hasKnownDenom = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional UnknownDenom unknown_denom = 2; + * @return {?proto.penumbra.core.asset.v1alpha1.ValueView.UnknownDenom} + */ +proto.penumbra.core.asset.v1alpha1.ValueView.prototype.getUnknownDenom = function() { + return /** @type{?proto.penumbra.core.asset.v1alpha1.ValueView.UnknownDenom} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.asset.v1alpha1.ValueView.UnknownDenom, 2)); +}; + + +/** + * @param {?proto.penumbra.core.asset.v1alpha1.ValueView.UnknownDenom|undefined} value + * @return {!proto.penumbra.core.asset.v1alpha1.ValueView} returns this +*/ +proto.penumbra.core.asset.v1alpha1.ValueView.prototype.setUnknownDenom = function(value) { + return jspb.Message.setOneofWrapperField(this, 2, proto.penumbra.core.asset.v1alpha1.ValueView.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.asset.v1alpha1.ValueView} returns this + */ +proto.penumbra.core.asset.v1alpha1.ValueView.prototype.clearUnknownDenom = function() { + return this.setUnknownDenom(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.asset.v1alpha1.ValueView.prototype.hasUnknownDenom = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +goog.object.extend(exports, proto.penumbra.core.asset.v1alpha1); diff --git a/src/chains/penumbra/generated/penumbra/core/component/chain/v1alpha1/chain_grpc_pb.d.ts b/src/chains/penumbra/generated/penumbra/core/component/chain/v1alpha1/chain_grpc_pb.d.ts new file mode 100644 index 0000000000..697e09f936 --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/component/chain/v1alpha1/chain_grpc_pb.d.ts @@ -0,0 +1,42 @@ +// package: penumbra.core.component.chain.v1alpha1 +// file: penumbra/core/component/chain/v1alpha1/chain.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as grpc from "grpc"; +import * as penumbra_core_component_chain_v1alpha1_chain_pb from "../../../../../penumbra/core/component/chain/v1alpha1/chain_pb"; +import * as penumbra_core_asset_v1alpha1_asset_pb from "../../../../../penumbra/core/asset/v1alpha1/asset_pb"; + +interface IQueryServiceService extends grpc.ServiceDefinition { + epochByHeight: IQueryServiceService_IEpochByHeight; +} + +interface IQueryServiceService_IEpochByHeight extends grpc.MethodDefinition { + path: "/penumbra.core.component.chain.v1alpha1.QueryService/EpochByHeight"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} + +export const QueryServiceService: IQueryServiceService; + +export interface IQueryServiceServer { + epochByHeight: grpc.handleUnaryCall; +} + +export interface IQueryServiceClient { + epochByHeight(request: penumbra_core_component_chain_v1alpha1_chain_pb.EpochByHeightRequest, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_chain_v1alpha1_chain_pb.EpochByHeightResponse) => void): grpc.ClientUnaryCall; + epochByHeight(request: penumbra_core_component_chain_v1alpha1_chain_pb.EpochByHeightRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_chain_v1alpha1_chain_pb.EpochByHeightResponse) => void): grpc.ClientUnaryCall; + epochByHeight(request: penumbra_core_component_chain_v1alpha1_chain_pb.EpochByHeightRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_chain_v1alpha1_chain_pb.EpochByHeightResponse) => void): grpc.ClientUnaryCall; +} + +export class QueryServiceClient extends grpc.Client implements IQueryServiceClient { + constructor(address: string, credentials: grpc.ChannelCredentials, options?: object); + public epochByHeight(request: penumbra_core_component_chain_v1alpha1_chain_pb.EpochByHeightRequest, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_chain_v1alpha1_chain_pb.EpochByHeightResponse) => void): grpc.ClientUnaryCall; + public epochByHeight(request: penumbra_core_component_chain_v1alpha1_chain_pb.EpochByHeightRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_chain_v1alpha1_chain_pb.EpochByHeightResponse) => void): grpc.ClientUnaryCall; + public epochByHeight(request: penumbra_core_component_chain_v1alpha1_chain_pb.EpochByHeightRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_chain_v1alpha1_chain_pb.EpochByHeightResponse) => void): grpc.ClientUnaryCall; +} diff --git a/src/chains/penumbra/generated/penumbra/core/component/chain/v1alpha1/chain_grpc_pb.js b/src/chains/penumbra/generated/penumbra/core/component/chain/v1alpha1/chain_grpc_pb.js new file mode 100644 index 0000000000..9d81ad80d8 --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/component/chain/v1alpha1/chain_grpc_pb.js @@ -0,0 +1,47 @@ +// GENERATED CODE -- DO NOT EDIT! + +'use strict'; +var grpc = require('@grpc/grpc-js'); +var penumbra_core_component_chain_v1alpha1_chain_pb = require('../../../../../penumbra/core/component/chain/v1alpha1/chain_pb.js'); +var penumbra_core_asset_v1alpha1_asset_pb = require('../../../../../penumbra/core/asset/v1alpha1/asset_pb.js'); + +function serialize_penumbra_core_component_chain_v1alpha1_EpochByHeightRequest(arg) { + if (!(arg instanceof penumbra_core_component_chain_v1alpha1_chain_pb.EpochByHeightRequest)) { + throw new Error('Expected argument of type penumbra.core.component.chain.v1alpha1.EpochByHeightRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_core_component_chain_v1alpha1_EpochByHeightRequest(buffer_arg) { + return penumbra_core_component_chain_v1alpha1_chain_pb.EpochByHeightRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_core_component_chain_v1alpha1_EpochByHeightResponse(arg) { + if (!(arg instanceof penumbra_core_component_chain_v1alpha1_chain_pb.EpochByHeightResponse)) { + throw new Error('Expected argument of type penumbra.core.component.chain.v1alpha1.EpochByHeightResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_core_component_chain_v1alpha1_EpochByHeightResponse(buffer_arg) { + return penumbra_core_component_chain_v1alpha1_chain_pb.EpochByHeightResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + + +// Query operations for the chain component. +var QueryServiceService = exports.QueryServiceService = { + // TODO: move to SCT cf sct/src/component/view.rs:9 "make epoch management the responsibility of this component" +epochByHeight: { + path: '/penumbra.core.component.chain.v1alpha1.QueryService/EpochByHeight', + requestStream: false, + responseStream: false, + requestType: penumbra_core_component_chain_v1alpha1_chain_pb.EpochByHeightRequest, + responseType: penumbra_core_component_chain_v1alpha1_chain_pb.EpochByHeightResponse, + requestSerialize: serialize_penumbra_core_component_chain_v1alpha1_EpochByHeightRequest, + requestDeserialize: deserialize_penumbra_core_component_chain_v1alpha1_EpochByHeightRequest, + responseSerialize: serialize_penumbra_core_component_chain_v1alpha1_EpochByHeightResponse, + responseDeserialize: deserialize_penumbra_core_component_chain_v1alpha1_EpochByHeightResponse, + }, +}; + +exports.QueryServiceClient = grpc.makeGenericClientConstructor(QueryServiceService); diff --git a/src/chains/penumbra/generated/penumbra/core/component/chain/v1alpha1/chain_pb.d.ts b/src/chains/penumbra/generated/penumbra/core/component/chain/v1alpha1/chain_pb.d.ts new file mode 100644 index 0000000000..d6c2d0ed4c --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/component/chain/v1alpha1/chain_pb.d.ts @@ -0,0 +1,258 @@ +// package: penumbra.core.component.chain.v1alpha1 +// file: penumbra/core/component/chain/v1alpha1/chain.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as penumbra_core_asset_v1alpha1_asset_pb from "../../../../../penumbra/core/asset/v1alpha1/asset_pb"; + +export class EffectHash extends jspb.Message { + getInner(): Uint8Array | string; + getInner_asU8(): Uint8Array; + getInner_asB64(): string; + setInner(value: Uint8Array | string): EffectHash; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): EffectHash.AsObject; + static toObject(includeInstance: boolean, msg: EffectHash): EffectHash.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: EffectHash, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): EffectHash; + static deserializeBinaryFromReader(message: EffectHash, reader: jspb.BinaryReader): EffectHash; +} + +export namespace EffectHash { + export type AsObject = { + inner: Uint8Array | string, + } +} + +export class ChainParameters extends jspb.Message { + getChainId(): string; + setChainId(value: string): ChainParameters; + getEpochDuration(): number; + setEpochDuration(value: number): ChainParameters; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ChainParameters.AsObject; + static toObject(includeInstance: boolean, msg: ChainParameters): ChainParameters.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ChainParameters, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ChainParameters; + static deserializeBinaryFromReader(message: ChainParameters, reader: jspb.BinaryReader): ChainParameters; +} + +export namespace ChainParameters { + export type AsObject = { + chainId: string, + epochDuration: number, + } +} + +export class Ratio extends jspb.Message { + getNumerator(): number; + setNumerator(value: number): Ratio; + getDenominator(): number; + setDenominator(value: number): Ratio; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Ratio.AsObject; + static toObject(includeInstance: boolean, msg: Ratio): Ratio.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Ratio, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Ratio; + static deserializeBinaryFromReader(message: Ratio, reader: jspb.BinaryReader): Ratio; +} + +export namespace Ratio { + export type AsObject = { + numerator: number, + denominator: number, + } +} + +export class FmdParameters extends jspb.Message { + getPrecisionBits(): number; + setPrecisionBits(value: number): FmdParameters; + getAsOfBlockHeight(): number; + setAsOfBlockHeight(value: number): FmdParameters; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): FmdParameters.AsObject; + static toObject(includeInstance: boolean, msg: FmdParameters): FmdParameters.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: FmdParameters, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): FmdParameters; + static deserializeBinaryFromReader(message: FmdParameters, reader: jspb.BinaryReader): FmdParameters; +} + +export namespace FmdParameters { + export type AsObject = { + precisionBits: number, + asOfBlockHeight: number, + } +} + +export class KnownAssets extends jspb.Message { + clearAssetsList(): void; + getAssetsList(): Array; + setAssetsList(value: Array): KnownAssets; + addAssets(value?: penumbra_core_asset_v1alpha1_asset_pb.DenomMetadata, index?: number): penumbra_core_asset_v1alpha1_asset_pb.DenomMetadata; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): KnownAssets.AsObject; + static toObject(includeInstance: boolean, msg: KnownAssets): KnownAssets.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: KnownAssets, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): KnownAssets; + static deserializeBinaryFromReader(message: KnownAssets, reader: jspb.BinaryReader): KnownAssets; +} + +export namespace KnownAssets { + export type AsObject = { + assetsList: Array, + } +} + +export class NoteSource extends jspb.Message { + getInner(): Uint8Array | string; + getInner_asU8(): Uint8Array; + getInner_asB64(): string; + setInner(value: Uint8Array | string): NoteSource; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): NoteSource.AsObject; + static toObject(includeInstance: boolean, msg: NoteSource): NoteSource.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: NoteSource, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): NoteSource; + static deserializeBinaryFromReader(message: NoteSource, reader: jspb.BinaryReader): NoteSource; +} + +export namespace NoteSource { + export type AsObject = { + inner: Uint8Array | string, + } +} + +export class SpendInfo extends jspb.Message { + + hasNoteSource(): boolean; + clearNoteSource(): void; + getNoteSource(): NoteSource | undefined; + setNoteSource(value?: NoteSource): SpendInfo; + getSpendHeight(): number; + setSpendHeight(value: number): SpendInfo; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SpendInfo.AsObject; + static toObject(includeInstance: boolean, msg: SpendInfo): SpendInfo.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SpendInfo, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SpendInfo; + static deserializeBinaryFromReader(message: SpendInfo, reader: jspb.BinaryReader): SpendInfo; +} + +export namespace SpendInfo { + export type AsObject = { + noteSource?: NoteSource.AsObject, + spendHeight: number, + } +} + +export class GenesisContent extends jspb.Message { + + hasChainParams(): boolean; + clearChainParams(): void; + getChainParams(): ChainParameters | undefined; + setChainParams(value?: ChainParameters): GenesisContent; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GenesisContent.AsObject; + static toObject(includeInstance: boolean, msg: GenesisContent): GenesisContent.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: GenesisContent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GenesisContent; + static deserializeBinaryFromReader(message: GenesisContent, reader: jspb.BinaryReader): GenesisContent; +} + +export namespace GenesisContent { + export type AsObject = { + chainParams?: ChainParameters.AsObject, + } +} + +export class Epoch extends jspb.Message { + getIndex(): number; + setIndex(value: number): Epoch; + getStartHeight(): number; + setStartHeight(value: number): Epoch; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Epoch.AsObject; + static toObject(includeInstance: boolean, msg: Epoch): Epoch.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Epoch, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Epoch; + static deserializeBinaryFromReader(message: Epoch, reader: jspb.BinaryReader): Epoch; +} + +export namespace Epoch { + export type AsObject = { + index: number, + startHeight: number, + } +} + +export class EpochByHeightRequest extends jspb.Message { + getHeight(): number; + setHeight(value: number): EpochByHeightRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): EpochByHeightRequest.AsObject; + static toObject(includeInstance: boolean, msg: EpochByHeightRequest): EpochByHeightRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: EpochByHeightRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): EpochByHeightRequest; + static deserializeBinaryFromReader(message: EpochByHeightRequest, reader: jspb.BinaryReader): EpochByHeightRequest; +} + +export namespace EpochByHeightRequest { + export type AsObject = { + height: number, + } +} + +export class EpochByHeightResponse extends jspb.Message { + + hasEpoch(): boolean; + clearEpoch(): void; + getEpoch(): Epoch | undefined; + setEpoch(value?: Epoch): EpochByHeightResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): EpochByHeightResponse.AsObject; + static toObject(includeInstance: boolean, msg: EpochByHeightResponse): EpochByHeightResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: EpochByHeightResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): EpochByHeightResponse; + static deserializeBinaryFromReader(message: EpochByHeightResponse, reader: jspb.BinaryReader): EpochByHeightResponse; +} + +export namespace EpochByHeightResponse { + export type AsObject = { + epoch?: Epoch.AsObject, + } +} diff --git a/src/chains/penumbra/generated/penumbra/core/component/chain/v1alpha1/chain_pb.js b/src/chains/penumbra/generated/penumbra/core/component/chain/v1alpha1/chain_pb.js new file mode 100644 index 0000000000..03fad9d208 --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/component/chain/v1alpha1/chain_pb.js @@ -0,0 +1,1989 @@ +// source: penumbra/core/component/chain/v1alpha1/chain.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = (function() { + if (this) { return this; } + if (typeof window !== 'undefined') { return window; } + if (typeof global !== 'undefined') { return global; } + if (typeof self !== 'undefined') { return self; } + return Function('return this')(); +}.call(null)); + +var penumbra_core_asset_v1alpha1_asset_pb = require('../../../../../penumbra/core/asset/v1alpha1/asset_pb.js'); +goog.object.extend(proto, penumbra_core_asset_v1alpha1_asset_pb); +goog.exportSymbol('proto.penumbra.core.component.chain.v1alpha1.ChainParameters', null, global); +goog.exportSymbol('proto.penumbra.core.component.chain.v1alpha1.EffectHash', null, global); +goog.exportSymbol('proto.penumbra.core.component.chain.v1alpha1.Epoch', null, global); +goog.exportSymbol('proto.penumbra.core.component.chain.v1alpha1.EpochByHeightRequest', null, global); +goog.exportSymbol('proto.penumbra.core.component.chain.v1alpha1.EpochByHeightResponse', null, global); +goog.exportSymbol('proto.penumbra.core.component.chain.v1alpha1.FmdParameters', null, global); +goog.exportSymbol('proto.penumbra.core.component.chain.v1alpha1.GenesisContent', null, global); +goog.exportSymbol('proto.penumbra.core.component.chain.v1alpha1.KnownAssets', null, global); +goog.exportSymbol('proto.penumbra.core.component.chain.v1alpha1.NoteSource', null, global); +goog.exportSymbol('proto.penumbra.core.component.chain.v1alpha1.Ratio', null, global); +goog.exportSymbol('proto.penumbra.core.component.chain.v1alpha1.SpendInfo', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.chain.v1alpha1.EffectHash = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.chain.v1alpha1.EffectHash, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.chain.v1alpha1.EffectHash.displayName = 'proto.penumbra.core.component.chain.v1alpha1.EffectHash'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.chain.v1alpha1.ChainParameters = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.chain.v1alpha1.ChainParameters, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.chain.v1alpha1.ChainParameters.displayName = 'proto.penumbra.core.component.chain.v1alpha1.ChainParameters'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.chain.v1alpha1.Ratio = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.chain.v1alpha1.Ratio, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.chain.v1alpha1.Ratio.displayName = 'proto.penumbra.core.component.chain.v1alpha1.Ratio'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.chain.v1alpha1.FmdParameters = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.chain.v1alpha1.FmdParameters, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.chain.v1alpha1.FmdParameters.displayName = 'proto.penumbra.core.component.chain.v1alpha1.FmdParameters'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.chain.v1alpha1.KnownAssets = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.penumbra.core.component.chain.v1alpha1.KnownAssets.repeatedFields_, null); +}; +goog.inherits(proto.penumbra.core.component.chain.v1alpha1.KnownAssets, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.chain.v1alpha1.KnownAssets.displayName = 'proto.penumbra.core.component.chain.v1alpha1.KnownAssets'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.chain.v1alpha1.NoteSource = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.chain.v1alpha1.NoteSource, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.chain.v1alpha1.NoteSource.displayName = 'proto.penumbra.core.component.chain.v1alpha1.NoteSource'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.chain.v1alpha1.SpendInfo = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.chain.v1alpha1.SpendInfo, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.chain.v1alpha1.SpendInfo.displayName = 'proto.penumbra.core.component.chain.v1alpha1.SpendInfo'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.chain.v1alpha1.GenesisContent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.chain.v1alpha1.GenesisContent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.chain.v1alpha1.GenesisContent.displayName = 'proto.penumbra.core.component.chain.v1alpha1.GenesisContent'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.chain.v1alpha1.Epoch = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.chain.v1alpha1.Epoch, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.chain.v1alpha1.Epoch.displayName = 'proto.penumbra.core.component.chain.v1alpha1.Epoch'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.chain.v1alpha1.EpochByHeightRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.chain.v1alpha1.EpochByHeightRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.chain.v1alpha1.EpochByHeightRequest.displayName = 'proto.penumbra.core.component.chain.v1alpha1.EpochByHeightRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.chain.v1alpha1.EpochByHeightResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.chain.v1alpha1.EpochByHeightResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.chain.v1alpha1.EpochByHeightResponse.displayName = 'proto.penumbra.core.component.chain.v1alpha1.EpochByHeightResponse'; +} + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.chain.v1alpha1.EffectHash.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.chain.v1alpha1.EffectHash.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.chain.v1alpha1.EffectHash} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.chain.v1alpha1.EffectHash.toObject = function(includeInstance, msg) { + var f, obj = { + inner: msg.getInner_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.chain.v1alpha1.EffectHash} + */ +proto.penumbra.core.component.chain.v1alpha1.EffectHash.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.chain.v1alpha1.EffectHash; + return proto.penumbra.core.component.chain.v1alpha1.EffectHash.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.chain.v1alpha1.EffectHash} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.chain.v1alpha1.EffectHash} + */ +proto.penumbra.core.component.chain.v1alpha1.EffectHash.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setInner(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.chain.v1alpha1.EffectHash.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.chain.v1alpha1.EffectHash.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.chain.v1alpha1.EffectHash} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.chain.v1alpha1.EffectHash.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInner_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } +}; + + +/** + * optional bytes inner = 1; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.component.chain.v1alpha1.EffectHash.prototype.getInner = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes inner = 1; + * This is a type-conversion wrapper around `getInner()` + * @return {string} + */ +proto.penumbra.core.component.chain.v1alpha1.EffectHash.prototype.getInner_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getInner())); +}; + + +/** + * optional bytes inner = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getInner()` + * @return {!Uint8Array} + */ +proto.penumbra.core.component.chain.v1alpha1.EffectHash.prototype.getInner_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getInner())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.component.chain.v1alpha1.EffectHash} returns this + */ +proto.penumbra.core.component.chain.v1alpha1.EffectHash.prototype.setInner = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.chain.v1alpha1.ChainParameters.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.chain.v1alpha1.ChainParameters.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.chain.v1alpha1.ChainParameters} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.chain.v1alpha1.ChainParameters.toObject = function(includeInstance, msg) { + var f, obj = { + chainId: jspb.Message.getFieldWithDefault(msg, 1, ""), + epochDuration: jspb.Message.getFieldWithDefault(msg, 2, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.chain.v1alpha1.ChainParameters} + */ +proto.penumbra.core.component.chain.v1alpha1.ChainParameters.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.chain.v1alpha1.ChainParameters; + return proto.penumbra.core.component.chain.v1alpha1.ChainParameters.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.chain.v1alpha1.ChainParameters} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.chain.v1alpha1.ChainParameters} + */ +proto.penumbra.core.component.chain.v1alpha1.ChainParameters.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setChainId(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint64()); + msg.setEpochDuration(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.chain.v1alpha1.ChainParameters.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.chain.v1alpha1.ChainParameters.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.chain.v1alpha1.ChainParameters} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.chain.v1alpha1.ChainParameters.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getChainId(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getEpochDuration(); + if (f !== 0) { + writer.writeUint64( + 2, + f + ); + } +}; + + +/** + * optional string chain_id = 1; + * @return {string} + */ +proto.penumbra.core.component.chain.v1alpha1.ChainParameters.prototype.getChainId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.component.chain.v1alpha1.ChainParameters} returns this + */ +proto.penumbra.core.component.chain.v1alpha1.ChainParameters.prototype.setChainId = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional uint64 epoch_duration = 2; + * @return {number} + */ +proto.penumbra.core.component.chain.v1alpha1.ChainParameters.prototype.getEpochDuration = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.chain.v1alpha1.ChainParameters} returns this + */ +proto.penumbra.core.component.chain.v1alpha1.ChainParameters.prototype.setEpochDuration = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.chain.v1alpha1.Ratio.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.chain.v1alpha1.Ratio.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.chain.v1alpha1.Ratio} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.chain.v1alpha1.Ratio.toObject = function(includeInstance, msg) { + var f, obj = { + numerator: jspb.Message.getFieldWithDefault(msg, 1, 0), + denominator: jspb.Message.getFieldWithDefault(msg, 2, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.chain.v1alpha1.Ratio} + */ +proto.penumbra.core.component.chain.v1alpha1.Ratio.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.chain.v1alpha1.Ratio; + return proto.penumbra.core.component.chain.v1alpha1.Ratio.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.chain.v1alpha1.Ratio} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.chain.v1alpha1.Ratio} + */ +proto.penumbra.core.component.chain.v1alpha1.Ratio.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setNumerator(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint64()); + msg.setDenominator(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.chain.v1alpha1.Ratio.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.chain.v1alpha1.Ratio.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.chain.v1alpha1.Ratio} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.chain.v1alpha1.Ratio.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getNumerator(); + if (f !== 0) { + writer.writeUint64( + 1, + f + ); + } + f = message.getDenominator(); + if (f !== 0) { + writer.writeUint64( + 2, + f + ); + } +}; + + +/** + * optional uint64 numerator = 1; + * @return {number} + */ +proto.penumbra.core.component.chain.v1alpha1.Ratio.prototype.getNumerator = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.chain.v1alpha1.Ratio} returns this + */ +proto.penumbra.core.component.chain.v1alpha1.Ratio.prototype.setNumerator = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional uint64 denominator = 2; + * @return {number} + */ +proto.penumbra.core.component.chain.v1alpha1.Ratio.prototype.getDenominator = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.chain.v1alpha1.Ratio} returns this + */ +proto.penumbra.core.component.chain.v1alpha1.Ratio.prototype.setDenominator = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.chain.v1alpha1.FmdParameters.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.chain.v1alpha1.FmdParameters.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.chain.v1alpha1.FmdParameters} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.chain.v1alpha1.FmdParameters.toObject = function(includeInstance, msg) { + var f, obj = { + precisionBits: jspb.Message.getFieldWithDefault(msg, 1, 0), + asOfBlockHeight: jspb.Message.getFieldWithDefault(msg, 2, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.chain.v1alpha1.FmdParameters} + */ +proto.penumbra.core.component.chain.v1alpha1.FmdParameters.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.chain.v1alpha1.FmdParameters; + return proto.penumbra.core.component.chain.v1alpha1.FmdParameters.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.chain.v1alpha1.FmdParameters} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.chain.v1alpha1.FmdParameters} + */ +proto.penumbra.core.component.chain.v1alpha1.FmdParameters.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readUint32()); + msg.setPrecisionBits(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint64()); + msg.setAsOfBlockHeight(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.chain.v1alpha1.FmdParameters.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.chain.v1alpha1.FmdParameters.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.chain.v1alpha1.FmdParameters} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.chain.v1alpha1.FmdParameters.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getPrecisionBits(); + if (f !== 0) { + writer.writeUint32( + 1, + f + ); + } + f = message.getAsOfBlockHeight(); + if (f !== 0) { + writer.writeUint64( + 2, + f + ); + } +}; + + +/** + * optional uint32 precision_bits = 1; + * @return {number} + */ +proto.penumbra.core.component.chain.v1alpha1.FmdParameters.prototype.getPrecisionBits = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.chain.v1alpha1.FmdParameters} returns this + */ +proto.penumbra.core.component.chain.v1alpha1.FmdParameters.prototype.setPrecisionBits = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional uint64 as_of_block_height = 2; + * @return {number} + */ +proto.penumbra.core.component.chain.v1alpha1.FmdParameters.prototype.getAsOfBlockHeight = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.chain.v1alpha1.FmdParameters} returns this + */ +proto.penumbra.core.component.chain.v1alpha1.FmdParameters.prototype.setAsOfBlockHeight = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.penumbra.core.component.chain.v1alpha1.KnownAssets.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.chain.v1alpha1.KnownAssets.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.chain.v1alpha1.KnownAssets.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.chain.v1alpha1.KnownAssets} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.chain.v1alpha1.KnownAssets.toObject = function(includeInstance, msg) { + var f, obj = { + assetsList: jspb.Message.toObjectList(msg.getAssetsList(), + penumbra_core_asset_v1alpha1_asset_pb.DenomMetadata.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.chain.v1alpha1.KnownAssets} + */ +proto.penumbra.core.component.chain.v1alpha1.KnownAssets.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.chain.v1alpha1.KnownAssets; + return proto.penumbra.core.component.chain.v1alpha1.KnownAssets.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.chain.v1alpha1.KnownAssets} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.chain.v1alpha1.KnownAssets} + */ +proto.penumbra.core.component.chain.v1alpha1.KnownAssets.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_asset_v1alpha1_asset_pb.DenomMetadata; + reader.readMessage(value,penumbra_core_asset_v1alpha1_asset_pb.DenomMetadata.deserializeBinaryFromReader); + msg.addAssets(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.chain.v1alpha1.KnownAssets.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.chain.v1alpha1.KnownAssets.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.chain.v1alpha1.KnownAssets} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.chain.v1alpha1.KnownAssets.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getAssetsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + penumbra_core_asset_v1alpha1_asset_pb.DenomMetadata.serializeBinaryToWriter + ); + } +}; + + +/** + * repeated penumbra.core.asset.v1alpha1.DenomMetadata assets = 1; + * @return {!Array} + */ +proto.penumbra.core.component.chain.v1alpha1.KnownAssets.prototype.getAssetsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, penumbra_core_asset_v1alpha1_asset_pb.DenomMetadata, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.penumbra.core.component.chain.v1alpha1.KnownAssets} returns this +*/ +proto.penumbra.core.component.chain.v1alpha1.KnownAssets.prototype.setAssetsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.penumbra.core.asset.v1alpha1.DenomMetadata=} opt_value + * @param {number=} opt_index + * @return {!proto.penumbra.core.asset.v1alpha1.DenomMetadata} + */ +proto.penumbra.core.component.chain.v1alpha1.KnownAssets.prototype.addAssets = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.penumbra.core.asset.v1alpha1.DenomMetadata, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.penumbra.core.component.chain.v1alpha1.KnownAssets} returns this + */ +proto.penumbra.core.component.chain.v1alpha1.KnownAssets.prototype.clearAssetsList = function() { + return this.setAssetsList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.chain.v1alpha1.NoteSource.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.chain.v1alpha1.NoteSource.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.chain.v1alpha1.NoteSource} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.chain.v1alpha1.NoteSource.toObject = function(includeInstance, msg) { + var f, obj = { + inner: msg.getInner_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.chain.v1alpha1.NoteSource} + */ +proto.penumbra.core.component.chain.v1alpha1.NoteSource.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.chain.v1alpha1.NoteSource; + return proto.penumbra.core.component.chain.v1alpha1.NoteSource.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.chain.v1alpha1.NoteSource} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.chain.v1alpha1.NoteSource} + */ +proto.penumbra.core.component.chain.v1alpha1.NoteSource.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setInner(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.chain.v1alpha1.NoteSource.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.chain.v1alpha1.NoteSource.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.chain.v1alpha1.NoteSource} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.chain.v1alpha1.NoteSource.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInner_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } +}; + + +/** + * optional bytes inner = 1; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.component.chain.v1alpha1.NoteSource.prototype.getInner = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes inner = 1; + * This is a type-conversion wrapper around `getInner()` + * @return {string} + */ +proto.penumbra.core.component.chain.v1alpha1.NoteSource.prototype.getInner_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getInner())); +}; + + +/** + * optional bytes inner = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getInner()` + * @return {!Uint8Array} + */ +proto.penumbra.core.component.chain.v1alpha1.NoteSource.prototype.getInner_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getInner())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.component.chain.v1alpha1.NoteSource} returns this + */ +proto.penumbra.core.component.chain.v1alpha1.NoteSource.prototype.setInner = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.chain.v1alpha1.SpendInfo.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.chain.v1alpha1.SpendInfo.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.chain.v1alpha1.SpendInfo} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.chain.v1alpha1.SpendInfo.toObject = function(includeInstance, msg) { + var f, obj = { + noteSource: (f = msg.getNoteSource()) && proto.penumbra.core.component.chain.v1alpha1.NoteSource.toObject(includeInstance, f), + spendHeight: jspb.Message.getFieldWithDefault(msg, 2, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.chain.v1alpha1.SpendInfo} + */ +proto.penumbra.core.component.chain.v1alpha1.SpendInfo.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.chain.v1alpha1.SpendInfo; + return proto.penumbra.core.component.chain.v1alpha1.SpendInfo.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.chain.v1alpha1.SpendInfo} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.chain.v1alpha1.SpendInfo} + */ +proto.penumbra.core.component.chain.v1alpha1.SpendInfo.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.chain.v1alpha1.NoteSource; + reader.readMessage(value,proto.penumbra.core.component.chain.v1alpha1.NoteSource.deserializeBinaryFromReader); + msg.setNoteSource(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint64()); + msg.setSpendHeight(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.chain.v1alpha1.SpendInfo.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.chain.v1alpha1.SpendInfo.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.chain.v1alpha1.SpendInfo} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.chain.v1alpha1.SpendInfo.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getNoteSource(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.chain.v1alpha1.NoteSource.serializeBinaryToWriter + ); + } + f = message.getSpendHeight(); + if (f !== 0) { + writer.writeUint64( + 2, + f + ); + } +}; + + +/** + * optional NoteSource note_source = 1; + * @return {?proto.penumbra.core.component.chain.v1alpha1.NoteSource} + */ +proto.penumbra.core.component.chain.v1alpha1.SpendInfo.prototype.getNoteSource = function() { + return /** @type{?proto.penumbra.core.component.chain.v1alpha1.NoteSource} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.chain.v1alpha1.NoteSource, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.chain.v1alpha1.NoteSource|undefined} value + * @return {!proto.penumbra.core.component.chain.v1alpha1.SpendInfo} returns this +*/ +proto.penumbra.core.component.chain.v1alpha1.SpendInfo.prototype.setNoteSource = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.chain.v1alpha1.SpendInfo} returns this + */ +proto.penumbra.core.component.chain.v1alpha1.SpendInfo.prototype.clearNoteSource = function() { + return this.setNoteSource(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.chain.v1alpha1.SpendInfo.prototype.hasNoteSource = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional uint64 spend_height = 2; + * @return {number} + */ +proto.penumbra.core.component.chain.v1alpha1.SpendInfo.prototype.getSpendHeight = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.chain.v1alpha1.SpendInfo} returns this + */ +proto.penumbra.core.component.chain.v1alpha1.SpendInfo.prototype.setSpendHeight = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.chain.v1alpha1.GenesisContent.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.chain.v1alpha1.GenesisContent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.chain.v1alpha1.GenesisContent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.chain.v1alpha1.GenesisContent.toObject = function(includeInstance, msg) { + var f, obj = { + chainParams: (f = msg.getChainParams()) && proto.penumbra.core.component.chain.v1alpha1.ChainParameters.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.chain.v1alpha1.GenesisContent} + */ +proto.penumbra.core.component.chain.v1alpha1.GenesisContent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.chain.v1alpha1.GenesisContent; + return proto.penumbra.core.component.chain.v1alpha1.GenesisContent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.chain.v1alpha1.GenesisContent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.chain.v1alpha1.GenesisContent} + */ +proto.penumbra.core.component.chain.v1alpha1.GenesisContent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.chain.v1alpha1.ChainParameters; + reader.readMessage(value,proto.penumbra.core.component.chain.v1alpha1.ChainParameters.deserializeBinaryFromReader); + msg.setChainParams(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.chain.v1alpha1.GenesisContent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.chain.v1alpha1.GenesisContent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.chain.v1alpha1.GenesisContent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.chain.v1alpha1.GenesisContent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getChainParams(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.chain.v1alpha1.ChainParameters.serializeBinaryToWriter + ); + } +}; + + +/** + * optional ChainParameters chain_params = 1; + * @return {?proto.penumbra.core.component.chain.v1alpha1.ChainParameters} + */ +proto.penumbra.core.component.chain.v1alpha1.GenesisContent.prototype.getChainParams = function() { + return /** @type{?proto.penumbra.core.component.chain.v1alpha1.ChainParameters} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.chain.v1alpha1.ChainParameters, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.chain.v1alpha1.ChainParameters|undefined} value + * @return {!proto.penumbra.core.component.chain.v1alpha1.GenesisContent} returns this +*/ +proto.penumbra.core.component.chain.v1alpha1.GenesisContent.prototype.setChainParams = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.chain.v1alpha1.GenesisContent} returns this + */ +proto.penumbra.core.component.chain.v1alpha1.GenesisContent.prototype.clearChainParams = function() { + return this.setChainParams(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.chain.v1alpha1.GenesisContent.prototype.hasChainParams = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.chain.v1alpha1.Epoch.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.chain.v1alpha1.Epoch.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.chain.v1alpha1.Epoch} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.chain.v1alpha1.Epoch.toObject = function(includeInstance, msg) { + var f, obj = { + index: jspb.Message.getFieldWithDefault(msg, 1, 0), + startHeight: jspb.Message.getFieldWithDefault(msg, 2, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.chain.v1alpha1.Epoch} + */ +proto.penumbra.core.component.chain.v1alpha1.Epoch.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.chain.v1alpha1.Epoch; + return proto.penumbra.core.component.chain.v1alpha1.Epoch.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.chain.v1alpha1.Epoch} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.chain.v1alpha1.Epoch} + */ +proto.penumbra.core.component.chain.v1alpha1.Epoch.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setIndex(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint64()); + msg.setStartHeight(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.chain.v1alpha1.Epoch.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.chain.v1alpha1.Epoch.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.chain.v1alpha1.Epoch} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.chain.v1alpha1.Epoch.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getIndex(); + if (f !== 0) { + writer.writeUint64( + 1, + f + ); + } + f = message.getStartHeight(); + if (f !== 0) { + writer.writeUint64( + 2, + f + ); + } +}; + + +/** + * optional uint64 index = 1; + * @return {number} + */ +proto.penumbra.core.component.chain.v1alpha1.Epoch.prototype.getIndex = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.chain.v1alpha1.Epoch} returns this + */ +proto.penumbra.core.component.chain.v1alpha1.Epoch.prototype.setIndex = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional uint64 start_height = 2; + * @return {number} + */ +proto.penumbra.core.component.chain.v1alpha1.Epoch.prototype.getStartHeight = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.chain.v1alpha1.Epoch} returns this + */ +proto.penumbra.core.component.chain.v1alpha1.Epoch.prototype.setStartHeight = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.chain.v1alpha1.EpochByHeightRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.chain.v1alpha1.EpochByHeightRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.chain.v1alpha1.EpochByHeightRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.chain.v1alpha1.EpochByHeightRequest.toObject = function(includeInstance, msg) { + var f, obj = { + height: jspb.Message.getFieldWithDefault(msg, 1, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.chain.v1alpha1.EpochByHeightRequest} + */ +proto.penumbra.core.component.chain.v1alpha1.EpochByHeightRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.chain.v1alpha1.EpochByHeightRequest; + return proto.penumbra.core.component.chain.v1alpha1.EpochByHeightRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.chain.v1alpha1.EpochByHeightRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.chain.v1alpha1.EpochByHeightRequest} + */ +proto.penumbra.core.component.chain.v1alpha1.EpochByHeightRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setHeight(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.chain.v1alpha1.EpochByHeightRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.chain.v1alpha1.EpochByHeightRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.chain.v1alpha1.EpochByHeightRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.chain.v1alpha1.EpochByHeightRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getHeight(); + if (f !== 0) { + writer.writeUint64( + 1, + f + ); + } +}; + + +/** + * optional uint64 height = 1; + * @return {number} + */ +proto.penumbra.core.component.chain.v1alpha1.EpochByHeightRequest.prototype.getHeight = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.chain.v1alpha1.EpochByHeightRequest} returns this + */ +proto.penumbra.core.component.chain.v1alpha1.EpochByHeightRequest.prototype.setHeight = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.chain.v1alpha1.EpochByHeightResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.chain.v1alpha1.EpochByHeightResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.chain.v1alpha1.EpochByHeightResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.chain.v1alpha1.EpochByHeightResponse.toObject = function(includeInstance, msg) { + var f, obj = { + epoch: (f = msg.getEpoch()) && proto.penumbra.core.component.chain.v1alpha1.Epoch.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.chain.v1alpha1.EpochByHeightResponse} + */ +proto.penumbra.core.component.chain.v1alpha1.EpochByHeightResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.chain.v1alpha1.EpochByHeightResponse; + return proto.penumbra.core.component.chain.v1alpha1.EpochByHeightResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.chain.v1alpha1.EpochByHeightResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.chain.v1alpha1.EpochByHeightResponse} + */ +proto.penumbra.core.component.chain.v1alpha1.EpochByHeightResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.chain.v1alpha1.Epoch; + reader.readMessage(value,proto.penumbra.core.component.chain.v1alpha1.Epoch.deserializeBinaryFromReader); + msg.setEpoch(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.chain.v1alpha1.EpochByHeightResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.chain.v1alpha1.EpochByHeightResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.chain.v1alpha1.EpochByHeightResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.chain.v1alpha1.EpochByHeightResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getEpoch(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.chain.v1alpha1.Epoch.serializeBinaryToWriter + ); + } +}; + + +/** + * optional Epoch epoch = 1; + * @return {?proto.penumbra.core.component.chain.v1alpha1.Epoch} + */ +proto.penumbra.core.component.chain.v1alpha1.EpochByHeightResponse.prototype.getEpoch = function() { + return /** @type{?proto.penumbra.core.component.chain.v1alpha1.Epoch} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.chain.v1alpha1.Epoch, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.chain.v1alpha1.Epoch|undefined} value + * @return {!proto.penumbra.core.component.chain.v1alpha1.EpochByHeightResponse} returns this +*/ +proto.penumbra.core.component.chain.v1alpha1.EpochByHeightResponse.prototype.setEpoch = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.chain.v1alpha1.EpochByHeightResponse} returns this + */ +proto.penumbra.core.component.chain.v1alpha1.EpochByHeightResponse.prototype.clearEpoch = function() { + return this.setEpoch(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.chain.v1alpha1.EpochByHeightResponse.prototype.hasEpoch = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +goog.object.extend(exports, proto.penumbra.core.component.chain.v1alpha1); diff --git a/src/chains/penumbra/generated/penumbra/core/component/compact_block/v1alpha1/compact_block_grpc_pb.d.ts b/src/chains/penumbra/generated/penumbra/core/component/compact_block/v1alpha1/compact_block_grpc_pb.d.ts new file mode 100644 index 0000000000..39084c52c3 --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/component/compact_block/v1alpha1/compact_block_grpc_pb.d.ts @@ -0,0 +1,45 @@ +// package: penumbra.core.component.compact_block.v1alpha1 +// file: penumbra/core/component/compact_block/v1alpha1/compact_block.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as grpc from "grpc"; +import * as penumbra_core_component_compact_block_v1alpha1_compact_block_pb from "../../../../../penumbra/core/component/compact_block/v1alpha1/compact_block_pb"; +import * as penumbra_crypto_tct_v1alpha1_tct_pb from "../../../../../penumbra/crypto/tct/v1alpha1/tct_pb"; +import * as penumbra_core_component_sct_v1alpha1_sct_pb from "../../../../../penumbra/core/component/sct/v1alpha1/sct_pb"; +import * as penumbra_core_component_chain_v1alpha1_chain_pb from "../../../../../penumbra/core/component/chain/v1alpha1/chain_pb"; +import * as penumbra_core_component_dex_v1alpha1_dex_pb from "../../../../../penumbra/core/component/dex/v1alpha1/dex_pb"; +import * as penumbra_core_component_fee_v1alpha1_fee_pb from "../../../../../penumbra/core/component/fee/v1alpha1/fee_pb"; +import * as penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb from "../../../../../penumbra/core/component/shielded_pool/v1alpha1/shielded_pool_pb"; + +interface IQueryServiceService extends grpc.ServiceDefinition { + compactBlockRange: IQueryServiceService_ICompactBlockRange; +} + +interface IQueryServiceService_ICompactBlockRange extends grpc.MethodDefinition { + path: "/penumbra.core.component.compact_block.v1alpha1.QueryService/CompactBlockRange"; + requestStream: false; + responseStream: true; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} + +export const QueryServiceService: IQueryServiceService; + +export interface IQueryServiceServer { + compactBlockRange: grpc.handleServerStreamingCall; +} + +export interface IQueryServiceClient { + compactBlockRange(request: penumbra_core_component_compact_block_v1alpha1_compact_block_pb.CompactBlockRangeRequest, options?: Partial): grpc.ClientReadableStream; + compactBlockRange(request: penumbra_core_component_compact_block_v1alpha1_compact_block_pb.CompactBlockRangeRequest, metadata?: grpc.Metadata, options?: Partial): grpc.ClientReadableStream; +} + +export class QueryServiceClient extends grpc.Client implements IQueryServiceClient { + constructor(address: string, credentials: grpc.ChannelCredentials, options?: object); + public compactBlockRange(request: penumbra_core_component_compact_block_v1alpha1_compact_block_pb.CompactBlockRangeRequest, options?: Partial): grpc.ClientReadableStream; + public compactBlockRange(request: penumbra_core_component_compact_block_v1alpha1_compact_block_pb.CompactBlockRangeRequest, metadata?: grpc.Metadata, options?: Partial): grpc.ClientReadableStream; +} diff --git a/src/chains/penumbra/generated/penumbra/core/component/compact_block/v1alpha1/compact_block_grpc_pb.js b/src/chains/penumbra/generated/penumbra/core/component/compact_block/v1alpha1/compact_block_grpc_pb.js new file mode 100644 index 0000000000..8977278eb3 --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/component/compact_block/v1alpha1/compact_block_grpc_pb.js @@ -0,0 +1,52 @@ +// GENERATED CODE -- DO NOT EDIT! + +'use strict'; +var grpc = require('@grpc/grpc-js'); +var penumbra_core_component_compact_block_v1alpha1_compact_block_pb = require('../../../../../penumbra/core/component/compact_block/v1alpha1/compact_block_pb.js'); +var penumbra_crypto_tct_v1alpha1_tct_pb = require('../../../../../penumbra/crypto/tct/v1alpha1/tct_pb.js'); +var penumbra_core_component_sct_v1alpha1_sct_pb = require('../../../../../penumbra/core/component/sct/v1alpha1/sct_pb.js'); +var penumbra_core_component_chain_v1alpha1_chain_pb = require('../../../../../penumbra/core/component/chain/v1alpha1/chain_pb.js'); +var penumbra_core_component_dex_v1alpha1_dex_pb = require('../../../../../penumbra/core/component/dex/v1alpha1/dex_pb.js'); +var penumbra_core_component_fee_v1alpha1_fee_pb = require('../../../../../penumbra/core/component/fee/v1alpha1/fee_pb.js'); +var penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb = require('../../../../../penumbra/core/component/shielded_pool/v1alpha1/shielded_pool_pb.js'); + +function serialize_penumbra_core_component_compact_block_v1alpha1_CompactBlockRangeRequest(arg) { + if (!(arg instanceof penumbra_core_component_compact_block_v1alpha1_compact_block_pb.CompactBlockRangeRequest)) { + throw new Error('Expected argument of type penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_core_component_compact_block_v1alpha1_CompactBlockRangeRequest(buffer_arg) { + return penumbra_core_component_compact_block_v1alpha1_compact_block_pb.CompactBlockRangeRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_core_component_compact_block_v1alpha1_CompactBlockRangeResponse(arg) { + if (!(arg instanceof penumbra_core_component_compact_block_v1alpha1_compact_block_pb.CompactBlockRangeResponse)) { + throw new Error('Expected argument of type penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_core_component_compact_block_v1alpha1_CompactBlockRangeResponse(buffer_arg) { + return penumbra_core_component_compact_block_v1alpha1_compact_block_pb.CompactBlockRangeResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + + +// Query operations for the compact block component. +var QueryServiceService = exports.QueryServiceService = { + // Returns a stream of `CompactBlockRangeResponse`s. +compactBlockRange: { + path: '/penumbra.core.component.compact_block.v1alpha1.QueryService/CompactBlockRange', + requestStream: false, + responseStream: true, + requestType: penumbra_core_component_compact_block_v1alpha1_compact_block_pb.CompactBlockRangeRequest, + responseType: penumbra_core_component_compact_block_v1alpha1_compact_block_pb.CompactBlockRangeResponse, + requestSerialize: serialize_penumbra_core_component_compact_block_v1alpha1_CompactBlockRangeRequest, + requestDeserialize: deserialize_penumbra_core_component_compact_block_v1alpha1_CompactBlockRangeRequest, + responseSerialize: serialize_penumbra_core_component_compact_block_v1alpha1_CompactBlockRangeResponse, + responseDeserialize: deserialize_penumbra_core_component_compact_block_v1alpha1_CompactBlockRangeResponse, + }, +}; + +exports.QueryServiceClient = grpc.makeGenericClientConstructor(QueryServiceService); diff --git a/src/chains/penumbra/generated/penumbra/core/component/compact_block/v1alpha1/compact_block_pb.d.ts b/src/chains/penumbra/generated/penumbra/core/component/compact_block/v1alpha1/compact_block_pb.d.ts new file mode 100644 index 0000000000..d75c635a9a --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/component/compact_block/v1alpha1/compact_block_pb.d.ts @@ -0,0 +1,258 @@ +// package: penumbra.core.component.compact_block.v1alpha1 +// file: penumbra/core/component/compact_block/v1alpha1/compact_block.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as penumbra_crypto_tct_v1alpha1_tct_pb from "../../../../../penumbra/crypto/tct/v1alpha1/tct_pb"; +import * as penumbra_core_component_sct_v1alpha1_sct_pb from "../../../../../penumbra/core/component/sct/v1alpha1/sct_pb"; +import * as penumbra_core_component_chain_v1alpha1_chain_pb from "../../../../../penumbra/core/component/chain/v1alpha1/chain_pb"; +import * as penumbra_core_component_dex_v1alpha1_dex_pb from "../../../../../penumbra/core/component/dex/v1alpha1/dex_pb"; +import * as penumbra_core_component_fee_v1alpha1_fee_pb from "../../../../../penumbra/core/component/fee/v1alpha1/fee_pb"; +import * as penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb from "../../../../../penumbra/core/component/shielded_pool/v1alpha1/shielded_pool_pb"; + +export class CompactBlock extends jspb.Message { + getHeight(): number; + setHeight(value: number): CompactBlock; + clearStatePayloadsList(): void; + getStatePayloadsList(): Array; + setStatePayloadsList(value: Array): CompactBlock; + addStatePayloads(value?: StatePayload, index?: number): StatePayload; + clearNullifiersList(): void; + getNullifiersList(): Array; + setNullifiersList(value: Array): CompactBlock; + addNullifiers(value?: penumbra_core_component_sct_v1alpha1_sct_pb.Nullifier, index?: number): penumbra_core_component_sct_v1alpha1_sct_pb.Nullifier; + + hasBlockRoot(): boolean; + clearBlockRoot(): void; + getBlockRoot(): penumbra_crypto_tct_v1alpha1_tct_pb.MerkleRoot | undefined; + setBlockRoot(value?: penumbra_crypto_tct_v1alpha1_tct_pb.MerkleRoot): CompactBlock; + + hasEpochRoot(): boolean; + clearEpochRoot(): void; + getEpochRoot(): penumbra_crypto_tct_v1alpha1_tct_pb.MerkleRoot | undefined; + setEpochRoot(value?: penumbra_crypto_tct_v1alpha1_tct_pb.MerkleRoot): CompactBlock; + getProposalStarted(): boolean; + setProposalStarted(value: boolean): CompactBlock; + + hasFmdParameters(): boolean; + clearFmdParameters(): void; + getFmdParameters(): penumbra_core_component_chain_v1alpha1_chain_pb.FmdParameters | undefined; + setFmdParameters(value?: penumbra_core_component_chain_v1alpha1_chain_pb.FmdParameters): CompactBlock; + clearSwapOutputsList(): void; + getSwapOutputsList(): Array; + setSwapOutputsList(value: Array): CompactBlock; + addSwapOutputs(value?: penumbra_core_component_dex_v1alpha1_dex_pb.BatchSwapOutputData, index?: number): penumbra_core_component_dex_v1alpha1_dex_pb.BatchSwapOutputData; + getAppParametersUpdated(): boolean; + setAppParametersUpdated(value: boolean): CompactBlock; + + hasGasPrices(): boolean; + clearGasPrices(): void; + getGasPrices(): penumbra_core_component_fee_v1alpha1_fee_pb.GasPrices | undefined; + setGasPrices(value?: penumbra_core_component_fee_v1alpha1_fee_pb.GasPrices): CompactBlock; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): CompactBlock.AsObject; + static toObject(includeInstance: boolean, msg: CompactBlock): CompactBlock.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: CompactBlock, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): CompactBlock; + static deserializeBinaryFromReader(message: CompactBlock, reader: jspb.BinaryReader): CompactBlock; +} + +export namespace CompactBlock { + export type AsObject = { + height: number, + statePayloadsList: Array, + nullifiersList: Array, + blockRoot?: penumbra_crypto_tct_v1alpha1_tct_pb.MerkleRoot.AsObject, + epochRoot?: penumbra_crypto_tct_v1alpha1_tct_pb.MerkleRoot.AsObject, + proposalStarted: boolean, + fmdParameters?: penumbra_core_component_chain_v1alpha1_chain_pb.FmdParameters.AsObject, + swapOutputsList: Array, + appParametersUpdated: boolean, + gasPrices?: penumbra_core_component_fee_v1alpha1_fee_pb.GasPrices.AsObject, + } +} + +export class StatePayload extends jspb.Message { + + hasRolledUp(): boolean; + clearRolledUp(): void; + getRolledUp(): StatePayload.RolledUp | undefined; + setRolledUp(value?: StatePayload.RolledUp): StatePayload; + + hasNote(): boolean; + clearNote(): void; + getNote(): StatePayload.Note | undefined; + setNote(value?: StatePayload.Note): StatePayload; + + hasSwap(): boolean; + clearSwap(): void; + getSwap(): StatePayload.Swap | undefined; + setSwap(value?: StatePayload.Swap): StatePayload; + + getStatePayloadCase(): StatePayload.StatePayloadCase; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): StatePayload.AsObject; + static toObject(includeInstance: boolean, msg: StatePayload): StatePayload.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: StatePayload, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): StatePayload; + static deserializeBinaryFromReader(message: StatePayload, reader: jspb.BinaryReader): StatePayload; +} + +export namespace StatePayload { + export type AsObject = { + rolledUp?: StatePayload.RolledUp.AsObject, + note?: StatePayload.Note.AsObject, + swap?: StatePayload.Swap.AsObject, + } + + + export class RolledUp extends jspb.Message { + + hasCommitment(): boolean; + clearCommitment(): void; + getCommitment(): penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment | undefined; + setCommitment(value?: penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment): RolledUp; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): RolledUp.AsObject; + static toObject(includeInstance: boolean, msg: RolledUp): RolledUp.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: RolledUp, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): RolledUp; + static deserializeBinaryFromReader(message: RolledUp, reader: jspb.BinaryReader): RolledUp; + } + + export namespace RolledUp { + export type AsObject = { + commitment?: penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.AsObject, + } + } + + export class Note extends jspb.Message { + + hasSource(): boolean; + clearSource(): void; + getSource(): penumbra_core_component_chain_v1alpha1_chain_pb.NoteSource | undefined; + setSource(value?: penumbra_core_component_chain_v1alpha1_chain_pb.NoteSource): Note; + + hasNote(): boolean; + clearNote(): void; + getNote(): penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.NotePayload | undefined; + setNote(value?: penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.NotePayload): Note; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Note.AsObject; + static toObject(includeInstance: boolean, msg: Note): Note.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Note, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Note; + static deserializeBinaryFromReader(message: Note, reader: jspb.BinaryReader): Note; + } + + export namespace Note { + export type AsObject = { + source?: penumbra_core_component_chain_v1alpha1_chain_pb.NoteSource.AsObject, + note?: penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.NotePayload.AsObject, + } + } + + export class Swap extends jspb.Message { + + hasSource(): boolean; + clearSource(): void; + getSource(): penumbra_core_component_chain_v1alpha1_chain_pb.NoteSource | undefined; + setSource(value?: penumbra_core_component_chain_v1alpha1_chain_pb.NoteSource): Swap; + + hasSwap(): boolean; + clearSwap(): void; + getSwap(): penumbra_core_component_dex_v1alpha1_dex_pb.SwapPayload | undefined; + setSwap(value?: penumbra_core_component_dex_v1alpha1_dex_pb.SwapPayload): Swap; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Swap.AsObject; + static toObject(includeInstance: boolean, msg: Swap): Swap.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Swap, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Swap; + static deserializeBinaryFromReader(message: Swap, reader: jspb.BinaryReader): Swap; + } + + export namespace Swap { + export type AsObject = { + source?: penumbra_core_component_chain_v1alpha1_chain_pb.NoteSource.AsObject, + swap?: penumbra_core_component_dex_v1alpha1_dex_pb.SwapPayload.AsObject, + } + } + + + export enum StatePayloadCase { + STATE_PAYLOAD_NOT_SET = 0, + ROLLED_UP = 1, + NOTE = 2, + SWAP = 3, + } + +} + +export class CompactBlockRangeRequest extends jspb.Message { + getChainId(): string; + setChainId(value: string): CompactBlockRangeRequest; + getStartHeight(): number; + setStartHeight(value: number): CompactBlockRangeRequest; + getEndHeight(): number; + setEndHeight(value: number): CompactBlockRangeRequest; + getKeepAlive(): boolean; + setKeepAlive(value: boolean): CompactBlockRangeRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): CompactBlockRangeRequest.AsObject; + static toObject(includeInstance: boolean, msg: CompactBlockRangeRequest): CompactBlockRangeRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: CompactBlockRangeRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): CompactBlockRangeRequest; + static deserializeBinaryFromReader(message: CompactBlockRangeRequest, reader: jspb.BinaryReader): CompactBlockRangeRequest; +} + +export namespace CompactBlockRangeRequest { + export type AsObject = { + chainId: string, + startHeight: number, + endHeight: number, + keepAlive: boolean, + } +} + +export class CompactBlockRangeResponse extends jspb.Message { + + hasCompactBlock(): boolean; + clearCompactBlock(): void; + getCompactBlock(): CompactBlock | undefined; + setCompactBlock(value?: CompactBlock): CompactBlockRangeResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): CompactBlockRangeResponse.AsObject; + static toObject(includeInstance: boolean, msg: CompactBlockRangeResponse): CompactBlockRangeResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: CompactBlockRangeResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): CompactBlockRangeResponse; + static deserializeBinaryFromReader(message: CompactBlockRangeResponse, reader: jspb.BinaryReader): CompactBlockRangeResponse; +} + +export namespace CompactBlockRangeResponse { + export type AsObject = { + compactBlock?: CompactBlock.AsObject, + } +} diff --git a/src/chains/penumbra/generated/penumbra/core/component/compact_block/v1alpha1/compact_block_pb.js b/src/chains/penumbra/generated/penumbra/core/component/compact_block/v1alpha1/compact_block_pb.js new file mode 100644 index 0000000000..dfd562fd5e --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/component/compact_block/v1alpha1/compact_block_pb.js @@ -0,0 +1,1957 @@ +// source: penumbra/core/component/compact_block/v1alpha1/compact_block.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = (function() { + if (this) { return this; } + if (typeof window !== 'undefined') { return window; } + if (typeof global !== 'undefined') { return global; } + if (typeof self !== 'undefined') { return self; } + return Function('return this')(); +}.call(null)); + +var penumbra_crypto_tct_v1alpha1_tct_pb = require('../../../../../penumbra/crypto/tct/v1alpha1/tct_pb.js'); +goog.object.extend(proto, penumbra_crypto_tct_v1alpha1_tct_pb); +var penumbra_core_component_sct_v1alpha1_sct_pb = require('../../../../../penumbra/core/component/sct/v1alpha1/sct_pb.js'); +goog.object.extend(proto, penumbra_core_component_sct_v1alpha1_sct_pb); +var penumbra_core_component_chain_v1alpha1_chain_pb = require('../../../../../penumbra/core/component/chain/v1alpha1/chain_pb.js'); +goog.object.extend(proto, penumbra_core_component_chain_v1alpha1_chain_pb); +var penumbra_core_component_dex_v1alpha1_dex_pb = require('../../../../../penumbra/core/component/dex/v1alpha1/dex_pb.js'); +goog.object.extend(proto, penumbra_core_component_dex_v1alpha1_dex_pb); +var penumbra_core_component_fee_v1alpha1_fee_pb = require('../../../../../penumbra/core/component/fee/v1alpha1/fee_pb.js'); +goog.object.extend(proto, penumbra_core_component_fee_v1alpha1_fee_pb); +var penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb = require('../../../../../penumbra/core/component/shielded_pool/v1alpha1/shielded_pool_pb.js'); +goog.object.extend(proto, penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb); +goog.exportSymbol('proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock', null, global); +goog.exportSymbol('proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeRequest', null, global); +goog.exportSymbol('proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeResponse', null, global); +goog.exportSymbol('proto.penumbra.core.component.compact_block.v1alpha1.StatePayload', null, global); +goog.exportSymbol('proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Note', null, global); +goog.exportSymbol('proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.RolledUp', null, global); +goog.exportSymbol('proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.StatePayloadCase', null, global); +goog.exportSymbol('proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Swap', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock.repeatedFields_, null); +}; +goog.inherits(proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock.displayName = 'proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.oneofGroups_); +}; +goog.inherits(proto.penumbra.core.component.compact_block.v1alpha1.StatePayload, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.displayName = 'proto.penumbra.core.component.compact_block.v1alpha1.StatePayload'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.RolledUp = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.RolledUp, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.RolledUp.displayName = 'proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.RolledUp'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Note = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Note, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Note.displayName = 'proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Note'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Swap = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Swap, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Swap.displayName = 'proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Swap'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeRequest.displayName = 'proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeResponse.displayName = 'proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeResponse'; +} + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock.repeatedFields_ = [2,3,5]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock.toObject = function(includeInstance, msg) { + var f, obj = { + height: jspb.Message.getFieldWithDefault(msg, 1, 0), + statePayloadsList: jspb.Message.toObjectList(msg.getStatePayloadsList(), + proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.toObject, includeInstance), + nullifiersList: jspb.Message.toObjectList(msg.getNullifiersList(), + penumbra_core_component_sct_v1alpha1_sct_pb.Nullifier.toObject, includeInstance), + blockRoot: (f = msg.getBlockRoot()) && penumbra_crypto_tct_v1alpha1_tct_pb.MerkleRoot.toObject(includeInstance, f), + epochRoot: (f = msg.getEpochRoot()) && penumbra_crypto_tct_v1alpha1_tct_pb.MerkleRoot.toObject(includeInstance, f), + proposalStarted: jspb.Message.getBooleanFieldWithDefault(msg, 20, false), + fmdParameters: (f = msg.getFmdParameters()) && penumbra_core_component_chain_v1alpha1_chain_pb.FmdParameters.toObject(includeInstance, f), + swapOutputsList: jspb.Message.toObjectList(msg.getSwapOutputsList(), + penumbra_core_component_dex_v1alpha1_dex_pb.BatchSwapOutputData.toObject, includeInstance), + appParametersUpdated: jspb.Message.getBooleanFieldWithDefault(msg, 6, false), + gasPrices: (f = msg.getGasPrices()) && penumbra_core_component_fee_v1alpha1_fee_pb.GasPrices.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock} + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock; + return proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock} + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setHeight(value); + break; + case 2: + var value = new proto.penumbra.core.component.compact_block.v1alpha1.StatePayload; + reader.readMessage(value,proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.deserializeBinaryFromReader); + msg.addStatePayloads(value); + break; + case 3: + var value = new penumbra_core_component_sct_v1alpha1_sct_pb.Nullifier; + reader.readMessage(value,penumbra_core_component_sct_v1alpha1_sct_pb.Nullifier.deserializeBinaryFromReader); + msg.addNullifiers(value); + break; + case 4: + var value = new penumbra_crypto_tct_v1alpha1_tct_pb.MerkleRoot; + reader.readMessage(value,penumbra_crypto_tct_v1alpha1_tct_pb.MerkleRoot.deserializeBinaryFromReader); + msg.setBlockRoot(value); + break; + case 17: + var value = new penumbra_crypto_tct_v1alpha1_tct_pb.MerkleRoot; + reader.readMessage(value,penumbra_crypto_tct_v1alpha1_tct_pb.MerkleRoot.deserializeBinaryFromReader); + msg.setEpochRoot(value); + break; + case 20: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setProposalStarted(value); + break; + case 100: + var value = new penumbra_core_component_chain_v1alpha1_chain_pb.FmdParameters; + reader.readMessage(value,penumbra_core_component_chain_v1alpha1_chain_pb.FmdParameters.deserializeBinaryFromReader); + msg.setFmdParameters(value); + break; + case 5: + var value = new penumbra_core_component_dex_v1alpha1_dex_pb.BatchSwapOutputData; + reader.readMessage(value,penumbra_core_component_dex_v1alpha1_dex_pb.BatchSwapOutputData.deserializeBinaryFromReader); + msg.addSwapOutputs(value); + break; + case 6: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setAppParametersUpdated(value); + break; + case 7: + var value = new penumbra_core_component_fee_v1alpha1_fee_pb.GasPrices; + reader.readMessage(value,penumbra_core_component_fee_v1alpha1_fee_pb.GasPrices.deserializeBinaryFromReader); + msg.setGasPrices(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getHeight(); + if (f !== 0) { + writer.writeUint64( + 1, + f + ); + } + f = message.getStatePayloadsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 2, + f, + proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.serializeBinaryToWriter + ); + } + f = message.getNullifiersList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 3, + f, + penumbra_core_component_sct_v1alpha1_sct_pb.Nullifier.serializeBinaryToWriter + ); + } + f = message.getBlockRoot(); + if (f != null) { + writer.writeMessage( + 4, + f, + penumbra_crypto_tct_v1alpha1_tct_pb.MerkleRoot.serializeBinaryToWriter + ); + } + f = message.getEpochRoot(); + if (f != null) { + writer.writeMessage( + 17, + f, + penumbra_crypto_tct_v1alpha1_tct_pb.MerkleRoot.serializeBinaryToWriter + ); + } + f = message.getProposalStarted(); + if (f) { + writer.writeBool( + 20, + f + ); + } + f = message.getFmdParameters(); + if (f != null) { + writer.writeMessage( + 100, + f, + penumbra_core_component_chain_v1alpha1_chain_pb.FmdParameters.serializeBinaryToWriter + ); + } + f = message.getSwapOutputsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 5, + f, + penumbra_core_component_dex_v1alpha1_dex_pb.BatchSwapOutputData.serializeBinaryToWriter + ); + } + f = message.getAppParametersUpdated(); + if (f) { + writer.writeBool( + 6, + f + ); + } + f = message.getGasPrices(); + if (f != null) { + writer.writeMessage( + 7, + f, + penumbra_core_component_fee_v1alpha1_fee_pb.GasPrices.serializeBinaryToWriter + ); + } +}; + + +/** + * optional uint64 height = 1; + * @return {number} + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock.prototype.getHeight = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock} returns this + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock.prototype.setHeight = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * repeated StatePayload state_payloads = 2; + * @return {!Array} + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock.prototype.getStatePayloadsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.penumbra.core.component.compact_block.v1alpha1.StatePayload, 2)); +}; + + +/** + * @param {!Array} value + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock} returns this +*/ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock.prototype.setStatePayloadsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 2, value); +}; + + +/** + * @param {!proto.penumbra.core.component.compact_block.v1alpha1.StatePayload=} opt_value + * @param {number=} opt_index + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.StatePayload} + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock.prototype.addStatePayloads = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.penumbra.core.component.compact_block.v1alpha1.StatePayload, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock} returns this + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock.prototype.clearStatePayloadsList = function() { + return this.setStatePayloadsList([]); +}; + + +/** + * repeated penumbra.core.component.sct.v1alpha1.Nullifier nullifiers = 3; + * @return {!Array} + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock.prototype.getNullifiersList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, penumbra_core_component_sct_v1alpha1_sct_pb.Nullifier, 3)); +}; + + +/** + * @param {!Array} value + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock} returns this +*/ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock.prototype.setNullifiersList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 3, value); +}; + + +/** + * @param {!proto.penumbra.core.component.sct.v1alpha1.Nullifier=} opt_value + * @param {number=} opt_index + * @return {!proto.penumbra.core.component.sct.v1alpha1.Nullifier} + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock.prototype.addNullifiers = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.penumbra.core.component.sct.v1alpha1.Nullifier, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock} returns this + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock.prototype.clearNullifiersList = function() { + return this.setNullifiersList([]); +}; + + +/** + * optional penumbra.crypto.tct.v1alpha1.MerkleRoot block_root = 4; + * @return {?proto.penumbra.crypto.tct.v1alpha1.MerkleRoot} + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock.prototype.getBlockRoot = function() { + return /** @type{?proto.penumbra.crypto.tct.v1alpha1.MerkleRoot} */ ( + jspb.Message.getWrapperField(this, penumbra_crypto_tct_v1alpha1_tct_pb.MerkleRoot, 4)); +}; + + +/** + * @param {?proto.penumbra.crypto.tct.v1alpha1.MerkleRoot|undefined} value + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock} returns this +*/ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock.prototype.setBlockRoot = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock} returns this + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock.prototype.clearBlockRoot = function() { + return this.setBlockRoot(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock.prototype.hasBlockRoot = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional penumbra.crypto.tct.v1alpha1.MerkleRoot epoch_root = 17; + * @return {?proto.penumbra.crypto.tct.v1alpha1.MerkleRoot} + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock.prototype.getEpochRoot = function() { + return /** @type{?proto.penumbra.crypto.tct.v1alpha1.MerkleRoot} */ ( + jspb.Message.getWrapperField(this, penumbra_crypto_tct_v1alpha1_tct_pb.MerkleRoot, 17)); +}; + + +/** + * @param {?proto.penumbra.crypto.tct.v1alpha1.MerkleRoot|undefined} value + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock} returns this +*/ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock.prototype.setEpochRoot = function(value) { + return jspb.Message.setWrapperField(this, 17, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock} returns this + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock.prototype.clearEpochRoot = function() { + return this.setEpochRoot(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock.prototype.hasEpochRoot = function() { + return jspb.Message.getField(this, 17) != null; +}; + + +/** + * optional bool proposal_started = 20; + * @return {boolean} + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock.prototype.getProposalStarted = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 20, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock} returns this + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock.prototype.setProposalStarted = function(value) { + return jspb.Message.setProto3BooleanField(this, 20, value); +}; + + +/** + * optional penumbra.core.component.chain.v1alpha1.FmdParameters fmd_parameters = 100; + * @return {?proto.penumbra.core.component.chain.v1alpha1.FmdParameters} + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock.prototype.getFmdParameters = function() { + return /** @type{?proto.penumbra.core.component.chain.v1alpha1.FmdParameters} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_chain_v1alpha1_chain_pb.FmdParameters, 100)); +}; + + +/** + * @param {?proto.penumbra.core.component.chain.v1alpha1.FmdParameters|undefined} value + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock} returns this +*/ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock.prototype.setFmdParameters = function(value) { + return jspb.Message.setWrapperField(this, 100, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock} returns this + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock.prototype.clearFmdParameters = function() { + return this.setFmdParameters(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock.prototype.hasFmdParameters = function() { + return jspb.Message.getField(this, 100) != null; +}; + + +/** + * repeated penumbra.core.component.dex.v1alpha1.BatchSwapOutputData swap_outputs = 5; + * @return {!Array} + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock.prototype.getSwapOutputsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, penumbra_core_component_dex_v1alpha1_dex_pb.BatchSwapOutputData, 5)); +}; + + +/** + * @param {!Array} value + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock} returns this +*/ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock.prototype.setSwapOutputsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 5, value); +}; + + +/** + * @param {!proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData=} opt_value + * @param {number=} opt_index + * @return {!proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData} + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock.prototype.addSwapOutputs = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock} returns this + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock.prototype.clearSwapOutputsList = function() { + return this.setSwapOutputsList([]); +}; + + +/** + * optional bool app_parameters_updated = 6; + * @return {boolean} + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock.prototype.getAppParametersUpdated = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock} returns this + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock.prototype.setAppParametersUpdated = function(value) { + return jspb.Message.setProto3BooleanField(this, 6, value); +}; + + +/** + * optional penumbra.core.component.fee.v1alpha1.GasPrices gas_prices = 7; + * @return {?proto.penumbra.core.component.fee.v1alpha1.GasPrices} + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock.prototype.getGasPrices = function() { + return /** @type{?proto.penumbra.core.component.fee.v1alpha1.GasPrices} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_fee_v1alpha1_fee_pb.GasPrices, 7)); +}; + + +/** + * @param {?proto.penumbra.core.component.fee.v1alpha1.GasPrices|undefined} value + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock} returns this +*/ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock.prototype.setGasPrices = function(value) { + return jspb.Message.setWrapperField(this, 7, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock} returns this + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock.prototype.clearGasPrices = function() { + return this.setGasPrices(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock.prototype.hasGasPrices = function() { + return jspb.Message.getField(this, 7) != null; +}; + + + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.oneofGroups_ = [[1,2,3]]; + +/** + * @enum {number} + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.StatePayloadCase = { + STATE_PAYLOAD_NOT_SET: 0, + ROLLED_UP: 1, + NOTE: 2, + SWAP: 3 +}; + +/** + * @return {proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.StatePayloadCase} + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.prototype.getStatePayloadCase = function() { + return /** @type {proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.StatePayloadCase} */(jspb.Message.computeOneofCase(this, proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.compact_block.v1alpha1.StatePayload} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.toObject = function(includeInstance, msg) { + var f, obj = { + rolledUp: (f = msg.getRolledUp()) && proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.RolledUp.toObject(includeInstance, f), + note: (f = msg.getNote()) && proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Note.toObject(includeInstance, f), + swap: (f = msg.getSwap()) && proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Swap.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.StatePayload} + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.compact_block.v1alpha1.StatePayload; + return proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.compact_block.v1alpha1.StatePayload} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.StatePayload} + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.RolledUp; + reader.readMessage(value,proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.RolledUp.deserializeBinaryFromReader); + msg.setRolledUp(value); + break; + case 2: + var value = new proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Note; + reader.readMessage(value,proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Note.deserializeBinaryFromReader); + msg.setNote(value); + break; + case 3: + var value = new proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Swap; + reader.readMessage(value,proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Swap.deserializeBinaryFromReader); + msg.setSwap(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.compact_block.v1alpha1.StatePayload} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getRolledUp(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.RolledUp.serializeBinaryToWriter + ); + } + f = message.getNote(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Note.serializeBinaryToWriter + ); + } + f = message.getSwap(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Swap.serializeBinaryToWriter + ); + } +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.RolledUp.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.RolledUp.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.RolledUp} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.RolledUp.toObject = function(includeInstance, msg) { + var f, obj = { + commitment: (f = msg.getCommitment()) && penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.RolledUp} + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.RolledUp.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.RolledUp; + return proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.RolledUp.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.RolledUp} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.RolledUp} + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.RolledUp.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment; + reader.readMessage(value,penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.deserializeBinaryFromReader); + msg.setCommitment(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.RolledUp.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.RolledUp.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.RolledUp} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.RolledUp.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getCommitment(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.crypto.tct.v1alpha1.StateCommitment commitment = 1; + * @return {?proto.penumbra.crypto.tct.v1alpha1.StateCommitment} + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.RolledUp.prototype.getCommitment = function() { + return /** @type{?proto.penumbra.crypto.tct.v1alpha1.StateCommitment} */ ( + jspb.Message.getWrapperField(this, penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment, 1)); +}; + + +/** + * @param {?proto.penumbra.crypto.tct.v1alpha1.StateCommitment|undefined} value + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.RolledUp} returns this +*/ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.RolledUp.prototype.setCommitment = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.RolledUp} returns this + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.RolledUp.prototype.clearCommitment = function() { + return this.setCommitment(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.RolledUp.prototype.hasCommitment = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Note.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Note.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Note} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Note.toObject = function(includeInstance, msg) { + var f, obj = { + source: (f = msg.getSource()) && penumbra_core_component_chain_v1alpha1_chain_pb.NoteSource.toObject(includeInstance, f), + note: (f = msg.getNote()) && penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.NotePayload.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Note} + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Note.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Note; + return proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Note.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Note} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Note} + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Note.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_component_chain_v1alpha1_chain_pb.NoteSource; + reader.readMessage(value,penumbra_core_component_chain_v1alpha1_chain_pb.NoteSource.deserializeBinaryFromReader); + msg.setSource(value); + break; + case 2: + var value = new penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.NotePayload; + reader.readMessage(value,penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.NotePayload.deserializeBinaryFromReader); + msg.setNote(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Note.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Note.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Note} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Note.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSource(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_component_chain_v1alpha1_chain_pb.NoteSource.serializeBinaryToWriter + ); + } + f = message.getNote(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.NotePayload.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.component.chain.v1alpha1.NoteSource source = 1; + * @return {?proto.penumbra.core.component.chain.v1alpha1.NoteSource} + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Note.prototype.getSource = function() { + return /** @type{?proto.penumbra.core.component.chain.v1alpha1.NoteSource} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_chain_v1alpha1_chain_pb.NoteSource, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.chain.v1alpha1.NoteSource|undefined} value + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Note} returns this +*/ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Note.prototype.setSource = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Note} returns this + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Note.prototype.clearSource = function() { + return this.setSource(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Note.prototype.hasSource = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional penumbra.core.component.shielded_pool.v1alpha1.NotePayload note = 2; + * @return {?proto.penumbra.core.component.shielded_pool.v1alpha1.NotePayload} + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Note.prototype.getNote = function() { + return /** @type{?proto.penumbra.core.component.shielded_pool.v1alpha1.NotePayload} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.NotePayload, 2)); +}; + + +/** + * @param {?proto.penumbra.core.component.shielded_pool.v1alpha1.NotePayload|undefined} value + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Note} returns this +*/ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Note.prototype.setNote = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Note} returns this + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Note.prototype.clearNote = function() { + return this.setNote(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Note.prototype.hasNote = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Swap.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Swap.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Swap} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Swap.toObject = function(includeInstance, msg) { + var f, obj = { + source: (f = msg.getSource()) && penumbra_core_component_chain_v1alpha1_chain_pb.NoteSource.toObject(includeInstance, f), + swap: (f = msg.getSwap()) && penumbra_core_component_dex_v1alpha1_dex_pb.SwapPayload.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Swap} + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Swap.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Swap; + return proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Swap.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Swap} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Swap} + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Swap.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_component_chain_v1alpha1_chain_pb.NoteSource; + reader.readMessage(value,penumbra_core_component_chain_v1alpha1_chain_pb.NoteSource.deserializeBinaryFromReader); + msg.setSource(value); + break; + case 2: + var value = new penumbra_core_component_dex_v1alpha1_dex_pb.SwapPayload; + reader.readMessage(value,penumbra_core_component_dex_v1alpha1_dex_pb.SwapPayload.deserializeBinaryFromReader); + msg.setSwap(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Swap.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Swap.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Swap} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Swap.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSource(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_component_chain_v1alpha1_chain_pb.NoteSource.serializeBinaryToWriter + ); + } + f = message.getSwap(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_component_dex_v1alpha1_dex_pb.SwapPayload.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.component.chain.v1alpha1.NoteSource source = 1; + * @return {?proto.penumbra.core.component.chain.v1alpha1.NoteSource} + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Swap.prototype.getSource = function() { + return /** @type{?proto.penumbra.core.component.chain.v1alpha1.NoteSource} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_chain_v1alpha1_chain_pb.NoteSource, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.chain.v1alpha1.NoteSource|undefined} value + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Swap} returns this +*/ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Swap.prototype.setSource = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Swap} returns this + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Swap.prototype.clearSource = function() { + return this.setSource(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Swap.prototype.hasSource = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional penumbra.core.component.dex.v1alpha1.SwapPayload swap = 2; + * @return {?proto.penumbra.core.component.dex.v1alpha1.SwapPayload} + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Swap.prototype.getSwap = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.SwapPayload} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_dex_v1alpha1_dex_pb.SwapPayload, 2)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.SwapPayload|undefined} value + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Swap} returns this +*/ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Swap.prototype.setSwap = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Swap} returns this + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Swap.prototype.clearSwap = function() { + return this.setSwap(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Swap.prototype.hasSwap = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional RolledUp rolled_up = 1; + * @return {?proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.RolledUp} + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.prototype.getRolledUp = function() { + return /** @type{?proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.RolledUp} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.RolledUp, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.RolledUp|undefined} value + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.StatePayload} returns this +*/ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.prototype.setRolledUp = function(value) { + return jspb.Message.setOneofWrapperField(this, 1, proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.StatePayload} returns this + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.prototype.clearRolledUp = function() { + return this.setRolledUp(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.prototype.hasRolledUp = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional Note note = 2; + * @return {?proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Note} + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.prototype.getNote = function() { + return /** @type{?proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Note} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Note, 2)); +}; + + +/** + * @param {?proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Note|undefined} value + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.StatePayload} returns this +*/ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.prototype.setNote = function(value) { + return jspb.Message.setOneofWrapperField(this, 2, proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.StatePayload} returns this + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.prototype.clearNote = function() { + return this.setNote(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.prototype.hasNote = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional Swap swap = 3; + * @return {?proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Swap} + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.prototype.getSwap = function() { + return /** @type{?proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Swap} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Swap, 3)); +}; + + +/** + * @param {?proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.Swap|undefined} value + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.StatePayload} returns this +*/ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.prototype.setSwap = function(value) { + return jspb.Message.setOneofWrapperField(this, 3, proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.StatePayload} returns this + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.prototype.clearSwap = function() { + return this.setSwap(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.compact_block.v1alpha1.StatePayload.prototype.hasSwap = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeRequest.toObject = function(includeInstance, msg) { + var f, obj = { + chainId: jspb.Message.getFieldWithDefault(msg, 1, ""), + startHeight: jspb.Message.getFieldWithDefault(msg, 2, 0), + endHeight: jspb.Message.getFieldWithDefault(msg, 3, 0), + keepAlive: jspb.Message.getBooleanFieldWithDefault(msg, 4, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeRequest} + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeRequest; + return proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeRequest} + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setChainId(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint64()); + msg.setStartHeight(value); + break; + case 3: + var value = /** @type {number} */ (reader.readUint64()); + msg.setEndHeight(value); + break; + case 4: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setKeepAlive(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getChainId(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getStartHeight(); + if (f !== 0) { + writer.writeUint64( + 2, + f + ); + } + f = message.getEndHeight(); + if (f !== 0) { + writer.writeUint64( + 3, + f + ); + } + f = message.getKeepAlive(); + if (f) { + writer.writeBool( + 4, + f + ); + } +}; + + +/** + * optional string chain_id = 1; + * @return {string} + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeRequest.prototype.getChainId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeRequest} returns this + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeRequest.prototype.setChainId = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional uint64 start_height = 2; + * @return {number} + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeRequest.prototype.getStartHeight = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeRequest} returns this + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeRequest.prototype.setStartHeight = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + +/** + * optional uint64 end_height = 3; + * @return {number} + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeRequest.prototype.getEndHeight = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeRequest} returns this + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeRequest.prototype.setEndHeight = function(value) { + return jspb.Message.setProto3IntField(this, 3, value); +}; + + +/** + * optional bool keep_alive = 4; + * @return {boolean} + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeRequest.prototype.getKeepAlive = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeRequest} returns this + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeRequest.prototype.setKeepAlive = function(value) { + return jspb.Message.setProto3BooleanField(this, 4, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeResponse.toObject = function(includeInstance, msg) { + var f, obj = { + compactBlock: (f = msg.getCompactBlock()) && proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeResponse} + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeResponse; + return proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeResponse} + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock; + reader.readMessage(value,proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock.deserializeBinaryFromReader); + msg.setCompactBlock(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getCompactBlock(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock.serializeBinaryToWriter + ); + } +}; + + +/** + * optional CompactBlock compact_block = 1; + * @return {?proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock} + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeResponse.prototype.getCompactBlock = function() { + return /** @type{?proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.compact_block.v1alpha1.CompactBlock|undefined} value + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeResponse} returns this +*/ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeResponse.prototype.setCompactBlock = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeResponse} returns this + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeResponse.prototype.clearCompactBlock = function() { + return this.setCompactBlock(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.compact_block.v1alpha1.CompactBlockRangeResponse.prototype.hasCompactBlock = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +goog.object.extend(exports, proto.penumbra.core.component.compact_block.v1alpha1); diff --git a/src/chains/penumbra/generated/penumbra/core/component/dao/v1alpha1/dao_grpc_pb.js b/src/chains/penumbra/generated/penumbra/core/component/dao/v1alpha1/dao_grpc_pb.js new file mode 100644 index 0000000000..97b3a2461d --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/component/dao/v1alpha1/dao_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/src/chains/penumbra/generated/penumbra/core/component/dao/v1alpha1/dao_pb.d.ts b/src/chains/penumbra/generated/penumbra/core/component/dao/v1alpha1/dao_pb.d.ts new file mode 100644 index 0000000000..d6b4219e99 --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/component/dao/v1alpha1/dao_pb.d.ts @@ -0,0 +1,50 @@ +// package: penumbra.core.component.dao.v1alpha1 +// file: penumbra/core/component/dao/v1alpha1/dao.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; + +export class DaoParameters extends jspb.Message { + getDaoSpendProposalsEnabled(): boolean; + setDaoSpendProposalsEnabled(value: boolean): DaoParameters; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): DaoParameters.AsObject; + static toObject(includeInstance: boolean, msg: DaoParameters): DaoParameters.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: DaoParameters, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): DaoParameters; + static deserializeBinaryFromReader(message: DaoParameters, reader: jspb.BinaryReader): DaoParameters; +} + +export namespace DaoParameters { + export type AsObject = { + daoSpendProposalsEnabled: boolean, + } +} + +export class GenesisContent extends jspb.Message { + + hasDaoParams(): boolean; + clearDaoParams(): void; + getDaoParams(): DaoParameters | undefined; + setDaoParams(value?: DaoParameters): GenesisContent; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GenesisContent.AsObject; + static toObject(includeInstance: boolean, msg: GenesisContent): GenesisContent.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: GenesisContent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GenesisContent; + static deserializeBinaryFromReader(message: GenesisContent, reader: jspb.BinaryReader): GenesisContent; +} + +export namespace GenesisContent { + export type AsObject = { + daoParams?: DaoParameters.AsObject, + } +} diff --git a/src/chains/penumbra/generated/penumbra/core/component/dao/v1alpha1/dao_pb.js b/src/chains/penumbra/generated/penumbra/core/component/dao/v1alpha1/dao_pb.js new file mode 100644 index 0000000000..9a95b5552a --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/component/dao/v1alpha1/dao_pb.js @@ -0,0 +1,349 @@ +// source: penumbra/core/component/dao/v1alpha1/dao.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = (function() { + if (this) { return this; } + if (typeof window !== 'undefined') { return window; } + if (typeof global !== 'undefined') { return global; } + if (typeof self !== 'undefined') { return self; } + return Function('return this')(); +}.call(null)); + +goog.exportSymbol('proto.penumbra.core.component.dao.v1alpha1.DaoParameters', null, global); +goog.exportSymbol('proto.penumbra.core.component.dao.v1alpha1.GenesisContent', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dao.v1alpha1.DaoParameters = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dao.v1alpha1.DaoParameters, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dao.v1alpha1.DaoParameters.displayName = 'proto.penumbra.core.component.dao.v1alpha1.DaoParameters'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dao.v1alpha1.GenesisContent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dao.v1alpha1.GenesisContent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dao.v1alpha1.GenesisContent.displayName = 'proto.penumbra.core.component.dao.v1alpha1.GenesisContent'; +} + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dao.v1alpha1.DaoParameters.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dao.v1alpha1.DaoParameters.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dao.v1alpha1.DaoParameters} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dao.v1alpha1.DaoParameters.toObject = function(includeInstance, msg) { + var f, obj = { + daoSpendProposalsEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dao.v1alpha1.DaoParameters} + */ +proto.penumbra.core.component.dao.v1alpha1.DaoParameters.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dao.v1alpha1.DaoParameters; + return proto.penumbra.core.component.dao.v1alpha1.DaoParameters.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dao.v1alpha1.DaoParameters} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dao.v1alpha1.DaoParameters} + */ +proto.penumbra.core.component.dao.v1alpha1.DaoParameters.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setDaoSpendProposalsEnabled(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dao.v1alpha1.DaoParameters.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dao.v1alpha1.DaoParameters.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dao.v1alpha1.DaoParameters} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dao.v1alpha1.DaoParameters.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDaoSpendProposalsEnabled(); + if (f) { + writer.writeBool( + 1, + f + ); + } +}; + + +/** + * optional bool dao_spend_proposals_enabled = 1; + * @return {boolean} + */ +proto.penumbra.core.component.dao.v1alpha1.DaoParameters.prototype.getDaoSpendProposalsEnabled = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.penumbra.core.component.dao.v1alpha1.DaoParameters} returns this + */ +proto.penumbra.core.component.dao.v1alpha1.DaoParameters.prototype.setDaoSpendProposalsEnabled = function(value) { + return jspb.Message.setProto3BooleanField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dao.v1alpha1.GenesisContent.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dao.v1alpha1.GenesisContent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dao.v1alpha1.GenesisContent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dao.v1alpha1.GenesisContent.toObject = function(includeInstance, msg) { + var f, obj = { + daoParams: (f = msg.getDaoParams()) && proto.penumbra.core.component.dao.v1alpha1.DaoParameters.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dao.v1alpha1.GenesisContent} + */ +proto.penumbra.core.component.dao.v1alpha1.GenesisContent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dao.v1alpha1.GenesisContent; + return proto.penumbra.core.component.dao.v1alpha1.GenesisContent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dao.v1alpha1.GenesisContent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dao.v1alpha1.GenesisContent} + */ +proto.penumbra.core.component.dao.v1alpha1.GenesisContent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.dao.v1alpha1.DaoParameters; + reader.readMessage(value,proto.penumbra.core.component.dao.v1alpha1.DaoParameters.deserializeBinaryFromReader); + msg.setDaoParams(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dao.v1alpha1.GenesisContent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dao.v1alpha1.GenesisContent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dao.v1alpha1.GenesisContent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dao.v1alpha1.GenesisContent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDaoParams(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.dao.v1alpha1.DaoParameters.serializeBinaryToWriter + ); + } +}; + + +/** + * optional DaoParameters dao_params = 1; + * @return {?proto.penumbra.core.component.dao.v1alpha1.DaoParameters} + */ +proto.penumbra.core.component.dao.v1alpha1.GenesisContent.prototype.getDaoParams = function() { + return /** @type{?proto.penumbra.core.component.dao.v1alpha1.DaoParameters} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dao.v1alpha1.DaoParameters, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.dao.v1alpha1.DaoParameters|undefined} value + * @return {!proto.penumbra.core.component.dao.v1alpha1.GenesisContent} returns this +*/ +proto.penumbra.core.component.dao.v1alpha1.GenesisContent.prototype.setDaoParams = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dao.v1alpha1.GenesisContent} returns this + */ +proto.penumbra.core.component.dao.v1alpha1.GenesisContent.prototype.clearDaoParams = function() { + return this.setDaoParams(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dao.v1alpha1.GenesisContent.prototype.hasDaoParams = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +goog.object.extend(exports, proto.penumbra.core.component.dao.v1alpha1); diff --git a/src/chains/penumbra/generated/penumbra/core/component/dex/v1alpha1/dex_grpc_pb.d.ts b/src/chains/penumbra/generated/penumbra/core/component/dex/v1alpha1/dex_grpc_pb.d.ts new file mode 100644 index 0000000000..b3744880e2 --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/component/dex/v1alpha1/dex_grpc_pb.d.ts @@ -0,0 +1,224 @@ +// package: penumbra.core.component.dex.v1alpha1 +// file: penumbra/core/component/dex/v1alpha1/dex.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as grpc from "grpc"; +import * as penumbra_core_component_dex_v1alpha1_dex_pb from "../../../../../penumbra/core/component/dex/v1alpha1/dex_pb"; +import * as penumbra_crypto_tct_v1alpha1_tct_pb from "../../../../../penumbra/crypto/tct/v1alpha1/tct_pb"; +import * as penumbra_core_num_v1alpha1_num_pb from "../../../../../penumbra/core/num/v1alpha1/num_pb"; +import * as penumbra_core_asset_v1alpha1_asset_pb from "../../../../../penumbra/core/asset/v1alpha1/asset_pb"; +import * as penumbra_core_keys_v1alpha1_keys_pb from "../../../../../penumbra/core/keys/v1alpha1/keys_pb"; +import * as penumbra_core_component_sct_v1alpha1_sct_pb from "../../../../../penumbra/core/component/sct/v1alpha1/sct_pb"; +import * as penumbra_core_component_fee_v1alpha1_fee_pb from "../../../../../penumbra/core/component/fee/v1alpha1/fee_pb"; +import * as penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb from "../../../../../penumbra/core/component/shielded_pool/v1alpha1/shielded_pool_pb"; + +interface IQueryServiceService extends grpc.ServiceDefinition { + batchSwapOutputData: IQueryServiceService_IBatchSwapOutputData; + swapExecution: IQueryServiceService_ISwapExecution; + arbExecution: IQueryServiceService_IArbExecution; + swapExecutions: IQueryServiceService_ISwapExecutions; + arbExecutions: IQueryServiceService_IArbExecutions; + liquidityPositions: IQueryServiceService_ILiquidityPositions; + liquidityPositionById: IQueryServiceService_ILiquidityPositionById; + liquidityPositionsById: IQueryServiceService_ILiquidityPositionsById; + liquidityPositionsByPrice: IQueryServiceService_ILiquidityPositionsByPrice; + spread: IQueryServiceService_ISpread; +} + +interface IQueryServiceService_IBatchSwapOutputData extends grpc.MethodDefinition { + path: "/penumbra.core.component.dex.v1alpha1.QueryService/BatchSwapOutputData"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IQueryServiceService_ISwapExecution extends grpc.MethodDefinition { + path: "/penumbra.core.component.dex.v1alpha1.QueryService/SwapExecution"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IQueryServiceService_IArbExecution extends grpc.MethodDefinition { + path: "/penumbra.core.component.dex.v1alpha1.QueryService/ArbExecution"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IQueryServiceService_ISwapExecutions extends grpc.MethodDefinition { + path: "/penumbra.core.component.dex.v1alpha1.QueryService/SwapExecutions"; + requestStream: false; + responseStream: true; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IQueryServiceService_IArbExecutions extends grpc.MethodDefinition { + path: "/penumbra.core.component.dex.v1alpha1.QueryService/ArbExecutions"; + requestStream: false; + responseStream: true; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IQueryServiceService_ILiquidityPositions extends grpc.MethodDefinition { + path: "/penumbra.core.component.dex.v1alpha1.QueryService/LiquidityPositions"; + requestStream: false; + responseStream: true; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IQueryServiceService_ILiquidityPositionById extends grpc.MethodDefinition { + path: "/penumbra.core.component.dex.v1alpha1.QueryService/LiquidityPositionById"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IQueryServiceService_ILiquidityPositionsById extends grpc.MethodDefinition { + path: "/penumbra.core.component.dex.v1alpha1.QueryService/LiquidityPositionsById"; + requestStream: false; + responseStream: true; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IQueryServiceService_ILiquidityPositionsByPrice extends grpc.MethodDefinition { + path: "/penumbra.core.component.dex.v1alpha1.QueryService/LiquidityPositionsByPrice"; + requestStream: false; + responseStream: true; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IQueryServiceService_ISpread extends grpc.MethodDefinition { + path: "/penumbra.core.component.dex.v1alpha1.QueryService/Spread"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} + +export const QueryServiceService: IQueryServiceService; + +export interface IQueryServiceServer { + batchSwapOutputData: grpc.handleUnaryCall; + swapExecution: grpc.handleUnaryCall; + arbExecution: grpc.handleUnaryCall; + swapExecutions: grpc.handleServerStreamingCall; + arbExecutions: grpc.handleServerStreamingCall; + liquidityPositions: grpc.handleServerStreamingCall; + liquidityPositionById: grpc.handleUnaryCall; + liquidityPositionsById: grpc.handleServerStreamingCall; + liquidityPositionsByPrice: grpc.handleServerStreamingCall; + spread: grpc.handleUnaryCall; +} + +export interface IQueryServiceClient { + batchSwapOutputData(request: penumbra_core_component_dex_v1alpha1_dex_pb.BatchSwapOutputDataRequest, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_dex_v1alpha1_dex_pb.BatchSwapOutputDataResponse) => void): grpc.ClientUnaryCall; + batchSwapOutputData(request: penumbra_core_component_dex_v1alpha1_dex_pb.BatchSwapOutputDataRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_dex_v1alpha1_dex_pb.BatchSwapOutputDataResponse) => void): grpc.ClientUnaryCall; + batchSwapOutputData(request: penumbra_core_component_dex_v1alpha1_dex_pb.BatchSwapOutputDataRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_dex_v1alpha1_dex_pb.BatchSwapOutputDataResponse) => void): grpc.ClientUnaryCall; + swapExecution(request: penumbra_core_component_dex_v1alpha1_dex_pb.SwapExecutionRequest, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_dex_v1alpha1_dex_pb.SwapExecutionResponse) => void): grpc.ClientUnaryCall; + swapExecution(request: penumbra_core_component_dex_v1alpha1_dex_pb.SwapExecutionRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_dex_v1alpha1_dex_pb.SwapExecutionResponse) => void): grpc.ClientUnaryCall; + swapExecution(request: penumbra_core_component_dex_v1alpha1_dex_pb.SwapExecutionRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_dex_v1alpha1_dex_pb.SwapExecutionResponse) => void): grpc.ClientUnaryCall; + arbExecution(request: penumbra_core_component_dex_v1alpha1_dex_pb.ArbExecutionRequest, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_dex_v1alpha1_dex_pb.ArbExecutionResponse) => void): grpc.ClientUnaryCall; + arbExecution(request: penumbra_core_component_dex_v1alpha1_dex_pb.ArbExecutionRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_dex_v1alpha1_dex_pb.ArbExecutionResponse) => void): grpc.ClientUnaryCall; + arbExecution(request: penumbra_core_component_dex_v1alpha1_dex_pb.ArbExecutionRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_dex_v1alpha1_dex_pb.ArbExecutionResponse) => void): grpc.ClientUnaryCall; + swapExecutions(request: penumbra_core_component_dex_v1alpha1_dex_pb.SwapExecutionsRequest, options?: Partial): grpc.ClientReadableStream; + swapExecutions(request: penumbra_core_component_dex_v1alpha1_dex_pb.SwapExecutionsRequest, metadata?: grpc.Metadata, options?: Partial): grpc.ClientReadableStream; + arbExecutions(request: penumbra_core_component_dex_v1alpha1_dex_pb.ArbExecutionsRequest, options?: Partial): grpc.ClientReadableStream; + arbExecutions(request: penumbra_core_component_dex_v1alpha1_dex_pb.ArbExecutionsRequest, metadata?: grpc.Metadata, options?: Partial): grpc.ClientReadableStream; + liquidityPositions(request: penumbra_core_component_dex_v1alpha1_dex_pb.LiquidityPositionsRequest, options?: Partial): grpc.ClientReadableStream; + liquidityPositions(request: penumbra_core_component_dex_v1alpha1_dex_pb.LiquidityPositionsRequest, metadata?: grpc.Metadata, options?: Partial): grpc.ClientReadableStream; + liquidityPositionById(request: penumbra_core_component_dex_v1alpha1_dex_pb.LiquidityPositionByIdRequest, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_dex_v1alpha1_dex_pb.LiquidityPositionByIdResponse) => void): grpc.ClientUnaryCall; + liquidityPositionById(request: penumbra_core_component_dex_v1alpha1_dex_pb.LiquidityPositionByIdRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_dex_v1alpha1_dex_pb.LiquidityPositionByIdResponse) => void): grpc.ClientUnaryCall; + liquidityPositionById(request: penumbra_core_component_dex_v1alpha1_dex_pb.LiquidityPositionByIdRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_dex_v1alpha1_dex_pb.LiquidityPositionByIdResponse) => void): grpc.ClientUnaryCall; + liquidityPositionsById(request: penumbra_core_component_dex_v1alpha1_dex_pb.LiquidityPositionsByIdRequest, options?: Partial): grpc.ClientReadableStream; + liquidityPositionsById(request: penumbra_core_component_dex_v1alpha1_dex_pb.LiquidityPositionsByIdRequest, metadata?: grpc.Metadata, options?: Partial): grpc.ClientReadableStream; + liquidityPositionsByPrice(request: penumbra_core_component_dex_v1alpha1_dex_pb.LiquidityPositionsByPriceRequest, options?: Partial): grpc.ClientReadableStream; + liquidityPositionsByPrice(request: penumbra_core_component_dex_v1alpha1_dex_pb.LiquidityPositionsByPriceRequest, metadata?: grpc.Metadata, options?: Partial): grpc.ClientReadableStream; + spread(request: penumbra_core_component_dex_v1alpha1_dex_pb.SpreadRequest, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_dex_v1alpha1_dex_pb.SpreadResponse) => void): grpc.ClientUnaryCall; + spread(request: penumbra_core_component_dex_v1alpha1_dex_pb.SpreadRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_dex_v1alpha1_dex_pb.SpreadResponse) => void): grpc.ClientUnaryCall; + spread(request: penumbra_core_component_dex_v1alpha1_dex_pb.SpreadRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_dex_v1alpha1_dex_pb.SpreadResponse) => void): grpc.ClientUnaryCall; +} + +export class QueryServiceClient extends grpc.Client implements IQueryServiceClient { + constructor(address: string, credentials: grpc.ChannelCredentials, options?: object); + public batchSwapOutputData(request: penumbra_core_component_dex_v1alpha1_dex_pb.BatchSwapOutputDataRequest, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_dex_v1alpha1_dex_pb.BatchSwapOutputDataResponse) => void): grpc.ClientUnaryCall; + public batchSwapOutputData(request: penumbra_core_component_dex_v1alpha1_dex_pb.BatchSwapOutputDataRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_dex_v1alpha1_dex_pb.BatchSwapOutputDataResponse) => void): grpc.ClientUnaryCall; + public batchSwapOutputData(request: penumbra_core_component_dex_v1alpha1_dex_pb.BatchSwapOutputDataRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_dex_v1alpha1_dex_pb.BatchSwapOutputDataResponse) => void): grpc.ClientUnaryCall; + public swapExecution(request: penumbra_core_component_dex_v1alpha1_dex_pb.SwapExecutionRequest, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_dex_v1alpha1_dex_pb.SwapExecutionResponse) => void): grpc.ClientUnaryCall; + public swapExecution(request: penumbra_core_component_dex_v1alpha1_dex_pb.SwapExecutionRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_dex_v1alpha1_dex_pb.SwapExecutionResponse) => void): grpc.ClientUnaryCall; + public swapExecution(request: penumbra_core_component_dex_v1alpha1_dex_pb.SwapExecutionRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_dex_v1alpha1_dex_pb.SwapExecutionResponse) => void): grpc.ClientUnaryCall; + public arbExecution(request: penumbra_core_component_dex_v1alpha1_dex_pb.ArbExecutionRequest, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_dex_v1alpha1_dex_pb.ArbExecutionResponse) => void): grpc.ClientUnaryCall; + public arbExecution(request: penumbra_core_component_dex_v1alpha1_dex_pb.ArbExecutionRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_dex_v1alpha1_dex_pb.ArbExecutionResponse) => void): grpc.ClientUnaryCall; + public arbExecution(request: penumbra_core_component_dex_v1alpha1_dex_pb.ArbExecutionRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_dex_v1alpha1_dex_pb.ArbExecutionResponse) => void): grpc.ClientUnaryCall; + public swapExecutions(request: penumbra_core_component_dex_v1alpha1_dex_pb.SwapExecutionsRequest, options?: Partial): grpc.ClientReadableStream; + public swapExecutions(request: penumbra_core_component_dex_v1alpha1_dex_pb.SwapExecutionsRequest, metadata?: grpc.Metadata, options?: Partial): grpc.ClientReadableStream; + public arbExecutions(request: penumbra_core_component_dex_v1alpha1_dex_pb.ArbExecutionsRequest, options?: Partial): grpc.ClientReadableStream; + public arbExecutions(request: penumbra_core_component_dex_v1alpha1_dex_pb.ArbExecutionsRequest, metadata?: grpc.Metadata, options?: Partial): grpc.ClientReadableStream; + public liquidityPositions(request: penumbra_core_component_dex_v1alpha1_dex_pb.LiquidityPositionsRequest, options?: Partial): grpc.ClientReadableStream; + public liquidityPositions(request: penumbra_core_component_dex_v1alpha1_dex_pb.LiquidityPositionsRequest, metadata?: grpc.Metadata, options?: Partial): grpc.ClientReadableStream; + public liquidityPositionById(request: penumbra_core_component_dex_v1alpha1_dex_pb.LiquidityPositionByIdRequest, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_dex_v1alpha1_dex_pb.LiquidityPositionByIdResponse) => void): grpc.ClientUnaryCall; + public liquidityPositionById(request: penumbra_core_component_dex_v1alpha1_dex_pb.LiquidityPositionByIdRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_dex_v1alpha1_dex_pb.LiquidityPositionByIdResponse) => void): grpc.ClientUnaryCall; + public liquidityPositionById(request: penumbra_core_component_dex_v1alpha1_dex_pb.LiquidityPositionByIdRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_dex_v1alpha1_dex_pb.LiquidityPositionByIdResponse) => void): grpc.ClientUnaryCall; + public liquidityPositionsById(request: penumbra_core_component_dex_v1alpha1_dex_pb.LiquidityPositionsByIdRequest, options?: Partial): grpc.ClientReadableStream; + public liquidityPositionsById(request: penumbra_core_component_dex_v1alpha1_dex_pb.LiquidityPositionsByIdRequest, metadata?: grpc.Metadata, options?: Partial): grpc.ClientReadableStream; + public liquidityPositionsByPrice(request: penumbra_core_component_dex_v1alpha1_dex_pb.LiquidityPositionsByPriceRequest, options?: Partial): grpc.ClientReadableStream; + public liquidityPositionsByPrice(request: penumbra_core_component_dex_v1alpha1_dex_pb.LiquidityPositionsByPriceRequest, metadata?: grpc.Metadata, options?: Partial): grpc.ClientReadableStream; + public spread(request: penumbra_core_component_dex_v1alpha1_dex_pb.SpreadRequest, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_dex_v1alpha1_dex_pb.SpreadResponse) => void): grpc.ClientUnaryCall; + public spread(request: penumbra_core_component_dex_v1alpha1_dex_pb.SpreadRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_dex_v1alpha1_dex_pb.SpreadResponse) => void): grpc.ClientUnaryCall; + public spread(request: penumbra_core_component_dex_v1alpha1_dex_pb.SpreadRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_dex_v1alpha1_dex_pb.SpreadResponse) => void): grpc.ClientUnaryCall; +} + +interface ISimulationServiceService extends grpc.ServiceDefinition { + simulateTrade: ISimulationServiceService_ISimulateTrade; +} + +interface ISimulationServiceService_ISimulateTrade extends grpc.MethodDefinition { + path: "/penumbra.core.component.dex.v1alpha1.SimulationService/SimulateTrade"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} + +export const SimulationServiceService: ISimulationServiceService; + +export interface ISimulationServiceServer { + simulateTrade: grpc.handleUnaryCall; +} + +export interface ISimulationServiceClient { + simulateTrade(request: penumbra_core_component_dex_v1alpha1_dex_pb.SimulateTradeRequest, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_dex_v1alpha1_dex_pb.SimulateTradeResponse) => void): grpc.ClientUnaryCall; + simulateTrade(request: penumbra_core_component_dex_v1alpha1_dex_pb.SimulateTradeRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_dex_v1alpha1_dex_pb.SimulateTradeResponse) => void): grpc.ClientUnaryCall; + simulateTrade(request: penumbra_core_component_dex_v1alpha1_dex_pb.SimulateTradeRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_dex_v1alpha1_dex_pb.SimulateTradeResponse) => void): grpc.ClientUnaryCall; +} + +export class SimulationServiceClient extends grpc.Client implements ISimulationServiceClient { + constructor(address: string, credentials: grpc.ChannelCredentials, options?: object); + public simulateTrade(request: penumbra_core_component_dex_v1alpha1_dex_pb.SimulateTradeRequest, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_dex_v1alpha1_dex_pb.SimulateTradeResponse) => void): grpc.ClientUnaryCall; + public simulateTrade(request: penumbra_core_component_dex_v1alpha1_dex_pb.SimulateTradeRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_dex_v1alpha1_dex_pb.SimulateTradeResponse) => void): grpc.ClientUnaryCall; + public simulateTrade(request: penumbra_core_component_dex_v1alpha1_dex_pb.SimulateTradeRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_dex_v1alpha1_dex_pb.SimulateTradeResponse) => void): grpc.ClientUnaryCall; +} diff --git a/src/chains/penumbra/generated/penumbra/core/component/dex/v1alpha1/dex_grpc_pb.js b/src/chains/penumbra/generated/penumbra/core/component/dex/v1alpha1/dex_grpc_pb.js new file mode 100644 index 0000000000..b366dfc352 --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/component/dex/v1alpha1/dex_grpc_pb.js @@ -0,0 +1,407 @@ +// GENERATED CODE -- DO NOT EDIT! + +'use strict'; +var grpc = require('@grpc/grpc-js'); +var penumbra_core_component_dex_v1alpha1_dex_pb = require('../../../../../penumbra/core/component/dex/v1alpha1/dex_pb.js'); +var penumbra_crypto_tct_v1alpha1_tct_pb = require('../../../../../penumbra/crypto/tct/v1alpha1/tct_pb.js'); +var penumbra_core_num_v1alpha1_num_pb = require('../../../../../penumbra/core/num/v1alpha1/num_pb.js'); +var penumbra_core_asset_v1alpha1_asset_pb = require('../../../../../penumbra/core/asset/v1alpha1/asset_pb.js'); +var penumbra_core_keys_v1alpha1_keys_pb = require('../../../../../penumbra/core/keys/v1alpha1/keys_pb.js'); +var penumbra_core_component_sct_v1alpha1_sct_pb = require('../../../../../penumbra/core/component/sct/v1alpha1/sct_pb.js'); +var penumbra_core_component_fee_v1alpha1_fee_pb = require('../../../../../penumbra/core/component/fee/v1alpha1/fee_pb.js'); +var penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb = require('../../../../../penumbra/core/component/shielded_pool/v1alpha1/shielded_pool_pb.js'); + +function serialize_penumbra_core_component_dex_v1alpha1_ArbExecutionRequest(arg) { + if (!(arg instanceof penumbra_core_component_dex_v1alpha1_dex_pb.ArbExecutionRequest)) { + throw new Error('Expected argument of type penumbra.core.component.dex.v1alpha1.ArbExecutionRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_core_component_dex_v1alpha1_ArbExecutionRequest(buffer_arg) { + return penumbra_core_component_dex_v1alpha1_dex_pb.ArbExecutionRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_core_component_dex_v1alpha1_ArbExecutionResponse(arg) { + if (!(arg instanceof penumbra_core_component_dex_v1alpha1_dex_pb.ArbExecutionResponse)) { + throw new Error('Expected argument of type penumbra.core.component.dex.v1alpha1.ArbExecutionResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_core_component_dex_v1alpha1_ArbExecutionResponse(buffer_arg) { + return penumbra_core_component_dex_v1alpha1_dex_pb.ArbExecutionResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_core_component_dex_v1alpha1_ArbExecutionsRequest(arg) { + if (!(arg instanceof penumbra_core_component_dex_v1alpha1_dex_pb.ArbExecutionsRequest)) { + throw new Error('Expected argument of type penumbra.core.component.dex.v1alpha1.ArbExecutionsRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_core_component_dex_v1alpha1_ArbExecutionsRequest(buffer_arg) { + return penumbra_core_component_dex_v1alpha1_dex_pb.ArbExecutionsRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_core_component_dex_v1alpha1_ArbExecutionsResponse(arg) { + if (!(arg instanceof penumbra_core_component_dex_v1alpha1_dex_pb.ArbExecutionsResponse)) { + throw new Error('Expected argument of type penumbra.core.component.dex.v1alpha1.ArbExecutionsResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_core_component_dex_v1alpha1_ArbExecutionsResponse(buffer_arg) { + return penumbra_core_component_dex_v1alpha1_dex_pb.ArbExecutionsResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_core_component_dex_v1alpha1_BatchSwapOutputDataRequest(arg) { + if (!(arg instanceof penumbra_core_component_dex_v1alpha1_dex_pb.BatchSwapOutputDataRequest)) { + throw new Error('Expected argument of type penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_core_component_dex_v1alpha1_BatchSwapOutputDataRequest(buffer_arg) { + return penumbra_core_component_dex_v1alpha1_dex_pb.BatchSwapOutputDataRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_core_component_dex_v1alpha1_BatchSwapOutputDataResponse(arg) { + if (!(arg instanceof penumbra_core_component_dex_v1alpha1_dex_pb.BatchSwapOutputDataResponse)) { + throw new Error('Expected argument of type penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_core_component_dex_v1alpha1_BatchSwapOutputDataResponse(buffer_arg) { + return penumbra_core_component_dex_v1alpha1_dex_pb.BatchSwapOutputDataResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_core_component_dex_v1alpha1_LiquidityPositionByIdRequest(arg) { + if (!(arg instanceof penumbra_core_component_dex_v1alpha1_dex_pb.LiquidityPositionByIdRequest)) { + throw new Error('Expected argument of type penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_core_component_dex_v1alpha1_LiquidityPositionByIdRequest(buffer_arg) { + return penumbra_core_component_dex_v1alpha1_dex_pb.LiquidityPositionByIdRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_core_component_dex_v1alpha1_LiquidityPositionByIdResponse(arg) { + if (!(arg instanceof penumbra_core_component_dex_v1alpha1_dex_pb.LiquidityPositionByIdResponse)) { + throw new Error('Expected argument of type penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_core_component_dex_v1alpha1_LiquidityPositionByIdResponse(buffer_arg) { + return penumbra_core_component_dex_v1alpha1_dex_pb.LiquidityPositionByIdResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_core_component_dex_v1alpha1_LiquidityPositionsByIdRequest(arg) { + if (!(arg instanceof penumbra_core_component_dex_v1alpha1_dex_pb.LiquidityPositionsByIdRequest)) { + throw new Error('Expected argument of type penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_core_component_dex_v1alpha1_LiquidityPositionsByIdRequest(buffer_arg) { + return penumbra_core_component_dex_v1alpha1_dex_pb.LiquidityPositionsByIdRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_core_component_dex_v1alpha1_LiquidityPositionsByIdResponse(arg) { + if (!(arg instanceof penumbra_core_component_dex_v1alpha1_dex_pb.LiquidityPositionsByIdResponse)) { + throw new Error('Expected argument of type penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_core_component_dex_v1alpha1_LiquidityPositionsByIdResponse(buffer_arg) { + return penumbra_core_component_dex_v1alpha1_dex_pb.LiquidityPositionsByIdResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_core_component_dex_v1alpha1_LiquidityPositionsByPriceRequest(arg) { + if (!(arg instanceof penumbra_core_component_dex_v1alpha1_dex_pb.LiquidityPositionsByPriceRequest)) { + throw new Error('Expected argument of type penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_core_component_dex_v1alpha1_LiquidityPositionsByPriceRequest(buffer_arg) { + return penumbra_core_component_dex_v1alpha1_dex_pb.LiquidityPositionsByPriceRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_core_component_dex_v1alpha1_LiquidityPositionsByPriceResponse(arg) { + if (!(arg instanceof penumbra_core_component_dex_v1alpha1_dex_pb.LiquidityPositionsByPriceResponse)) { + throw new Error('Expected argument of type penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_core_component_dex_v1alpha1_LiquidityPositionsByPriceResponse(buffer_arg) { + return penumbra_core_component_dex_v1alpha1_dex_pb.LiquidityPositionsByPriceResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_core_component_dex_v1alpha1_LiquidityPositionsRequest(arg) { + if (!(arg instanceof penumbra_core_component_dex_v1alpha1_dex_pb.LiquidityPositionsRequest)) { + throw new Error('Expected argument of type penumbra.core.component.dex.v1alpha1.LiquidityPositionsRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_core_component_dex_v1alpha1_LiquidityPositionsRequest(buffer_arg) { + return penumbra_core_component_dex_v1alpha1_dex_pb.LiquidityPositionsRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_core_component_dex_v1alpha1_LiquidityPositionsResponse(arg) { + if (!(arg instanceof penumbra_core_component_dex_v1alpha1_dex_pb.LiquidityPositionsResponse)) { + throw new Error('Expected argument of type penumbra.core.component.dex.v1alpha1.LiquidityPositionsResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_core_component_dex_v1alpha1_LiquidityPositionsResponse(buffer_arg) { + return penumbra_core_component_dex_v1alpha1_dex_pb.LiquidityPositionsResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_core_component_dex_v1alpha1_SimulateTradeRequest(arg) { + if (!(arg instanceof penumbra_core_component_dex_v1alpha1_dex_pb.SimulateTradeRequest)) { + throw new Error('Expected argument of type penumbra.core.component.dex.v1alpha1.SimulateTradeRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_core_component_dex_v1alpha1_SimulateTradeRequest(buffer_arg) { + return penumbra_core_component_dex_v1alpha1_dex_pb.SimulateTradeRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_core_component_dex_v1alpha1_SimulateTradeResponse(arg) { + if (!(arg instanceof penumbra_core_component_dex_v1alpha1_dex_pb.SimulateTradeResponse)) { + throw new Error('Expected argument of type penumbra.core.component.dex.v1alpha1.SimulateTradeResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_core_component_dex_v1alpha1_SimulateTradeResponse(buffer_arg) { + return penumbra_core_component_dex_v1alpha1_dex_pb.SimulateTradeResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_core_component_dex_v1alpha1_SpreadRequest(arg) { + if (!(arg instanceof penumbra_core_component_dex_v1alpha1_dex_pb.SpreadRequest)) { + throw new Error('Expected argument of type penumbra.core.component.dex.v1alpha1.SpreadRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_core_component_dex_v1alpha1_SpreadRequest(buffer_arg) { + return penumbra_core_component_dex_v1alpha1_dex_pb.SpreadRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_core_component_dex_v1alpha1_SpreadResponse(arg) { + if (!(arg instanceof penumbra_core_component_dex_v1alpha1_dex_pb.SpreadResponse)) { + throw new Error('Expected argument of type penumbra.core.component.dex.v1alpha1.SpreadResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_core_component_dex_v1alpha1_SpreadResponse(buffer_arg) { + return penumbra_core_component_dex_v1alpha1_dex_pb.SpreadResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_core_component_dex_v1alpha1_SwapExecutionRequest(arg) { + if (!(arg instanceof penumbra_core_component_dex_v1alpha1_dex_pb.SwapExecutionRequest)) { + throw new Error('Expected argument of type penumbra.core.component.dex.v1alpha1.SwapExecutionRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_core_component_dex_v1alpha1_SwapExecutionRequest(buffer_arg) { + return penumbra_core_component_dex_v1alpha1_dex_pb.SwapExecutionRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_core_component_dex_v1alpha1_SwapExecutionResponse(arg) { + if (!(arg instanceof penumbra_core_component_dex_v1alpha1_dex_pb.SwapExecutionResponse)) { + throw new Error('Expected argument of type penumbra.core.component.dex.v1alpha1.SwapExecutionResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_core_component_dex_v1alpha1_SwapExecutionResponse(buffer_arg) { + return penumbra_core_component_dex_v1alpha1_dex_pb.SwapExecutionResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_core_component_dex_v1alpha1_SwapExecutionsRequest(arg) { + if (!(arg instanceof penumbra_core_component_dex_v1alpha1_dex_pb.SwapExecutionsRequest)) { + throw new Error('Expected argument of type penumbra.core.component.dex.v1alpha1.SwapExecutionsRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_core_component_dex_v1alpha1_SwapExecutionsRequest(buffer_arg) { + return penumbra_core_component_dex_v1alpha1_dex_pb.SwapExecutionsRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_core_component_dex_v1alpha1_SwapExecutionsResponse(arg) { + if (!(arg instanceof penumbra_core_component_dex_v1alpha1_dex_pb.SwapExecutionsResponse)) { + throw new Error('Expected argument of type penumbra.core.component.dex.v1alpha1.SwapExecutionsResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_core_component_dex_v1alpha1_SwapExecutionsResponse(buffer_arg) { + return penumbra_core_component_dex_v1alpha1_dex_pb.SwapExecutionsResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + + +// Query operations for the DEX component. +var QueryServiceService = exports.QueryServiceService = { + // Get the batch clearing prices for a specific block height and trading pair. +batchSwapOutputData: { + path: '/penumbra.core.component.dex.v1alpha1.QueryService/BatchSwapOutputData', + requestStream: false, + responseStream: false, + requestType: penumbra_core_component_dex_v1alpha1_dex_pb.BatchSwapOutputDataRequest, + responseType: penumbra_core_component_dex_v1alpha1_dex_pb.BatchSwapOutputDataResponse, + requestSerialize: serialize_penumbra_core_component_dex_v1alpha1_BatchSwapOutputDataRequest, + requestDeserialize: deserialize_penumbra_core_component_dex_v1alpha1_BatchSwapOutputDataRequest, + responseSerialize: serialize_penumbra_core_component_dex_v1alpha1_BatchSwapOutputDataResponse, + responseDeserialize: deserialize_penumbra_core_component_dex_v1alpha1_BatchSwapOutputDataResponse, + }, + // Get the precise swap execution used for a specific batch swap. +swapExecution: { + path: '/penumbra.core.component.dex.v1alpha1.QueryService/SwapExecution', + requestStream: false, + responseStream: false, + requestType: penumbra_core_component_dex_v1alpha1_dex_pb.SwapExecutionRequest, + responseType: penumbra_core_component_dex_v1alpha1_dex_pb.SwapExecutionResponse, + requestSerialize: serialize_penumbra_core_component_dex_v1alpha1_SwapExecutionRequest, + requestDeserialize: deserialize_penumbra_core_component_dex_v1alpha1_SwapExecutionRequest, + responseSerialize: serialize_penumbra_core_component_dex_v1alpha1_SwapExecutionResponse, + responseDeserialize: deserialize_penumbra_core_component_dex_v1alpha1_SwapExecutionResponse, + }, + // Get the precise execution used to perform on-chain arbitrage. +arbExecution: { + path: '/penumbra.core.component.dex.v1alpha1.QueryService/ArbExecution', + requestStream: false, + responseStream: false, + requestType: penumbra_core_component_dex_v1alpha1_dex_pb.ArbExecutionRequest, + responseType: penumbra_core_component_dex_v1alpha1_dex_pb.ArbExecutionResponse, + requestSerialize: serialize_penumbra_core_component_dex_v1alpha1_ArbExecutionRequest, + requestDeserialize: deserialize_penumbra_core_component_dex_v1alpha1_ArbExecutionRequest, + responseSerialize: serialize_penumbra_core_component_dex_v1alpha1_ArbExecutionResponse, + responseDeserialize: deserialize_penumbra_core_component_dex_v1alpha1_ArbExecutionResponse, + }, + // Stream all swap executions over a range of heights, optionally subscribing to future executions. +swapExecutions: { + path: '/penumbra.core.component.dex.v1alpha1.QueryService/SwapExecutions', + requestStream: false, + responseStream: true, + requestType: penumbra_core_component_dex_v1alpha1_dex_pb.SwapExecutionsRequest, + responseType: penumbra_core_component_dex_v1alpha1_dex_pb.SwapExecutionsResponse, + requestSerialize: serialize_penumbra_core_component_dex_v1alpha1_SwapExecutionsRequest, + requestDeserialize: deserialize_penumbra_core_component_dex_v1alpha1_SwapExecutionsRequest, + responseSerialize: serialize_penumbra_core_component_dex_v1alpha1_SwapExecutionsResponse, + responseDeserialize: deserialize_penumbra_core_component_dex_v1alpha1_SwapExecutionsResponse, + }, + // Stream all arbitrage executions over a range of heights, optionally subscribing to future executions. +arbExecutions: { + path: '/penumbra.core.component.dex.v1alpha1.QueryService/ArbExecutions', + requestStream: false, + responseStream: true, + requestType: penumbra_core_component_dex_v1alpha1_dex_pb.ArbExecutionsRequest, + responseType: penumbra_core_component_dex_v1alpha1_dex_pb.ArbExecutionsResponse, + requestSerialize: serialize_penumbra_core_component_dex_v1alpha1_ArbExecutionsRequest, + requestDeserialize: deserialize_penumbra_core_component_dex_v1alpha1_ArbExecutionsRequest, + responseSerialize: serialize_penumbra_core_component_dex_v1alpha1_ArbExecutionsResponse, + responseDeserialize: deserialize_penumbra_core_component_dex_v1alpha1_ArbExecutionsResponse, + }, + // Query all liquidity positions on the DEX. +liquidityPositions: { + path: '/penumbra.core.component.dex.v1alpha1.QueryService/LiquidityPositions', + requestStream: false, + responseStream: true, + requestType: penumbra_core_component_dex_v1alpha1_dex_pb.LiquidityPositionsRequest, + responseType: penumbra_core_component_dex_v1alpha1_dex_pb.LiquidityPositionsResponse, + requestSerialize: serialize_penumbra_core_component_dex_v1alpha1_LiquidityPositionsRequest, + requestDeserialize: deserialize_penumbra_core_component_dex_v1alpha1_LiquidityPositionsRequest, + responseSerialize: serialize_penumbra_core_component_dex_v1alpha1_LiquidityPositionsResponse, + responseDeserialize: deserialize_penumbra_core_component_dex_v1alpha1_LiquidityPositionsResponse, + }, + // Query liquidity positions by ID. +// +// To get multiple positions, use `LiquidityPositionsById`. +liquidityPositionById: { + path: '/penumbra.core.component.dex.v1alpha1.QueryService/LiquidityPositionById', + requestStream: false, + responseStream: false, + requestType: penumbra_core_component_dex_v1alpha1_dex_pb.LiquidityPositionByIdRequest, + responseType: penumbra_core_component_dex_v1alpha1_dex_pb.LiquidityPositionByIdResponse, + requestSerialize: serialize_penumbra_core_component_dex_v1alpha1_LiquidityPositionByIdRequest, + requestDeserialize: deserialize_penumbra_core_component_dex_v1alpha1_LiquidityPositionByIdRequest, + responseSerialize: serialize_penumbra_core_component_dex_v1alpha1_LiquidityPositionByIdResponse, + responseDeserialize: deserialize_penumbra_core_component_dex_v1alpha1_LiquidityPositionByIdResponse, + }, + // Query multiple liquidity positions by ID. +liquidityPositionsById: { + path: '/penumbra.core.component.dex.v1alpha1.QueryService/LiquidityPositionsById', + requestStream: false, + responseStream: true, + requestType: penumbra_core_component_dex_v1alpha1_dex_pb.LiquidityPositionsByIdRequest, + responseType: penumbra_core_component_dex_v1alpha1_dex_pb.LiquidityPositionsByIdResponse, + requestSerialize: serialize_penumbra_core_component_dex_v1alpha1_LiquidityPositionsByIdRequest, + requestDeserialize: deserialize_penumbra_core_component_dex_v1alpha1_LiquidityPositionsByIdRequest, + responseSerialize: serialize_penumbra_core_component_dex_v1alpha1_LiquidityPositionsByIdResponse, + responseDeserialize: deserialize_penumbra_core_component_dex_v1alpha1_LiquidityPositionsByIdResponse, + }, + // Query liquidity positions on a specific pair, sorted by effective price. +liquidityPositionsByPrice: { + path: '/penumbra.core.component.dex.v1alpha1.QueryService/LiquidityPositionsByPrice', + requestStream: false, + responseStream: true, + requestType: penumbra_core_component_dex_v1alpha1_dex_pb.LiquidityPositionsByPriceRequest, + responseType: penumbra_core_component_dex_v1alpha1_dex_pb.LiquidityPositionsByPriceResponse, + requestSerialize: serialize_penumbra_core_component_dex_v1alpha1_LiquidityPositionsByPriceRequest, + requestDeserialize: deserialize_penumbra_core_component_dex_v1alpha1_LiquidityPositionsByPriceRequest, + responseSerialize: serialize_penumbra_core_component_dex_v1alpha1_LiquidityPositionsByPriceResponse, + responseDeserialize: deserialize_penumbra_core_component_dex_v1alpha1_LiquidityPositionsByPriceResponse, + }, + // Get the current (direct) spread on a trading pair. +// +// This method doesn't do simulation, so actually executing might result in a +// better price (if the chain takes a different route to the target asset). +spread: { + path: '/penumbra.core.component.dex.v1alpha1.QueryService/Spread', + requestStream: false, + responseStream: false, + requestType: penumbra_core_component_dex_v1alpha1_dex_pb.SpreadRequest, + responseType: penumbra_core_component_dex_v1alpha1_dex_pb.SpreadResponse, + requestSerialize: serialize_penumbra_core_component_dex_v1alpha1_SpreadRequest, + requestDeserialize: deserialize_penumbra_core_component_dex_v1alpha1_SpreadRequest, + responseSerialize: serialize_penumbra_core_component_dex_v1alpha1_SpreadResponse, + responseDeserialize: deserialize_penumbra_core_component_dex_v1alpha1_SpreadResponse, + }, +}; + +exports.QueryServiceClient = grpc.makeGenericClientConstructor(QueryServiceService); +// Simulation for the DEX component. +// +// This is a separate service from the QueryService because it's not just a +// simple read query from the state. Thus it poses greater DoS risks, and node +// operators may want to enable it separately. +var SimulationServiceService = exports.SimulationServiceService = { + // Simulate routing and trade execution. +simulateTrade: { + path: '/penumbra.core.component.dex.v1alpha1.SimulationService/SimulateTrade', + requestStream: false, + responseStream: false, + requestType: penumbra_core_component_dex_v1alpha1_dex_pb.SimulateTradeRequest, + responseType: penumbra_core_component_dex_v1alpha1_dex_pb.SimulateTradeResponse, + requestSerialize: serialize_penumbra_core_component_dex_v1alpha1_SimulateTradeRequest, + requestDeserialize: deserialize_penumbra_core_component_dex_v1alpha1_SimulateTradeRequest, + responseSerialize: serialize_penumbra_core_component_dex_v1alpha1_SimulateTradeResponse, + responseDeserialize: deserialize_penumbra_core_component_dex_v1alpha1_SimulateTradeResponse, + }, +}; + +exports.SimulationServiceClient = grpc.makeGenericClientConstructor(SimulationServiceService); diff --git a/src/chains/penumbra/generated/penumbra/core/component/dex/v1alpha1/dex_pb.d.ts b/src/chains/penumbra/generated/penumbra/core/component/dex/v1alpha1/dex_pb.d.ts new file mode 100644 index 0000000000..d79d5efec5 --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/component/dex/v1alpha1/dex_pb.d.ts @@ -0,0 +1,1784 @@ +// package: penumbra.core.component.dex.v1alpha1 +// file: penumbra/core/component/dex/v1alpha1/dex.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as penumbra_crypto_tct_v1alpha1_tct_pb from "../../../../../penumbra/crypto/tct/v1alpha1/tct_pb"; +import * as penumbra_core_num_v1alpha1_num_pb from "../../../../../penumbra/core/num/v1alpha1/num_pb"; +import * as penumbra_core_asset_v1alpha1_asset_pb from "../../../../../penumbra/core/asset/v1alpha1/asset_pb"; +import * as penumbra_core_keys_v1alpha1_keys_pb from "../../../../../penumbra/core/keys/v1alpha1/keys_pb"; +import * as penumbra_core_component_sct_v1alpha1_sct_pb from "../../../../../penumbra/core/component/sct/v1alpha1/sct_pb"; +import * as penumbra_core_component_fee_v1alpha1_fee_pb from "../../../../../penumbra/core/component/fee/v1alpha1/fee_pb"; +import * as penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb from "../../../../../penumbra/core/component/shielded_pool/v1alpha1/shielded_pool_pb"; + +export class ZKSwapProof extends jspb.Message { + getInner(): Uint8Array | string; + getInner_asU8(): Uint8Array; + getInner_asB64(): string; + setInner(value: Uint8Array | string): ZKSwapProof; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ZKSwapProof.AsObject; + static toObject(includeInstance: boolean, msg: ZKSwapProof): ZKSwapProof.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ZKSwapProof, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ZKSwapProof; + static deserializeBinaryFromReader(message: ZKSwapProof, reader: jspb.BinaryReader): ZKSwapProof; +} + +export namespace ZKSwapProof { + export type AsObject = { + inner: Uint8Array | string, + } +} + +export class ZKSwapClaimProof extends jspb.Message { + getInner(): Uint8Array | string; + getInner_asU8(): Uint8Array; + getInner_asB64(): string; + setInner(value: Uint8Array | string): ZKSwapClaimProof; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ZKSwapClaimProof.AsObject; + static toObject(includeInstance: boolean, msg: ZKSwapClaimProof): ZKSwapClaimProof.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ZKSwapClaimProof, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ZKSwapClaimProof; + static deserializeBinaryFromReader(message: ZKSwapClaimProof, reader: jspb.BinaryReader): ZKSwapClaimProof; +} + +export namespace ZKSwapClaimProof { + export type AsObject = { + inner: Uint8Array | string, + } +} + +export class Swap extends jspb.Message { + + hasProof(): boolean; + clearProof(): void; + getProof(): ZKSwapProof | undefined; + setProof(value?: ZKSwapProof): Swap; + + hasBody(): boolean; + clearBody(): void; + getBody(): SwapBody | undefined; + setBody(value?: SwapBody): Swap; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Swap.AsObject; + static toObject(includeInstance: boolean, msg: Swap): Swap.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Swap, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Swap; + static deserializeBinaryFromReader(message: Swap, reader: jspb.BinaryReader): Swap; +} + +export namespace Swap { + export type AsObject = { + proof?: ZKSwapProof.AsObject, + body?: SwapBody.AsObject, + } +} + +export class SwapClaim extends jspb.Message { + + hasProof(): boolean; + clearProof(): void; + getProof(): ZKSwapClaimProof | undefined; + setProof(value?: ZKSwapClaimProof): SwapClaim; + + hasBody(): boolean; + clearBody(): void; + getBody(): SwapClaimBody | undefined; + setBody(value?: SwapClaimBody): SwapClaim; + getEpochDuration(): number; + setEpochDuration(value: number): SwapClaim; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SwapClaim.AsObject; + static toObject(includeInstance: boolean, msg: SwapClaim): SwapClaim.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SwapClaim, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SwapClaim; + static deserializeBinaryFromReader(message: SwapClaim, reader: jspb.BinaryReader): SwapClaim; +} + +export namespace SwapClaim { + export type AsObject = { + proof?: ZKSwapClaimProof.AsObject, + body?: SwapClaimBody.AsObject, + epochDuration: number, + } +} + +export class SwapClaimBody extends jspb.Message { + + hasNullifier(): boolean; + clearNullifier(): void; + getNullifier(): penumbra_core_component_sct_v1alpha1_sct_pb.Nullifier | undefined; + setNullifier(value?: penumbra_core_component_sct_v1alpha1_sct_pb.Nullifier): SwapClaimBody; + + hasFee(): boolean; + clearFee(): void; + getFee(): penumbra_core_component_fee_v1alpha1_fee_pb.Fee | undefined; + setFee(value?: penumbra_core_component_fee_v1alpha1_fee_pb.Fee): SwapClaimBody; + + hasOutput1Commitment(): boolean; + clearOutput1Commitment(): void; + getOutput1Commitment(): penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment | undefined; + setOutput1Commitment(value?: penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment): SwapClaimBody; + + hasOutput2Commitment(): boolean; + clearOutput2Commitment(): void; + getOutput2Commitment(): penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment | undefined; + setOutput2Commitment(value?: penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment): SwapClaimBody; + + hasOutputData(): boolean; + clearOutputData(): void; + getOutputData(): BatchSwapOutputData | undefined; + setOutputData(value?: BatchSwapOutputData): SwapClaimBody; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SwapClaimBody.AsObject; + static toObject(includeInstance: boolean, msg: SwapClaimBody): SwapClaimBody.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SwapClaimBody, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SwapClaimBody; + static deserializeBinaryFromReader(message: SwapClaimBody, reader: jspb.BinaryReader): SwapClaimBody; +} + +export namespace SwapClaimBody { + export type AsObject = { + nullifier?: penumbra_core_component_sct_v1alpha1_sct_pb.Nullifier.AsObject, + fee?: penumbra_core_component_fee_v1alpha1_fee_pb.Fee.AsObject, + output1Commitment?: penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.AsObject, + output2Commitment?: penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.AsObject, + outputData?: BatchSwapOutputData.AsObject, + } +} + +export class SwapBody extends jspb.Message { + + hasTradingPair(): boolean; + clearTradingPair(): void; + getTradingPair(): TradingPair | undefined; + setTradingPair(value?: TradingPair): SwapBody; + + hasDelta1I(): boolean; + clearDelta1I(): void; + getDelta1I(): penumbra_core_num_v1alpha1_num_pb.Amount | undefined; + setDelta1I(value?: penumbra_core_num_v1alpha1_num_pb.Amount): SwapBody; + + hasDelta2I(): boolean; + clearDelta2I(): void; + getDelta2I(): penumbra_core_num_v1alpha1_num_pb.Amount | undefined; + setDelta2I(value?: penumbra_core_num_v1alpha1_num_pb.Amount): SwapBody; + + hasFeeCommitment(): boolean; + clearFeeCommitment(): void; + getFeeCommitment(): penumbra_core_asset_v1alpha1_asset_pb.BalanceCommitment | undefined; + setFeeCommitment(value?: penumbra_core_asset_v1alpha1_asset_pb.BalanceCommitment): SwapBody; + + hasPayload(): boolean; + clearPayload(): void; + getPayload(): SwapPayload | undefined; + setPayload(value?: SwapPayload): SwapBody; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SwapBody.AsObject; + static toObject(includeInstance: boolean, msg: SwapBody): SwapBody.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SwapBody, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SwapBody; + static deserializeBinaryFromReader(message: SwapBody, reader: jspb.BinaryReader): SwapBody; +} + +export namespace SwapBody { + export type AsObject = { + tradingPair?: TradingPair.AsObject, + delta1I?: penumbra_core_num_v1alpha1_num_pb.Amount.AsObject, + delta2I?: penumbra_core_num_v1alpha1_num_pb.Amount.AsObject, + feeCommitment?: penumbra_core_asset_v1alpha1_asset_pb.BalanceCommitment.AsObject, + payload?: SwapPayload.AsObject, + } +} + +export class SwapPayload extends jspb.Message { + + hasCommitment(): boolean; + clearCommitment(): void; + getCommitment(): penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment | undefined; + setCommitment(value?: penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment): SwapPayload; + getEncryptedSwap(): Uint8Array | string; + getEncryptedSwap_asU8(): Uint8Array; + getEncryptedSwap_asB64(): string; + setEncryptedSwap(value: Uint8Array | string): SwapPayload; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SwapPayload.AsObject; + static toObject(includeInstance: boolean, msg: SwapPayload): SwapPayload.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SwapPayload, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SwapPayload; + static deserializeBinaryFromReader(message: SwapPayload, reader: jspb.BinaryReader): SwapPayload; +} + +export namespace SwapPayload { + export type AsObject = { + commitment?: penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.AsObject, + encryptedSwap: Uint8Array | string, + } +} + +export class SwapPlaintext extends jspb.Message { + + hasTradingPair(): boolean; + clearTradingPair(): void; + getTradingPair(): TradingPair | undefined; + setTradingPair(value?: TradingPair): SwapPlaintext; + + hasDelta1I(): boolean; + clearDelta1I(): void; + getDelta1I(): penumbra_core_num_v1alpha1_num_pb.Amount | undefined; + setDelta1I(value?: penumbra_core_num_v1alpha1_num_pb.Amount): SwapPlaintext; + + hasDelta2I(): boolean; + clearDelta2I(): void; + getDelta2I(): penumbra_core_num_v1alpha1_num_pb.Amount | undefined; + setDelta2I(value?: penumbra_core_num_v1alpha1_num_pb.Amount): SwapPlaintext; + + hasClaimFee(): boolean; + clearClaimFee(): void; + getClaimFee(): penumbra_core_component_fee_v1alpha1_fee_pb.Fee | undefined; + setClaimFee(value?: penumbra_core_component_fee_v1alpha1_fee_pb.Fee): SwapPlaintext; + + hasClaimAddress(): boolean; + clearClaimAddress(): void; + getClaimAddress(): penumbra_core_keys_v1alpha1_keys_pb.Address | undefined; + setClaimAddress(value?: penumbra_core_keys_v1alpha1_keys_pb.Address): SwapPlaintext; + getRseed(): Uint8Array | string; + getRseed_asU8(): Uint8Array; + getRseed_asB64(): string; + setRseed(value: Uint8Array | string): SwapPlaintext; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SwapPlaintext.AsObject; + static toObject(includeInstance: boolean, msg: SwapPlaintext): SwapPlaintext.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SwapPlaintext, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SwapPlaintext; + static deserializeBinaryFromReader(message: SwapPlaintext, reader: jspb.BinaryReader): SwapPlaintext; +} + +export namespace SwapPlaintext { + export type AsObject = { + tradingPair?: TradingPair.AsObject, + delta1I?: penumbra_core_num_v1alpha1_num_pb.Amount.AsObject, + delta2I?: penumbra_core_num_v1alpha1_num_pb.Amount.AsObject, + claimFee?: penumbra_core_component_fee_v1alpha1_fee_pb.Fee.AsObject, + claimAddress?: penumbra_core_keys_v1alpha1_keys_pb.Address.AsObject, + rseed: Uint8Array | string, + } +} + +export class SwapPlan extends jspb.Message { + + hasSwapPlaintext(): boolean; + clearSwapPlaintext(): void; + getSwapPlaintext(): SwapPlaintext | undefined; + setSwapPlaintext(value?: SwapPlaintext): SwapPlan; + getFeeBlinding(): Uint8Array | string; + getFeeBlinding_asU8(): Uint8Array; + getFeeBlinding_asB64(): string; + setFeeBlinding(value: Uint8Array | string): SwapPlan; + getProofBlindingR(): Uint8Array | string; + getProofBlindingR_asU8(): Uint8Array; + getProofBlindingR_asB64(): string; + setProofBlindingR(value: Uint8Array | string): SwapPlan; + getProofBlindingS(): Uint8Array | string; + getProofBlindingS_asU8(): Uint8Array; + getProofBlindingS_asB64(): string; + setProofBlindingS(value: Uint8Array | string): SwapPlan; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SwapPlan.AsObject; + static toObject(includeInstance: boolean, msg: SwapPlan): SwapPlan.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SwapPlan, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SwapPlan; + static deserializeBinaryFromReader(message: SwapPlan, reader: jspb.BinaryReader): SwapPlan; +} + +export namespace SwapPlan { + export type AsObject = { + swapPlaintext?: SwapPlaintext.AsObject, + feeBlinding: Uint8Array | string, + proofBlindingR: Uint8Array | string, + proofBlindingS: Uint8Array | string, + } +} + +export class SwapClaimPlan extends jspb.Message { + + hasSwapPlaintext(): boolean; + clearSwapPlaintext(): void; + getSwapPlaintext(): SwapPlaintext | undefined; + setSwapPlaintext(value?: SwapPlaintext): SwapClaimPlan; + getPosition(): number; + setPosition(value: number): SwapClaimPlan; + + hasOutputData(): boolean; + clearOutputData(): void; + getOutputData(): BatchSwapOutputData | undefined; + setOutputData(value?: BatchSwapOutputData): SwapClaimPlan; + getEpochDuration(): number; + setEpochDuration(value: number): SwapClaimPlan; + getProofBlindingR(): Uint8Array | string; + getProofBlindingR_asU8(): Uint8Array; + getProofBlindingR_asB64(): string; + setProofBlindingR(value: Uint8Array | string): SwapClaimPlan; + getProofBlindingS(): Uint8Array | string; + getProofBlindingS_asU8(): Uint8Array; + getProofBlindingS_asB64(): string; + setProofBlindingS(value: Uint8Array | string): SwapClaimPlan; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SwapClaimPlan.AsObject; + static toObject(includeInstance: boolean, msg: SwapClaimPlan): SwapClaimPlan.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SwapClaimPlan, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SwapClaimPlan; + static deserializeBinaryFromReader(message: SwapClaimPlan, reader: jspb.BinaryReader): SwapClaimPlan; +} + +export namespace SwapClaimPlan { + export type AsObject = { + swapPlaintext?: SwapPlaintext.AsObject, + position: number, + outputData?: BatchSwapOutputData.AsObject, + epochDuration: number, + proofBlindingR: Uint8Array | string, + proofBlindingS: Uint8Array | string, + } +} + +export class SwapView extends jspb.Message { + + hasVisible(): boolean; + clearVisible(): void; + getVisible(): SwapView.Visible | undefined; + setVisible(value?: SwapView.Visible): SwapView; + + hasOpaque(): boolean; + clearOpaque(): void; + getOpaque(): SwapView.Opaque | undefined; + setOpaque(value?: SwapView.Opaque): SwapView; + + getSwapViewCase(): SwapView.SwapViewCase; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SwapView.AsObject; + static toObject(includeInstance: boolean, msg: SwapView): SwapView.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SwapView, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SwapView; + static deserializeBinaryFromReader(message: SwapView, reader: jspb.BinaryReader): SwapView; +} + +export namespace SwapView { + export type AsObject = { + visible?: SwapView.Visible.AsObject, + opaque?: SwapView.Opaque.AsObject, + } + + + export class Visible extends jspb.Message { + + hasSwap(): boolean; + clearSwap(): void; + getSwap(): Swap | undefined; + setSwap(value?: Swap): Visible; + + hasSwapPlaintext(): boolean; + clearSwapPlaintext(): void; + getSwapPlaintext(): SwapPlaintext | undefined; + setSwapPlaintext(value?: SwapPlaintext): Visible; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Visible.AsObject; + static toObject(includeInstance: boolean, msg: Visible): Visible.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Visible, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Visible; + static deserializeBinaryFromReader(message: Visible, reader: jspb.BinaryReader): Visible; + } + + export namespace Visible { + export type AsObject = { + swap?: Swap.AsObject, + swapPlaintext?: SwapPlaintext.AsObject, + } + } + + export class Opaque extends jspb.Message { + + hasSwap(): boolean; + clearSwap(): void; + getSwap(): Swap | undefined; + setSwap(value?: Swap): Opaque; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Opaque.AsObject; + static toObject(includeInstance: boolean, msg: Opaque): Opaque.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Opaque, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Opaque; + static deserializeBinaryFromReader(message: Opaque, reader: jspb.BinaryReader): Opaque; + } + + export namespace Opaque { + export type AsObject = { + swap?: Swap.AsObject, + } + } + + + export enum SwapViewCase { + SWAP_VIEW_NOT_SET = 0, + VISIBLE = 1, + OPAQUE = 2, + } + +} + +export class SwapClaimView extends jspb.Message { + + hasVisible(): boolean; + clearVisible(): void; + getVisible(): SwapClaimView.Visible | undefined; + setVisible(value?: SwapClaimView.Visible): SwapClaimView; + + hasOpaque(): boolean; + clearOpaque(): void; + getOpaque(): SwapClaimView.Opaque | undefined; + setOpaque(value?: SwapClaimView.Opaque): SwapClaimView; + + getSwapClaimViewCase(): SwapClaimView.SwapClaimViewCase; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SwapClaimView.AsObject; + static toObject(includeInstance: boolean, msg: SwapClaimView): SwapClaimView.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SwapClaimView, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SwapClaimView; + static deserializeBinaryFromReader(message: SwapClaimView, reader: jspb.BinaryReader): SwapClaimView; +} + +export namespace SwapClaimView { + export type AsObject = { + visible?: SwapClaimView.Visible.AsObject, + opaque?: SwapClaimView.Opaque.AsObject, + } + + + export class Visible extends jspb.Message { + + hasSwapClaim(): boolean; + clearSwapClaim(): void; + getSwapClaim(): SwapClaim | undefined; + setSwapClaim(value?: SwapClaim): Visible; + + hasOutput1(): boolean; + clearOutput1(): void; + getOutput1(): penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.NoteView | undefined; + setOutput1(value?: penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.NoteView): Visible; + + hasOutput2(): boolean; + clearOutput2(): void; + getOutput2(): penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.NoteView | undefined; + setOutput2(value?: penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.NoteView): Visible; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Visible.AsObject; + static toObject(includeInstance: boolean, msg: Visible): Visible.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Visible, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Visible; + static deserializeBinaryFromReader(message: Visible, reader: jspb.BinaryReader): Visible; + } + + export namespace Visible { + export type AsObject = { + swapClaim?: SwapClaim.AsObject, + output1?: penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.NoteView.AsObject, + output2?: penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.NoteView.AsObject, + } + } + + export class Opaque extends jspb.Message { + + hasSwapClaim(): boolean; + clearSwapClaim(): void; + getSwapClaim(): SwapClaim | undefined; + setSwapClaim(value?: SwapClaim): Opaque; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Opaque.AsObject; + static toObject(includeInstance: boolean, msg: Opaque): Opaque.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Opaque, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Opaque; + static deserializeBinaryFromReader(message: Opaque, reader: jspb.BinaryReader): Opaque; + } + + export namespace Opaque { + export type AsObject = { + swapClaim?: SwapClaim.AsObject, + } + } + + + export enum SwapClaimViewCase { + SWAP_CLAIM_VIEW_NOT_SET = 0, + VISIBLE = 1, + OPAQUE = 2, + } + +} + +export class TradingPair extends jspb.Message { + + hasAsset1(): boolean; + clearAsset1(): void; + getAsset1(): penumbra_core_asset_v1alpha1_asset_pb.AssetId | undefined; + setAsset1(value?: penumbra_core_asset_v1alpha1_asset_pb.AssetId): TradingPair; + + hasAsset2(): boolean; + clearAsset2(): void; + getAsset2(): penumbra_core_asset_v1alpha1_asset_pb.AssetId | undefined; + setAsset2(value?: penumbra_core_asset_v1alpha1_asset_pb.AssetId): TradingPair; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): TradingPair.AsObject; + static toObject(includeInstance: boolean, msg: TradingPair): TradingPair.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: TradingPair, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): TradingPair; + static deserializeBinaryFromReader(message: TradingPair, reader: jspb.BinaryReader): TradingPair; +} + +export namespace TradingPair { + export type AsObject = { + asset1?: penumbra_core_asset_v1alpha1_asset_pb.AssetId.AsObject, + asset2?: penumbra_core_asset_v1alpha1_asset_pb.AssetId.AsObject, + } +} + +export class DirectedTradingPair extends jspb.Message { + + hasStart(): boolean; + clearStart(): void; + getStart(): penumbra_core_asset_v1alpha1_asset_pb.AssetId | undefined; + setStart(value?: penumbra_core_asset_v1alpha1_asset_pb.AssetId): DirectedTradingPair; + + hasEnd(): boolean; + clearEnd(): void; + getEnd(): penumbra_core_asset_v1alpha1_asset_pb.AssetId | undefined; + setEnd(value?: penumbra_core_asset_v1alpha1_asset_pb.AssetId): DirectedTradingPair; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): DirectedTradingPair.AsObject; + static toObject(includeInstance: boolean, msg: DirectedTradingPair): DirectedTradingPair.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: DirectedTradingPair, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): DirectedTradingPair; + static deserializeBinaryFromReader(message: DirectedTradingPair, reader: jspb.BinaryReader): DirectedTradingPair; +} + +export namespace DirectedTradingPair { + export type AsObject = { + start?: penumbra_core_asset_v1alpha1_asset_pb.AssetId.AsObject, + end?: penumbra_core_asset_v1alpha1_asset_pb.AssetId.AsObject, + } +} + +export class BatchSwapOutputData extends jspb.Message { + + hasDelta1(): boolean; + clearDelta1(): void; + getDelta1(): penumbra_core_num_v1alpha1_num_pb.Amount | undefined; + setDelta1(value?: penumbra_core_num_v1alpha1_num_pb.Amount): BatchSwapOutputData; + + hasDelta2(): boolean; + clearDelta2(): void; + getDelta2(): penumbra_core_num_v1alpha1_num_pb.Amount | undefined; + setDelta2(value?: penumbra_core_num_v1alpha1_num_pb.Amount): BatchSwapOutputData; + + hasLambda1(): boolean; + clearLambda1(): void; + getLambda1(): penumbra_core_num_v1alpha1_num_pb.Amount | undefined; + setLambda1(value?: penumbra_core_num_v1alpha1_num_pb.Amount): BatchSwapOutputData; + + hasLambda2(): boolean; + clearLambda2(): void; + getLambda2(): penumbra_core_num_v1alpha1_num_pb.Amount | undefined; + setLambda2(value?: penumbra_core_num_v1alpha1_num_pb.Amount): BatchSwapOutputData; + + hasUnfilled1(): boolean; + clearUnfilled1(): void; + getUnfilled1(): penumbra_core_num_v1alpha1_num_pb.Amount | undefined; + setUnfilled1(value?: penumbra_core_num_v1alpha1_num_pb.Amount): BatchSwapOutputData; + + hasUnfilled2(): boolean; + clearUnfilled2(): void; + getUnfilled2(): penumbra_core_num_v1alpha1_num_pb.Amount | undefined; + setUnfilled2(value?: penumbra_core_num_v1alpha1_num_pb.Amount): BatchSwapOutputData; + getHeight(): number; + setHeight(value: number): BatchSwapOutputData; + + hasTradingPair(): boolean; + clearTradingPair(): void; + getTradingPair(): TradingPair | undefined; + setTradingPair(value?: TradingPair): BatchSwapOutputData; + getEpochStartingHeight(): number; + setEpochStartingHeight(value: number): BatchSwapOutputData; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): BatchSwapOutputData.AsObject; + static toObject(includeInstance: boolean, msg: BatchSwapOutputData): BatchSwapOutputData.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: BatchSwapOutputData, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): BatchSwapOutputData; + static deserializeBinaryFromReader(message: BatchSwapOutputData, reader: jspb.BinaryReader): BatchSwapOutputData; +} + +export namespace BatchSwapOutputData { + export type AsObject = { + delta1?: penumbra_core_num_v1alpha1_num_pb.Amount.AsObject, + delta2?: penumbra_core_num_v1alpha1_num_pb.Amount.AsObject, + lambda1?: penumbra_core_num_v1alpha1_num_pb.Amount.AsObject, + lambda2?: penumbra_core_num_v1alpha1_num_pb.Amount.AsObject, + unfilled1?: penumbra_core_num_v1alpha1_num_pb.Amount.AsObject, + unfilled2?: penumbra_core_num_v1alpha1_num_pb.Amount.AsObject, + height: number, + tradingPair?: TradingPair.AsObject, + epochStartingHeight: number, + } +} + +export class TradingFunction extends jspb.Message { + + hasComponent(): boolean; + clearComponent(): void; + getComponent(): BareTradingFunction | undefined; + setComponent(value?: BareTradingFunction): TradingFunction; + + hasPair(): boolean; + clearPair(): void; + getPair(): TradingPair | undefined; + setPair(value?: TradingPair): TradingFunction; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): TradingFunction.AsObject; + static toObject(includeInstance: boolean, msg: TradingFunction): TradingFunction.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: TradingFunction, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): TradingFunction; + static deserializeBinaryFromReader(message: TradingFunction, reader: jspb.BinaryReader): TradingFunction; +} + +export namespace TradingFunction { + export type AsObject = { + component?: BareTradingFunction.AsObject, + pair?: TradingPair.AsObject, + } +} + +export class BareTradingFunction extends jspb.Message { + getFee(): number; + setFee(value: number): BareTradingFunction; + + hasP(): boolean; + clearP(): void; + getP(): penumbra_core_num_v1alpha1_num_pb.Amount | undefined; + setP(value?: penumbra_core_num_v1alpha1_num_pb.Amount): BareTradingFunction; + + hasQ(): boolean; + clearQ(): void; + getQ(): penumbra_core_num_v1alpha1_num_pb.Amount | undefined; + setQ(value?: penumbra_core_num_v1alpha1_num_pb.Amount): BareTradingFunction; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): BareTradingFunction.AsObject; + static toObject(includeInstance: boolean, msg: BareTradingFunction): BareTradingFunction.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: BareTradingFunction, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): BareTradingFunction; + static deserializeBinaryFromReader(message: BareTradingFunction, reader: jspb.BinaryReader): BareTradingFunction; +} + +export namespace BareTradingFunction { + export type AsObject = { + fee: number, + p?: penumbra_core_num_v1alpha1_num_pb.Amount.AsObject, + q?: penumbra_core_num_v1alpha1_num_pb.Amount.AsObject, + } +} + +export class Reserves extends jspb.Message { + + hasR1(): boolean; + clearR1(): void; + getR1(): penumbra_core_num_v1alpha1_num_pb.Amount | undefined; + setR1(value?: penumbra_core_num_v1alpha1_num_pb.Amount): Reserves; + + hasR2(): boolean; + clearR2(): void; + getR2(): penumbra_core_num_v1alpha1_num_pb.Amount | undefined; + setR2(value?: penumbra_core_num_v1alpha1_num_pb.Amount): Reserves; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Reserves.AsObject; + static toObject(includeInstance: boolean, msg: Reserves): Reserves.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Reserves, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Reserves; + static deserializeBinaryFromReader(message: Reserves, reader: jspb.BinaryReader): Reserves; +} + +export namespace Reserves { + export type AsObject = { + r1?: penumbra_core_num_v1alpha1_num_pb.Amount.AsObject, + r2?: penumbra_core_num_v1alpha1_num_pb.Amount.AsObject, + } +} + +export class Position extends jspb.Message { + + hasPhi(): boolean; + clearPhi(): void; + getPhi(): TradingFunction | undefined; + setPhi(value?: TradingFunction): Position; + getNonce(): Uint8Array | string; + getNonce_asU8(): Uint8Array; + getNonce_asB64(): string; + setNonce(value: Uint8Array | string): Position; + + hasState(): boolean; + clearState(): void; + getState(): PositionState | undefined; + setState(value?: PositionState): Position; + + hasReserves(): boolean; + clearReserves(): void; + getReserves(): Reserves | undefined; + setReserves(value?: Reserves): Position; + getCloseOnFill(): boolean; + setCloseOnFill(value: boolean): Position; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Position.AsObject; + static toObject(includeInstance: boolean, msg: Position): Position.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Position, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Position; + static deserializeBinaryFromReader(message: Position, reader: jspb.BinaryReader): Position; +} + +export namespace Position { + export type AsObject = { + phi?: TradingFunction.AsObject, + nonce: Uint8Array | string, + state?: PositionState.AsObject, + reserves?: Reserves.AsObject, + closeOnFill: boolean, + } +} + +export class PositionId extends jspb.Message { + getInner(): Uint8Array | string; + getInner_asU8(): Uint8Array; + getInner_asB64(): string; + setInner(value: Uint8Array | string): PositionId; + getAltBech32m(): string; + setAltBech32m(value: string): PositionId; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): PositionId.AsObject; + static toObject(includeInstance: boolean, msg: PositionId): PositionId.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: PositionId, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): PositionId; + static deserializeBinaryFromReader(message: PositionId, reader: jspb.BinaryReader): PositionId; +} + +export namespace PositionId { + export type AsObject = { + inner: Uint8Array | string, + altBech32m: string, + } +} + +export class PositionState extends jspb.Message { + getState(): PositionState.PositionStateEnum; + setState(value: PositionState.PositionStateEnum): PositionState; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): PositionState.AsObject; + static toObject(includeInstance: boolean, msg: PositionState): PositionState.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: PositionState, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): PositionState; + static deserializeBinaryFromReader(message: PositionState, reader: jspb.BinaryReader): PositionState; +} + +export namespace PositionState { + export type AsObject = { + state: PositionState.PositionStateEnum, + } + + export enum PositionStateEnum { + POSITION_STATE_ENUM_UNSPECIFIED = 0, + POSITION_STATE_ENUM_OPENED = 1, + POSITION_STATE_ENUM_CLOSED = 2, + POSITION_STATE_ENUM_WITHDRAWN = 3, + POSITION_STATE_ENUM_CLAIMED = 4, + } + +} + +export class LpNft extends jspb.Message { + + hasPositionId(): boolean; + clearPositionId(): void; + getPositionId(): PositionId | undefined; + setPositionId(value?: PositionId): LpNft; + + hasState(): boolean; + clearState(): void; + getState(): PositionState | undefined; + setState(value?: PositionState): LpNft; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): LpNft.AsObject; + static toObject(includeInstance: boolean, msg: LpNft): LpNft.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: LpNft, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): LpNft; + static deserializeBinaryFromReader(message: LpNft, reader: jspb.BinaryReader): LpNft; +} + +export namespace LpNft { + export type AsObject = { + positionId?: PositionId.AsObject, + state?: PositionState.AsObject, + } +} + +export class PositionOpen extends jspb.Message { + + hasPosition(): boolean; + clearPosition(): void; + getPosition(): Position | undefined; + setPosition(value?: Position): PositionOpen; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): PositionOpen.AsObject; + static toObject(includeInstance: boolean, msg: PositionOpen): PositionOpen.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: PositionOpen, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): PositionOpen; + static deserializeBinaryFromReader(message: PositionOpen, reader: jspb.BinaryReader): PositionOpen; +} + +export namespace PositionOpen { + export type AsObject = { + position?: Position.AsObject, + } +} + +export class PositionClose extends jspb.Message { + + hasPositionId(): boolean; + clearPositionId(): void; + getPositionId(): PositionId | undefined; + setPositionId(value?: PositionId): PositionClose; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): PositionClose.AsObject; + static toObject(includeInstance: boolean, msg: PositionClose): PositionClose.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: PositionClose, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): PositionClose; + static deserializeBinaryFromReader(message: PositionClose, reader: jspb.BinaryReader): PositionClose; +} + +export namespace PositionClose { + export type AsObject = { + positionId?: PositionId.AsObject, + } +} + +export class PositionWithdraw extends jspb.Message { + + hasPositionId(): boolean; + clearPositionId(): void; + getPositionId(): PositionId | undefined; + setPositionId(value?: PositionId): PositionWithdraw; + + hasReservesCommitment(): boolean; + clearReservesCommitment(): void; + getReservesCommitment(): penumbra_core_asset_v1alpha1_asset_pb.BalanceCommitment | undefined; + setReservesCommitment(value?: penumbra_core_asset_v1alpha1_asset_pb.BalanceCommitment): PositionWithdraw; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): PositionWithdraw.AsObject; + static toObject(includeInstance: boolean, msg: PositionWithdraw): PositionWithdraw.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: PositionWithdraw, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): PositionWithdraw; + static deserializeBinaryFromReader(message: PositionWithdraw, reader: jspb.BinaryReader): PositionWithdraw; +} + +export namespace PositionWithdraw { + export type AsObject = { + positionId?: PositionId.AsObject, + reservesCommitment?: penumbra_core_asset_v1alpha1_asset_pb.BalanceCommitment.AsObject, + } +} + +export class PositionRewardClaim extends jspb.Message { + + hasPositionId(): boolean; + clearPositionId(): void; + getPositionId(): PositionId | undefined; + setPositionId(value?: PositionId): PositionRewardClaim; + + hasRewardsCommitment(): boolean; + clearRewardsCommitment(): void; + getRewardsCommitment(): penumbra_core_asset_v1alpha1_asset_pb.BalanceCommitment | undefined; + setRewardsCommitment(value?: penumbra_core_asset_v1alpha1_asset_pb.BalanceCommitment): PositionRewardClaim; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): PositionRewardClaim.AsObject; + static toObject(includeInstance: boolean, msg: PositionRewardClaim): PositionRewardClaim.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: PositionRewardClaim, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): PositionRewardClaim; + static deserializeBinaryFromReader(message: PositionRewardClaim, reader: jspb.BinaryReader): PositionRewardClaim; +} + +export namespace PositionRewardClaim { + export type AsObject = { + positionId?: PositionId.AsObject, + rewardsCommitment?: penumbra_core_asset_v1alpha1_asset_pb.BalanceCommitment.AsObject, + } +} + +export class SwapExecution extends jspb.Message { + clearTracesList(): void; + getTracesList(): Array; + setTracesList(value: Array): SwapExecution; + addTraces(value?: SwapExecution.Trace, index?: number): SwapExecution.Trace; + + hasInput(): boolean; + clearInput(): void; + getInput(): penumbra_core_asset_v1alpha1_asset_pb.Value | undefined; + setInput(value?: penumbra_core_asset_v1alpha1_asset_pb.Value): SwapExecution; + + hasOutput(): boolean; + clearOutput(): void; + getOutput(): penumbra_core_asset_v1alpha1_asset_pb.Value | undefined; + setOutput(value?: penumbra_core_asset_v1alpha1_asset_pb.Value): SwapExecution; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SwapExecution.AsObject; + static toObject(includeInstance: boolean, msg: SwapExecution): SwapExecution.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SwapExecution, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SwapExecution; + static deserializeBinaryFromReader(message: SwapExecution, reader: jspb.BinaryReader): SwapExecution; +} + +export namespace SwapExecution { + export type AsObject = { + tracesList: Array, + input?: penumbra_core_asset_v1alpha1_asset_pb.Value.AsObject, + output?: penumbra_core_asset_v1alpha1_asset_pb.Value.AsObject, + } + + + export class Trace extends jspb.Message { + clearValueList(): void; + getValueList(): Array; + setValueList(value: Array): Trace; + addValue(value?: penumbra_core_asset_v1alpha1_asset_pb.Value, index?: number): penumbra_core_asset_v1alpha1_asset_pb.Value; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Trace.AsObject; + static toObject(includeInstance: boolean, msg: Trace): Trace.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Trace, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Trace; + static deserializeBinaryFromReader(message: Trace, reader: jspb.BinaryReader): Trace; + } + + export namespace Trace { + export type AsObject = { + valueList: Array, + } + } + +} + +export class PositionWithdrawPlan extends jspb.Message { + + hasReserves(): boolean; + clearReserves(): void; + getReserves(): Reserves | undefined; + setReserves(value?: Reserves): PositionWithdrawPlan; + + hasPositionId(): boolean; + clearPositionId(): void; + getPositionId(): PositionId | undefined; + setPositionId(value?: PositionId): PositionWithdrawPlan; + + hasPair(): boolean; + clearPair(): void; + getPair(): TradingPair | undefined; + setPair(value?: TradingPair): PositionWithdrawPlan; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): PositionWithdrawPlan.AsObject; + static toObject(includeInstance: boolean, msg: PositionWithdrawPlan): PositionWithdrawPlan.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: PositionWithdrawPlan, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): PositionWithdrawPlan; + static deserializeBinaryFromReader(message: PositionWithdrawPlan, reader: jspb.BinaryReader): PositionWithdrawPlan; +} + +export namespace PositionWithdrawPlan { + export type AsObject = { + reserves?: Reserves.AsObject, + positionId?: PositionId.AsObject, + pair?: TradingPair.AsObject, + } +} + +export class PositionRewardClaimPlan extends jspb.Message { + + hasReserves(): boolean; + clearReserves(): void; + getReserves(): Reserves | undefined; + setReserves(value?: Reserves): PositionRewardClaimPlan; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): PositionRewardClaimPlan.AsObject; + static toObject(includeInstance: boolean, msg: PositionRewardClaimPlan): PositionRewardClaimPlan.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: PositionRewardClaimPlan, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): PositionRewardClaimPlan; + static deserializeBinaryFromReader(message: PositionRewardClaimPlan, reader: jspb.BinaryReader): PositionRewardClaimPlan; +} + +export namespace PositionRewardClaimPlan { + export type AsObject = { + reserves?: Reserves.AsObject, + } +} + +export class BatchSwapOutputDataRequest extends jspb.Message { + getChainId(): string; + setChainId(value: string): BatchSwapOutputDataRequest; + getHeight(): number; + setHeight(value: number): BatchSwapOutputDataRequest; + + hasTradingPair(): boolean; + clearTradingPair(): void; + getTradingPair(): TradingPair | undefined; + setTradingPair(value?: TradingPair): BatchSwapOutputDataRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): BatchSwapOutputDataRequest.AsObject; + static toObject(includeInstance: boolean, msg: BatchSwapOutputDataRequest): BatchSwapOutputDataRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: BatchSwapOutputDataRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): BatchSwapOutputDataRequest; + static deserializeBinaryFromReader(message: BatchSwapOutputDataRequest, reader: jspb.BinaryReader): BatchSwapOutputDataRequest; +} + +export namespace BatchSwapOutputDataRequest { + export type AsObject = { + chainId: string, + height: number, + tradingPair?: TradingPair.AsObject, + } +} + +export class BatchSwapOutputDataResponse extends jspb.Message { + + hasData(): boolean; + clearData(): void; + getData(): BatchSwapOutputData | undefined; + setData(value?: BatchSwapOutputData): BatchSwapOutputDataResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): BatchSwapOutputDataResponse.AsObject; + static toObject(includeInstance: boolean, msg: BatchSwapOutputDataResponse): BatchSwapOutputDataResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: BatchSwapOutputDataResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): BatchSwapOutputDataResponse; + static deserializeBinaryFromReader(message: BatchSwapOutputDataResponse, reader: jspb.BinaryReader): BatchSwapOutputDataResponse; +} + +export namespace BatchSwapOutputDataResponse { + export type AsObject = { + data?: BatchSwapOutputData.AsObject, + } +} + +export class SwapExecutionRequest extends jspb.Message { + getChainId(): string; + setChainId(value: string): SwapExecutionRequest; + getHeight(): number; + setHeight(value: number): SwapExecutionRequest; + + hasTradingPair(): boolean; + clearTradingPair(): void; + getTradingPair(): DirectedTradingPair | undefined; + setTradingPair(value?: DirectedTradingPair): SwapExecutionRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SwapExecutionRequest.AsObject; + static toObject(includeInstance: boolean, msg: SwapExecutionRequest): SwapExecutionRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SwapExecutionRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SwapExecutionRequest; + static deserializeBinaryFromReader(message: SwapExecutionRequest, reader: jspb.BinaryReader): SwapExecutionRequest; +} + +export namespace SwapExecutionRequest { + export type AsObject = { + chainId: string, + height: number, + tradingPair?: DirectedTradingPair.AsObject, + } +} + +export class SwapExecutionResponse extends jspb.Message { + + hasSwapExecution(): boolean; + clearSwapExecution(): void; + getSwapExecution(): SwapExecution | undefined; + setSwapExecution(value?: SwapExecution): SwapExecutionResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SwapExecutionResponse.AsObject; + static toObject(includeInstance: boolean, msg: SwapExecutionResponse): SwapExecutionResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SwapExecutionResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SwapExecutionResponse; + static deserializeBinaryFromReader(message: SwapExecutionResponse, reader: jspb.BinaryReader): SwapExecutionResponse; +} + +export namespace SwapExecutionResponse { + export type AsObject = { + swapExecution?: SwapExecution.AsObject, + } +} + +export class ArbExecutionRequest extends jspb.Message { + getChainId(): string; + setChainId(value: string): ArbExecutionRequest; + getHeight(): number; + setHeight(value: number): ArbExecutionRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ArbExecutionRequest.AsObject; + static toObject(includeInstance: boolean, msg: ArbExecutionRequest): ArbExecutionRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ArbExecutionRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ArbExecutionRequest; + static deserializeBinaryFromReader(message: ArbExecutionRequest, reader: jspb.BinaryReader): ArbExecutionRequest; +} + +export namespace ArbExecutionRequest { + export type AsObject = { + chainId: string, + height: number, + } +} + +export class ArbExecutionResponse extends jspb.Message { + + hasSwapExecution(): boolean; + clearSwapExecution(): void; + getSwapExecution(): SwapExecution | undefined; + setSwapExecution(value?: SwapExecution): ArbExecutionResponse; + getHeight(): number; + setHeight(value: number): ArbExecutionResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ArbExecutionResponse.AsObject; + static toObject(includeInstance: boolean, msg: ArbExecutionResponse): ArbExecutionResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ArbExecutionResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ArbExecutionResponse; + static deserializeBinaryFromReader(message: ArbExecutionResponse, reader: jspb.BinaryReader): ArbExecutionResponse; +} + +export namespace ArbExecutionResponse { + export type AsObject = { + swapExecution?: SwapExecution.AsObject, + height: number, + } +} + +export class SwapExecutionsRequest extends jspb.Message { + getChainId(): string; + setChainId(value: string): SwapExecutionsRequest; + getStartHeight(): number; + setStartHeight(value: number): SwapExecutionsRequest; + getEndHeight(): number; + setEndHeight(value: number): SwapExecutionsRequest; + + hasTradingPair(): boolean; + clearTradingPair(): void; + getTradingPair(): DirectedTradingPair | undefined; + setTradingPair(value?: DirectedTradingPair): SwapExecutionsRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SwapExecutionsRequest.AsObject; + static toObject(includeInstance: boolean, msg: SwapExecutionsRequest): SwapExecutionsRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SwapExecutionsRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SwapExecutionsRequest; + static deserializeBinaryFromReader(message: SwapExecutionsRequest, reader: jspb.BinaryReader): SwapExecutionsRequest; +} + +export namespace SwapExecutionsRequest { + export type AsObject = { + chainId: string, + startHeight: number, + endHeight: number, + tradingPair?: DirectedTradingPair.AsObject, + } +} + +export class SwapExecutionsResponse extends jspb.Message { + + hasSwapExecution(): boolean; + clearSwapExecution(): void; + getSwapExecution(): SwapExecution | undefined; + setSwapExecution(value?: SwapExecution): SwapExecutionsResponse; + getHeight(): number; + setHeight(value: number): SwapExecutionsResponse; + + hasTradingPair(): boolean; + clearTradingPair(): void; + getTradingPair(): DirectedTradingPair | undefined; + setTradingPair(value?: DirectedTradingPair): SwapExecutionsResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SwapExecutionsResponse.AsObject; + static toObject(includeInstance: boolean, msg: SwapExecutionsResponse): SwapExecutionsResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SwapExecutionsResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SwapExecutionsResponse; + static deserializeBinaryFromReader(message: SwapExecutionsResponse, reader: jspb.BinaryReader): SwapExecutionsResponse; +} + +export namespace SwapExecutionsResponse { + export type AsObject = { + swapExecution?: SwapExecution.AsObject, + height: number, + tradingPair?: DirectedTradingPair.AsObject, + } +} + +export class ArbExecutionsRequest extends jspb.Message { + getChainId(): string; + setChainId(value: string): ArbExecutionsRequest; + getStartHeight(): number; + setStartHeight(value: number): ArbExecutionsRequest; + getEndHeight(): number; + setEndHeight(value: number): ArbExecutionsRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ArbExecutionsRequest.AsObject; + static toObject(includeInstance: boolean, msg: ArbExecutionsRequest): ArbExecutionsRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ArbExecutionsRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ArbExecutionsRequest; + static deserializeBinaryFromReader(message: ArbExecutionsRequest, reader: jspb.BinaryReader): ArbExecutionsRequest; +} + +export namespace ArbExecutionsRequest { + export type AsObject = { + chainId: string, + startHeight: number, + endHeight: number, + } +} + +export class ArbExecutionsResponse extends jspb.Message { + + hasSwapExecution(): boolean; + clearSwapExecution(): void; + getSwapExecution(): SwapExecution | undefined; + setSwapExecution(value?: SwapExecution): ArbExecutionsResponse; + getHeight(): number; + setHeight(value: number): ArbExecutionsResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ArbExecutionsResponse.AsObject; + static toObject(includeInstance: boolean, msg: ArbExecutionsResponse): ArbExecutionsResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ArbExecutionsResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ArbExecutionsResponse; + static deserializeBinaryFromReader(message: ArbExecutionsResponse, reader: jspb.BinaryReader): ArbExecutionsResponse; +} + +export namespace ArbExecutionsResponse { + export type AsObject = { + swapExecution?: SwapExecution.AsObject, + height: number, + } +} + +export class LiquidityPositionsRequest extends jspb.Message { + getChainId(): string; + setChainId(value: string): LiquidityPositionsRequest; + getIncludeClosed(): boolean; + setIncludeClosed(value: boolean): LiquidityPositionsRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): LiquidityPositionsRequest.AsObject; + static toObject(includeInstance: boolean, msg: LiquidityPositionsRequest): LiquidityPositionsRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: LiquidityPositionsRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): LiquidityPositionsRequest; + static deserializeBinaryFromReader(message: LiquidityPositionsRequest, reader: jspb.BinaryReader): LiquidityPositionsRequest; +} + +export namespace LiquidityPositionsRequest { + export type AsObject = { + chainId: string, + includeClosed: boolean, + } +} + +export class LiquidityPositionsResponse extends jspb.Message { + + hasData(): boolean; + clearData(): void; + getData(): Position | undefined; + setData(value?: Position): LiquidityPositionsResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): LiquidityPositionsResponse.AsObject; + static toObject(includeInstance: boolean, msg: LiquidityPositionsResponse): LiquidityPositionsResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: LiquidityPositionsResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): LiquidityPositionsResponse; + static deserializeBinaryFromReader(message: LiquidityPositionsResponse, reader: jspb.BinaryReader): LiquidityPositionsResponse; +} + +export namespace LiquidityPositionsResponse { + export type AsObject = { + data?: Position.AsObject, + } +} + +export class LiquidityPositionByIdRequest extends jspb.Message { + getChainId(): string; + setChainId(value: string): LiquidityPositionByIdRequest; + + hasPositionId(): boolean; + clearPositionId(): void; + getPositionId(): PositionId | undefined; + setPositionId(value?: PositionId): LiquidityPositionByIdRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): LiquidityPositionByIdRequest.AsObject; + static toObject(includeInstance: boolean, msg: LiquidityPositionByIdRequest): LiquidityPositionByIdRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: LiquidityPositionByIdRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): LiquidityPositionByIdRequest; + static deserializeBinaryFromReader(message: LiquidityPositionByIdRequest, reader: jspb.BinaryReader): LiquidityPositionByIdRequest; +} + +export namespace LiquidityPositionByIdRequest { + export type AsObject = { + chainId: string, + positionId?: PositionId.AsObject, + } +} + +export class LiquidityPositionByIdResponse extends jspb.Message { + + hasData(): boolean; + clearData(): void; + getData(): Position | undefined; + setData(value?: Position): LiquidityPositionByIdResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): LiquidityPositionByIdResponse.AsObject; + static toObject(includeInstance: boolean, msg: LiquidityPositionByIdResponse): LiquidityPositionByIdResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: LiquidityPositionByIdResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): LiquidityPositionByIdResponse; + static deserializeBinaryFromReader(message: LiquidityPositionByIdResponse, reader: jspb.BinaryReader): LiquidityPositionByIdResponse; +} + +export namespace LiquidityPositionByIdResponse { + export type AsObject = { + data?: Position.AsObject, + } +} + +export class LiquidityPositionsByIdRequest extends jspb.Message { + getChainId(): string; + setChainId(value: string): LiquidityPositionsByIdRequest; + clearPositionIdList(): void; + getPositionIdList(): Array; + setPositionIdList(value: Array): LiquidityPositionsByIdRequest; + addPositionId(value?: PositionId, index?: number): PositionId; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): LiquidityPositionsByIdRequest.AsObject; + static toObject(includeInstance: boolean, msg: LiquidityPositionsByIdRequest): LiquidityPositionsByIdRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: LiquidityPositionsByIdRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): LiquidityPositionsByIdRequest; + static deserializeBinaryFromReader(message: LiquidityPositionsByIdRequest, reader: jspb.BinaryReader): LiquidityPositionsByIdRequest; +} + +export namespace LiquidityPositionsByIdRequest { + export type AsObject = { + chainId: string, + positionIdList: Array, + } +} + +export class LiquidityPositionsByIdResponse extends jspb.Message { + + hasData(): boolean; + clearData(): void; + getData(): Position | undefined; + setData(value?: Position): LiquidityPositionsByIdResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): LiquidityPositionsByIdResponse.AsObject; + static toObject(includeInstance: boolean, msg: LiquidityPositionsByIdResponse): LiquidityPositionsByIdResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: LiquidityPositionsByIdResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): LiquidityPositionsByIdResponse; + static deserializeBinaryFromReader(message: LiquidityPositionsByIdResponse, reader: jspb.BinaryReader): LiquidityPositionsByIdResponse; +} + +export namespace LiquidityPositionsByIdResponse { + export type AsObject = { + data?: Position.AsObject, + } +} + +export class LiquidityPositionsByPriceRequest extends jspb.Message { + getChainId(): string; + setChainId(value: string): LiquidityPositionsByPriceRequest; + + hasTradingPair(): boolean; + clearTradingPair(): void; + getTradingPair(): DirectedTradingPair | undefined; + setTradingPair(value?: DirectedTradingPair): LiquidityPositionsByPriceRequest; + getLimit(): number; + setLimit(value: number): LiquidityPositionsByPriceRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): LiquidityPositionsByPriceRequest.AsObject; + static toObject(includeInstance: boolean, msg: LiquidityPositionsByPriceRequest): LiquidityPositionsByPriceRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: LiquidityPositionsByPriceRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): LiquidityPositionsByPriceRequest; + static deserializeBinaryFromReader(message: LiquidityPositionsByPriceRequest, reader: jspb.BinaryReader): LiquidityPositionsByPriceRequest; +} + +export namespace LiquidityPositionsByPriceRequest { + export type AsObject = { + chainId: string, + tradingPair?: DirectedTradingPair.AsObject, + limit: number, + } +} + +export class LiquidityPositionsByPriceResponse extends jspb.Message { + + hasData(): boolean; + clearData(): void; + getData(): Position | undefined; + setData(value?: Position): LiquidityPositionsByPriceResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): LiquidityPositionsByPriceResponse.AsObject; + static toObject(includeInstance: boolean, msg: LiquidityPositionsByPriceResponse): LiquidityPositionsByPriceResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: LiquidityPositionsByPriceResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): LiquidityPositionsByPriceResponse; + static deserializeBinaryFromReader(message: LiquidityPositionsByPriceResponse, reader: jspb.BinaryReader): LiquidityPositionsByPriceResponse; +} + +export namespace LiquidityPositionsByPriceResponse { + export type AsObject = { + data?: Position.AsObject, + } +} + +export class SpreadRequest extends jspb.Message { + getChainId(): string; + setChainId(value: string): SpreadRequest; + + hasTradingPair(): boolean; + clearTradingPair(): void; + getTradingPair(): TradingPair | undefined; + setTradingPair(value?: TradingPair): SpreadRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SpreadRequest.AsObject; + static toObject(includeInstance: boolean, msg: SpreadRequest): SpreadRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SpreadRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SpreadRequest; + static deserializeBinaryFromReader(message: SpreadRequest, reader: jspb.BinaryReader): SpreadRequest; +} + +export namespace SpreadRequest { + export type AsObject = { + chainId: string, + tradingPair?: TradingPair.AsObject, + } +} + +export class SpreadResponse extends jspb.Message { + + hasBest1To2Position(): boolean; + clearBest1To2Position(): void; + getBest1To2Position(): Position | undefined; + setBest1To2Position(value?: Position): SpreadResponse; + + hasBest2To1Position(): boolean; + clearBest2To1Position(): void; + getBest2To1Position(): Position | undefined; + setBest2To1Position(value?: Position): SpreadResponse; + getApproxEffectivePrice1To2(): number; + setApproxEffectivePrice1To2(value: number): SpreadResponse; + getApproxEffectivePrice2To1(): number; + setApproxEffectivePrice2To1(value: number): SpreadResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SpreadResponse.AsObject; + static toObject(includeInstance: boolean, msg: SpreadResponse): SpreadResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SpreadResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SpreadResponse; + static deserializeBinaryFromReader(message: SpreadResponse, reader: jspb.BinaryReader): SpreadResponse; +} + +export namespace SpreadResponse { + export type AsObject = { + best1To2Position?: Position.AsObject, + best2To1Position?: Position.AsObject, + approxEffectivePrice1To2: number, + approxEffectivePrice2To1: number, + } +} + +export class SimulateTradeRequest extends jspb.Message { + + hasInput(): boolean; + clearInput(): void; + getInput(): penumbra_core_asset_v1alpha1_asset_pb.Value | undefined; + setInput(value?: penumbra_core_asset_v1alpha1_asset_pb.Value): SimulateTradeRequest; + + hasOutput(): boolean; + clearOutput(): void; + getOutput(): penumbra_core_asset_v1alpha1_asset_pb.AssetId | undefined; + setOutput(value?: penumbra_core_asset_v1alpha1_asset_pb.AssetId): SimulateTradeRequest; + + hasRouting(): boolean; + clearRouting(): void; + getRouting(): SimulateTradeRequest.Routing | undefined; + setRouting(value?: SimulateTradeRequest.Routing): SimulateTradeRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SimulateTradeRequest.AsObject; + static toObject(includeInstance: boolean, msg: SimulateTradeRequest): SimulateTradeRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SimulateTradeRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SimulateTradeRequest; + static deserializeBinaryFromReader(message: SimulateTradeRequest, reader: jspb.BinaryReader): SimulateTradeRequest; +} + +export namespace SimulateTradeRequest { + export type AsObject = { + input?: penumbra_core_asset_v1alpha1_asset_pb.Value.AsObject, + output?: penumbra_core_asset_v1alpha1_asset_pb.AssetId.AsObject, + routing?: SimulateTradeRequest.Routing.AsObject, + } + + + export class Routing extends jspb.Message { + + hasDefault(): boolean; + clearDefault(): void; + getDefault(): SimulateTradeRequest.Routing.Default | undefined; + setDefault(value?: SimulateTradeRequest.Routing.Default): Routing; + + hasSingleHop(): boolean; + clearSingleHop(): void; + getSingleHop(): SimulateTradeRequest.Routing.SingleHop | undefined; + setSingleHop(value?: SimulateTradeRequest.Routing.SingleHop): Routing; + + getSettingCase(): Routing.SettingCase; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Routing.AsObject; + static toObject(includeInstance: boolean, msg: Routing): Routing.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Routing, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Routing; + static deserializeBinaryFromReader(message: Routing, reader: jspb.BinaryReader): Routing; + } + + export namespace Routing { + export type AsObject = { + pb_default?: SimulateTradeRequest.Routing.Default.AsObject, + singleHop?: SimulateTradeRequest.Routing.SingleHop.AsObject, + } + + + export class SingleHop extends jspb.Message { + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SingleHop.AsObject; + static toObject(includeInstance: boolean, msg: SingleHop): SingleHop.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SingleHop, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SingleHop; + static deserializeBinaryFromReader(message: SingleHop, reader: jspb.BinaryReader): SingleHop; + } + + export namespace SingleHop { + export type AsObject = { + } + } + + export class Default extends jspb.Message { + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Default.AsObject; + static toObject(includeInstance: boolean, msg: Default): Default.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Default, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Default; + static deserializeBinaryFromReader(message: Default, reader: jspb.BinaryReader): Default; + } + + export namespace Default { + export type AsObject = { + } + } + + + export enum SettingCase { + SETTING_NOT_SET = 0, + DEFAULT = 1, + SINGLE_HOP = 2, + } + + } + +} + +export class SimulateTradeResponse extends jspb.Message { + + hasOutput(): boolean; + clearOutput(): void; + getOutput(): SwapExecution | undefined; + setOutput(value?: SwapExecution): SimulateTradeResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SimulateTradeResponse.AsObject; + static toObject(includeInstance: boolean, msg: SimulateTradeResponse): SimulateTradeResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SimulateTradeResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SimulateTradeResponse; + static deserializeBinaryFromReader(message: SimulateTradeResponse, reader: jspb.BinaryReader): SimulateTradeResponse; +} + +export namespace SimulateTradeResponse { + export type AsObject = { + output?: SwapExecution.AsObject, + } +} diff --git a/src/chains/penumbra/generated/penumbra/core/component/dex/v1alpha1/dex_pb.js b/src/chains/penumbra/generated/penumbra/core/component/dex/v1alpha1/dex_pb.js new file mode 100644 index 0000000000..ada093986d --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/component/dex/v1alpha1/dex_pb.js @@ -0,0 +1,13787 @@ +// source: penumbra/core/component/dex/v1alpha1/dex.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = (function() { + if (this) { return this; } + if (typeof window !== 'undefined') { return window; } + if (typeof global !== 'undefined') { return global; } + if (typeof self !== 'undefined') { return self; } + return Function('return this')(); +}.call(null)); + +var penumbra_crypto_tct_v1alpha1_tct_pb = require('../../../../../penumbra/crypto/tct/v1alpha1/tct_pb.js'); +goog.object.extend(proto, penumbra_crypto_tct_v1alpha1_tct_pb); +var penumbra_core_num_v1alpha1_num_pb = require('../../../../../penumbra/core/num/v1alpha1/num_pb.js'); +goog.object.extend(proto, penumbra_core_num_v1alpha1_num_pb); +var penumbra_core_asset_v1alpha1_asset_pb = require('../../../../../penumbra/core/asset/v1alpha1/asset_pb.js'); +goog.object.extend(proto, penumbra_core_asset_v1alpha1_asset_pb); +var penumbra_core_keys_v1alpha1_keys_pb = require('../../../../../penumbra/core/keys/v1alpha1/keys_pb.js'); +goog.object.extend(proto, penumbra_core_keys_v1alpha1_keys_pb); +var penumbra_core_component_sct_v1alpha1_sct_pb = require('../../../../../penumbra/core/component/sct/v1alpha1/sct_pb.js'); +goog.object.extend(proto, penumbra_core_component_sct_v1alpha1_sct_pb); +var penumbra_core_component_fee_v1alpha1_fee_pb = require('../../../../../penumbra/core/component/fee/v1alpha1/fee_pb.js'); +goog.object.extend(proto, penumbra_core_component_fee_v1alpha1_fee_pb); +var penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb = require('../../../../../penumbra/core/component/shielded_pool/v1alpha1/shielded_pool_pb.js'); +goog.object.extend(proto, penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.ArbExecutionRequest', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.ArbExecutionResponse', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsRequest', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsResponse', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.BareTradingFunction', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataRequest', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataResponse', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdRequest', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdResponse', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdRequest', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdResponse', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceRequest', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceResponse', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsRequest', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsResponse', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.LpNft', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.Position', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.PositionClose', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.PositionId', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.PositionOpen', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaim', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaimPlan', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.PositionState', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.PositionState.PositionStateEnum', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.PositionWithdraw', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.PositionWithdrawPlan', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.Reserves', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.Default', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.SettingCase', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.SingleHop', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.SimulateTradeResponse', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.SpreadRequest', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.SpreadResponse', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.Swap', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.SwapBody', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.SwapClaim', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.SwapClaimView', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Opaque', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.SwapClaimViewCase', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Visible', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.SwapExecution', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.SwapExecution.Trace', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.SwapExecutionRequest', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.SwapExecutionResponse', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsRequest', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsResponse', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.SwapPayload', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.SwapPlan', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.SwapView', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.SwapView.Opaque', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.SwapView.SwapViewCase', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.SwapView.Visible', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.TradingFunction', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.TradingPair', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.ZKSwapClaimProof', null, global); +goog.exportSymbol('proto.penumbra.core.component.dex.v1alpha1.ZKSwapProof', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.ZKSwapProof = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.ZKSwapProof, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.ZKSwapProof.displayName = 'proto.penumbra.core.component.dex.v1alpha1.ZKSwapProof'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.ZKSwapClaimProof = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.ZKSwapClaimProof, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.ZKSwapClaimProof.displayName = 'proto.penumbra.core.component.dex.v1alpha1.ZKSwapClaimProof'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.Swap = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.Swap, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.Swap.displayName = 'proto.penumbra.core.component.dex.v1alpha1.Swap'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaim = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.SwapClaim, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.SwapClaim.displayName = 'proto.penumbra.core.component.dex.v1alpha1.SwapClaim'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody.displayName = 'proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.SwapBody = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.SwapBody, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.SwapBody.displayName = 'proto.penumbra.core.component.dex.v1alpha1.SwapBody'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPayload = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.SwapPayload, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.SwapPayload.displayName = 'proto.penumbra.core.component.dex.v1alpha1.SwapPayload'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext.displayName = 'proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPlan = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.SwapPlan, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.SwapPlan.displayName = 'proto.penumbra.core.component.dex.v1alpha1.SwapPlan'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan.displayName = 'proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.SwapView = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.penumbra.core.component.dex.v1alpha1.SwapView.oneofGroups_); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.SwapView, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.SwapView.displayName = 'proto.penumbra.core.component.dex.v1alpha1.SwapView'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.SwapView.Visible = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.SwapView.Visible, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.SwapView.Visible.displayName = 'proto.penumbra.core.component.dex.v1alpha1.SwapView.Visible'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.SwapView.Opaque = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.SwapView.Opaque, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.SwapView.Opaque.displayName = 'proto.penumbra.core.component.dex.v1alpha1.SwapView.Opaque'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimView = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.oneofGroups_); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.SwapClaimView, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.displayName = 'proto.penumbra.core.component.dex.v1alpha1.SwapClaimView'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Visible = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Visible, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Visible.displayName = 'proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Visible'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Opaque = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Opaque, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Opaque.displayName = 'proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Opaque'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.TradingPair = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.TradingPair, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.TradingPair.displayName = 'proto.penumbra.core.component.dex.v1alpha1.TradingPair'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair.displayName = 'proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.displayName = 'proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.TradingFunction = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.TradingFunction, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.TradingFunction.displayName = 'proto.penumbra.core.component.dex.v1alpha1.TradingFunction'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.BareTradingFunction = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.BareTradingFunction, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.BareTradingFunction.displayName = 'proto.penumbra.core.component.dex.v1alpha1.BareTradingFunction'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.Reserves = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.Reserves, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.Reserves.displayName = 'proto.penumbra.core.component.dex.v1alpha1.Reserves'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.Position = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.Position, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.Position.displayName = 'proto.penumbra.core.component.dex.v1alpha1.Position'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.PositionId = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.PositionId, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.PositionId.displayName = 'proto.penumbra.core.component.dex.v1alpha1.PositionId'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.PositionState = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.PositionState, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.PositionState.displayName = 'proto.penumbra.core.component.dex.v1alpha1.PositionState'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.LpNft = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.LpNft, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.LpNft.displayName = 'proto.penumbra.core.component.dex.v1alpha1.LpNft'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.PositionOpen = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.PositionOpen, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.PositionOpen.displayName = 'proto.penumbra.core.component.dex.v1alpha1.PositionOpen'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.PositionClose = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.PositionClose, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.PositionClose.displayName = 'proto.penumbra.core.component.dex.v1alpha1.PositionClose'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.PositionWithdraw = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.PositionWithdraw, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.PositionWithdraw.displayName = 'proto.penumbra.core.component.dex.v1alpha1.PositionWithdraw'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaim = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaim, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaim.displayName = 'proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaim'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecution = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.penumbra.core.component.dex.v1alpha1.SwapExecution.repeatedFields_, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.SwapExecution, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.SwapExecution.displayName = 'proto.penumbra.core.component.dex.v1alpha1.SwapExecution'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecution.Trace = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.penumbra.core.component.dex.v1alpha1.SwapExecution.Trace.repeatedFields_, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.SwapExecution.Trace, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.SwapExecution.Trace.displayName = 'proto.penumbra.core.component.dex.v1alpha1.SwapExecution.Trace'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.PositionWithdrawPlan = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.PositionWithdrawPlan, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.PositionWithdrawPlan.displayName = 'proto.penumbra.core.component.dex.v1alpha1.PositionWithdrawPlan'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaimPlan = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaimPlan, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaimPlan.displayName = 'proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaimPlan'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataRequest.displayName = 'proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataResponse.displayName = 'proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.SwapExecutionRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.SwapExecutionRequest.displayName = 'proto.penumbra.core.component.dex.v1alpha1.SwapExecutionRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.SwapExecutionResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.SwapExecutionResponse.displayName = 'proto.penumbra.core.component.dex.v1alpha1.SwapExecutionResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.ArbExecutionRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.ArbExecutionRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.ArbExecutionRequest.displayName = 'proto.penumbra.core.component.dex.v1alpha1.ArbExecutionRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.ArbExecutionResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.ArbExecutionResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.ArbExecutionResponse.displayName = 'proto.penumbra.core.component.dex.v1alpha1.ArbExecutionResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsRequest.displayName = 'proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsResponse.displayName = 'proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsRequest.displayName = 'proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsResponse.displayName = 'proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsRequest.displayName = 'proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsResponse.displayName = 'proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdRequest.displayName = 'proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdResponse.displayName = 'proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdRequest.repeatedFields_, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdRequest.displayName = 'proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdResponse.displayName = 'proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceRequest.displayName = 'proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceResponse.displayName = 'proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.SpreadRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.SpreadRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.SpreadRequest.displayName = 'proto.penumbra.core.component.dex.v1alpha1.SpreadRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.SpreadResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.SpreadResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.SpreadResponse.displayName = 'proto.penumbra.core.component.dex.v1alpha1.SpreadResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.displayName = 'proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.oneofGroups_); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.displayName = 'proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.SingleHop = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.SingleHop, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.SingleHop.displayName = 'proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.SingleHop'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.Default = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.Default, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.Default.displayName = 'proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.Default'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.dex.v1alpha1.SimulateTradeResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.dex.v1alpha1.SimulateTradeResponse.displayName = 'proto.penumbra.core.component.dex.v1alpha1.SimulateTradeResponse'; +} + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.ZKSwapProof.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.ZKSwapProof.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.ZKSwapProof} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.ZKSwapProof.toObject = function(includeInstance, msg) { + var f, obj = { + inner: msg.getInner_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.ZKSwapProof} + */ +proto.penumbra.core.component.dex.v1alpha1.ZKSwapProof.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.ZKSwapProof; + return proto.penumbra.core.component.dex.v1alpha1.ZKSwapProof.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.ZKSwapProof} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.ZKSwapProof} + */ +proto.penumbra.core.component.dex.v1alpha1.ZKSwapProof.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setInner(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.ZKSwapProof.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.ZKSwapProof.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.ZKSwapProof} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.ZKSwapProof.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInner_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } +}; + + +/** + * optional bytes inner = 1; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.component.dex.v1alpha1.ZKSwapProof.prototype.getInner = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes inner = 1; + * This is a type-conversion wrapper around `getInner()` + * @return {string} + */ +proto.penumbra.core.component.dex.v1alpha1.ZKSwapProof.prototype.getInner_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getInner())); +}; + + +/** + * optional bytes inner = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getInner()` + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.ZKSwapProof.prototype.getInner_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getInner())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.ZKSwapProof} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.ZKSwapProof.prototype.setInner = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.ZKSwapClaimProof.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.ZKSwapClaimProof.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.ZKSwapClaimProof} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.ZKSwapClaimProof.toObject = function(includeInstance, msg) { + var f, obj = { + inner: msg.getInner_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.ZKSwapClaimProof} + */ +proto.penumbra.core.component.dex.v1alpha1.ZKSwapClaimProof.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.ZKSwapClaimProof; + return proto.penumbra.core.component.dex.v1alpha1.ZKSwapClaimProof.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.ZKSwapClaimProof} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.ZKSwapClaimProof} + */ +proto.penumbra.core.component.dex.v1alpha1.ZKSwapClaimProof.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setInner(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.ZKSwapClaimProof.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.ZKSwapClaimProof.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.ZKSwapClaimProof} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.ZKSwapClaimProof.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInner_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } +}; + + +/** + * optional bytes inner = 1; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.component.dex.v1alpha1.ZKSwapClaimProof.prototype.getInner = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes inner = 1; + * This is a type-conversion wrapper around `getInner()` + * @return {string} + */ +proto.penumbra.core.component.dex.v1alpha1.ZKSwapClaimProof.prototype.getInner_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getInner())); +}; + + +/** + * optional bytes inner = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getInner()` + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.ZKSwapClaimProof.prototype.getInner_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getInner())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.ZKSwapClaimProof} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.ZKSwapClaimProof.prototype.setInner = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.Swap.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.Swap.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.Swap} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.Swap.toObject = function(includeInstance, msg) { + var f, obj = { + proof: (f = msg.getProof()) && proto.penumbra.core.component.dex.v1alpha1.ZKSwapProof.toObject(includeInstance, f), + body: (f = msg.getBody()) && proto.penumbra.core.component.dex.v1alpha1.SwapBody.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.Swap} + */ +proto.penumbra.core.component.dex.v1alpha1.Swap.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.Swap; + return proto.penumbra.core.component.dex.v1alpha1.Swap.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.Swap} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.Swap} + */ +proto.penumbra.core.component.dex.v1alpha1.Swap.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.dex.v1alpha1.ZKSwapProof; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.ZKSwapProof.deserializeBinaryFromReader); + msg.setProof(value); + break; + case 4: + var value = new proto.penumbra.core.component.dex.v1alpha1.SwapBody; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.SwapBody.deserializeBinaryFromReader); + msg.setBody(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.Swap.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.Swap.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.Swap} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.Swap.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getProof(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.dex.v1alpha1.ZKSwapProof.serializeBinaryToWriter + ); + } + f = message.getBody(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.penumbra.core.component.dex.v1alpha1.SwapBody.serializeBinaryToWriter + ); + } +}; + + +/** + * optional ZKSwapProof proof = 1; + * @return {?proto.penumbra.core.component.dex.v1alpha1.ZKSwapProof} + */ +proto.penumbra.core.component.dex.v1alpha1.Swap.prototype.getProof = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.ZKSwapProof} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.ZKSwapProof, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.ZKSwapProof|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.Swap} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.Swap.prototype.setProof = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.Swap} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.Swap.prototype.clearProof = function() { + return this.setProof(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.Swap.prototype.hasProof = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional SwapBody body = 4; + * @return {?proto.penumbra.core.component.dex.v1alpha1.SwapBody} + */ +proto.penumbra.core.component.dex.v1alpha1.Swap.prototype.getBody = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.SwapBody} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.SwapBody, 4)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.SwapBody|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.Swap} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.Swap.prototype.setBody = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.Swap} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.Swap.prototype.clearBody = function() { + return this.setBody(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.Swap.prototype.hasBody = function() { + return jspb.Message.getField(this, 4) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaim.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.SwapClaim.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapClaim} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaim.toObject = function(includeInstance, msg) { + var f, obj = { + proof: (f = msg.getProof()) && proto.penumbra.core.component.dex.v1alpha1.ZKSwapClaimProof.toObject(includeInstance, f), + body: (f = msg.getBody()) && proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody.toObject(includeInstance, f), + epochDuration: jspb.Message.getFieldWithDefault(msg, 7, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapClaim} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaim.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.SwapClaim; + return proto.penumbra.core.component.dex.v1alpha1.SwapClaim.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapClaim} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapClaim} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaim.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.dex.v1alpha1.ZKSwapClaimProof; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.ZKSwapClaimProof.deserializeBinaryFromReader); + msg.setProof(value); + break; + case 2: + var value = new proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody.deserializeBinaryFromReader); + msg.setBody(value); + break; + case 7: + var value = /** @type {number} */ (reader.readUint64()); + msg.setEpochDuration(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaim.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.SwapClaim.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapClaim} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaim.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getProof(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.dex.v1alpha1.ZKSwapClaimProof.serializeBinaryToWriter + ); + } + f = message.getBody(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody.serializeBinaryToWriter + ); + } + f = message.getEpochDuration(); + if (f !== 0) { + writer.writeUint64( + 7, + f + ); + } +}; + + +/** + * optional ZKSwapClaimProof proof = 1; + * @return {?proto.penumbra.core.component.dex.v1alpha1.ZKSwapClaimProof} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaim.prototype.getProof = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.ZKSwapClaimProof} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.ZKSwapClaimProof, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.ZKSwapClaimProof|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapClaim} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.SwapClaim.prototype.setProof = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapClaim} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaim.prototype.clearProof = function() { + return this.setProof(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaim.prototype.hasProof = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional SwapClaimBody body = 2; + * @return {?proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaim.prototype.getBody = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody, 2)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapClaim} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.SwapClaim.prototype.setBody = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapClaim} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaim.prototype.clearBody = function() { + return this.setBody(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaim.prototype.hasBody = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional uint64 epoch_duration = 7; + * @return {number} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaim.prototype.getEpochDuration = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapClaim} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaim.prototype.setEpochDuration = function(value) { + return jspb.Message.setProto3IntField(this, 7, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody.toObject = function(includeInstance, msg) { + var f, obj = { + nullifier: (f = msg.getNullifier()) && penumbra_core_component_sct_v1alpha1_sct_pb.Nullifier.toObject(includeInstance, f), + fee: (f = msg.getFee()) && penumbra_core_component_fee_v1alpha1_fee_pb.Fee.toObject(includeInstance, f), + output1Commitment: (f = msg.getOutput1Commitment()) && penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.toObject(includeInstance, f), + output2Commitment: (f = msg.getOutput2Commitment()) && penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.toObject(includeInstance, f), + outputData: (f = msg.getOutputData()) && proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody; + return proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_component_sct_v1alpha1_sct_pb.Nullifier; + reader.readMessage(value,penumbra_core_component_sct_v1alpha1_sct_pb.Nullifier.deserializeBinaryFromReader); + msg.setNullifier(value); + break; + case 2: + var value = new penumbra_core_component_fee_v1alpha1_fee_pb.Fee; + reader.readMessage(value,penumbra_core_component_fee_v1alpha1_fee_pb.Fee.deserializeBinaryFromReader); + msg.setFee(value); + break; + case 3: + var value = new penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment; + reader.readMessage(value,penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.deserializeBinaryFromReader); + msg.setOutput1Commitment(value); + break; + case 4: + var value = new penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment; + reader.readMessage(value,penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.deserializeBinaryFromReader); + msg.setOutput2Commitment(value); + break; + case 6: + var value = new proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.deserializeBinaryFromReader); + msg.setOutputData(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getNullifier(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_component_sct_v1alpha1_sct_pb.Nullifier.serializeBinaryToWriter + ); + } + f = message.getFee(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_component_fee_v1alpha1_fee_pb.Fee.serializeBinaryToWriter + ); + } + f = message.getOutput1Commitment(); + if (f != null) { + writer.writeMessage( + 3, + f, + penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.serializeBinaryToWriter + ); + } + f = message.getOutput2Commitment(); + if (f != null) { + writer.writeMessage( + 4, + f, + penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.serializeBinaryToWriter + ); + } + f = message.getOutputData(); + if (f != null) { + writer.writeMessage( + 6, + f, + proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.component.sct.v1alpha1.Nullifier nullifier = 1; + * @return {?proto.penumbra.core.component.sct.v1alpha1.Nullifier} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody.prototype.getNullifier = function() { + return /** @type{?proto.penumbra.core.component.sct.v1alpha1.Nullifier} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_sct_v1alpha1_sct_pb.Nullifier, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.sct.v1alpha1.Nullifier|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody.prototype.setNullifier = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody.prototype.clearNullifier = function() { + return this.setNullifier(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody.prototype.hasNullifier = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional penumbra.core.component.fee.v1alpha1.Fee fee = 2; + * @return {?proto.penumbra.core.component.fee.v1alpha1.Fee} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody.prototype.getFee = function() { + return /** @type{?proto.penumbra.core.component.fee.v1alpha1.Fee} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_fee_v1alpha1_fee_pb.Fee, 2)); +}; + + +/** + * @param {?proto.penumbra.core.component.fee.v1alpha1.Fee|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody.prototype.setFee = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody.prototype.clearFee = function() { + return this.setFee(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody.prototype.hasFee = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional penumbra.crypto.tct.v1alpha1.StateCommitment output_1_commitment = 3; + * @return {?proto.penumbra.crypto.tct.v1alpha1.StateCommitment} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody.prototype.getOutput1Commitment = function() { + return /** @type{?proto.penumbra.crypto.tct.v1alpha1.StateCommitment} */ ( + jspb.Message.getWrapperField(this, penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment, 3)); +}; + + +/** + * @param {?proto.penumbra.crypto.tct.v1alpha1.StateCommitment|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody.prototype.setOutput1Commitment = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody.prototype.clearOutput1Commitment = function() { + return this.setOutput1Commitment(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody.prototype.hasOutput1Commitment = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional penumbra.crypto.tct.v1alpha1.StateCommitment output_2_commitment = 4; + * @return {?proto.penumbra.crypto.tct.v1alpha1.StateCommitment} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody.prototype.getOutput2Commitment = function() { + return /** @type{?proto.penumbra.crypto.tct.v1alpha1.StateCommitment} */ ( + jspb.Message.getWrapperField(this, penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment, 4)); +}; + + +/** + * @param {?proto.penumbra.crypto.tct.v1alpha1.StateCommitment|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody.prototype.setOutput2Commitment = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody.prototype.clearOutput2Commitment = function() { + return this.setOutput2Commitment(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody.prototype.hasOutput2Commitment = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional BatchSwapOutputData output_data = 6; + * @return {?proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody.prototype.getOutputData = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData, 6)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody.prototype.setOutputData = function(value) { + return jspb.Message.setWrapperField(this, 6, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody.prototype.clearOutputData = function() { + return this.setOutputData(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimBody.prototype.hasOutputData = function() { + return jspb.Message.getField(this, 6) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapBody.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.SwapBody.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapBody} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SwapBody.toObject = function(includeInstance, msg) { + var f, obj = { + tradingPair: (f = msg.getTradingPair()) && proto.penumbra.core.component.dex.v1alpha1.TradingPair.toObject(includeInstance, f), + delta1I: (f = msg.getDelta1I()) && penumbra_core_num_v1alpha1_num_pb.Amount.toObject(includeInstance, f), + delta2I: (f = msg.getDelta2I()) && penumbra_core_num_v1alpha1_num_pb.Amount.toObject(includeInstance, f), + feeCommitment: (f = msg.getFeeCommitment()) && penumbra_core_asset_v1alpha1_asset_pb.BalanceCommitment.toObject(includeInstance, f), + payload: (f = msg.getPayload()) && proto.penumbra.core.component.dex.v1alpha1.SwapPayload.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapBody} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapBody.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.SwapBody; + return proto.penumbra.core.component.dex.v1alpha1.SwapBody.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapBody} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapBody} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapBody.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.dex.v1alpha1.TradingPair; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.TradingPair.deserializeBinaryFromReader); + msg.setTradingPair(value); + break; + case 2: + var value = new penumbra_core_num_v1alpha1_num_pb.Amount; + reader.readMessage(value,penumbra_core_num_v1alpha1_num_pb.Amount.deserializeBinaryFromReader); + msg.setDelta1I(value); + break; + case 3: + var value = new penumbra_core_num_v1alpha1_num_pb.Amount; + reader.readMessage(value,penumbra_core_num_v1alpha1_num_pb.Amount.deserializeBinaryFromReader); + msg.setDelta2I(value); + break; + case 4: + var value = new penumbra_core_asset_v1alpha1_asset_pb.BalanceCommitment; + reader.readMessage(value,penumbra_core_asset_v1alpha1_asset_pb.BalanceCommitment.deserializeBinaryFromReader); + msg.setFeeCommitment(value); + break; + case 5: + var value = new proto.penumbra.core.component.dex.v1alpha1.SwapPayload; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.SwapPayload.deserializeBinaryFromReader); + msg.setPayload(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapBody.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.SwapBody.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapBody} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SwapBody.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTradingPair(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.dex.v1alpha1.TradingPair.serializeBinaryToWriter + ); + } + f = message.getDelta1I(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_num_v1alpha1_num_pb.Amount.serializeBinaryToWriter + ); + } + f = message.getDelta2I(); + if (f != null) { + writer.writeMessage( + 3, + f, + penumbra_core_num_v1alpha1_num_pb.Amount.serializeBinaryToWriter + ); + } + f = message.getFeeCommitment(); + if (f != null) { + writer.writeMessage( + 4, + f, + penumbra_core_asset_v1alpha1_asset_pb.BalanceCommitment.serializeBinaryToWriter + ); + } + f = message.getPayload(); + if (f != null) { + writer.writeMessage( + 5, + f, + proto.penumbra.core.component.dex.v1alpha1.SwapPayload.serializeBinaryToWriter + ); + } +}; + + +/** + * optional TradingPair trading_pair = 1; + * @return {?proto.penumbra.core.component.dex.v1alpha1.TradingPair} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapBody.prototype.getTradingPair = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.TradingPair} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.TradingPair, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.TradingPair|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapBody} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.SwapBody.prototype.setTradingPair = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapBody} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapBody.prototype.clearTradingPair = function() { + return this.setTradingPair(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapBody.prototype.hasTradingPair = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional penumbra.core.num.v1alpha1.Amount delta_1_i = 2; + * @return {?proto.penumbra.core.num.v1alpha1.Amount} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapBody.prototype.getDelta1I = function() { + return /** @type{?proto.penumbra.core.num.v1alpha1.Amount} */ ( + jspb.Message.getWrapperField(this, penumbra_core_num_v1alpha1_num_pb.Amount, 2)); +}; + + +/** + * @param {?proto.penumbra.core.num.v1alpha1.Amount|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapBody} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.SwapBody.prototype.setDelta1I = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapBody} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapBody.prototype.clearDelta1I = function() { + return this.setDelta1I(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapBody.prototype.hasDelta1I = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional penumbra.core.num.v1alpha1.Amount delta_2_i = 3; + * @return {?proto.penumbra.core.num.v1alpha1.Amount} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapBody.prototype.getDelta2I = function() { + return /** @type{?proto.penumbra.core.num.v1alpha1.Amount} */ ( + jspb.Message.getWrapperField(this, penumbra_core_num_v1alpha1_num_pb.Amount, 3)); +}; + + +/** + * @param {?proto.penumbra.core.num.v1alpha1.Amount|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapBody} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.SwapBody.prototype.setDelta2I = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapBody} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapBody.prototype.clearDelta2I = function() { + return this.setDelta2I(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapBody.prototype.hasDelta2I = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional penumbra.core.asset.v1alpha1.BalanceCommitment fee_commitment = 4; + * @return {?proto.penumbra.core.asset.v1alpha1.BalanceCommitment} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapBody.prototype.getFeeCommitment = function() { + return /** @type{?proto.penumbra.core.asset.v1alpha1.BalanceCommitment} */ ( + jspb.Message.getWrapperField(this, penumbra_core_asset_v1alpha1_asset_pb.BalanceCommitment, 4)); +}; + + +/** + * @param {?proto.penumbra.core.asset.v1alpha1.BalanceCommitment|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapBody} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.SwapBody.prototype.setFeeCommitment = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapBody} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapBody.prototype.clearFeeCommitment = function() { + return this.setFeeCommitment(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapBody.prototype.hasFeeCommitment = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional SwapPayload payload = 5; + * @return {?proto.penumbra.core.component.dex.v1alpha1.SwapPayload} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapBody.prototype.getPayload = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.SwapPayload} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.SwapPayload, 5)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.SwapPayload|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapBody} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.SwapBody.prototype.setPayload = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapBody} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapBody.prototype.clearPayload = function() { + return this.setPayload(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapBody.prototype.hasPayload = function() { + return jspb.Message.getField(this, 5) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPayload.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.SwapPayload.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapPayload} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPayload.toObject = function(includeInstance, msg) { + var f, obj = { + commitment: (f = msg.getCommitment()) && penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.toObject(includeInstance, f), + encryptedSwap: msg.getEncryptedSwap_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapPayload} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPayload.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.SwapPayload; + return proto.penumbra.core.component.dex.v1alpha1.SwapPayload.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapPayload} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapPayload} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPayload.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment; + reader.readMessage(value,penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.deserializeBinaryFromReader); + msg.setCommitment(value); + break; + case 2: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setEncryptedSwap(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPayload.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.SwapPayload.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapPayload} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPayload.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getCommitment(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.serializeBinaryToWriter + ); + } + f = message.getEncryptedSwap_asU8(); + if (f.length > 0) { + writer.writeBytes( + 2, + f + ); + } +}; + + +/** + * optional penumbra.crypto.tct.v1alpha1.StateCommitment commitment = 1; + * @return {?proto.penumbra.crypto.tct.v1alpha1.StateCommitment} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPayload.prototype.getCommitment = function() { + return /** @type{?proto.penumbra.crypto.tct.v1alpha1.StateCommitment} */ ( + jspb.Message.getWrapperField(this, penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment, 1)); +}; + + +/** + * @param {?proto.penumbra.crypto.tct.v1alpha1.StateCommitment|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapPayload} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.SwapPayload.prototype.setCommitment = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapPayload} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPayload.prototype.clearCommitment = function() { + return this.setCommitment(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPayload.prototype.hasCommitment = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional bytes encrypted_swap = 2; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPayload.prototype.getEncryptedSwap = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * optional bytes encrypted_swap = 2; + * This is a type-conversion wrapper around `getEncryptedSwap()` + * @return {string} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPayload.prototype.getEncryptedSwap_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getEncryptedSwap())); +}; + + +/** + * optional bytes encrypted_swap = 2; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getEncryptedSwap()` + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPayload.prototype.getEncryptedSwap_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getEncryptedSwap())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapPayload} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPayload.prototype.setEncryptedSwap = function(value) { + return jspb.Message.setProto3BytesField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext.toObject = function(includeInstance, msg) { + var f, obj = { + tradingPair: (f = msg.getTradingPair()) && proto.penumbra.core.component.dex.v1alpha1.TradingPair.toObject(includeInstance, f), + delta1I: (f = msg.getDelta1I()) && penumbra_core_num_v1alpha1_num_pb.Amount.toObject(includeInstance, f), + delta2I: (f = msg.getDelta2I()) && penumbra_core_num_v1alpha1_num_pb.Amount.toObject(includeInstance, f), + claimFee: (f = msg.getClaimFee()) && penumbra_core_component_fee_v1alpha1_fee_pb.Fee.toObject(includeInstance, f), + claimAddress: (f = msg.getClaimAddress()) && penumbra_core_keys_v1alpha1_keys_pb.Address.toObject(includeInstance, f), + rseed: msg.getRseed_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext; + return proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.dex.v1alpha1.TradingPair; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.TradingPair.deserializeBinaryFromReader); + msg.setTradingPair(value); + break; + case 2: + var value = new penumbra_core_num_v1alpha1_num_pb.Amount; + reader.readMessage(value,penumbra_core_num_v1alpha1_num_pb.Amount.deserializeBinaryFromReader); + msg.setDelta1I(value); + break; + case 3: + var value = new penumbra_core_num_v1alpha1_num_pb.Amount; + reader.readMessage(value,penumbra_core_num_v1alpha1_num_pb.Amount.deserializeBinaryFromReader); + msg.setDelta2I(value); + break; + case 4: + var value = new penumbra_core_component_fee_v1alpha1_fee_pb.Fee; + reader.readMessage(value,penumbra_core_component_fee_v1alpha1_fee_pb.Fee.deserializeBinaryFromReader); + msg.setClaimFee(value); + break; + case 5: + var value = new penumbra_core_keys_v1alpha1_keys_pb.Address; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.Address.deserializeBinaryFromReader); + msg.setClaimAddress(value); + break; + case 6: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setRseed(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTradingPair(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.dex.v1alpha1.TradingPair.serializeBinaryToWriter + ); + } + f = message.getDelta1I(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_num_v1alpha1_num_pb.Amount.serializeBinaryToWriter + ); + } + f = message.getDelta2I(); + if (f != null) { + writer.writeMessage( + 3, + f, + penumbra_core_num_v1alpha1_num_pb.Amount.serializeBinaryToWriter + ); + } + f = message.getClaimFee(); + if (f != null) { + writer.writeMessage( + 4, + f, + penumbra_core_component_fee_v1alpha1_fee_pb.Fee.serializeBinaryToWriter + ); + } + f = message.getClaimAddress(); + if (f != null) { + writer.writeMessage( + 5, + f, + penumbra_core_keys_v1alpha1_keys_pb.Address.serializeBinaryToWriter + ); + } + f = message.getRseed_asU8(); + if (f.length > 0) { + writer.writeBytes( + 6, + f + ); + } +}; + + +/** + * optional TradingPair trading_pair = 1; + * @return {?proto.penumbra.core.component.dex.v1alpha1.TradingPair} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext.prototype.getTradingPair = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.TradingPair} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.TradingPair, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.TradingPair|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext.prototype.setTradingPair = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext.prototype.clearTradingPair = function() { + return this.setTradingPair(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext.prototype.hasTradingPair = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional penumbra.core.num.v1alpha1.Amount delta_1_i = 2; + * @return {?proto.penumbra.core.num.v1alpha1.Amount} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext.prototype.getDelta1I = function() { + return /** @type{?proto.penumbra.core.num.v1alpha1.Amount} */ ( + jspb.Message.getWrapperField(this, penumbra_core_num_v1alpha1_num_pb.Amount, 2)); +}; + + +/** + * @param {?proto.penumbra.core.num.v1alpha1.Amount|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext.prototype.setDelta1I = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext.prototype.clearDelta1I = function() { + return this.setDelta1I(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext.prototype.hasDelta1I = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional penumbra.core.num.v1alpha1.Amount delta_2_i = 3; + * @return {?proto.penumbra.core.num.v1alpha1.Amount} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext.prototype.getDelta2I = function() { + return /** @type{?proto.penumbra.core.num.v1alpha1.Amount} */ ( + jspb.Message.getWrapperField(this, penumbra_core_num_v1alpha1_num_pb.Amount, 3)); +}; + + +/** + * @param {?proto.penumbra.core.num.v1alpha1.Amount|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext.prototype.setDelta2I = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext.prototype.clearDelta2I = function() { + return this.setDelta2I(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext.prototype.hasDelta2I = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional penumbra.core.component.fee.v1alpha1.Fee claim_fee = 4; + * @return {?proto.penumbra.core.component.fee.v1alpha1.Fee} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext.prototype.getClaimFee = function() { + return /** @type{?proto.penumbra.core.component.fee.v1alpha1.Fee} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_fee_v1alpha1_fee_pb.Fee, 4)); +}; + + +/** + * @param {?proto.penumbra.core.component.fee.v1alpha1.Fee|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext.prototype.setClaimFee = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext.prototype.clearClaimFee = function() { + return this.setClaimFee(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext.prototype.hasClaimFee = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional penumbra.core.keys.v1alpha1.Address claim_address = 5; + * @return {?proto.penumbra.core.keys.v1alpha1.Address} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext.prototype.getClaimAddress = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.Address} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.Address, 5)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.Address|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext.prototype.setClaimAddress = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext.prototype.clearClaimAddress = function() { + return this.setClaimAddress(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext.prototype.hasClaimAddress = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional bytes rseed = 6; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext.prototype.getRseed = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * optional bytes rseed = 6; + * This is a type-conversion wrapper around `getRseed()` + * @return {string} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext.prototype.getRseed_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getRseed())); +}; + + +/** + * optional bytes rseed = 6; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getRseed()` + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext.prototype.getRseed_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getRseed())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext.prototype.setRseed = function(value) { + return jspb.Message.setProto3BytesField(this, 6, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPlan.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.SwapPlan.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapPlan} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPlan.toObject = function(includeInstance, msg) { + var f, obj = { + swapPlaintext: (f = msg.getSwapPlaintext()) && proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext.toObject(includeInstance, f), + feeBlinding: msg.getFeeBlinding_asB64(), + proofBlindingR: msg.getProofBlindingR_asB64(), + proofBlindingS: msg.getProofBlindingS_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapPlan} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPlan.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.SwapPlan; + return proto.penumbra.core.component.dex.v1alpha1.SwapPlan.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapPlan} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapPlan} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPlan.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext.deserializeBinaryFromReader); + msg.setSwapPlaintext(value); + break; + case 2: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setFeeBlinding(value); + break; + case 3: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setProofBlindingR(value); + break; + case 4: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setProofBlindingS(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPlan.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.SwapPlan.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapPlan} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPlan.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSwapPlaintext(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext.serializeBinaryToWriter + ); + } + f = message.getFeeBlinding_asU8(); + if (f.length > 0) { + writer.writeBytes( + 2, + f + ); + } + f = message.getProofBlindingR_asU8(); + if (f.length > 0) { + writer.writeBytes( + 3, + f + ); + } + f = message.getProofBlindingS_asU8(); + if (f.length > 0) { + writer.writeBytes( + 4, + f + ); + } +}; + + +/** + * optional SwapPlaintext swap_plaintext = 1; + * @return {?proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPlan.prototype.getSwapPlaintext = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapPlan} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.SwapPlan.prototype.setSwapPlaintext = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapPlan} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPlan.prototype.clearSwapPlaintext = function() { + return this.setSwapPlaintext(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPlan.prototype.hasSwapPlaintext = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional bytes fee_blinding = 2; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPlan.prototype.getFeeBlinding = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * optional bytes fee_blinding = 2; + * This is a type-conversion wrapper around `getFeeBlinding()` + * @return {string} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPlan.prototype.getFeeBlinding_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getFeeBlinding())); +}; + + +/** + * optional bytes fee_blinding = 2; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getFeeBlinding()` + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPlan.prototype.getFeeBlinding_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getFeeBlinding())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapPlan} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPlan.prototype.setFeeBlinding = function(value) { + return jspb.Message.setProto3BytesField(this, 2, value); +}; + + +/** + * optional bytes proof_blinding_r = 3; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPlan.prototype.getProofBlindingR = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * optional bytes proof_blinding_r = 3; + * This is a type-conversion wrapper around `getProofBlindingR()` + * @return {string} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPlan.prototype.getProofBlindingR_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getProofBlindingR())); +}; + + +/** + * optional bytes proof_blinding_r = 3; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getProofBlindingR()` + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPlan.prototype.getProofBlindingR_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getProofBlindingR())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapPlan} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPlan.prototype.setProofBlindingR = function(value) { + return jspb.Message.setProto3BytesField(this, 3, value); +}; + + +/** + * optional bytes proof_blinding_s = 4; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPlan.prototype.getProofBlindingS = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * optional bytes proof_blinding_s = 4; + * This is a type-conversion wrapper around `getProofBlindingS()` + * @return {string} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPlan.prototype.getProofBlindingS_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getProofBlindingS())); +}; + + +/** + * optional bytes proof_blinding_s = 4; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getProofBlindingS()` + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPlan.prototype.getProofBlindingS_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getProofBlindingS())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapPlan} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapPlan.prototype.setProofBlindingS = function(value) { + return jspb.Message.setProto3BytesField(this, 4, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan.toObject = function(includeInstance, msg) { + var f, obj = { + swapPlaintext: (f = msg.getSwapPlaintext()) && proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext.toObject(includeInstance, f), + position: jspb.Message.getFieldWithDefault(msg, 2, 0), + outputData: (f = msg.getOutputData()) && proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.toObject(includeInstance, f), + epochDuration: jspb.Message.getFieldWithDefault(msg, 4, 0), + proofBlindingR: msg.getProofBlindingR_asB64(), + proofBlindingS: msg.getProofBlindingS_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan; + return proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext.deserializeBinaryFromReader); + msg.setSwapPlaintext(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint64()); + msg.setPosition(value); + break; + case 3: + var value = new proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.deserializeBinaryFromReader); + msg.setOutputData(value); + break; + case 4: + var value = /** @type {number} */ (reader.readUint64()); + msg.setEpochDuration(value); + break; + case 5: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setProofBlindingR(value); + break; + case 6: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setProofBlindingS(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSwapPlaintext(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext.serializeBinaryToWriter + ); + } + f = message.getPosition(); + if (f !== 0) { + writer.writeUint64( + 2, + f + ); + } + f = message.getOutputData(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.serializeBinaryToWriter + ); + } + f = message.getEpochDuration(); + if (f !== 0) { + writer.writeUint64( + 4, + f + ); + } + f = message.getProofBlindingR_asU8(); + if (f.length > 0) { + writer.writeBytes( + 5, + f + ); + } + f = message.getProofBlindingS_asU8(); + if (f.length > 0) { + writer.writeBytes( + 6, + f + ); + } +}; + + +/** + * optional SwapPlaintext swap_plaintext = 1; + * @return {?proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan.prototype.getSwapPlaintext = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan.prototype.setSwapPlaintext = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan.prototype.clearSwapPlaintext = function() { + return this.setSwapPlaintext(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan.prototype.hasSwapPlaintext = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional uint64 position = 2; + * @return {number} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan.prototype.getPosition = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan.prototype.setPosition = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + +/** + * optional BatchSwapOutputData output_data = 3; + * @return {?proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan.prototype.getOutputData = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData, 3)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan.prototype.setOutputData = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan.prototype.clearOutputData = function() { + return this.setOutputData(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan.prototype.hasOutputData = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional uint64 epoch_duration = 4; + * @return {number} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan.prototype.getEpochDuration = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan.prototype.setEpochDuration = function(value) { + return jspb.Message.setProto3IntField(this, 4, value); +}; + + +/** + * optional bytes proof_blinding_r = 5; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan.prototype.getProofBlindingR = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * optional bytes proof_blinding_r = 5; + * This is a type-conversion wrapper around `getProofBlindingR()` + * @return {string} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan.prototype.getProofBlindingR_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getProofBlindingR())); +}; + + +/** + * optional bytes proof_blinding_r = 5; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getProofBlindingR()` + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan.prototype.getProofBlindingR_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getProofBlindingR())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan.prototype.setProofBlindingR = function(value) { + return jspb.Message.setProto3BytesField(this, 5, value); +}; + + +/** + * optional bytes proof_blinding_s = 6; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan.prototype.getProofBlindingS = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * optional bytes proof_blinding_s = 6; + * This is a type-conversion wrapper around `getProofBlindingS()` + * @return {string} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan.prototype.getProofBlindingS_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getProofBlindingS())); +}; + + +/** + * optional bytes proof_blinding_s = 6; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getProofBlindingS()` + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan.prototype.getProofBlindingS_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getProofBlindingS())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan.prototype.setProofBlindingS = function(value) { + return jspb.Message.setProto3BytesField(this, 6, value); +}; + + + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.penumbra.core.component.dex.v1alpha1.SwapView.oneofGroups_ = [[1,2]]; + +/** + * @enum {number} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapView.SwapViewCase = { + SWAP_VIEW_NOT_SET: 0, + VISIBLE: 1, + OPAQUE: 2 +}; + +/** + * @return {proto.penumbra.core.component.dex.v1alpha1.SwapView.SwapViewCase} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapView.prototype.getSwapViewCase = function() { + return /** @type {proto.penumbra.core.component.dex.v1alpha1.SwapView.SwapViewCase} */(jspb.Message.computeOneofCase(this, proto.penumbra.core.component.dex.v1alpha1.SwapView.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapView.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.SwapView.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapView} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SwapView.toObject = function(includeInstance, msg) { + var f, obj = { + visible: (f = msg.getVisible()) && proto.penumbra.core.component.dex.v1alpha1.SwapView.Visible.toObject(includeInstance, f), + opaque: (f = msg.getOpaque()) && proto.penumbra.core.component.dex.v1alpha1.SwapView.Opaque.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapView} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapView.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.SwapView; + return proto.penumbra.core.component.dex.v1alpha1.SwapView.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapView} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapView} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapView.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.dex.v1alpha1.SwapView.Visible; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.SwapView.Visible.deserializeBinaryFromReader); + msg.setVisible(value); + break; + case 2: + var value = new proto.penumbra.core.component.dex.v1alpha1.SwapView.Opaque; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.SwapView.Opaque.deserializeBinaryFromReader); + msg.setOpaque(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapView.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.SwapView.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapView} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SwapView.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getVisible(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.dex.v1alpha1.SwapView.Visible.serializeBinaryToWriter + ); + } + f = message.getOpaque(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.penumbra.core.component.dex.v1alpha1.SwapView.Opaque.serializeBinaryToWriter + ); + } +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapView.Visible.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.SwapView.Visible.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapView.Visible} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SwapView.Visible.toObject = function(includeInstance, msg) { + var f, obj = { + swap: (f = msg.getSwap()) && proto.penumbra.core.component.dex.v1alpha1.Swap.toObject(includeInstance, f), + swapPlaintext: (f = msg.getSwapPlaintext()) && proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapView.Visible} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapView.Visible.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.SwapView.Visible; + return proto.penumbra.core.component.dex.v1alpha1.SwapView.Visible.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapView.Visible} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapView.Visible} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapView.Visible.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.dex.v1alpha1.Swap; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.Swap.deserializeBinaryFromReader); + msg.setSwap(value); + break; + case 3: + var value = new proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext.deserializeBinaryFromReader); + msg.setSwapPlaintext(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapView.Visible.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.SwapView.Visible.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapView.Visible} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SwapView.Visible.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSwap(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.dex.v1alpha1.Swap.serializeBinaryToWriter + ); + } + f = message.getSwapPlaintext(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext.serializeBinaryToWriter + ); + } +}; + + +/** + * optional Swap swap = 1; + * @return {?proto.penumbra.core.component.dex.v1alpha1.Swap} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapView.Visible.prototype.getSwap = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.Swap} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.Swap, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.Swap|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapView.Visible} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.SwapView.Visible.prototype.setSwap = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapView.Visible} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapView.Visible.prototype.clearSwap = function() { + return this.setSwap(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapView.Visible.prototype.hasSwap = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional SwapPlaintext swap_plaintext = 3; + * @return {?proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapView.Visible.prototype.getSwapPlaintext = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext, 3)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapView.Visible} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.SwapView.Visible.prototype.setSwapPlaintext = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapView.Visible} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapView.Visible.prototype.clearSwapPlaintext = function() { + return this.setSwapPlaintext(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapView.Visible.prototype.hasSwapPlaintext = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapView.Opaque.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.SwapView.Opaque.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapView.Opaque} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SwapView.Opaque.toObject = function(includeInstance, msg) { + var f, obj = { + swap: (f = msg.getSwap()) && proto.penumbra.core.component.dex.v1alpha1.Swap.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapView.Opaque} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapView.Opaque.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.SwapView.Opaque; + return proto.penumbra.core.component.dex.v1alpha1.SwapView.Opaque.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapView.Opaque} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapView.Opaque} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapView.Opaque.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.dex.v1alpha1.Swap; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.Swap.deserializeBinaryFromReader); + msg.setSwap(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapView.Opaque.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.SwapView.Opaque.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapView.Opaque} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SwapView.Opaque.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSwap(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.dex.v1alpha1.Swap.serializeBinaryToWriter + ); + } +}; + + +/** + * optional Swap swap = 1; + * @return {?proto.penumbra.core.component.dex.v1alpha1.Swap} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapView.Opaque.prototype.getSwap = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.Swap} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.Swap, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.Swap|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapView.Opaque} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.SwapView.Opaque.prototype.setSwap = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapView.Opaque} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapView.Opaque.prototype.clearSwap = function() { + return this.setSwap(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapView.Opaque.prototype.hasSwap = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional Visible visible = 1; + * @return {?proto.penumbra.core.component.dex.v1alpha1.SwapView.Visible} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapView.prototype.getVisible = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.SwapView.Visible} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.SwapView.Visible, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.SwapView.Visible|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapView} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.SwapView.prototype.setVisible = function(value) { + return jspb.Message.setOneofWrapperField(this, 1, proto.penumbra.core.component.dex.v1alpha1.SwapView.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapView} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapView.prototype.clearVisible = function() { + return this.setVisible(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapView.prototype.hasVisible = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional Opaque opaque = 2; + * @return {?proto.penumbra.core.component.dex.v1alpha1.SwapView.Opaque} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapView.prototype.getOpaque = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.SwapView.Opaque} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.SwapView.Opaque, 2)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.SwapView.Opaque|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapView} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.SwapView.prototype.setOpaque = function(value) { + return jspb.Message.setOneofWrapperField(this, 2, proto.penumbra.core.component.dex.v1alpha1.SwapView.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapView} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapView.prototype.clearOpaque = function() { + return this.setOpaque(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapView.prototype.hasOpaque = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.oneofGroups_ = [[1,2]]; + +/** + * @enum {number} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.SwapClaimViewCase = { + SWAP_CLAIM_VIEW_NOT_SET: 0, + VISIBLE: 1, + OPAQUE: 2 +}; + +/** + * @return {proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.SwapClaimViewCase} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.prototype.getSwapClaimViewCase = function() { + return /** @type {proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.SwapClaimViewCase} */(jspb.Message.computeOneofCase(this, proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimView} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.toObject = function(includeInstance, msg) { + var f, obj = { + visible: (f = msg.getVisible()) && proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Visible.toObject(includeInstance, f), + opaque: (f = msg.getOpaque()) && proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Opaque.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimView} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.SwapClaimView; + return proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimView} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimView} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Visible; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Visible.deserializeBinaryFromReader); + msg.setVisible(value); + break; + case 2: + var value = new proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Opaque; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Opaque.deserializeBinaryFromReader); + msg.setOpaque(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimView} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getVisible(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Visible.serializeBinaryToWriter + ); + } + f = message.getOpaque(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Opaque.serializeBinaryToWriter + ); + } +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Visible.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Visible.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Visible} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Visible.toObject = function(includeInstance, msg) { + var f, obj = { + swapClaim: (f = msg.getSwapClaim()) && proto.penumbra.core.component.dex.v1alpha1.SwapClaim.toObject(includeInstance, f), + output1: (f = msg.getOutput1()) && penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.NoteView.toObject(includeInstance, f), + output2: (f = msg.getOutput2()) && penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.NoteView.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Visible} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Visible.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Visible; + return proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Visible.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Visible} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Visible} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Visible.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.dex.v1alpha1.SwapClaim; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.SwapClaim.deserializeBinaryFromReader); + msg.setSwapClaim(value); + break; + case 2: + var value = new penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.NoteView; + reader.readMessage(value,penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.NoteView.deserializeBinaryFromReader); + msg.setOutput1(value); + break; + case 3: + var value = new penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.NoteView; + reader.readMessage(value,penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.NoteView.deserializeBinaryFromReader); + msg.setOutput2(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Visible.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Visible.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Visible} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Visible.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSwapClaim(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.dex.v1alpha1.SwapClaim.serializeBinaryToWriter + ); + } + f = message.getOutput1(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.NoteView.serializeBinaryToWriter + ); + } + f = message.getOutput2(); + if (f != null) { + writer.writeMessage( + 3, + f, + penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.NoteView.serializeBinaryToWriter + ); + } +}; + + +/** + * optional SwapClaim swap_claim = 1; + * @return {?proto.penumbra.core.component.dex.v1alpha1.SwapClaim} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Visible.prototype.getSwapClaim = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.SwapClaim} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.SwapClaim, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.SwapClaim|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Visible} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Visible.prototype.setSwapClaim = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Visible} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Visible.prototype.clearSwapClaim = function() { + return this.setSwapClaim(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Visible.prototype.hasSwapClaim = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional penumbra.core.component.shielded_pool.v1alpha1.NoteView output_1 = 2; + * @return {?proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Visible.prototype.getOutput1 = function() { + return /** @type{?proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.NoteView, 2)); +}; + + +/** + * @param {?proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Visible} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Visible.prototype.setOutput1 = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Visible} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Visible.prototype.clearOutput1 = function() { + return this.setOutput1(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Visible.prototype.hasOutput1 = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional penumbra.core.component.shielded_pool.v1alpha1.NoteView output_2 = 3; + * @return {?proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Visible.prototype.getOutput2 = function() { + return /** @type{?proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.NoteView, 3)); +}; + + +/** + * @param {?proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Visible} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Visible.prototype.setOutput2 = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Visible} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Visible.prototype.clearOutput2 = function() { + return this.setOutput2(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Visible.prototype.hasOutput2 = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Opaque.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Opaque.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Opaque} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Opaque.toObject = function(includeInstance, msg) { + var f, obj = { + swapClaim: (f = msg.getSwapClaim()) && proto.penumbra.core.component.dex.v1alpha1.SwapClaim.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Opaque} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Opaque.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Opaque; + return proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Opaque.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Opaque} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Opaque} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Opaque.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.dex.v1alpha1.SwapClaim; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.SwapClaim.deserializeBinaryFromReader); + msg.setSwapClaim(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Opaque.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Opaque.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Opaque} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Opaque.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSwapClaim(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.dex.v1alpha1.SwapClaim.serializeBinaryToWriter + ); + } +}; + + +/** + * optional SwapClaim swap_claim = 1; + * @return {?proto.penumbra.core.component.dex.v1alpha1.SwapClaim} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Opaque.prototype.getSwapClaim = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.SwapClaim} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.SwapClaim, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.SwapClaim|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Opaque} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Opaque.prototype.setSwapClaim = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Opaque} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Opaque.prototype.clearSwapClaim = function() { + return this.setSwapClaim(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Opaque.prototype.hasSwapClaim = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional Visible visible = 1; + * @return {?proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Visible} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.prototype.getVisible = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Visible} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Visible, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Visible|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimView} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.prototype.setVisible = function(value) { + return jspb.Message.setOneofWrapperField(this, 1, proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimView} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.prototype.clearVisible = function() { + return this.setVisible(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.prototype.hasVisible = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional Opaque opaque = 2; + * @return {?proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Opaque} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.prototype.getOpaque = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Opaque} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Opaque, 2)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.Opaque|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimView} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.prototype.setOpaque = function(value) { + return jspb.Message.setOneofWrapperField(this, 2, proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapClaimView} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.prototype.clearOpaque = function() { + return this.setOpaque(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapClaimView.prototype.hasOpaque = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.TradingPair.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.TradingPair.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.TradingPair} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.TradingPair.toObject = function(includeInstance, msg) { + var f, obj = { + asset1: (f = msg.getAsset1()) && penumbra_core_asset_v1alpha1_asset_pb.AssetId.toObject(includeInstance, f), + asset2: (f = msg.getAsset2()) && penumbra_core_asset_v1alpha1_asset_pb.AssetId.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.TradingPair} + */ +proto.penumbra.core.component.dex.v1alpha1.TradingPair.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.TradingPair; + return proto.penumbra.core.component.dex.v1alpha1.TradingPair.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.TradingPair} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.TradingPair} + */ +proto.penumbra.core.component.dex.v1alpha1.TradingPair.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_asset_v1alpha1_asset_pb.AssetId; + reader.readMessage(value,penumbra_core_asset_v1alpha1_asset_pb.AssetId.deserializeBinaryFromReader); + msg.setAsset1(value); + break; + case 2: + var value = new penumbra_core_asset_v1alpha1_asset_pb.AssetId; + reader.readMessage(value,penumbra_core_asset_v1alpha1_asset_pb.AssetId.deserializeBinaryFromReader); + msg.setAsset2(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.TradingPair.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.TradingPair.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.TradingPair} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.TradingPair.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getAsset1(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_asset_v1alpha1_asset_pb.AssetId.serializeBinaryToWriter + ); + } + f = message.getAsset2(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_asset_v1alpha1_asset_pb.AssetId.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.asset.v1alpha1.AssetId asset_1 = 1; + * @return {?proto.penumbra.core.asset.v1alpha1.AssetId} + */ +proto.penumbra.core.component.dex.v1alpha1.TradingPair.prototype.getAsset1 = function() { + return /** @type{?proto.penumbra.core.asset.v1alpha1.AssetId} */ ( + jspb.Message.getWrapperField(this, penumbra_core_asset_v1alpha1_asset_pb.AssetId, 1)); +}; + + +/** + * @param {?proto.penumbra.core.asset.v1alpha1.AssetId|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.TradingPair} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.TradingPair.prototype.setAsset1 = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.TradingPair} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.TradingPair.prototype.clearAsset1 = function() { + return this.setAsset1(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.TradingPair.prototype.hasAsset1 = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional penumbra.core.asset.v1alpha1.AssetId asset_2 = 2; + * @return {?proto.penumbra.core.asset.v1alpha1.AssetId} + */ +proto.penumbra.core.component.dex.v1alpha1.TradingPair.prototype.getAsset2 = function() { + return /** @type{?proto.penumbra.core.asset.v1alpha1.AssetId} */ ( + jspb.Message.getWrapperField(this, penumbra_core_asset_v1alpha1_asset_pb.AssetId, 2)); +}; + + +/** + * @param {?proto.penumbra.core.asset.v1alpha1.AssetId|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.TradingPair} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.TradingPair.prototype.setAsset2 = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.TradingPair} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.TradingPair.prototype.clearAsset2 = function() { + return this.setAsset2(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.TradingPair.prototype.hasAsset2 = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair.toObject = function(includeInstance, msg) { + var f, obj = { + start: (f = msg.getStart()) && penumbra_core_asset_v1alpha1_asset_pb.AssetId.toObject(includeInstance, f), + end: (f = msg.getEnd()) && penumbra_core_asset_v1alpha1_asset_pb.AssetId.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair} + */ +proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair; + return proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair} + */ +proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_asset_v1alpha1_asset_pb.AssetId; + reader.readMessage(value,penumbra_core_asset_v1alpha1_asset_pb.AssetId.deserializeBinaryFromReader); + msg.setStart(value); + break; + case 2: + var value = new penumbra_core_asset_v1alpha1_asset_pb.AssetId; + reader.readMessage(value,penumbra_core_asset_v1alpha1_asset_pb.AssetId.deserializeBinaryFromReader); + msg.setEnd(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getStart(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_asset_v1alpha1_asset_pb.AssetId.serializeBinaryToWriter + ); + } + f = message.getEnd(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_asset_v1alpha1_asset_pb.AssetId.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.asset.v1alpha1.AssetId start = 1; + * @return {?proto.penumbra.core.asset.v1alpha1.AssetId} + */ +proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair.prototype.getStart = function() { + return /** @type{?proto.penumbra.core.asset.v1alpha1.AssetId} */ ( + jspb.Message.getWrapperField(this, penumbra_core_asset_v1alpha1_asset_pb.AssetId, 1)); +}; + + +/** + * @param {?proto.penumbra.core.asset.v1alpha1.AssetId|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair.prototype.setStart = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair.prototype.clearStart = function() { + return this.setStart(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair.prototype.hasStart = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional penumbra.core.asset.v1alpha1.AssetId end = 2; + * @return {?proto.penumbra.core.asset.v1alpha1.AssetId} + */ +proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair.prototype.getEnd = function() { + return /** @type{?proto.penumbra.core.asset.v1alpha1.AssetId} */ ( + jspb.Message.getWrapperField(this, penumbra_core_asset_v1alpha1_asset_pb.AssetId, 2)); +}; + + +/** + * @param {?proto.penumbra.core.asset.v1alpha1.AssetId|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair.prototype.setEnd = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair.prototype.clearEnd = function() { + return this.setEnd(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair.prototype.hasEnd = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.toObject = function(includeInstance, msg) { + var f, obj = { + delta1: (f = msg.getDelta1()) && penumbra_core_num_v1alpha1_num_pb.Amount.toObject(includeInstance, f), + delta2: (f = msg.getDelta2()) && penumbra_core_num_v1alpha1_num_pb.Amount.toObject(includeInstance, f), + lambda1: (f = msg.getLambda1()) && penumbra_core_num_v1alpha1_num_pb.Amount.toObject(includeInstance, f), + lambda2: (f = msg.getLambda2()) && penumbra_core_num_v1alpha1_num_pb.Amount.toObject(includeInstance, f), + unfilled1: (f = msg.getUnfilled1()) && penumbra_core_num_v1alpha1_num_pb.Amount.toObject(includeInstance, f), + unfilled2: (f = msg.getUnfilled2()) && penumbra_core_num_v1alpha1_num_pb.Amount.toObject(includeInstance, f), + height: jspb.Message.getFieldWithDefault(msg, 7, 0), + tradingPair: (f = msg.getTradingPair()) && proto.penumbra.core.component.dex.v1alpha1.TradingPair.toObject(includeInstance, f), + epochStartingHeight: jspb.Message.getFieldWithDefault(msg, 9, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData} + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData; + return proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData} + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_num_v1alpha1_num_pb.Amount; + reader.readMessage(value,penumbra_core_num_v1alpha1_num_pb.Amount.deserializeBinaryFromReader); + msg.setDelta1(value); + break; + case 2: + var value = new penumbra_core_num_v1alpha1_num_pb.Amount; + reader.readMessage(value,penumbra_core_num_v1alpha1_num_pb.Amount.deserializeBinaryFromReader); + msg.setDelta2(value); + break; + case 3: + var value = new penumbra_core_num_v1alpha1_num_pb.Amount; + reader.readMessage(value,penumbra_core_num_v1alpha1_num_pb.Amount.deserializeBinaryFromReader); + msg.setLambda1(value); + break; + case 4: + var value = new penumbra_core_num_v1alpha1_num_pb.Amount; + reader.readMessage(value,penumbra_core_num_v1alpha1_num_pb.Amount.deserializeBinaryFromReader); + msg.setLambda2(value); + break; + case 5: + var value = new penumbra_core_num_v1alpha1_num_pb.Amount; + reader.readMessage(value,penumbra_core_num_v1alpha1_num_pb.Amount.deserializeBinaryFromReader); + msg.setUnfilled1(value); + break; + case 6: + var value = new penumbra_core_num_v1alpha1_num_pb.Amount; + reader.readMessage(value,penumbra_core_num_v1alpha1_num_pb.Amount.deserializeBinaryFromReader); + msg.setUnfilled2(value); + break; + case 7: + var value = /** @type {number} */ (reader.readUint64()); + msg.setHeight(value); + break; + case 8: + var value = new proto.penumbra.core.component.dex.v1alpha1.TradingPair; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.TradingPair.deserializeBinaryFromReader); + msg.setTradingPair(value); + break; + case 9: + var value = /** @type {number} */ (reader.readUint64()); + msg.setEpochStartingHeight(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDelta1(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_num_v1alpha1_num_pb.Amount.serializeBinaryToWriter + ); + } + f = message.getDelta2(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_num_v1alpha1_num_pb.Amount.serializeBinaryToWriter + ); + } + f = message.getLambda1(); + if (f != null) { + writer.writeMessage( + 3, + f, + penumbra_core_num_v1alpha1_num_pb.Amount.serializeBinaryToWriter + ); + } + f = message.getLambda2(); + if (f != null) { + writer.writeMessage( + 4, + f, + penumbra_core_num_v1alpha1_num_pb.Amount.serializeBinaryToWriter + ); + } + f = message.getUnfilled1(); + if (f != null) { + writer.writeMessage( + 5, + f, + penumbra_core_num_v1alpha1_num_pb.Amount.serializeBinaryToWriter + ); + } + f = message.getUnfilled2(); + if (f != null) { + writer.writeMessage( + 6, + f, + penumbra_core_num_v1alpha1_num_pb.Amount.serializeBinaryToWriter + ); + } + f = message.getHeight(); + if (f !== 0) { + writer.writeUint64( + 7, + f + ); + } + f = message.getTradingPair(); + if (f != null) { + writer.writeMessage( + 8, + f, + proto.penumbra.core.component.dex.v1alpha1.TradingPair.serializeBinaryToWriter + ); + } + f = message.getEpochStartingHeight(); + if (f !== 0) { + writer.writeUint64( + 9, + f + ); + } +}; + + +/** + * optional penumbra.core.num.v1alpha1.Amount delta_1 = 1; + * @return {?proto.penumbra.core.num.v1alpha1.Amount} + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.prototype.getDelta1 = function() { + return /** @type{?proto.penumbra.core.num.v1alpha1.Amount} */ ( + jspb.Message.getWrapperField(this, penumbra_core_num_v1alpha1_num_pb.Amount, 1)); +}; + + +/** + * @param {?proto.penumbra.core.num.v1alpha1.Amount|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.prototype.setDelta1 = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.prototype.clearDelta1 = function() { + return this.setDelta1(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.prototype.hasDelta1 = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional penumbra.core.num.v1alpha1.Amount delta_2 = 2; + * @return {?proto.penumbra.core.num.v1alpha1.Amount} + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.prototype.getDelta2 = function() { + return /** @type{?proto.penumbra.core.num.v1alpha1.Amount} */ ( + jspb.Message.getWrapperField(this, penumbra_core_num_v1alpha1_num_pb.Amount, 2)); +}; + + +/** + * @param {?proto.penumbra.core.num.v1alpha1.Amount|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.prototype.setDelta2 = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.prototype.clearDelta2 = function() { + return this.setDelta2(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.prototype.hasDelta2 = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional penumbra.core.num.v1alpha1.Amount lambda_1 = 3; + * @return {?proto.penumbra.core.num.v1alpha1.Amount} + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.prototype.getLambda1 = function() { + return /** @type{?proto.penumbra.core.num.v1alpha1.Amount} */ ( + jspb.Message.getWrapperField(this, penumbra_core_num_v1alpha1_num_pb.Amount, 3)); +}; + + +/** + * @param {?proto.penumbra.core.num.v1alpha1.Amount|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.prototype.setLambda1 = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.prototype.clearLambda1 = function() { + return this.setLambda1(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.prototype.hasLambda1 = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional penumbra.core.num.v1alpha1.Amount lambda_2 = 4; + * @return {?proto.penumbra.core.num.v1alpha1.Amount} + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.prototype.getLambda2 = function() { + return /** @type{?proto.penumbra.core.num.v1alpha1.Amount} */ ( + jspb.Message.getWrapperField(this, penumbra_core_num_v1alpha1_num_pb.Amount, 4)); +}; + + +/** + * @param {?proto.penumbra.core.num.v1alpha1.Amount|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.prototype.setLambda2 = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.prototype.clearLambda2 = function() { + return this.setLambda2(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.prototype.hasLambda2 = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional penumbra.core.num.v1alpha1.Amount unfilled_1 = 5; + * @return {?proto.penumbra.core.num.v1alpha1.Amount} + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.prototype.getUnfilled1 = function() { + return /** @type{?proto.penumbra.core.num.v1alpha1.Amount} */ ( + jspb.Message.getWrapperField(this, penumbra_core_num_v1alpha1_num_pb.Amount, 5)); +}; + + +/** + * @param {?proto.penumbra.core.num.v1alpha1.Amount|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.prototype.setUnfilled1 = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.prototype.clearUnfilled1 = function() { + return this.setUnfilled1(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.prototype.hasUnfilled1 = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional penumbra.core.num.v1alpha1.Amount unfilled_2 = 6; + * @return {?proto.penumbra.core.num.v1alpha1.Amount} + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.prototype.getUnfilled2 = function() { + return /** @type{?proto.penumbra.core.num.v1alpha1.Amount} */ ( + jspb.Message.getWrapperField(this, penumbra_core_num_v1alpha1_num_pb.Amount, 6)); +}; + + +/** + * @param {?proto.penumbra.core.num.v1alpha1.Amount|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.prototype.setUnfilled2 = function(value) { + return jspb.Message.setWrapperField(this, 6, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.prototype.clearUnfilled2 = function() { + return this.setUnfilled2(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.prototype.hasUnfilled2 = function() { + return jspb.Message.getField(this, 6) != null; +}; + + +/** + * optional uint64 height = 7; + * @return {number} + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.prototype.getHeight = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.prototype.setHeight = function(value) { + return jspb.Message.setProto3IntField(this, 7, value); +}; + + +/** + * optional TradingPair trading_pair = 8; + * @return {?proto.penumbra.core.component.dex.v1alpha1.TradingPair} + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.prototype.getTradingPair = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.TradingPair} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.TradingPair, 8)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.TradingPair|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.prototype.setTradingPair = function(value) { + return jspb.Message.setWrapperField(this, 8, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.prototype.clearTradingPair = function() { + return this.setTradingPair(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.prototype.hasTradingPair = function() { + return jspb.Message.getField(this, 8) != null; +}; + + +/** + * optional uint64 epoch_starting_height = 9; + * @return {number} + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.prototype.getEpochStartingHeight = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.prototype.setEpochStartingHeight = function(value) { + return jspb.Message.setProto3IntField(this, 9, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.TradingFunction.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.TradingFunction.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.TradingFunction} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.TradingFunction.toObject = function(includeInstance, msg) { + var f, obj = { + component: (f = msg.getComponent()) && proto.penumbra.core.component.dex.v1alpha1.BareTradingFunction.toObject(includeInstance, f), + pair: (f = msg.getPair()) && proto.penumbra.core.component.dex.v1alpha1.TradingPair.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.TradingFunction} + */ +proto.penumbra.core.component.dex.v1alpha1.TradingFunction.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.TradingFunction; + return proto.penumbra.core.component.dex.v1alpha1.TradingFunction.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.TradingFunction} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.TradingFunction} + */ +proto.penumbra.core.component.dex.v1alpha1.TradingFunction.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.dex.v1alpha1.BareTradingFunction; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.BareTradingFunction.deserializeBinaryFromReader); + msg.setComponent(value); + break; + case 2: + var value = new proto.penumbra.core.component.dex.v1alpha1.TradingPair; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.TradingPair.deserializeBinaryFromReader); + msg.setPair(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.TradingFunction.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.TradingFunction.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.TradingFunction} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.TradingFunction.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getComponent(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.dex.v1alpha1.BareTradingFunction.serializeBinaryToWriter + ); + } + f = message.getPair(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.penumbra.core.component.dex.v1alpha1.TradingPair.serializeBinaryToWriter + ); + } +}; + + +/** + * optional BareTradingFunction component = 1; + * @return {?proto.penumbra.core.component.dex.v1alpha1.BareTradingFunction} + */ +proto.penumbra.core.component.dex.v1alpha1.TradingFunction.prototype.getComponent = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.BareTradingFunction} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.BareTradingFunction, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.BareTradingFunction|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.TradingFunction} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.TradingFunction.prototype.setComponent = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.TradingFunction} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.TradingFunction.prototype.clearComponent = function() { + return this.setComponent(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.TradingFunction.prototype.hasComponent = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional TradingPair pair = 2; + * @return {?proto.penumbra.core.component.dex.v1alpha1.TradingPair} + */ +proto.penumbra.core.component.dex.v1alpha1.TradingFunction.prototype.getPair = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.TradingPair} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.TradingPair, 2)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.TradingPair|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.TradingFunction} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.TradingFunction.prototype.setPair = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.TradingFunction} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.TradingFunction.prototype.clearPair = function() { + return this.setPair(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.TradingFunction.prototype.hasPair = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.BareTradingFunction.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.BareTradingFunction.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.BareTradingFunction} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.BareTradingFunction.toObject = function(includeInstance, msg) { + var f, obj = { + fee: jspb.Message.getFieldWithDefault(msg, 1, 0), + p: (f = msg.getP()) && penumbra_core_num_v1alpha1_num_pb.Amount.toObject(includeInstance, f), + q: (f = msg.getQ()) && penumbra_core_num_v1alpha1_num_pb.Amount.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.BareTradingFunction} + */ +proto.penumbra.core.component.dex.v1alpha1.BareTradingFunction.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.BareTradingFunction; + return proto.penumbra.core.component.dex.v1alpha1.BareTradingFunction.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.BareTradingFunction} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.BareTradingFunction} + */ +proto.penumbra.core.component.dex.v1alpha1.BareTradingFunction.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readUint32()); + msg.setFee(value); + break; + case 2: + var value = new penumbra_core_num_v1alpha1_num_pb.Amount; + reader.readMessage(value,penumbra_core_num_v1alpha1_num_pb.Amount.deserializeBinaryFromReader); + msg.setP(value); + break; + case 3: + var value = new penumbra_core_num_v1alpha1_num_pb.Amount; + reader.readMessage(value,penumbra_core_num_v1alpha1_num_pb.Amount.deserializeBinaryFromReader); + msg.setQ(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.BareTradingFunction.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.BareTradingFunction.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.BareTradingFunction} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.BareTradingFunction.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getFee(); + if (f !== 0) { + writer.writeUint32( + 1, + f + ); + } + f = message.getP(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_num_v1alpha1_num_pb.Amount.serializeBinaryToWriter + ); + } + f = message.getQ(); + if (f != null) { + writer.writeMessage( + 3, + f, + penumbra_core_num_v1alpha1_num_pb.Amount.serializeBinaryToWriter + ); + } +}; + + +/** + * optional uint32 fee = 1; + * @return {number} + */ +proto.penumbra.core.component.dex.v1alpha1.BareTradingFunction.prototype.getFee = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.BareTradingFunction} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.BareTradingFunction.prototype.setFee = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional penumbra.core.num.v1alpha1.Amount p = 2; + * @return {?proto.penumbra.core.num.v1alpha1.Amount} + */ +proto.penumbra.core.component.dex.v1alpha1.BareTradingFunction.prototype.getP = function() { + return /** @type{?proto.penumbra.core.num.v1alpha1.Amount} */ ( + jspb.Message.getWrapperField(this, penumbra_core_num_v1alpha1_num_pb.Amount, 2)); +}; + + +/** + * @param {?proto.penumbra.core.num.v1alpha1.Amount|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.BareTradingFunction} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.BareTradingFunction.prototype.setP = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.BareTradingFunction} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.BareTradingFunction.prototype.clearP = function() { + return this.setP(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.BareTradingFunction.prototype.hasP = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional penumbra.core.num.v1alpha1.Amount q = 3; + * @return {?proto.penumbra.core.num.v1alpha1.Amount} + */ +proto.penumbra.core.component.dex.v1alpha1.BareTradingFunction.prototype.getQ = function() { + return /** @type{?proto.penumbra.core.num.v1alpha1.Amount} */ ( + jspb.Message.getWrapperField(this, penumbra_core_num_v1alpha1_num_pb.Amount, 3)); +}; + + +/** + * @param {?proto.penumbra.core.num.v1alpha1.Amount|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.BareTradingFunction} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.BareTradingFunction.prototype.setQ = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.BareTradingFunction} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.BareTradingFunction.prototype.clearQ = function() { + return this.setQ(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.BareTradingFunction.prototype.hasQ = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.Reserves.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.Reserves.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.Reserves} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.Reserves.toObject = function(includeInstance, msg) { + var f, obj = { + r1: (f = msg.getR1()) && penumbra_core_num_v1alpha1_num_pb.Amount.toObject(includeInstance, f), + r2: (f = msg.getR2()) && penumbra_core_num_v1alpha1_num_pb.Amount.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.Reserves} + */ +proto.penumbra.core.component.dex.v1alpha1.Reserves.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.Reserves; + return proto.penumbra.core.component.dex.v1alpha1.Reserves.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.Reserves} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.Reserves} + */ +proto.penumbra.core.component.dex.v1alpha1.Reserves.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_num_v1alpha1_num_pb.Amount; + reader.readMessage(value,penumbra_core_num_v1alpha1_num_pb.Amount.deserializeBinaryFromReader); + msg.setR1(value); + break; + case 2: + var value = new penumbra_core_num_v1alpha1_num_pb.Amount; + reader.readMessage(value,penumbra_core_num_v1alpha1_num_pb.Amount.deserializeBinaryFromReader); + msg.setR2(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.Reserves.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.Reserves.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.Reserves} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.Reserves.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getR1(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_num_v1alpha1_num_pb.Amount.serializeBinaryToWriter + ); + } + f = message.getR2(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_num_v1alpha1_num_pb.Amount.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.num.v1alpha1.Amount r1 = 1; + * @return {?proto.penumbra.core.num.v1alpha1.Amount} + */ +proto.penumbra.core.component.dex.v1alpha1.Reserves.prototype.getR1 = function() { + return /** @type{?proto.penumbra.core.num.v1alpha1.Amount} */ ( + jspb.Message.getWrapperField(this, penumbra_core_num_v1alpha1_num_pb.Amount, 1)); +}; + + +/** + * @param {?proto.penumbra.core.num.v1alpha1.Amount|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.Reserves} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.Reserves.prototype.setR1 = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.Reserves} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.Reserves.prototype.clearR1 = function() { + return this.setR1(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.Reserves.prototype.hasR1 = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional penumbra.core.num.v1alpha1.Amount r2 = 2; + * @return {?proto.penumbra.core.num.v1alpha1.Amount} + */ +proto.penumbra.core.component.dex.v1alpha1.Reserves.prototype.getR2 = function() { + return /** @type{?proto.penumbra.core.num.v1alpha1.Amount} */ ( + jspb.Message.getWrapperField(this, penumbra_core_num_v1alpha1_num_pb.Amount, 2)); +}; + + +/** + * @param {?proto.penumbra.core.num.v1alpha1.Amount|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.Reserves} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.Reserves.prototype.setR2 = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.Reserves} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.Reserves.prototype.clearR2 = function() { + return this.setR2(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.Reserves.prototype.hasR2 = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.Position.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.Position.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.Position} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.Position.toObject = function(includeInstance, msg) { + var f, obj = { + phi: (f = msg.getPhi()) && proto.penumbra.core.component.dex.v1alpha1.TradingFunction.toObject(includeInstance, f), + nonce: msg.getNonce_asB64(), + state: (f = msg.getState()) && proto.penumbra.core.component.dex.v1alpha1.PositionState.toObject(includeInstance, f), + reserves: (f = msg.getReserves()) && proto.penumbra.core.component.dex.v1alpha1.Reserves.toObject(includeInstance, f), + closeOnFill: jspb.Message.getBooleanFieldWithDefault(msg, 5, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.Position} + */ +proto.penumbra.core.component.dex.v1alpha1.Position.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.Position; + return proto.penumbra.core.component.dex.v1alpha1.Position.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.Position} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.Position} + */ +proto.penumbra.core.component.dex.v1alpha1.Position.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.dex.v1alpha1.TradingFunction; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.TradingFunction.deserializeBinaryFromReader); + msg.setPhi(value); + break; + case 2: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setNonce(value); + break; + case 3: + var value = new proto.penumbra.core.component.dex.v1alpha1.PositionState; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.PositionState.deserializeBinaryFromReader); + msg.setState(value); + break; + case 4: + var value = new proto.penumbra.core.component.dex.v1alpha1.Reserves; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.Reserves.deserializeBinaryFromReader); + msg.setReserves(value); + break; + case 5: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCloseOnFill(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.Position.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.Position.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.Position} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.Position.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getPhi(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.dex.v1alpha1.TradingFunction.serializeBinaryToWriter + ); + } + f = message.getNonce_asU8(); + if (f.length > 0) { + writer.writeBytes( + 2, + f + ); + } + f = message.getState(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.penumbra.core.component.dex.v1alpha1.PositionState.serializeBinaryToWriter + ); + } + f = message.getReserves(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.penumbra.core.component.dex.v1alpha1.Reserves.serializeBinaryToWriter + ); + } + f = message.getCloseOnFill(); + if (f) { + writer.writeBool( + 5, + f + ); + } +}; + + +/** + * optional TradingFunction phi = 1; + * @return {?proto.penumbra.core.component.dex.v1alpha1.TradingFunction} + */ +proto.penumbra.core.component.dex.v1alpha1.Position.prototype.getPhi = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.TradingFunction} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.TradingFunction, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.TradingFunction|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.Position} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.Position.prototype.setPhi = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.Position} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.Position.prototype.clearPhi = function() { + return this.setPhi(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.Position.prototype.hasPhi = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional bytes nonce = 2; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.component.dex.v1alpha1.Position.prototype.getNonce = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * optional bytes nonce = 2; + * This is a type-conversion wrapper around `getNonce()` + * @return {string} + */ +proto.penumbra.core.component.dex.v1alpha1.Position.prototype.getNonce_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getNonce())); +}; + + +/** + * optional bytes nonce = 2; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getNonce()` + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.Position.prototype.getNonce_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getNonce())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.Position} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.Position.prototype.setNonce = function(value) { + return jspb.Message.setProto3BytesField(this, 2, value); +}; + + +/** + * optional PositionState state = 3; + * @return {?proto.penumbra.core.component.dex.v1alpha1.PositionState} + */ +proto.penumbra.core.component.dex.v1alpha1.Position.prototype.getState = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.PositionState} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.PositionState, 3)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.PositionState|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.Position} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.Position.prototype.setState = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.Position} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.Position.prototype.clearState = function() { + return this.setState(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.Position.prototype.hasState = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional Reserves reserves = 4; + * @return {?proto.penumbra.core.component.dex.v1alpha1.Reserves} + */ +proto.penumbra.core.component.dex.v1alpha1.Position.prototype.getReserves = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.Reserves} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.Reserves, 4)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.Reserves|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.Position} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.Position.prototype.setReserves = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.Position} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.Position.prototype.clearReserves = function() { + return this.setReserves(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.Position.prototype.hasReserves = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional bool close_on_fill = 5; + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.Position.prototype.getCloseOnFill = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.Position} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.Position.prototype.setCloseOnFill = function(value) { + return jspb.Message.setProto3BooleanField(this, 5, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionId.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.PositionId.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.PositionId} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.PositionId.toObject = function(includeInstance, msg) { + var f, obj = { + inner: msg.getInner_asB64(), + altBech32m: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.PositionId} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionId.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.PositionId; + return proto.penumbra.core.component.dex.v1alpha1.PositionId.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.PositionId} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.PositionId} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionId.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setInner(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setAltBech32m(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionId.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.PositionId.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.PositionId} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.PositionId.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInner_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } + f = message.getAltBech32m(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional bytes inner = 1; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionId.prototype.getInner = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes inner = 1; + * This is a type-conversion wrapper around `getInner()` + * @return {string} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionId.prototype.getInner_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getInner())); +}; + + +/** + * optional bytes inner = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getInner()` + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionId.prototype.getInner_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getInner())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.PositionId} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.PositionId.prototype.setInner = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + +/** + * optional string alt_bech32m = 2; + * @return {string} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionId.prototype.getAltBech32m = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.PositionId} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.PositionId.prototype.setAltBech32m = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionState.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.PositionState.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.PositionState} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.PositionState.toObject = function(includeInstance, msg) { + var f, obj = { + state: jspb.Message.getFieldWithDefault(msg, 1, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.PositionState} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionState.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.PositionState; + return proto.penumbra.core.component.dex.v1alpha1.PositionState.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.PositionState} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.PositionState} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionState.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!proto.penumbra.core.component.dex.v1alpha1.PositionState.PositionStateEnum} */ (reader.readEnum()); + msg.setState(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionState.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.PositionState.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.PositionState} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.PositionState.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getState(); + if (f !== 0.0) { + writer.writeEnum( + 1, + f + ); + } +}; + + +/** + * @enum {number} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionState.PositionStateEnum = { + POSITION_STATE_ENUM_UNSPECIFIED: 0, + POSITION_STATE_ENUM_OPENED: 1, + POSITION_STATE_ENUM_CLOSED: 2, + POSITION_STATE_ENUM_WITHDRAWN: 3, + POSITION_STATE_ENUM_CLAIMED: 4 +}; + +/** + * optional PositionStateEnum state = 1; + * @return {!proto.penumbra.core.component.dex.v1alpha1.PositionState.PositionStateEnum} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionState.prototype.getState = function() { + return /** @type {!proto.penumbra.core.component.dex.v1alpha1.PositionState.PositionStateEnum} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {!proto.penumbra.core.component.dex.v1alpha1.PositionState.PositionStateEnum} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.PositionState} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.PositionState.prototype.setState = function(value) { + return jspb.Message.setProto3EnumField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.LpNft.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.LpNft.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.LpNft} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.LpNft.toObject = function(includeInstance, msg) { + var f, obj = { + positionId: (f = msg.getPositionId()) && proto.penumbra.core.component.dex.v1alpha1.PositionId.toObject(includeInstance, f), + state: (f = msg.getState()) && proto.penumbra.core.component.dex.v1alpha1.PositionState.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.LpNft} + */ +proto.penumbra.core.component.dex.v1alpha1.LpNft.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.LpNft; + return proto.penumbra.core.component.dex.v1alpha1.LpNft.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.LpNft} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.LpNft} + */ +proto.penumbra.core.component.dex.v1alpha1.LpNft.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.dex.v1alpha1.PositionId; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.PositionId.deserializeBinaryFromReader); + msg.setPositionId(value); + break; + case 2: + var value = new proto.penumbra.core.component.dex.v1alpha1.PositionState; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.PositionState.deserializeBinaryFromReader); + msg.setState(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.LpNft.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.LpNft.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.LpNft} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.LpNft.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getPositionId(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.dex.v1alpha1.PositionId.serializeBinaryToWriter + ); + } + f = message.getState(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.penumbra.core.component.dex.v1alpha1.PositionState.serializeBinaryToWriter + ); + } +}; + + +/** + * optional PositionId position_id = 1; + * @return {?proto.penumbra.core.component.dex.v1alpha1.PositionId} + */ +proto.penumbra.core.component.dex.v1alpha1.LpNft.prototype.getPositionId = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.PositionId} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.PositionId, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.PositionId|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.LpNft} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.LpNft.prototype.setPositionId = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.LpNft} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.LpNft.prototype.clearPositionId = function() { + return this.setPositionId(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.LpNft.prototype.hasPositionId = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional PositionState state = 2; + * @return {?proto.penumbra.core.component.dex.v1alpha1.PositionState} + */ +proto.penumbra.core.component.dex.v1alpha1.LpNft.prototype.getState = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.PositionState} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.PositionState, 2)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.PositionState|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.LpNft} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.LpNft.prototype.setState = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.LpNft} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.LpNft.prototype.clearState = function() { + return this.setState(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.LpNft.prototype.hasState = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionOpen.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.PositionOpen.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.PositionOpen} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.PositionOpen.toObject = function(includeInstance, msg) { + var f, obj = { + position: (f = msg.getPosition()) && proto.penumbra.core.component.dex.v1alpha1.Position.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.PositionOpen} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionOpen.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.PositionOpen; + return proto.penumbra.core.component.dex.v1alpha1.PositionOpen.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.PositionOpen} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.PositionOpen} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionOpen.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.dex.v1alpha1.Position; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.Position.deserializeBinaryFromReader); + msg.setPosition(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionOpen.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.PositionOpen.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.PositionOpen} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.PositionOpen.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getPosition(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.dex.v1alpha1.Position.serializeBinaryToWriter + ); + } +}; + + +/** + * optional Position position = 1; + * @return {?proto.penumbra.core.component.dex.v1alpha1.Position} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionOpen.prototype.getPosition = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.Position} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.Position, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.Position|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.PositionOpen} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.PositionOpen.prototype.setPosition = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.PositionOpen} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.PositionOpen.prototype.clearPosition = function() { + return this.setPosition(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionOpen.prototype.hasPosition = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionClose.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.PositionClose.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.PositionClose} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.PositionClose.toObject = function(includeInstance, msg) { + var f, obj = { + positionId: (f = msg.getPositionId()) && proto.penumbra.core.component.dex.v1alpha1.PositionId.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.PositionClose} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionClose.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.PositionClose; + return proto.penumbra.core.component.dex.v1alpha1.PositionClose.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.PositionClose} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.PositionClose} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionClose.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.dex.v1alpha1.PositionId; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.PositionId.deserializeBinaryFromReader); + msg.setPositionId(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionClose.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.PositionClose.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.PositionClose} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.PositionClose.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getPositionId(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.dex.v1alpha1.PositionId.serializeBinaryToWriter + ); + } +}; + + +/** + * optional PositionId position_id = 1; + * @return {?proto.penumbra.core.component.dex.v1alpha1.PositionId} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionClose.prototype.getPositionId = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.PositionId} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.PositionId, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.PositionId|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.PositionClose} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.PositionClose.prototype.setPositionId = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.PositionClose} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.PositionClose.prototype.clearPositionId = function() { + return this.setPositionId(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionClose.prototype.hasPositionId = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionWithdraw.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.PositionWithdraw.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.PositionWithdraw} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.PositionWithdraw.toObject = function(includeInstance, msg) { + var f, obj = { + positionId: (f = msg.getPositionId()) && proto.penumbra.core.component.dex.v1alpha1.PositionId.toObject(includeInstance, f), + reservesCommitment: (f = msg.getReservesCommitment()) && penumbra_core_asset_v1alpha1_asset_pb.BalanceCommitment.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.PositionWithdraw} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionWithdraw.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.PositionWithdraw; + return proto.penumbra.core.component.dex.v1alpha1.PositionWithdraw.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.PositionWithdraw} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.PositionWithdraw} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionWithdraw.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.dex.v1alpha1.PositionId; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.PositionId.deserializeBinaryFromReader); + msg.setPositionId(value); + break; + case 2: + var value = new penumbra_core_asset_v1alpha1_asset_pb.BalanceCommitment; + reader.readMessage(value,penumbra_core_asset_v1alpha1_asset_pb.BalanceCommitment.deserializeBinaryFromReader); + msg.setReservesCommitment(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionWithdraw.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.PositionWithdraw.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.PositionWithdraw} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.PositionWithdraw.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getPositionId(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.dex.v1alpha1.PositionId.serializeBinaryToWriter + ); + } + f = message.getReservesCommitment(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_asset_v1alpha1_asset_pb.BalanceCommitment.serializeBinaryToWriter + ); + } +}; + + +/** + * optional PositionId position_id = 1; + * @return {?proto.penumbra.core.component.dex.v1alpha1.PositionId} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionWithdraw.prototype.getPositionId = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.PositionId} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.PositionId, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.PositionId|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.PositionWithdraw} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.PositionWithdraw.prototype.setPositionId = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.PositionWithdraw} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.PositionWithdraw.prototype.clearPositionId = function() { + return this.setPositionId(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionWithdraw.prototype.hasPositionId = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional penumbra.core.asset.v1alpha1.BalanceCommitment reserves_commitment = 2; + * @return {?proto.penumbra.core.asset.v1alpha1.BalanceCommitment} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionWithdraw.prototype.getReservesCommitment = function() { + return /** @type{?proto.penumbra.core.asset.v1alpha1.BalanceCommitment} */ ( + jspb.Message.getWrapperField(this, penumbra_core_asset_v1alpha1_asset_pb.BalanceCommitment, 2)); +}; + + +/** + * @param {?proto.penumbra.core.asset.v1alpha1.BalanceCommitment|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.PositionWithdraw} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.PositionWithdraw.prototype.setReservesCommitment = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.PositionWithdraw} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.PositionWithdraw.prototype.clearReservesCommitment = function() { + return this.setReservesCommitment(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionWithdraw.prototype.hasReservesCommitment = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaim.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaim.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaim} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaim.toObject = function(includeInstance, msg) { + var f, obj = { + positionId: (f = msg.getPositionId()) && proto.penumbra.core.component.dex.v1alpha1.PositionId.toObject(includeInstance, f), + rewardsCommitment: (f = msg.getRewardsCommitment()) && penumbra_core_asset_v1alpha1_asset_pb.BalanceCommitment.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaim} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaim.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaim; + return proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaim.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaim} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaim} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaim.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.dex.v1alpha1.PositionId; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.PositionId.deserializeBinaryFromReader); + msg.setPositionId(value); + break; + case 2: + var value = new penumbra_core_asset_v1alpha1_asset_pb.BalanceCommitment; + reader.readMessage(value,penumbra_core_asset_v1alpha1_asset_pb.BalanceCommitment.deserializeBinaryFromReader); + msg.setRewardsCommitment(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaim.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaim.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaim} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaim.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getPositionId(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.dex.v1alpha1.PositionId.serializeBinaryToWriter + ); + } + f = message.getRewardsCommitment(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_asset_v1alpha1_asset_pb.BalanceCommitment.serializeBinaryToWriter + ); + } +}; + + +/** + * optional PositionId position_id = 1; + * @return {?proto.penumbra.core.component.dex.v1alpha1.PositionId} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaim.prototype.getPositionId = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.PositionId} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.PositionId, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.PositionId|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaim} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaim.prototype.setPositionId = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaim} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaim.prototype.clearPositionId = function() { + return this.setPositionId(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaim.prototype.hasPositionId = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional penumbra.core.asset.v1alpha1.BalanceCommitment rewards_commitment = 2; + * @return {?proto.penumbra.core.asset.v1alpha1.BalanceCommitment} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaim.prototype.getRewardsCommitment = function() { + return /** @type{?proto.penumbra.core.asset.v1alpha1.BalanceCommitment} */ ( + jspb.Message.getWrapperField(this, penumbra_core_asset_v1alpha1_asset_pb.BalanceCommitment, 2)); +}; + + +/** + * @param {?proto.penumbra.core.asset.v1alpha1.BalanceCommitment|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaim} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaim.prototype.setRewardsCommitment = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaim} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaim.prototype.clearRewardsCommitment = function() { + return this.setRewardsCommitment(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaim.prototype.hasRewardsCommitment = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecution.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecution.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.SwapExecution.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapExecution} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecution.toObject = function(includeInstance, msg) { + var f, obj = { + tracesList: jspb.Message.toObjectList(msg.getTracesList(), + proto.penumbra.core.component.dex.v1alpha1.SwapExecution.Trace.toObject, includeInstance), + input: (f = msg.getInput()) && penumbra_core_asset_v1alpha1_asset_pb.Value.toObject(includeInstance, f), + output: (f = msg.getOutput()) && penumbra_core_asset_v1alpha1_asset_pb.Value.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapExecution} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecution.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.SwapExecution; + return proto.penumbra.core.component.dex.v1alpha1.SwapExecution.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapExecution} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapExecution} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecution.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.dex.v1alpha1.SwapExecution.Trace; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.SwapExecution.Trace.deserializeBinaryFromReader); + msg.addTraces(value); + break; + case 2: + var value = new penumbra_core_asset_v1alpha1_asset_pb.Value; + reader.readMessage(value,penumbra_core_asset_v1alpha1_asset_pb.Value.deserializeBinaryFromReader); + msg.setInput(value); + break; + case 3: + var value = new penumbra_core_asset_v1alpha1_asset_pb.Value; + reader.readMessage(value,penumbra_core_asset_v1alpha1_asset_pb.Value.deserializeBinaryFromReader); + msg.setOutput(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecution.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.SwapExecution.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapExecution} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecution.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTracesList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + proto.penumbra.core.component.dex.v1alpha1.SwapExecution.Trace.serializeBinaryToWriter + ); + } + f = message.getInput(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_asset_v1alpha1_asset_pb.Value.serializeBinaryToWriter + ); + } + f = message.getOutput(); + if (f != null) { + writer.writeMessage( + 3, + f, + penumbra_core_asset_v1alpha1_asset_pb.Value.serializeBinaryToWriter + ); + } +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecution.Trace.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecution.Trace.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.SwapExecution.Trace.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapExecution.Trace} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecution.Trace.toObject = function(includeInstance, msg) { + var f, obj = { + valueList: jspb.Message.toObjectList(msg.getValueList(), + penumbra_core_asset_v1alpha1_asset_pb.Value.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapExecution.Trace} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecution.Trace.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.SwapExecution.Trace; + return proto.penumbra.core.component.dex.v1alpha1.SwapExecution.Trace.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapExecution.Trace} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapExecution.Trace} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecution.Trace.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_asset_v1alpha1_asset_pb.Value; + reader.readMessage(value,penumbra_core_asset_v1alpha1_asset_pb.Value.deserializeBinaryFromReader); + msg.addValue(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecution.Trace.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.SwapExecution.Trace.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapExecution.Trace} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecution.Trace.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getValueList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + penumbra_core_asset_v1alpha1_asset_pb.Value.serializeBinaryToWriter + ); + } +}; + + +/** + * repeated penumbra.core.asset.v1alpha1.Value value = 1; + * @return {!Array} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecution.Trace.prototype.getValueList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, penumbra_core_asset_v1alpha1_asset_pb.Value, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapExecution.Trace} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.SwapExecution.Trace.prototype.setValueList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.penumbra.core.asset.v1alpha1.Value=} opt_value + * @param {number=} opt_index + * @return {!proto.penumbra.core.asset.v1alpha1.Value} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecution.Trace.prototype.addValue = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.penumbra.core.asset.v1alpha1.Value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapExecution.Trace} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecution.Trace.prototype.clearValueList = function() { + return this.setValueList([]); +}; + + +/** + * repeated Trace traces = 1; + * @return {!Array} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecution.prototype.getTracesList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.SwapExecution.Trace, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapExecution} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.SwapExecution.prototype.setTracesList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapExecution.Trace=} opt_value + * @param {number=} opt_index + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapExecution.Trace} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecution.prototype.addTraces = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.penumbra.core.component.dex.v1alpha1.SwapExecution.Trace, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapExecution} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecution.prototype.clearTracesList = function() { + return this.setTracesList([]); +}; + + +/** + * optional penumbra.core.asset.v1alpha1.Value input = 2; + * @return {?proto.penumbra.core.asset.v1alpha1.Value} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecution.prototype.getInput = function() { + return /** @type{?proto.penumbra.core.asset.v1alpha1.Value} */ ( + jspb.Message.getWrapperField(this, penumbra_core_asset_v1alpha1_asset_pb.Value, 2)); +}; + + +/** + * @param {?proto.penumbra.core.asset.v1alpha1.Value|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapExecution} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.SwapExecution.prototype.setInput = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapExecution} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecution.prototype.clearInput = function() { + return this.setInput(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecution.prototype.hasInput = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional penumbra.core.asset.v1alpha1.Value output = 3; + * @return {?proto.penumbra.core.asset.v1alpha1.Value} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecution.prototype.getOutput = function() { + return /** @type{?proto.penumbra.core.asset.v1alpha1.Value} */ ( + jspb.Message.getWrapperField(this, penumbra_core_asset_v1alpha1_asset_pb.Value, 3)); +}; + + +/** + * @param {?proto.penumbra.core.asset.v1alpha1.Value|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapExecution} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.SwapExecution.prototype.setOutput = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapExecution} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecution.prototype.clearOutput = function() { + return this.setOutput(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecution.prototype.hasOutput = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionWithdrawPlan.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.PositionWithdrawPlan.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.PositionWithdrawPlan} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.PositionWithdrawPlan.toObject = function(includeInstance, msg) { + var f, obj = { + reserves: (f = msg.getReserves()) && proto.penumbra.core.component.dex.v1alpha1.Reserves.toObject(includeInstance, f), + positionId: (f = msg.getPositionId()) && proto.penumbra.core.component.dex.v1alpha1.PositionId.toObject(includeInstance, f), + pair: (f = msg.getPair()) && proto.penumbra.core.component.dex.v1alpha1.TradingPair.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.PositionWithdrawPlan} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionWithdrawPlan.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.PositionWithdrawPlan; + return proto.penumbra.core.component.dex.v1alpha1.PositionWithdrawPlan.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.PositionWithdrawPlan} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.PositionWithdrawPlan} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionWithdrawPlan.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.dex.v1alpha1.Reserves; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.Reserves.deserializeBinaryFromReader); + msg.setReserves(value); + break; + case 2: + var value = new proto.penumbra.core.component.dex.v1alpha1.PositionId; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.PositionId.deserializeBinaryFromReader); + msg.setPositionId(value); + break; + case 3: + var value = new proto.penumbra.core.component.dex.v1alpha1.TradingPair; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.TradingPair.deserializeBinaryFromReader); + msg.setPair(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionWithdrawPlan.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.PositionWithdrawPlan.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.PositionWithdrawPlan} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.PositionWithdrawPlan.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getReserves(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.dex.v1alpha1.Reserves.serializeBinaryToWriter + ); + } + f = message.getPositionId(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.penumbra.core.component.dex.v1alpha1.PositionId.serializeBinaryToWriter + ); + } + f = message.getPair(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.penumbra.core.component.dex.v1alpha1.TradingPair.serializeBinaryToWriter + ); + } +}; + + +/** + * optional Reserves reserves = 1; + * @return {?proto.penumbra.core.component.dex.v1alpha1.Reserves} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionWithdrawPlan.prototype.getReserves = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.Reserves} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.Reserves, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.Reserves|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.PositionWithdrawPlan} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.PositionWithdrawPlan.prototype.setReserves = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.PositionWithdrawPlan} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.PositionWithdrawPlan.prototype.clearReserves = function() { + return this.setReserves(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionWithdrawPlan.prototype.hasReserves = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional PositionId position_id = 2; + * @return {?proto.penumbra.core.component.dex.v1alpha1.PositionId} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionWithdrawPlan.prototype.getPositionId = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.PositionId} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.PositionId, 2)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.PositionId|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.PositionWithdrawPlan} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.PositionWithdrawPlan.prototype.setPositionId = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.PositionWithdrawPlan} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.PositionWithdrawPlan.prototype.clearPositionId = function() { + return this.setPositionId(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionWithdrawPlan.prototype.hasPositionId = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional TradingPair pair = 3; + * @return {?proto.penumbra.core.component.dex.v1alpha1.TradingPair} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionWithdrawPlan.prototype.getPair = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.TradingPair} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.TradingPair, 3)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.TradingPair|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.PositionWithdrawPlan} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.PositionWithdrawPlan.prototype.setPair = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.PositionWithdrawPlan} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.PositionWithdrawPlan.prototype.clearPair = function() { + return this.setPair(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionWithdrawPlan.prototype.hasPair = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaimPlan.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaimPlan.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaimPlan} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaimPlan.toObject = function(includeInstance, msg) { + var f, obj = { + reserves: (f = msg.getReserves()) && proto.penumbra.core.component.dex.v1alpha1.Reserves.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaimPlan} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaimPlan.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaimPlan; + return proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaimPlan.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaimPlan} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaimPlan} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaimPlan.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.dex.v1alpha1.Reserves; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.Reserves.deserializeBinaryFromReader); + msg.setReserves(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaimPlan.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaimPlan.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaimPlan} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaimPlan.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getReserves(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.dex.v1alpha1.Reserves.serializeBinaryToWriter + ); + } +}; + + +/** + * optional Reserves reserves = 1; + * @return {?proto.penumbra.core.component.dex.v1alpha1.Reserves} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaimPlan.prototype.getReserves = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.Reserves} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.Reserves, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.Reserves|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaimPlan} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaimPlan.prototype.setReserves = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaimPlan} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaimPlan.prototype.clearReserves = function() { + return this.setReserves(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaimPlan.prototype.hasReserves = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataRequest.toObject = function(includeInstance, msg) { + var f, obj = { + chainId: jspb.Message.getFieldWithDefault(msg, 1, ""), + height: jspb.Message.getFieldWithDefault(msg, 2, 0), + tradingPair: (f = msg.getTradingPair()) && proto.penumbra.core.component.dex.v1alpha1.TradingPair.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataRequest} + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataRequest; + return proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataRequest} + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setChainId(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint64()); + msg.setHeight(value); + break; + case 3: + var value = new proto.penumbra.core.component.dex.v1alpha1.TradingPair; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.TradingPair.deserializeBinaryFromReader); + msg.setTradingPair(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getChainId(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getHeight(); + if (f !== 0) { + writer.writeUint64( + 2, + f + ); + } + f = message.getTradingPair(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.penumbra.core.component.dex.v1alpha1.TradingPair.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string chain_id = 1; + * @return {string} + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataRequest.prototype.getChainId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataRequest} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataRequest.prototype.setChainId = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional uint64 height = 2; + * @return {number} + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataRequest.prototype.getHeight = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataRequest} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataRequest.prototype.setHeight = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + +/** + * optional TradingPair trading_pair = 3; + * @return {?proto.penumbra.core.component.dex.v1alpha1.TradingPair} + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataRequest.prototype.getTradingPair = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.TradingPair} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.TradingPair, 3)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.TradingPair|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataRequest} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataRequest.prototype.setTradingPair = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataRequest} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataRequest.prototype.clearTradingPair = function() { + return this.setTradingPair(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataRequest.prototype.hasTradingPair = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataResponse.toObject = function(includeInstance, msg) { + var f, obj = { + data: (f = msg.getData()) && proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataResponse} + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataResponse; + return proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataResponse} + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.deserializeBinaryFromReader); + msg.setData(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getData(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData.serializeBinaryToWriter + ); + } +}; + + +/** + * optional BatchSwapOutputData data = 1; + * @return {?proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData} + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataResponse.prototype.getData = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataResponse} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataResponse.prototype.setData = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataResponse} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataResponse.prototype.clearData = function() { + return this.setData(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputDataResponse.prototype.hasData = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.SwapExecutionRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapExecutionRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionRequest.toObject = function(includeInstance, msg) { + var f, obj = { + chainId: jspb.Message.getFieldWithDefault(msg, 1, ""), + height: jspb.Message.getFieldWithDefault(msg, 2, 0), + tradingPair: (f = msg.getTradingPair()) && proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapExecutionRequest} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.SwapExecutionRequest; + return proto.penumbra.core.component.dex.v1alpha1.SwapExecutionRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapExecutionRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapExecutionRequest} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setChainId(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint64()); + msg.setHeight(value); + break; + case 3: + var value = new proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair.deserializeBinaryFromReader); + msg.setTradingPair(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.SwapExecutionRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapExecutionRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getChainId(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getHeight(); + if (f !== 0) { + writer.writeUint64( + 2, + f + ); + } + f = message.getTradingPair(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string chain_id = 1; + * @return {string} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionRequest.prototype.getChainId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapExecutionRequest} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionRequest.prototype.setChainId = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional uint64 height = 2; + * @return {number} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionRequest.prototype.getHeight = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapExecutionRequest} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionRequest.prototype.setHeight = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + +/** + * optional DirectedTradingPair trading_pair = 3; + * @return {?proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionRequest.prototype.getTradingPair = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair, 3)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapExecutionRequest} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionRequest.prototype.setTradingPair = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapExecutionRequest} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionRequest.prototype.clearTradingPair = function() { + return this.setTradingPair(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionRequest.prototype.hasTradingPair = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.SwapExecutionResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapExecutionResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionResponse.toObject = function(includeInstance, msg) { + var f, obj = { + swapExecution: (f = msg.getSwapExecution()) && proto.penumbra.core.component.dex.v1alpha1.SwapExecution.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapExecutionResponse} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.SwapExecutionResponse; + return proto.penumbra.core.component.dex.v1alpha1.SwapExecutionResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapExecutionResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapExecutionResponse} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.dex.v1alpha1.SwapExecution; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.SwapExecution.deserializeBinaryFromReader); + msg.setSwapExecution(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.SwapExecutionResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapExecutionResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSwapExecution(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.dex.v1alpha1.SwapExecution.serializeBinaryToWriter + ); + } +}; + + +/** + * optional SwapExecution swap_execution = 1; + * @return {?proto.penumbra.core.component.dex.v1alpha1.SwapExecution} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionResponse.prototype.getSwapExecution = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.SwapExecution} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.SwapExecution, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.SwapExecution|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapExecutionResponse} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionResponse.prototype.setSwapExecution = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapExecutionResponse} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionResponse.prototype.clearSwapExecution = function() { + return this.setSwapExecution(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionResponse.prototype.hasSwapExecution = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.ArbExecutionRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.ArbExecutionRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.ArbExecutionRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.ArbExecutionRequest.toObject = function(includeInstance, msg) { + var f, obj = { + chainId: jspb.Message.getFieldWithDefault(msg, 1, ""), + height: jspb.Message.getFieldWithDefault(msg, 2, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.ArbExecutionRequest} + */ +proto.penumbra.core.component.dex.v1alpha1.ArbExecutionRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.ArbExecutionRequest; + return proto.penumbra.core.component.dex.v1alpha1.ArbExecutionRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.ArbExecutionRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.ArbExecutionRequest} + */ +proto.penumbra.core.component.dex.v1alpha1.ArbExecutionRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setChainId(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint64()); + msg.setHeight(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.ArbExecutionRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.ArbExecutionRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.ArbExecutionRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.ArbExecutionRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getChainId(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getHeight(); + if (f !== 0) { + writer.writeUint64( + 2, + f + ); + } +}; + + +/** + * optional string chain_id = 1; + * @return {string} + */ +proto.penumbra.core.component.dex.v1alpha1.ArbExecutionRequest.prototype.getChainId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.ArbExecutionRequest} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.ArbExecutionRequest.prototype.setChainId = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional uint64 height = 2; + * @return {number} + */ +proto.penumbra.core.component.dex.v1alpha1.ArbExecutionRequest.prototype.getHeight = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.ArbExecutionRequest} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.ArbExecutionRequest.prototype.setHeight = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.ArbExecutionResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.ArbExecutionResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.ArbExecutionResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.ArbExecutionResponse.toObject = function(includeInstance, msg) { + var f, obj = { + swapExecution: (f = msg.getSwapExecution()) && proto.penumbra.core.component.dex.v1alpha1.SwapExecution.toObject(includeInstance, f), + height: jspb.Message.getFieldWithDefault(msg, 2, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.ArbExecutionResponse} + */ +proto.penumbra.core.component.dex.v1alpha1.ArbExecutionResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.ArbExecutionResponse; + return proto.penumbra.core.component.dex.v1alpha1.ArbExecutionResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.ArbExecutionResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.ArbExecutionResponse} + */ +proto.penumbra.core.component.dex.v1alpha1.ArbExecutionResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.dex.v1alpha1.SwapExecution; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.SwapExecution.deserializeBinaryFromReader); + msg.setSwapExecution(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint64()); + msg.setHeight(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.ArbExecutionResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.ArbExecutionResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.ArbExecutionResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.ArbExecutionResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSwapExecution(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.dex.v1alpha1.SwapExecution.serializeBinaryToWriter + ); + } + f = message.getHeight(); + if (f !== 0) { + writer.writeUint64( + 2, + f + ); + } +}; + + +/** + * optional SwapExecution swap_execution = 1; + * @return {?proto.penumbra.core.component.dex.v1alpha1.SwapExecution} + */ +proto.penumbra.core.component.dex.v1alpha1.ArbExecutionResponse.prototype.getSwapExecution = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.SwapExecution} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.SwapExecution, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.SwapExecution|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.ArbExecutionResponse} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.ArbExecutionResponse.prototype.setSwapExecution = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.ArbExecutionResponse} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.ArbExecutionResponse.prototype.clearSwapExecution = function() { + return this.setSwapExecution(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.ArbExecutionResponse.prototype.hasSwapExecution = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional uint64 height = 2; + * @return {number} + */ +proto.penumbra.core.component.dex.v1alpha1.ArbExecutionResponse.prototype.getHeight = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.ArbExecutionResponse} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.ArbExecutionResponse.prototype.setHeight = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsRequest.toObject = function(includeInstance, msg) { + var f, obj = { + chainId: jspb.Message.getFieldWithDefault(msg, 1, ""), + startHeight: jspb.Message.getFieldWithDefault(msg, 2, 0), + endHeight: jspb.Message.getFieldWithDefault(msg, 3, 0), + tradingPair: (f = msg.getTradingPair()) && proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsRequest} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsRequest; + return proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsRequest} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setChainId(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint64()); + msg.setStartHeight(value); + break; + case 3: + var value = /** @type {number} */ (reader.readUint64()); + msg.setEndHeight(value); + break; + case 4: + var value = new proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair.deserializeBinaryFromReader); + msg.setTradingPair(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getChainId(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getStartHeight(); + if (f !== 0) { + writer.writeUint64( + 2, + f + ); + } + f = message.getEndHeight(); + if (f !== 0) { + writer.writeUint64( + 3, + f + ); + } + f = message.getTradingPair(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string chain_id = 1; + * @return {string} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsRequest.prototype.getChainId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsRequest} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsRequest.prototype.setChainId = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional uint64 start_height = 2; + * @return {number} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsRequest.prototype.getStartHeight = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsRequest} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsRequest.prototype.setStartHeight = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + +/** + * optional uint64 end_height = 3; + * @return {number} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsRequest.prototype.getEndHeight = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsRequest} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsRequest.prototype.setEndHeight = function(value) { + return jspb.Message.setProto3IntField(this, 3, value); +}; + + +/** + * optional DirectedTradingPair trading_pair = 4; + * @return {?proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsRequest.prototype.getTradingPair = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair, 4)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsRequest} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsRequest.prototype.setTradingPair = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsRequest} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsRequest.prototype.clearTradingPair = function() { + return this.setTradingPair(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsRequest.prototype.hasTradingPair = function() { + return jspb.Message.getField(this, 4) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsResponse.toObject = function(includeInstance, msg) { + var f, obj = { + swapExecution: (f = msg.getSwapExecution()) && proto.penumbra.core.component.dex.v1alpha1.SwapExecution.toObject(includeInstance, f), + height: jspb.Message.getFieldWithDefault(msg, 2, 0), + tradingPair: (f = msg.getTradingPair()) && proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsResponse} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsResponse; + return proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsResponse} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.dex.v1alpha1.SwapExecution; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.SwapExecution.deserializeBinaryFromReader); + msg.setSwapExecution(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint64()); + msg.setHeight(value); + break; + case 3: + var value = new proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair.deserializeBinaryFromReader); + msg.setTradingPair(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSwapExecution(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.dex.v1alpha1.SwapExecution.serializeBinaryToWriter + ); + } + f = message.getHeight(); + if (f !== 0) { + writer.writeUint64( + 2, + f + ); + } + f = message.getTradingPair(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair.serializeBinaryToWriter + ); + } +}; + + +/** + * optional SwapExecution swap_execution = 1; + * @return {?proto.penumbra.core.component.dex.v1alpha1.SwapExecution} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsResponse.prototype.getSwapExecution = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.SwapExecution} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.SwapExecution, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.SwapExecution|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsResponse} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsResponse.prototype.setSwapExecution = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsResponse} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsResponse.prototype.clearSwapExecution = function() { + return this.setSwapExecution(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsResponse.prototype.hasSwapExecution = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional uint64 height = 2; + * @return {number} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsResponse.prototype.getHeight = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsResponse} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsResponse.prototype.setHeight = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + +/** + * optional DirectedTradingPair trading_pair = 3; + * @return {?proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsResponse.prototype.getTradingPair = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair, 3)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsResponse} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsResponse.prototype.setTradingPair = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsResponse} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsResponse.prototype.clearTradingPair = function() { + return this.setTradingPair(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.SwapExecutionsResponse.prototype.hasTradingPair = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsRequest.toObject = function(includeInstance, msg) { + var f, obj = { + chainId: jspb.Message.getFieldWithDefault(msg, 1, ""), + startHeight: jspb.Message.getFieldWithDefault(msg, 2, 0), + endHeight: jspb.Message.getFieldWithDefault(msg, 3, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsRequest} + */ +proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsRequest; + return proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsRequest} + */ +proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setChainId(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint64()); + msg.setStartHeight(value); + break; + case 3: + var value = /** @type {number} */ (reader.readUint64()); + msg.setEndHeight(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getChainId(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getStartHeight(); + if (f !== 0) { + writer.writeUint64( + 2, + f + ); + } + f = message.getEndHeight(); + if (f !== 0) { + writer.writeUint64( + 3, + f + ); + } +}; + + +/** + * optional string chain_id = 1; + * @return {string} + */ +proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsRequest.prototype.getChainId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsRequest} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsRequest.prototype.setChainId = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional uint64 start_height = 2; + * @return {number} + */ +proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsRequest.prototype.getStartHeight = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsRequest} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsRequest.prototype.setStartHeight = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + +/** + * optional uint64 end_height = 3; + * @return {number} + */ +proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsRequest.prototype.getEndHeight = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsRequest} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsRequest.prototype.setEndHeight = function(value) { + return jspb.Message.setProto3IntField(this, 3, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsResponse.toObject = function(includeInstance, msg) { + var f, obj = { + swapExecution: (f = msg.getSwapExecution()) && proto.penumbra.core.component.dex.v1alpha1.SwapExecution.toObject(includeInstance, f), + height: jspb.Message.getFieldWithDefault(msg, 2, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsResponse} + */ +proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsResponse; + return proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsResponse} + */ +proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.dex.v1alpha1.SwapExecution; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.SwapExecution.deserializeBinaryFromReader); + msg.setSwapExecution(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint64()); + msg.setHeight(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSwapExecution(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.dex.v1alpha1.SwapExecution.serializeBinaryToWriter + ); + } + f = message.getHeight(); + if (f !== 0) { + writer.writeUint64( + 2, + f + ); + } +}; + + +/** + * optional SwapExecution swap_execution = 1; + * @return {?proto.penumbra.core.component.dex.v1alpha1.SwapExecution} + */ +proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsResponse.prototype.getSwapExecution = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.SwapExecution} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.SwapExecution, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.SwapExecution|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsResponse} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsResponse.prototype.setSwapExecution = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsResponse} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsResponse.prototype.clearSwapExecution = function() { + return this.setSwapExecution(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsResponse.prototype.hasSwapExecution = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional uint64 height = 2; + * @return {number} + */ +proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsResponse.prototype.getHeight = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsResponse} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.ArbExecutionsResponse.prototype.setHeight = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsRequest.toObject = function(includeInstance, msg) { + var f, obj = { + chainId: jspb.Message.getFieldWithDefault(msg, 1, ""), + includeClosed: jspb.Message.getBooleanFieldWithDefault(msg, 4, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsRequest} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsRequest; + return proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsRequest} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setChainId(value); + break; + case 4: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setIncludeClosed(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getChainId(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getIncludeClosed(); + if (f) { + writer.writeBool( + 4, + f + ); + } +}; + + +/** + * optional string chain_id = 1; + * @return {string} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsRequest.prototype.getChainId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsRequest} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsRequest.prototype.setChainId = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional bool include_closed = 4; + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsRequest.prototype.getIncludeClosed = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsRequest} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsRequest.prototype.setIncludeClosed = function(value) { + return jspb.Message.setProto3BooleanField(this, 4, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsResponse.toObject = function(includeInstance, msg) { + var f, obj = { + data: (f = msg.getData()) && proto.penumbra.core.component.dex.v1alpha1.Position.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsResponse} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsResponse; + return proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsResponse} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.dex.v1alpha1.Position; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.Position.deserializeBinaryFromReader); + msg.setData(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getData(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.dex.v1alpha1.Position.serializeBinaryToWriter + ); + } +}; + + +/** + * optional Position data = 1; + * @return {?proto.penumbra.core.component.dex.v1alpha1.Position} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsResponse.prototype.getData = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.Position} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.Position, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.Position|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsResponse} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsResponse.prototype.setData = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsResponse} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsResponse.prototype.clearData = function() { + return this.setData(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsResponse.prototype.hasData = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdRequest.toObject = function(includeInstance, msg) { + var f, obj = { + chainId: jspb.Message.getFieldWithDefault(msg, 1, ""), + positionId: (f = msg.getPositionId()) && proto.penumbra.core.component.dex.v1alpha1.PositionId.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdRequest} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdRequest; + return proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdRequest} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setChainId(value); + break; + case 2: + var value = new proto.penumbra.core.component.dex.v1alpha1.PositionId; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.PositionId.deserializeBinaryFromReader); + msg.setPositionId(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getChainId(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getPositionId(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.penumbra.core.component.dex.v1alpha1.PositionId.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string chain_id = 1; + * @return {string} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdRequest.prototype.getChainId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdRequest} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdRequest.prototype.setChainId = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional PositionId position_id = 2; + * @return {?proto.penumbra.core.component.dex.v1alpha1.PositionId} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdRequest.prototype.getPositionId = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.PositionId} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.PositionId, 2)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.PositionId|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdRequest} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdRequest.prototype.setPositionId = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdRequest} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdRequest.prototype.clearPositionId = function() { + return this.setPositionId(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdRequest.prototype.hasPositionId = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdResponse.toObject = function(includeInstance, msg) { + var f, obj = { + data: (f = msg.getData()) && proto.penumbra.core.component.dex.v1alpha1.Position.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdResponse} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdResponse; + return proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdResponse} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.dex.v1alpha1.Position; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.Position.deserializeBinaryFromReader); + msg.setData(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getData(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.dex.v1alpha1.Position.serializeBinaryToWriter + ); + } +}; + + +/** + * optional Position data = 1; + * @return {?proto.penumbra.core.component.dex.v1alpha1.Position} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdResponse.prototype.getData = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.Position} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.Position, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.Position|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdResponse} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdResponse.prototype.setData = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdResponse} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdResponse.prototype.clearData = function() { + return this.setData(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionByIdResponse.prototype.hasData = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdRequest.repeatedFields_ = [2]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdRequest.toObject = function(includeInstance, msg) { + var f, obj = { + chainId: jspb.Message.getFieldWithDefault(msg, 1, ""), + positionIdList: jspb.Message.toObjectList(msg.getPositionIdList(), + proto.penumbra.core.component.dex.v1alpha1.PositionId.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdRequest} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdRequest; + return proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdRequest} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setChainId(value); + break; + case 2: + var value = new proto.penumbra.core.component.dex.v1alpha1.PositionId; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.PositionId.deserializeBinaryFromReader); + msg.addPositionId(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getChainId(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getPositionIdList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 2, + f, + proto.penumbra.core.component.dex.v1alpha1.PositionId.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string chain_id = 1; + * @return {string} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdRequest.prototype.getChainId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdRequest} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdRequest.prototype.setChainId = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * repeated PositionId position_id = 2; + * @return {!Array} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdRequest.prototype.getPositionIdList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.PositionId, 2)); +}; + + +/** + * @param {!Array} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdRequest} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdRequest.prototype.setPositionIdList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 2, value); +}; + + +/** + * @param {!proto.penumbra.core.component.dex.v1alpha1.PositionId=} opt_value + * @param {number=} opt_index + * @return {!proto.penumbra.core.component.dex.v1alpha1.PositionId} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdRequest.prototype.addPositionId = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.penumbra.core.component.dex.v1alpha1.PositionId, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdRequest} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdRequest.prototype.clearPositionIdList = function() { + return this.setPositionIdList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdResponse.toObject = function(includeInstance, msg) { + var f, obj = { + data: (f = msg.getData()) && proto.penumbra.core.component.dex.v1alpha1.Position.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdResponse} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdResponse; + return proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdResponse} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.dex.v1alpha1.Position; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.Position.deserializeBinaryFromReader); + msg.setData(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getData(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.dex.v1alpha1.Position.serializeBinaryToWriter + ); + } +}; + + +/** + * optional Position data = 1; + * @return {?proto.penumbra.core.component.dex.v1alpha1.Position} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdResponse.prototype.getData = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.Position} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.Position, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.Position|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdResponse} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdResponse.prototype.setData = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdResponse} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdResponse.prototype.clearData = function() { + return this.setData(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByIdResponse.prototype.hasData = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceRequest.toObject = function(includeInstance, msg) { + var f, obj = { + chainId: jspb.Message.getFieldWithDefault(msg, 1, ""), + tradingPair: (f = msg.getTradingPair()) && proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair.toObject(includeInstance, f), + limit: jspb.Message.getFieldWithDefault(msg, 5, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceRequest} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceRequest; + return proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceRequest} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setChainId(value); + break; + case 2: + var value = new proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair.deserializeBinaryFromReader); + msg.setTradingPair(value); + break; + case 5: + var value = /** @type {number} */ (reader.readUint64()); + msg.setLimit(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getChainId(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getTradingPair(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair.serializeBinaryToWriter + ); + } + f = message.getLimit(); + if (f !== 0) { + writer.writeUint64( + 5, + f + ); + } +}; + + +/** + * optional string chain_id = 1; + * @return {string} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceRequest.prototype.getChainId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceRequest} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceRequest.prototype.setChainId = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional DirectedTradingPair trading_pair = 2; + * @return {?proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceRequest.prototype.getTradingPair = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair, 2)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.DirectedTradingPair|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceRequest} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceRequest.prototype.setTradingPair = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceRequest} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceRequest.prototype.clearTradingPair = function() { + return this.setTradingPair(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceRequest.prototype.hasTradingPair = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional uint64 limit = 5; + * @return {number} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceRequest.prototype.getLimit = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceRequest} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceRequest.prototype.setLimit = function(value) { + return jspb.Message.setProto3IntField(this, 5, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceResponse.toObject = function(includeInstance, msg) { + var f, obj = { + data: (f = msg.getData()) && proto.penumbra.core.component.dex.v1alpha1.Position.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceResponse} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceResponse; + return proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceResponse} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.dex.v1alpha1.Position; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.Position.deserializeBinaryFromReader); + msg.setData(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getData(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.dex.v1alpha1.Position.serializeBinaryToWriter + ); + } +}; + + +/** + * optional Position data = 1; + * @return {?proto.penumbra.core.component.dex.v1alpha1.Position} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceResponse.prototype.getData = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.Position} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.Position, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.Position|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceResponse} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceResponse.prototype.setData = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceResponse} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceResponse.prototype.clearData = function() { + return this.setData(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.LiquidityPositionsByPriceResponse.prototype.hasData = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.SpreadRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.SpreadRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.SpreadRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SpreadRequest.toObject = function(includeInstance, msg) { + var f, obj = { + chainId: jspb.Message.getFieldWithDefault(msg, 1, ""), + tradingPair: (f = msg.getTradingPair()) && proto.penumbra.core.component.dex.v1alpha1.TradingPair.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SpreadRequest} + */ +proto.penumbra.core.component.dex.v1alpha1.SpreadRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.SpreadRequest; + return proto.penumbra.core.component.dex.v1alpha1.SpreadRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SpreadRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SpreadRequest} + */ +proto.penumbra.core.component.dex.v1alpha1.SpreadRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setChainId(value); + break; + case 2: + var value = new proto.penumbra.core.component.dex.v1alpha1.TradingPair; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.TradingPair.deserializeBinaryFromReader); + msg.setTradingPair(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.SpreadRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.SpreadRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SpreadRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SpreadRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getChainId(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getTradingPair(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.penumbra.core.component.dex.v1alpha1.TradingPair.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string chain_id = 1; + * @return {string} + */ +proto.penumbra.core.component.dex.v1alpha1.SpreadRequest.prototype.getChainId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SpreadRequest} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SpreadRequest.prototype.setChainId = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional TradingPair trading_pair = 2; + * @return {?proto.penumbra.core.component.dex.v1alpha1.TradingPair} + */ +proto.penumbra.core.component.dex.v1alpha1.SpreadRequest.prototype.getTradingPair = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.TradingPair} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.TradingPair, 2)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.TradingPair|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SpreadRequest} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.SpreadRequest.prototype.setTradingPair = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SpreadRequest} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SpreadRequest.prototype.clearTradingPair = function() { + return this.setTradingPair(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.SpreadRequest.prototype.hasTradingPair = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.SpreadResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.SpreadResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.SpreadResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SpreadResponse.toObject = function(includeInstance, msg) { + var f, obj = { + best1To2Position: (f = msg.getBest1To2Position()) && proto.penumbra.core.component.dex.v1alpha1.Position.toObject(includeInstance, f), + best2To1Position: (f = msg.getBest2To1Position()) && proto.penumbra.core.component.dex.v1alpha1.Position.toObject(includeInstance, f), + approxEffectivePrice1To2: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), + approxEffectivePrice2To1: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SpreadResponse} + */ +proto.penumbra.core.component.dex.v1alpha1.SpreadResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.SpreadResponse; + return proto.penumbra.core.component.dex.v1alpha1.SpreadResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SpreadResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SpreadResponse} + */ +proto.penumbra.core.component.dex.v1alpha1.SpreadResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.dex.v1alpha1.Position; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.Position.deserializeBinaryFromReader); + msg.setBest1To2Position(value); + break; + case 2: + var value = new proto.penumbra.core.component.dex.v1alpha1.Position; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.Position.deserializeBinaryFromReader); + msg.setBest2To1Position(value); + break; + case 3: + var value = /** @type {number} */ (reader.readDouble()); + msg.setApproxEffectivePrice1To2(value); + break; + case 4: + var value = /** @type {number} */ (reader.readDouble()); + msg.setApproxEffectivePrice2To1(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.SpreadResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.SpreadResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SpreadResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SpreadResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getBest1To2Position(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.dex.v1alpha1.Position.serializeBinaryToWriter + ); + } + f = message.getBest2To1Position(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.penumbra.core.component.dex.v1alpha1.Position.serializeBinaryToWriter + ); + } + f = message.getApproxEffectivePrice1To2(); + if (f !== 0.0) { + writer.writeDouble( + 3, + f + ); + } + f = message.getApproxEffectivePrice2To1(); + if (f !== 0.0) { + writer.writeDouble( + 4, + f + ); + } +}; + + +/** + * optional Position best_1_to_2_position = 1; + * @return {?proto.penumbra.core.component.dex.v1alpha1.Position} + */ +proto.penumbra.core.component.dex.v1alpha1.SpreadResponse.prototype.getBest1To2Position = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.Position} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.Position, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.Position|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SpreadResponse} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.SpreadResponse.prototype.setBest1To2Position = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SpreadResponse} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SpreadResponse.prototype.clearBest1To2Position = function() { + return this.setBest1To2Position(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.SpreadResponse.prototype.hasBest1To2Position = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional Position best_2_to_1_position = 2; + * @return {?proto.penumbra.core.component.dex.v1alpha1.Position} + */ +proto.penumbra.core.component.dex.v1alpha1.SpreadResponse.prototype.getBest2To1Position = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.Position} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.Position, 2)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.Position|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SpreadResponse} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.SpreadResponse.prototype.setBest2To1Position = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SpreadResponse} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SpreadResponse.prototype.clearBest2To1Position = function() { + return this.setBest2To1Position(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.SpreadResponse.prototype.hasBest2To1Position = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional double approx_effective_price_1_to_2 = 3; + * @return {number} + */ +proto.penumbra.core.component.dex.v1alpha1.SpreadResponse.prototype.getApproxEffectivePrice1To2 = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SpreadResponse} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SpreadResponse.prototype.setApproxEffectivePrice1To2 = function(value) { + return jspb.Message.setProto3FloatField(this, 3, value); +}; + + +/** + * optional double approx_effective_price_2_to_1 = 4; + * @return {number} + */ +proto.penumbra.core.component.dex.v1alpha1.SpreadResponse.prototype.getApproxEffectivePrice2To1 = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SpreadResponse} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SpreadResponse.prototype.setApproxEffectivePrice2To1 = function(value) { + return jspb.Message.setProto3FloatField(this, 4, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.toObject = function(includeInstance, msg) { + var f, obj = { + input: (f = msg.getInput()) && penumbra_core_asset_v1alpha1_asset_pb.Value.toObject(includeInstance, f), + output: (f = msg.getOutput()) && penumbra_core_asset_v1alpha1_asset_pb.AssetId.toObject(includeInstance, f), + routing: (f = msg.getRouting()) && proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest} + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest; + return proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest} + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_asset_v1alpha1_asset_pb.Value; + reader.readMessage(value,penumbra_core_asset_v1alpha1_asset_pb.Value.deserializeBinaryFromReader); + msg.setInput(value); + break; + case 2: + var value = new penumbra_core_asset_v1alpha1_asset_pb.AssetId; + reader.readMessage(value,penumbra_core_asset_v1alpha1_asset_pb.AssetId.deserializeBinaryFromReader); + msg.setOutput(value); + break; + case 3: + var value = new proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.deserializeBinaryFromReader); + msg.setRouting(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInput(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_asset_v1alpha1_asset_pb.Value.serializeBinaryToWriter + ); + } + f = message.getOutput(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_asset_v1alpha1_asset_pb.AssetId.serializeBinaryToWriter + ); + } + f = message.getRouting(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.serializeBinaryToWriter + ); + } +}; + + + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.oneofGroups_ = [[1,2]]; + +/** + * @enum {number} + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.SettingCase = { + SETTING_NOT_SET: 0, + DEFAULT: 1, + SINGLE_HOP: 2 +}; + +/** + * @return {proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.SettingCase} + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.prototype.getSettingCase = function() { + return /** @type {proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.SettingCase} */(jspb.Message.computeOneofCase(this, proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.toObject = function(includeInstance, msg) { + var f, obj = { + pb_default: (f = msg.getDefault()) && proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.Default.toObject(includeInstance, f), + singleHop: (f = msg.getSingleHop()) && proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.SingleHop.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing} + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing; + return proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing} + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.Default; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.Default.deserializeBinaryFromReader); + msg.setDefault(value); + break; + case 2: + var value = new proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.SingleHop; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.SingleHop.deserializeBinaryFromReader); + msg.setSingleHop(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDefault(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.Default.serializeBinaryToWriter + ); + } + f = message.getSingleHop(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.SingleHop.serializeBinaryToWriter + ); + } +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.SingleHop.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.SingleHop.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.SingleHop} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.SingleHop.toObject = function(includeInstance, msg) { + var f, obj = { + + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.SingleHop} + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.SingleHop.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.SingleHop; + return proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.SingleHop.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.SingleHop} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.SingleHop} + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.SingleHop.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.SingleHop.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.SingleHop.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.SingleHop} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.SingleHop.serializeBinaryToWriter = function(message, writer) { + var f = undefined; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.Default.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.Default.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.Default} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.Default.toObject = function(includeInstance, msg) { + var f, obj = { + + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.Default} + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.Default.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.Default; + return proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.Default.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.Default} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.Default} + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.Default.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.Default.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.Default.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.Default} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.Default.serializeBinaryToWriter = function(message, writer) { + var f = undefined; +}; + + +/** + * optional Default default = 1; + * @return {?proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.Default} + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.prototype.getDefault = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.Default} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.Default, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.Default|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.prototype.setDefault = function(value) { + return jspb.Message.setOneofWrapperField(this, 1, proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.prototype.clearDefault = function() { + return this.setDefault(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.prototype.hasDefault = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional SingleHop single_hop = 2; + * @return {?proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.SingleHop} + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.prototype.getSingleHop = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.SingleHop} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.SingleHop, 2)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.SingleHop|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.prototype.setSingleHop = function(value) { + return jspb.Message.setOneofWrapperField(this, 2, proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.prototype.clearSingleHop = function() { + return this.setSingleHop(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.prototype.hasSingleHop = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional penumbra.core.asset.v1alpha1.Value input = 1; + * @return {?proto.penumbra.core.asset.v1alpha1.Value} + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.prototype.getInput = function() { + return /** @type{?proto.penumbra.core.asset.v1alpha1.Value} */ ( + jspb.Message.getWrapperField(this, penumbra_core_asset_v1alpha1_asset_pb.Value, 1)); +}; + + +/** + * @param {?proto.penumbra.core.asset.v1alpha1.Value|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.prototype.setInput = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.prototype.clearInput = function() { + return this.setInput(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.prototype.hasInput = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional penumbra.core.asset.v1alpha1.AssetId output = 2; + * @return {?proto.penumbra.core.asset.v1alpha1.AssetId} + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.prototype.getOutput = function() { + return /** @type{?proto.penumbra.core.asset.v1alpha1.AssetId} */ ( + jspb.Message.getWrapperField(this, penumbra_core_asset_v1alpha1_asset_pb.AssetId, 2)); +}; + + +/** + * @param {?proto.penumbra.core.asset.v1alpha1.AssetId|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.prototype.setOutput = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.prototype.clearOutput = function() { + return this.setOutput(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.prototype.hasOutput = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional Routing routing = 3; + * @return {?proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing} + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.prototype.getRouting = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing, 3)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.prototype.setRouting = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.prototype.clearRouting = function() { + return this.setRouting(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.prototype.hasRouting = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.dex.v1alpha1.SimulateTradeResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.dex.v1alpha1.SimulateTradeResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeResponse.toObject = function(includeInstance, msg) { + var f, obj = { + output: (f = msg.getOutput()) && proto.penumbra.core.component.dex.v1alpha1.SwapExecution.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SimulateTradeResponse} + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.dex.v1alpha1.SimulateTradeResponse; + return proto.penumbra.core.component.dex.v1alpha1.SimulateTradeResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SimulateTradeResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SimulateTradeResponse} + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.dex.v1alpha1.SwapExecution; + reader.readMessage(value,proto.penumbra.core.component.dex.v1alpha1.SwapExecution.deserializeBinaryFromReader); + msg.setOutput(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.dex.v1alpha1.SimulateTradeResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.dex.v1alpha1.SimulateTradeResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getOutput(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.dex.v1alpha1.SwapExecution.serializeBinaryToWriter + ); + } +}; + + +/** + * optional SwapExecution output = 1; + * @return {?proto.penumbra.core.component.dex.v1alpha1.SwapExecution} + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeResponse.prototype.getOutput = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.SwapExecution} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.dex.v1alpha1.SwapExecution, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.SwapExecution|undefined} value + * @return {!proto.penumbra.core.component.dex.v1alpha1.SimulateTradeResponse} returns this +*/ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeResponse.prototype.setOutput = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.dex.v1alpha1.SimulateTradeResponse} returns this + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeResponse.prototype.clearOutput = function() { + return this.setOutput(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.dex.v1alpha1.SimulateTradeResponse.prototype.hasOutput = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +goog.object.extend(exports, proto.penumbra.core.component.dex.v1alpha1); diff --git a/src/chains/penumbra/generated/penumbra/core/component/distributions/v1alpha1/distributions_grpc_pb.js b/src/chains/penumbra/generated/penumbra/core/component/distributions/v1alpha1/distributions_grpc_pb.js new file mode 100644 index 0000000000..97b3a2461d --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/component/distributions/v1alpha1/distributions_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/src/chains/penumbra/generated/penumbra/core/component/distributions/v1alpha1/distributions_pb.d.ts b/src/chains/penumbra/generated/penumbra/core/component/distributions/v1alpha1/distributions_pb.d.ts new file mode 100644 index 0000000000..16588ab67e --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/component/distributions/v1alpha1/distributions_pb.d.ts @@ -0,0 +1,7 @@ +// package: penumbra.core.component.distributions.v1alpha1 +// file: penumbra/core/component/distributions/v1alpha1/distributions.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; diff --git a/src/chains/penumbra/generated/penumbra/core/component/distributions/v1alpha1/distributions_pb.js b/src/chains/penumbra/generated/penumbra/core/component/distributions/v1alpha1/distributions_pb.js new file mode 100644 index 0000000000..47bca0229d --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/component/distributions/v1alpha1/distributions_pb.js @@ -0,0 +1,23 @@ +// source: penumbra/core/component/distributions/v1alpha1/distributions.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = (function() { + if (this) { return this; } + if (typeof window !== 'undefined') { return window; } + if (typeof global !== 'undefined') { return global; } + if (typeof self !== 'undefined') { return self; } + return Function('return this')(); +}.call(null)); + diff --git a/src/chains/penumbra/generated/penumbra/core/component/fee/v1alpha1/fee_grpc_pb.js b/src/chains/penumbra/generated/penumbra/core/component/fee/v1alpha1/fee_grpc_pb.js new file mode 100644 index 0000000000..97b3a2461d --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/component/fee/v1alpha1/fee_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/src/chains/penumbra/generated/penumbra/core/component/fee/v1alpha1/fee_pb.d.ts b/src/chains/penumbra/generated/penumbra/core/component/fee/v1alpha1/fee_pb.d.ts new file mode 100644 index 0000000000..c0bb3d3f5e --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/component/fee/v1alpha1/fee_pb.d.ts @@ -0,0 +1,113 @@ +// package: penumbra.core.component.fee.v1alpha1 +// file: penumbra/core/component/fee/v1alpha1/fee.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as penumbra_core_num_v1alpha1_num_pb from "../../../../../penumbra/core/num/v1alpha1/num_pb"; +import * as penumbra_core_asset_v1alpha1_asset_pb from "../../../../../penumbra/core/asset/v1alpha1/asset_pb"; + +export class Fee extends jspb.Message { + + hasAmount(): boolean; + clearAmount(): void; + getAmount(): penumbra_core_num_v1alpha1_num_pb.Amount | undefined; + setAmount(value?: penumbra_core_num_v1alpha1_num_pb.Amount): Fee; + + hasAssetId(): boolean; + clearAssetId(): void; + getAssetId(): penumbra_core_asset_v1alpha1_asset_pb.AssetId | undefined; + setAssetId(value?: penumbra_core_asset_v1alpha1_asset_pb.AssetId): Fee; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Fee.AsObject; + static toObject(includeInstance: boolean, msg: Fee): Fee.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Fee, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Fee; + static deserializeBinaryFromReader(message: Fee, reader: jspb.BinaryReader): Fee; +} + +export namespace Fee { + export type AsObject = { + amount?: penumbra_core_num_v1alpha1_num_pb.Amount.AsObject, + assetId?: penumbra_core_asset_v1alpha1_asset_pb.AssetId.AsObject, + } +} + +export class GasPrices extends jspb.Message { + getBlockSpacePrice(): number; + setBlockSpacePrice(value: number): GasPrices; + getCompactBlockSpacePrice(): number; + setCompactBlockSpacePrice(value: number): GasPrices; + getVerificationPrice(): number; + setVerificationPrice(value: number): GasPrices; + getExecutionPrice(): number; + setExecutionPrice(value: number): GasPrices; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GasPrices.AsObject; + static toObject(includeInstance: boolean, msg: GasPrices): GasPrices.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: GasPrices, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GasPrices; + static deserializeBinaryFromReader(message: GasPrices, reader: jspb.BinaryReader): GasPrices; +} + +export namespace GasPrices { + export type AsObject = { + blockSpacePrice: number, + compactBlockSpacePrice: number, + verificationPrice: number, + executionPrice: number, + } +} + +export class FeeParameters extends jspb.Message { + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): FeeParameters.AsObject; + static toObject(includeInstance: boolean, msg: FeeParameters): FeeParameters.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: FeeParameters, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): FeeParameters; + static deserializeBinaryFromReader(message: FeeParameters, reader: jspb.BinaryReader): FeeParameters; +} + +export namespace FeeParameters { + export type AsObject = { + } +} + +export class GenesisContent extends jspb.Message { + + hasFeeParams(): boolean; + clearFeeParams(): void; + getFeeParams(): FeeParameters | undefined; + setFeeParams(value?: FeeParameters): GenesisContent; + + hasGasPrices(): boolean; + clearGasPrices(): void; + getGasPrices(): GasPrices | undefined; + setGasPrices(value?: GasPrices): GenesisContent; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GenesisContent.AsObject; + static toObject(includeInstance: boolean, msg: GenesisContent): GenesisContent.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: GenesisContent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GenesisContent; + static deserializeBinaryFromReader(message: GenesisContent, reader: jspb.BinaryReader): GenesisContent; +} + +export namespace GenesisContent { + export type AsObject = { + feeParams?: FeeParameters.AsObject, + gasPrices?: GasPrices.AsObject, + } +} diff --git a/src/chains/penumbra/generated/penumbra/core/component/fee/v1alpha1/fee_pb.js b/src/chains/penumbra/generated/penumbra/core/component/fee/v1alpha1/fee_pb.js new file mode 100644 index 0000000000..1eb8490540 --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/component/fee/v1alpha1/fee_pb.js @@ -0,0 +1,841 @@ +// source: penumbra/core/component/fee/v1alpha1/fee.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = (function() { + if (this) { return this; } + if (typeof window !== 'undefined') { return window; } + if (typeof global !== 'undefined') { return global; } + if (typeof self !== 'undefined') { return self; } + return Function('return this')(); +}.call(null)); + +var penumbra_core_num_v1alpha1_num_pb = require('../../../../../penumbra/core/num/v1alpha1/num_pb.js'); +goog.object.extend(proto, penumbra_core_num_v1alpha1_num_pb); +var penumbra_core_asset_v1alpha1_asset_pb = require('../../../../../penumbra/core/asset/v1alpha1/asset_pb.js'); +goog.object.extend(proto, penumbra_core_asset_v1alpha1_asset_pb); +goog.exportSymbol('proto.penumbra.core.component.fee.v1alpha1.Fee', null, global); +goog.exportSymbol('proto.penumbra.core.component.fee.v1alpha1.FeeParameters', null, global); +goog.exportSymbol('proto.penumbra.core.component.fee.v1alpha1.GasPrices', null, global); +goog.exportSymbol('proto.penumbra.core.component.fee.v1alpha1.GenesisContent', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.fee.v1alpha1.Fee = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.fee.v1alpha1.Fee, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.fee.v1alpha1.Fee.displayName = 'proto.penumbra.core.component.fee.v1alpha1.Fee'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.fee.v1alpha1.GasPrices = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.fee.v1alpha1.GasPrices, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.fee.v1alpha1.GasPrices.displayName = 'proto.penumbra.core.component.fee.v1alpha1.GasPrices'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.fee.v1alpha1.FeeParameters = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.fee.v1alpha1.FeeParameters, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.fee.v1alpha1.FeeParameters.displayName = 'proto.penumbra.core.component.fee.v1alpha1.FeeParameters'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.fee.v1alpha1.GenesisContent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.fee.v1alpha1.GenesisContent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.fee.v1alpha1.GenesisContent.displayName = 'proto.penumbra.core.component.fee.v1alpha1.GenesisContent'; +} + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.fee.v1alpha1.Fee.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.fee.v1alpha1.Fee.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.fee.v1alpha1.Fee} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.fee.v1alpha1.Fee.toObject = function(includeInstance, msg) { + var f, obj = { + amount: (f = msg.getAmount()) && penumbra_core_num_v1alpha1_num_pb.Amount.toObject(includeInstance, f), + assetId: (f = msg.getAssetId()) && penumbra_core_asset_v1alpha1_asset_pb.AssetId.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.fee.v1alpha1.Fee} + */ +proto.penumbra.core.component.fee.v1alpha1.Fee.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.fee.v1alpha1.Fee; + return proto.penumbra.core.component.fee.v1alpha1.Fee.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.fee.v1alpha1.Fee} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.fee.v1alpha1.Fee} + */ +proto.penumbra.core.component.fee.v1alpha1.Fee.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_num_v1alpha1_num_pb.Amount; + reader.readMessage(value,penumbra_core_num_v1alpha1_num_pb.Amount.deserializeBinaryFromReader); + msg.setAmount(value); + break; + case 2: + var value = new penumbra_core_asset_v1alpha1_asset_pb.AssetId; + reader.readMessage(value,penumbra_core_asset_v1alpha1_asset_pb.AssetId.deserializeBinaryFromReader); + msg.setAssetId(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.fee.v1alpha1.Fee.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.fee.v1alpha1.Fee.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.fee.v1alpha1.Fee} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.fee.v1alpha1.Fee.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getAmount(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_num_v1alpha1_num_pb.Amount.serializeBinaryToWriter + ); + } + f = message.getAssetId(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_asset_v1alpha1_asset_pb.AssetId.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.num.v1alpha1.Amount amount = 1; + * @return {?proto.penumbra.core.num.v1alpha1.Amount} + */ +proto.penumbra.core.component.fee.v1alpha1.Fee.prototype.getAmount = function() { + return /** @type{?proto.penumbra.core.num.v1alpha1.Amount} */ ( + jspb.Message.getWrapperField(this, penumbra_core_num_v1alpha1_num_pb.Amount, 1)); +}; + + +/** + * @param {?proto.penumbra.core.num.v1alpha1.Amount|undefined} value + * @return {!proto.penumbra.core.component.fee.v1alpha1.Fee} returns this +*/ +proto.penumbra.core.component.fee.v1alpha1.Fee.prototype.setAmount = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.fee.v1alpha1.Fee} returns this + */ +proto.penumbra.core.component.fee.v1alpha1.Fee.prototype.clearAmount = function() { + return this.setAmount(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.fee.v1alpha1.Fee.prototype.hasAmount = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional penumbra.core.asset.v1alpha1.AssetId asset_id = 2; + * @return {?proto.penumbra.core.asset.v1alpha1.AssetId} + */ +proto.penumbra.core.component.fee.v1alpha1.Fee.prototype.getAssetId = function() { + return /** @type{?proto.penumbra.core.asset.v1alpha1.AssetId} */ ( + jspb.Message.getWrapperField(this, penumbra_core_asset_v1alpha1_asset_pb.AssetId, 2)); +}; + + +/** + * @param {?proto.penumbra.core.asset.v1alpha1.AssetId|undefined} value + * @return {!proto.penumbra.core.component.fee.v1alpha1.Fee} returns this +*/ +proto.penumbra.core.component.fee.v1alpha1.Fee.prototype.setAssetId = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.fee.v1alpha1.Fee} returns this + */ +proto.penumbra.core.component.fee.v1alpha1.Fee.prototype.clearAssetId = function() { + return this.setAssetId(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.fee.v1alpha1.Fee.prototype.hasAssetId = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.fee.v1alpha1.GasPrices.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.fee.v1alpha1.GasPrices.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.fee.v1alpha1.GasPrices} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.fee.v1alpha1.GasPrices.toObject = function(includeInstance, msg) { + var f, obj = { + blockSpacePrice: jspb.Message.getFieldWithDefault(msg, 1, 0), + compactBlockSpacePrice: jspb.Message.getFieldWithDefault(msg, 2, 0), + verificationPrice: jspb.Message.getFieldWithDefault(msg, 3, 0), + executionPrice: jspb.Message.getFieldWithDefault(msg, 4, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.fee.v1alpha1.GasPrices} + */ +proto.penumbra.core.component.fee.v1alpha1.GasPrices.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.fee.v1alpha1.GasPrices; + return proto.penumbra.core.component.fee.v1alpha1.GasPrices.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.fee.v1alpha1.GasPrices} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.fee.v1alpha1.GasPrices} + */ +proto.penumbra.core.component.fee.v1alpha1.GasPrices.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setBlockSpacePrice(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint64()); + msg.setCompactBlockSpacePrice(value); + break; + case 3: + var value = /** @type {number} */ (reader.readUint64()); + msg.setVerificationPrice(value); + break; + case 4: + var value = /** @type {number} */ (reader.readUint64()); + msg.setExecutionPrice(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.fee.v1alpha1.GasPrices.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.fee.v1alpha1.GasPrices.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.fee.v1alpha1.GasPrices} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.fee.v1alpha1.GasPrices.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getBlockSpacePrice(); + if (f !== 0) { + writer.writeUint64( + 1, + f + ); + } + f = message.getCompactBlockSpacePrice(); + if (f !== 0) { + writer.writeUint64( + 2, + f + ); + } + f = message.getVerificationPrice(); + if (f !== 0) { + writer.writeUint64( + 3, + f + ); + } + f = message.getExecutionPrice(); + if (f !== 0) { + writer.writeUint64( + 4, + f + ); + } +}; + + +/** + * optional uint64 block_space_price = 1; + * @return {number} + */ +proto.penumbra.core.component.fee.v1alpha1.GasPrices.prototype.getBlockSpacePrice = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.fee.v1alpha1.GasPrices} returns this + */ +proto.penumbra.core.component.fee.v1alpha1.GasPrices.prototype.setBlockSpacePrice = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional uint64 compact_block_space_price = 2; + * @return {number} + */ +proto.penumbra.core.component.fee.v1alpha1.GasPrices.prototype.getCompactBlockSpacePrice = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.fee.v1alpha1.GasPrices} returns this + */ +proto.penumbra.core.component.fee.v1alpha1.GasPrices.prototype.setCompactBlockSpacePrice = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + +/** + * optional uint64 verification_price = 3; + * @return {number} + */ +proto.penumbra.core.component.fee.v1alpha1.GasPrices.prototype.getVerificationPrice = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.fee.v1alpha1.GasPrices} returns this + */ +proto.penumbra.core.component.fee.v1alpha1.GasPrices.prototype.setVerificationPrice = function(value) { + return jspb.Message.setProto3IntField(this, 3, value); +}; + + +/** + * optional uint64 execution_price = 4; + * @return {number} + */ +proto.penumbra.core.component.fee.v1alpha1.GasPrices.prototype.getExecutionPrice = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.fee.v1alpha1.GasPrices} returns this + */ +proto.penumbra.core.component.fee.v1alpha1.GasPrices.prototype.setExecutionPrice = function(value) { + return jspb.Message.setProto3IntField(this, 4, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.fee.v1alpha1.FeeParameters.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.fee.v1alpha1.FeeParameters.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.fee.v1alpha1.FeeParameters} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.fee.v1alpha1.FeeParameters.toObject = function(includeInstance, msg) { + var f, obj = { + + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.fee.v1alpha1.FeeParameters} + */ +proto.penumbra.core.component.fee.v1alpha1.FeeParameters.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.fee.v1alpha1.FeeParameters; + return proto.penumbra.core.component.fee.v1alpha1.FeeParameters.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.fee.v1alpha1.FeeParameters} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.fee.v1alpha1.FeeParameters} + */ +proto.penumbra.core.component.fee.v1alpha1.FeeParameters.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.fee.v1alpha1.FeeParameters.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.fee.v1alpha1.FeeParameters.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.fee.v1alpha1.FeeParameters} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.fee.v1alpha1.FeeParameters.serializeBinaryToWriter = function(message, writer) { + var f = undefined; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.fee.v1alpha1.GenesisContent.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.fee.v1alpha1.GenesisContent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.fee.v1alpha1.GenesisContent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.fee.v1alpha1.GenesisContent.toObject = function(includeInstance, msg) { + var f, obj = { + feeParams: (f = msg.getFeeParams()) && proto.penumbra.core.component.fee.v1alpha1.FeeParameters.toObject(includeInstance, f), + gasPrices: (f = msg.getGasPrices()) && proto.penumbra.core.component.fee.v1alpha1.GasPrices.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.fee.v1alpha1.GenesisContent} + */ +proto.penumbra.core.component.fee.v1alpha1.GenesisContent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.fee.v1alpha1.GenesisContent; + return proto.penumbra.core.component.fee.v1alpha1.GenesisContent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.fee.v1alpha1.GenesisContent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.fee.v1alpha1.GenesisContent} + */ +proto.penumbra.core.component.fee.v1alpha1.GenesisContent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.fee.v1alpha1.FeeParameters; + reader.readMessage(value,proto.penumbra.core.component.fee.v1alpha1.FeeParameters.deserializeBinaryFromReader); + msg.setFeeParams(value); + break; + case 2: + var value = new proto.penumbra.core.component.fee.v1alpha1.GasPrices; + reader.readMessage(value,proto.penumbra.core.component.fee.v1alpha1.GasPrices.deserializeBinaryFromReader); + msg.setGasPrices(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.fee.v1alpha1.GenesisContent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.fee.v1alpha1.GenesisContent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.fee.v1alpha1.GenesisContent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.fee.v1alpha1.GenesisContent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getFeeParams(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.fee.v1alpha1.FeeParameters.serializeBinaryToWriter + ); + } + f = message.getGasPrices(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.penumbra.core.component.fee.v1alpha1.GasPrices.serializeBinaryToWriter + ); + } +}; + + +/** + * optional FeeParameters fee_params = 1; + * @return {?proto.penumbra.core.component.fee.v1alpha1.FeeParameters} + */ +proto.penumbra.core.component.fee.v1alpha1.GenesisContent.prototype.getFeeParams = function() { + return /** @type{?proto.penumbra.core.component.fee.v1alpha1.FeeParameters} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.fee.v1alpha1.FeeParameters, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.fee.v1alpha1.FeeParameters|undefined} value + * @return {!proto.penumbra.core.component.fee.v1alpha1.GenesisContent} returns this +*/ +proto.penumbra.core.component.fee.v1alpha1.GenesisContent.prototype.setFeeParams = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.fee.v1alpha1.GenesisContent} returns this + */ +proto.penumbra.core.component.fee.v1alpha1.GenesisContent.prototype.clearFeeParams = function() { + return this.setFeeParams(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.fee.v1alpha1.GenesisContent.prototype.hasFeeParams = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional GasPrices gas_prices = 2; + * @return {?proto.penumbra.core.component.fee.v1alpha1.GasPrices} + */ +proto.penumbra.core.component.fee.v1alpha1.GenesisContent.prototype.getGasPrices = function() { + return /** @type{?proto.penumbra.core.component.fee.v1alpha1.GasPrices} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.fee.v1alpha1.GasPrices, 2)); +}; + + +/** + * @param {?proto.penumbra.core.component.fee.v1alpha1.GasPrices|undefined} value + * @return {!proto.penumbra.core.component.fee.v1alpha1.GenesisContent} returns this +*/ +proto.penumbra.core.component.fee.v1alpha1.GenesisContent.prototype.setGasPrices = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.fee.v1alpha1.GenesisContent} returns this + */ +proto.penumbra.core.component.fee.v1alpha1.GenesisContent.prototype.clearGasPrices = function() { + return this.setGasPrices(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.fee.v1alpha1.GenesisContent.prototype.hasGasPrices = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +goog.object.extend(exports, proto.penumbra.core.component.fee.v1alpha1); diff --git a/src/chains/penumbra/generated/penumbra/core/component/governance/v1alpha1/governance_grpc_pb.d.ts b/src/chains/penumbra/generated/penumbra/core/component/governance/v1alpha1/governance_grpc_pb.d.ts new file mode 100644 index 0000000000..128a0f30ae --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/component/governance/v1alpha1/governance_grpc_pb.d.ts @@ -0,0 +1,67 @@ +// package: penumbra.core.component.governance.v1alpha1 +// file: penumbra/core/component/governance/v1alpha1/governance.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as grpc from "grpc"; +import * as penumbra_core_component_governance_v1alpha1_governance_pb from "../../../../../penumbra/core/component/governance/v1alpha1/governance_pb"; +import * as google_protobuf_any_pb from "google-protobuf/google/protobuf/any_pb"; +import * as penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb from "../../../../../penumbra/crypto/decaf377_rdsa/v1alpha1/decaf377_rdsa_pb"; +import * as penumbra_core_num_v1alpha1_num_pb from "../../../../../penumbra/core/num/v1alpha1/num_pb"; +import * as penumbra_core_asset_v1alpha1_asset_pb from "../../../../../penumbra/core/asset/v1alpha1/asset_pb"; +import * as penumbra_core_keys_v1alpha1_keys_pb from "../../../../../penumbra/core/keys/v1alpha1/keys_pb"; +import * as penumbra_core_component_chain_v1alpha1_chain_pb from "../../../../../penumbra/core/component/chain/v1alpha1/chain_pb"; +import * as penumbra_core_component_fee_v1alpha1_fee_pb from "../../../../../penumbra/core/component/fee/v1alpha1/fee_pb"; +import * as penumbra_core_component_dao_v1alpha1_dao_pb from "../../../../../penumbra/core/component/dao/v1alpha1/dao_pb"; +import * as penumbra_core_component_ibc_v1alpha1_ibc_pb from "../../../../../penumbra/core/component/ibc/v1alpha1/ibc_pb"; +import * as penumbra_core_component_stake_v1alpha1_stake_pb from "../../../../../penumbra/core/component/stake/v1alpha1/stake_pb"; +import * as penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb from "../../../../../penumbra/core/component/shielded_pool/v1alpha1/shielded_pool_pb"; + +interface IQueryServiceService extends grpc.ServiceDefinition { + proposalInfo: IQueryServiceService_IProposalInfo; + proposalRateData: IQueryServiceService_IProposalRateData; +} + +interface IQueryServiceService_IProposalInfo extends grpc.MethodDefinition { + path: "/penumbra.core.component.governance.v1alpha1.QueryService/ProposalInfo"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IQueryServiceService_IProposalRateData extends grpc.MethodDefinition { + path: "/penumbra.core.component.governance.v1alpha1.QueryService/ProposalRateData"; + requestStream: false; + responseStream: true; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} + +export const QueryServiceService: IQueryServiceService; + +export interface IQueryServiceServer { + proposalInfo: grpc.handleUnaryCall; + proposalRateData: grpc.handleServerStreamingCall; +} + +export interface IQueryServiceClient { + proposalInfo(request: penumbra_core_component_governance_v1alpha1_governance_pb.ProposalInfoRequest, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_governance_v1alpha1_governance_pb.ProposalInfoResponse) => void): grpc.ClientUnaryCall; + proposalInfo(request: penumbra_core_component_governance_v1alpha1_governance_pb.ProposalInfoRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_governance_v1alpha1_governance_pb.ProposalInfoResponse) => void): grpc.ClientUnaryCall; + proposalInfo(request: penumbra_core_component_governance_v1alpha1_governance_pb.ProposalInfoRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_governance_v1alpha1_governance_pb.ProposalInfoResponse) => void): grpc.ClientUnaryCall; + proposalRateData(request: penumbra_core_component_governance_v1alpha1_governance_pb.ProposalRateDataRequest, options?: Partial): grpc.ClientReadableStream; + proposalRateData(request: penumbra_core_component_governance_v1alpha1_governance_pb.ProposalRateDataRequest, metadata?: grpc.Metadata, options?: Partial): grpc.ClientReadableStream; +} + +export class QueryServiceClient extends grpc.Client implements IQueryServiceClient { + constructor(address: string, credentials: grpc.ChannelCredentials, options?: object); + public proposalInfo(request: penumbra_core_component_governance_v1alpha1_governance_pb.ProposalInfoRequest, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_governance_v1alpha1_governance_pb.ProposalInfoResponse) => void): grpc.ClientUnaryCall; + public proposalInfo(request: penumbra_core_component_governance_v1alpha1_governance_pb.ProposalInfoRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_governance_v1alpha1_governance_pb.ProposalInfoResponse) => void): grpc.ClientUnaryCall; + public proposalInfo(request: penumbra_core_component_governance_v1alpha1_governance_pb.ProposalInfoRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_governance_v1alpha1_governance_pb.ProposalInfoResponse) => void): grpc.ClientUnaryCall; + public proposalRateData(request: penumbra_core_component_governance_v1alpha1_governance_pb.ProposalRateDataRequest, options?: Partial): grpc.ClientReadableStream; + public proposalRateData(request: penumbra_core_component_governance_v1alpha1_governance_pb.ProposalRateDataRequest, metadata?: grpc.Metadata, options?: Partial): grpc.ClientReadableStream; +} diff --git a/src/chains/penumbra/generated/penumbra/core/component/governance/v1alpha1/governance_grpc_pb.js b/src/chains/penumbra/generated/penumbra/core/component/governance/v1alpha1/governance_grpc_pb.js new file mode 100644 index 0000000000..efab4dba36 --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/component/governance/v1alpha1/governance_grpc_pb.js @@ -0,0 +1,90 @@ +// GENERATED CODE -- DO NOT EDIT! + +'use strict'; +var grpc = require('@grpc/grpc-js'); +var penumbra_core_component_governance_v1alpha1_governance_pb = require('../../../../../penumbra/core/component/governance/v1alpha1/governance_pb.js'); +var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js'); +var penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb = require('../../../../../penumbra/crypto/decaf377_rdsa/v1alpha1/decaf377_rdsa_pb.js'); +var penumbra_core_num_v1alpha1_num_pb = require('../../../../../penumbra/core/num/v1alpha1/num_pb.js'); +var penumbra_core_asset_v1alpha1_asset_pb = require('../../../../../penumbra/core/asset/v1alpha1/asset_pb.js'); +var penumbra_core_keys_v1alpha1_keys_pb = require('../../../../../penumbra/core/keys/v1alpha1/keys_pb.js'); +var penumbra_core_component_chain_v1alpha1_chain_pb = require('../../../../../penumbra/core/component/chain/v1alpha1/chain_pb.js'); +var penumbra_core_component_fee_v1alpha1_fee_pb = require('../../../../../penumbra/core/component/fee/v1alpha1/fee_pb.js'); +var penumbra_core_component_dao_v1alpha1_dao_pb = require('../../../../../penumbra/core/component/dao/v1alpha1/dao_pb.js'); +var penumbra_core_component_ibc_v1alpha1_ibc_pb = require('../../../../../penumbra/core/component/ibc/v1alpha1/ibc_pb.js'); +var penumbra_core_component_stake_v1alpha1_stake_pb = require('../../../../../penumbra/core/component/stake/v1alpha1/stake_pb.js'); +var penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb = require('../../../../../penumbra/core/component/shielded_pool/v1alpha1/shielded_pool_pb.js'); + +function serialize_penumbra_core_component_governance_v1alpha1_ProposalInfoRequest(arg) { + if (!(arg instanceof penumbra_core_component_governance_v1alpha1_governance_pb.ProposalInfoRequest)) { + throw new Error('Expected argument of type penumbra.core.component.governance.v1alpha1.ProposalInfoRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_core_component_governance_v1alpha1_ProposalInfoRequest(buffer_arg) { + return penumbra_core_component_governance_v1alpha1_governance_pb.ProposalInfoRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_core_component_governance_v1alpha1_ProposalInfoResponse(arg) { + if (!(arg instanceof penumbra_core_component_governance_v1alpha1_governance_pb.ProposalInfoResponse)) { + throw new Error('Expected argument of type penumbra.core.component.governance.v1alpha1.ProposalInfoResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_core_component_governance_v1alpha1_ProposalInfoResponse(buffer_arg) { + return penumbra_core_component_governance_v1alpha1_governance_pb.ProposalInfoResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_core_component_governance_v1alpha1_ProposalRateDataRequest(arg) { + if (!(arg instanceof penumbra_core_component_governance_v1alpha1_governance_pb.ProposalRateDataRequest)) { + throw new Error('Expected argument of type penumbra.core.component.governance.v1alpha1.ProposalRateDataRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_core_component_governance_v1alpha1_ProposalRateDataRequest(buffer_arg) { + return penumbra_core_component_governance_v1alpha1_governance_pb.ProposalRateDataRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_core_component_governance_v1alpha1_ProposalRateDataResponse(arg) { + if (!(arg instanceof penumbra_core_component_governance_v1alpha1_governance_pb.ProposalRateDataResponse)) { + throw new Error('Expected argument of type penumbra.core.component.governance.v1alpha1.ProposalRateDataResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_core_component_governance_v1alpha1_ProposalRateDataResponse(buffer_arg) { + return penumbra_core_component_governance_v1alpha1_governance_pb.ProposalRateDataResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + + +// Query operations for the governance component. +var QueryServiceService = exports.QueryServiceService = { + proposalInfo: { + path: '/penumbra.core.component.governance.v1alpha1.QueryService/ProposalInfo', + requestStream: false, + responseStream: false, + requestType: penumbra_core_component_governance_v1alpha1_governance_pb.ProposalInfoRequest, + responseType: penumbra_core_component_governance_v1alpha1_governance_pb.ProposalInfoResponse, + requestSerialize: serialize_penumbra_core_component_governance_v1alpha1_ProposalInfoRequest, + requestDeserialize: deserialize_penumbra_core_component_governance_v1alpha1_ProposalInfoRequest, + responseSerialize: serialize_penumbra_core_component_governance_v1alpha1_ProposalInfoResponse, + responseDeserialize: deserialize_penumbra_core_component_governance_v1alpha1_ProposalInfoResponse, + }, + // Used for computing voting power ? +proposalRateData: { + path: '/penumbra.core.component.governance.v1alpha1.QueryService/ProposalRateData', + requestStream: false, + responseStream: true, + requestType: penumbra_core_component_governance_v1alpha1_governance_pb.ProposalRateDataRequest, + responseType: penumbra_core_component_governance_v1alpha1_governance_pb.ProposalRateDataResponse, + requestSerialize: serialize_penumbra_core_component_governance_v1alpha1_ProposalRateDataRequest, + requestDeserialize: deserialize_penumbra_core_component_governance_v1alpha1_ProposalRateDataRequest, + responseSerialize: serialize_penumbra_core_component_governance_v1alpha1_ProposalRateDataResponse, + responseDeserialize: deserialize_penumbra_core_component_governance_v1alpha1_ProposalRateDataResponse, + }, +}; + +exports.QueryServiceClient = grpc.makeGenericClientConstructor(QueryServiceService); diff --git a/src/chains/penumbra/generated/penumbra/core/component/governance/v1alpha1/governance_pb.d.ts b/src/chains/penumbra/generated/penumbra/core/component/governance/v1alpha1/governance_pb.d.ts new file mode 100644 index 0000000000..4e561fe438 --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/component/governance/v1alpha1/governance_pb.d.ts @@ -0,0 +1,1252 @@ +// package: penumbra.core.component.governance.v1alpha1 +// file: penumbra/core/component/governance/v1alpha1/governance.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_any_pb from "google-protobuf/google/protobuf/any_pb"; +import * as penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb from "../../../../../penumbra/crypto/decaf377_rdsa/v1alpha1/decaf377_rdsa_pb"; +import * as penumbra_core_num_v1alpha1_num_pb from "../../../../../penumbra/core/num/v1alpha1/num_pb"; +import * as penumbra_core_asset_v1alpha1_asset_pb from "../../../../../penumbra/core/asset/v1alpha1/asset_pb"; +import * as penumbra_core_keys_v1alpha1_keys_pb from "../../../../../penumbra/core/keys/v1alpha1/keys_pb"; +import * as penumbra_core_component_chain_v1alpha1_chain_pb from "../../../../../penumbra/core/component/chain/v1alpha1/chain_pb"; +import * as penumbra_core_component_fee_v1alpha1_fee_pb from "../../../../../penumbra/core/component/fee/v1alpha1/fee_pb"; +import * as penumbra_core_component_dao_v1alpha1_dao_pb from "../../../../../penumbra/core/component/dao/v1alpha1/dao_pb"; +import * as penumbra_core_component_ibc_v1alpha1_ibc_pb from "../../../../../penumbra/core/component/ibc/v1alpha1/ibc_pb"; +import * as penumbra_core_component_stake_v1alpha1_stake_pb from "../../../../../penumbra/core/component/stake/v1alpha1/stake_pb"; +import * as penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb from "../../../../../penumbra/core/component/shielded_pool/v1alpha1/shielded_pool_pb"; + +export class ZKDelegatorVoteProof extends jspb.Message { + getInner(): Uint8Array | string; + getInner_asU8(): Uint8Array; + getInner_asB64(): string; + setInner(value: Uint8Array | string): ZKDelegatorVoteProof; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ZKDelegatorVoteProof.AsObject; + static toObject(includeInstance: boolean, msg: ZKDelegatorVoteProof): ZKDelegatorVoteProof.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ZKDelegatorVoteProof, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ZKDelegatorVoteProof; + static deserializeBinaryFromReader(message: ZKDelegatorVoteProof, reader: jspb.BinaryReader): ZKDelegatorVoteProof; +} + +export namespace ZKDelegatorVoteProof { + export type AsObject = { + inner: Uint8Array | string, + } +} + +export class ProposalSubmit extends jspb.Message { + + hasProposal(): boolean; + clearProposal(): void; + getProposal(): Proposal | undefined; + setProposal(value?: Proposal): ProposalSubmit; + + hasDepositAmount(): boolean; + clearDepositAmount(): void; + getDepositAmount(): penumbra_core_num_v1alpha1_num_pb.Amount | undefined; + setDepositAmount(value?: penumbra_core_num_v1alpha1_num_pb.Amount): ProposalSubmit; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ProposalSubmit.AsObject; + static toObject(includeInstance: boolean, msg: ProposalSubmit): ProposalSubmit.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ProposalSubmit, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ProposalSubmit; + static deserializeBinaryFromReader(message: ProposalSubmit, reader: jspb.BinaryReader): ProposalSubmit; +} + +export namespace ProposalSubmit { + export type AsObject = { + proposal?: Proposal.AsObject, + depositAmount?: penumbra_core_num_v1alpha1_num_pb.Amount.AsObject, + } +} + +export class ProposalWithdraw extends jspb.Message { + getProposal(): number; + setProposal(value: number): ProposalWithdraw; + getReason(): string; + setReason(value: string): ProposalWithdraw; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ProposalWithdraw.AsObject; + static toObject(includeInstance: boolean, msg: ProposalWithdraw): ProposalWithdraw.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ProposalWithdraw, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ProposalWithdraw; + static deserializeBinaryFromReader(message: ProposalWithdraw, reader: jspb.BinaryReader): ProposalWithdraw; +} + +export namespace ProposalWithdraw { + export type AsObject = { + proposal: number, + reason: string, + } +} + +export class ProposalDepositClaim extends jspb.Message { + getProposal(): number; + setProposal(value: number): ProposalDepositClaim; + + hasDepositAmount(): boolean; + clearDepositAmount(): void; + getDepositAmount(): penumbra_core_num_v1alpha1_num_pb.Amount | undefined; + setDepositAmount(value?: penumbra_core_num_v1alpha1_num_pb.Amount): ProposalDepositClaim; + + hasOutcome(): boolean; + clearOutcome(): void; + getOutcome(): ProposalOutcome | undefined; + setOutcome(value?: ProposalOutcome): ProposalDepositClaim; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ProposalDepositClaim.AsObject; + static toObject(includeInstance: boolean, msg: ProposalDepositClaim): ProposalDepositClaim.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ProposalDepositClaim, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ProposalDepositClaim; + static deserializeBinaryFromReader(message: ProposalDepositClaim, reader: jspb.BinaryReader): ProposalDepositClaim; +} + +export namespace ProposalDepositClaim { + export type AsObject = { + proposal: number, + depositAmount?: penumbra_core_num_v1alpha1_num_pb.Amount.AsObject, + outcome?: ProposalOutcome.AsObject, + } +} + +export class ValidatorVote extends jspb.Message { + + hasBody(): boolean; + clearBody(): void; + getBody(): ValidatorVoteBody | undefined; + setBody(value?: ValidatorVoteBody): ValidatorVote; + + hasAuthSig(): boolean; + clearAuthSig(): void; + getAuthSig(): penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb.SpendAuthSignature | undefined; + setAuthSig(value?: penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb.SpendAuthSignature): ValidatorVote; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ValidatorVote.AsObject; + static toObject(includeInstance: boolean, msg: ValidatorVote): ValidatorVote.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ValidatorVote, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ValidatorVote; + static deserializeBinaryFromReader(message: ValidatorVote, reader: jspb.BinaryReader): ValidatorVote; +} + +export namespace ValidatorVote { + export type AsObject = { + body?: ValidatorVoteBody.AsObject, + authSig?: penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb.SpendAuthSignature.AsObject, + } +} + +export class ValidatorVoteReason extends jspb.Message { + getReason(): string; + setReason(value: string): ValidatorVoteReason; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ValidatorVoteReason.AsObject; + static toObject(includeInstance: boolean, msg: ValidatorVoteReason): ValidatorVoteReason.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ValidatorVoteReason, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ValidatorVoteReason; + static deserializeBinaryFromReader(message: ValidatorVoteReason, reader: jspb.BinaryReader): ValidatorVoteReason; +} + +export namespace ValidatorVoteReason { + export type AsObject = { + reason: string, + } +} + +export class ValidatorVoteBody extends jspb.Message { + getProposal(): number; + setProposal(value: number): ValidatorVoteBody; + + hasVote(): boolean; + clearVote(): void; + getVote(): Vote | undefined; + setVote(value?: Vote): ValidatorVoteBody; + + hasIdentityKey(): boolean; + clearIdentityKey(): void; + getIdentityKey(): penumbra_core_keys_v1alpha1_keys_pb.IdentityKey | undefined; + setIdentityKey(value?: penumbra_core_keys_v1alpha1_keys_pb.IdentityKey): ValidatorVoteBody; + + hasGovernanceKey(): boolean; + clearGovernanceKey(): void; + getGovernanceKey(): penumbra_core_keys_v1alpha1_keys_pb.GovernanceKey | undefined; + setGovernanceKey(value?: penumbra_core_keys_v1alpha1_keys_pb.GovernanceKey): ValidatorVoteBody; + + hasReason(): boolean; + clearReason(): void; + getReason(): ValidatorVoteReason | undefined; + setReason(value?: ValidatorVoteReason): ValidatorVoteBody; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ValidatorVoteBody.AsObject; + static toObject(includeInstance: boolean, msg: ValidatorVoteBody): ValidatorVoteBody.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ValidatorVoteBody, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ValidatorVoteBody; + static deserializeBinaryFromReader(message: ValidatorVoteBody, reader: jspb.BinaryReader): ValidatorVoteBody; +} + +export namespace ValidatorVoteBody { + export type AsObject = { + proposal: number, + vote?: Vote.AsObject, + identityKey?: penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.AsObject, + governanceKey?: penumbra_core_keys_v1alpha1_keys_pb.GovernanceKey.AsObject, + reason?: ValidatorVoteReason.AsObject, + } +} + +export class DelegatorVote extends jspb.Message { + + hasBody(): boolean; + clearBody(): void; + getBody(): DelegatorVoteBody | undefined; + setBody(value?: DelegatorVoteBody): DelegatorVote; + + hasAuthSig(): boolean; + clearAuthSig(): void; + getAuthSig(): penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb.SpendAuthSignature | undefined; + setAuthSig(value?: penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb.SpendAuthSignature): DelegatorVote; + + hasProof(): boolean; + clearProof(): void; + getProof(): ZKDelegatorVoteProof | undefined; + setProof(value?: ZKDelegatorVoteProof): DelegatorVote; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): DelegatorVote.AsObject; + static toObject(includeInstance: boolean, msg: DelegatorVote): DelegatorVote.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: DelegatorVote, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): DelegatorVote; + static deserializeBinaryFromReader(message: DelegatorVote, reader: jspb.BinaryReader): DelegatorVote; +} + +export namespace DelegatorVote { + export type AsObject = { + body?: DelegatorVoteBody.AsObject, + authSig?: penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb.SpendAuthSignature.AsObject, + proof?: ZKDelegatorVoteProof.AsObject, + } +} + +export class DelegatorVoteBody extends jspb.Message { + getProposal(): number; + setProposal(value: number): DelegatorVoteBody; + getStartPosition(): number; + setStartPosition(value: number): DelegatorVoteBody; + + hasVote(): boolean; + clearVote(): void; + getVote(): Vote | undefined; + setVote(value?: Vote): DelegatorVoteBody; + + hasValue(): boolean; + clearValue(): void; + getValue(): penumbra_core_asset_v1alpha1_asset_pb.Value | undefined; + setValue(value?: penumbra_core_asset_v1alpha1_asset_pb.Value): DelegatorVoteBody; + + hasUnbondedAmount(): boolean; + clearUnbondedAmount(): void; + getUnbondedAmount(): penumbra_core_num_v1alpha1_num_pb.Amount | undefined; + setUnbondedAmount(value?: penumbra_core_num_v1alpha1_num_pb.Amount): DelegatorVoteBody; + getNullifier(): Uint8Array | string; + getNullifier_asU8(): Uint8Array; + getNullifier_asB64(): string; + setNullifier(value: Uint8Array | string): DelegatorVoteBody; + getRk(): Uint8Array | string; + getRk_asU8(): Uint8Array; + getRk_asB64(): string; + setRk(value: Uint8Array | string): DelegatorVoteBody; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): DelegatorVoteBody.AsObject; + static toObject(includeInstance: boolean, msg: DelegatorVoteBody): DelegatorVoteBody.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: DelegatorVoteBody, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): DelegatorVoteBody; + static deserializeBinaryFromReader(message: DelegatorVoteBody, reader: jspb.BinaryReader): DelegatorVoteBody; +} + +export namespace DelegatorVoteBody { + export type AsObject = { + proposal: number, + startPosition: number, + vote?: Vote.AsObject, + value?: penumbra_core_asset_v1alpha1_asset_pb.Value.AsObject, + unbondedAmount?: penumbra_core_num_v1alpha1_num_pb.Amount.AsObject, + nullifier: Uint8Array | string, + rk: Uint8Array | string, + } +} + +export class DelegatorVoteView extends jspb.Message { + + hasVisible(): boolean; + clearVisible(): void; + getVisible(): DelegatorVoteView.Visible | undefined; + setVisible(value?: DelegatorVoteView.Visible): DelegatorVoteView; + + hasOpaque(): boolean; + clearOpaque(): void; + getOpaque(): DelegatorVoteView.Opaque | undefined; + setOpaque(value?: DelegatorVoteView.Opaque): DelegatorVoteView; + + getDelegatorVoteCase(): DelegatorVoteView.DelegatorVoteCase; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): DelegatorVoteView.AsObject; + static toObject(includeInstance: boolean, msg: DelegatorVoteView): DelegatorVoteView.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: DelegatorVoteView, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): DelegatorVoteView; + static deserializeBinaryFromReader(message: DelegatorVoteView, reader: jspb.BinaryReader): DelegatorVoteView; +} + +export namespace DelegatorVoteView { + export type AsObject = { + visible?: DelegatorVoteView.Visible.AsObject, + opaque?: DelegatorVoteView.Opaque.AsObject, + } + + + export class Visible extends jspb.Message { + + hasDelegatorVote(): boolean; + clearDelegatorVote(): void; + getDelegatorVote(): DelegatorVote | undefined; + setDelegatorVote(value?: DelegatorVote): Visible; + + hasNote(): boolean; + clearNote(): void; + getNote(): penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.NoteView | undefined; + setNote(value?: penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.NoteView): Visible; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Visible.AsObject; + static toObject(includeInstance: boolean, msg: Visible): Visible.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Visible, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Visible; + static deserializeBinaryFromReader(message: Visible, reader: jspb.BinaryReader): Visible; + } + + export namespace Visible { + export type AsObject = { + delegatorVote?: DelegatorVote.AsObject, + note?: penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.NoteView.AsObject, + } + } + + export class Opaque extends jspb.Message { + + hasDelegatorVote(): boolean; + clearDelegatorVote(): void; + getDelegatorVote(): DelegatorVote | undefined; + setDelegatorVote(value?: DelegatorVote): Opaque; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Opaque.AsObject; + static toObject(includeInstance: boolean, msg: Opaque): Opaque.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Opaque, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Opaque; + static deserializeBinaryFromReader(message: Opaque, reader: jspb.BinaryReader): Opaque; + } + + export namespace Opaque { + export type AsObject = { + delegatorVote?: DelegatorVote.AsObject, + } + } + + + export enum DelegatorVoteCase { + DELEGATOR_VOTE_NOT_SET = 0, + VISIBLE = 1, + OPAQUE = 2, + } + +} + +export class DelegatorVotePlan extends jspb.Message { + getProposal(): number; + setProposal(value: number): DelegatorVotePlan; + getStartPosition(): number; + setStartPosition(value: number): DelegatorVotePlan; + + hasVote(): boolean; + clearVote(): void; + getVote(): Vote | undefined; + setVote(value?: Vote): DelegatorVotePlan; + + hasStakedNote(): boolean; + clearStakedNote(): void; + getStakedNote(): penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.Note | undefined; + setStakedNote(value?: penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.Note): DelegatorVotePlan; + getStakedNotePosition(): number; + setStakedNotePosition(value: number): DelegatorVotePlan; + + hasUnbondedAmount(): boolean; + clearUnbondedAmount(): void; + getUnbondedAmount(): penumbra_core_num_v1alpha1_num_pb.Amount | undefined; + setUnbondedAmount(value?: penumbra_core_num_v1alpha1_num_pb.Amount): DelegatorVotePlan; + getRandomizer(): Uint8Array | string; + getRandomizer_asU8(): Uint8Array; + getRandomizer_asB64(): string; + setRandomizer(value: Uint8Array | string): DelegatorVotePlan; + getProofBlindingR(): Uint8Array | string; + getProofBlindingR_asU8(): Uint8Array; + getProofBlindingR_asB64(): string; + setProofBlindingR(value: Uint8Array | string): DelegatorVotePlan; + getProofBlindingS(): Uint8Array | string; + getProofBlindingS_asU8(): Uint8Array; + getProofBlindingS_asB64(): string; + setProofBlindingS(value: Uint8Array | string): DelegatorVotePlan; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): DelegatorVotePlan.AsObject; + static toObject(includeInstance: boolean, msg: DelegatorVotePlan): DelegatorVotePlan.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: DelegatorVotePlan, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): DelegatorVotePlan; + static deserializeBinaryFromReader(message: DelegatorVotePlan, reader: jspb.BinaryReader): DelegatorVotePlan; +} + +export namespace DelegatorVotePlan { + export type AsObject = { + proposal: number, + startPosition: number, + vote?: Vote.AsObject, + stakedNote?: penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.Note.AsObject, + stakedNotePosition: number, + unbondedAmount?: penumbra_core_num_v1alpha1_num_pb.Amount.AsObject, + randomizer: Uint8Array | string, + proofBlindingR: Uint8Array | string, + proofBlindingS: Uint8Array | string, + } +} + +export class DaoDeposit extends jspb.Message { + + hasValue(): boolean; + clearValue(): void; + getValue(): penumbra_core_asset_v1alpha1_asset_pb.Value | undefined; + setValue(value?: penumbra_core_asset_v1alpha1_asset_pb.Value): DaoDeposit; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): DaoDeposit.AsObject; + static toObject(includeInstance: boolean, msg: DaoDeposit): DaoDeposit.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: DaoDeposit, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): DaoDeposit; + static deserializeBinaryFromReader(message: DaoDeposit, reader: jspb.BinaryReader): DaoDeposit; +} + +export namespace DaoDeposit { + export type AsObject = { + value?: penumbra_core_asset_v1alpha1_asset_pb.Value.AsObject, + } +} + +export class DaoSpend extends jspb.Message { + + hasValue(): boolean; + clearValue(): void; + getValue(): penumbra_core_asset_v1alpha1_asset_pb.Value | undefined; + setValue(value?: penumbra_core_asset_v1alpha1_asset_pb.Value): DaoSpend; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): DaoSpend.AsObject; + static toObject(includeInstance: boolean, msg: DaoSpend): DaoSpend.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: DaoSpend, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): DaoSpend; + static deserializeBinaryFromReader(message: DaoSpend, reader: jspb.BinaryReader): DaoSpend; +} + +export namespace DaoSpend { + export type AsObject = { + value?: penumbra_core_asset_v1alpha1_asset_pb.Value.AsObject, + } +} + +export class DaoOutput extends jspb.Message { + + hasValue(): boolean; + clearValue(): void; + getValue(): penumbra_core_asset_v1alpha1_asset_pb.Value | undefined; + setValue(value?: penumbra_core_asset_v1alpha1_asset_pb.Value): DaoOutput; + + hasAddress(): boolean; + clearAddress(): void; + getAddress(): penumbra_core_keys_v1alpha1_keys_pb.Address | undefined; + setAddress(value?: penumbra_core_keys_v1alpha1_keys_pb.Address): DaoOutput; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): DaoOutput.AsObject; + static toObject(includeInstance: boolean, msg: DaoOutput): DaoOutput.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: DaoOutput, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): DaoOutput; + static deserializeBinaryFromReader(message: DaoOutput, reader: jspb.BinaryReader): DaoOutput; +} + +export namespace DaoOutput { + export type AsObject = { + value?: penumbra_core_asset_v1alpha1_asset_pb.Value.AsObject, + address?: penumbra_core_keys_v1alpha1_keys_pb.Address.AsObject, + } +} + +export class Vote extends jspb.Message { + getVote(): Vote.Vote; + setVote(value: Vote.Vote): Vote; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Vote.AsObject; + static toObject(includeInstance: boolean, msg: Vote): Vote.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Vote, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Vote; + static deserializeBinaryFromReader(message: Vote, reader: jspb.BinaryReader): Vote; +} + +export namespace Vote { + export type AsObject = { + vote: Vote.Vote, + } + + export enum Vote { + VOTE_UNSPECIFIED = 0, + VOTE_ABSTAIN = 1, + VOTE_YES = 2, + VOTE_NO = 3, + } + +} + +export class ProposalState extends jspb.Message { + + hasVoting(): boolean; + clearVoting(): void; + getVoting(): ProposalState.Voting | undefined; + setVoting(value?: ProposalState.Voting): ProposalState; + + hasWithdrawn(): boolean; + clearWithdrawn(): void; + getWithdrawn(): ProposalState.Withdrawn | undefined; + setWithdrawn(value?: ProposalState.Withdrawn): ProposalState; + + hasFinished(): boolean; + clearFinished(): void; + getFinished(): ProposalState.Finished | undefined; + setFinished(value?: ProposalState.Finished): ProposalState; + + hasClaimed(): boolean; + clearClaimed(): void; + getClaimed(): ProposalState.Claimed | undefined; + setClaimed(value?: ProposalState.Claimed): ProposalState; + + getStateCase(): ProposalState.StateCase; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ProposalState.AsObject; + static toObject(includeInstance: boolean, msg: ProposalState): ProposalState.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ProposalState, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ProposalState; + static deserializeBinaryFromReader(message: ProposalState, reader: jspb.BinaryReader): ProposalState; +} + +export namespace ProposalState { + export type AsObject = { + voting?: ProposalState.Voting.AsObject, + withdrawn?: ProposalState.Withdrawn.AsObject, + finished?: ProposalState.Finished.AsObject, + claimed?: ProposalState.Claimed.AsObject, + } + + + export class Voting extends jspb.Message { + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Voting.AsObject; + static toObject(includeInstance: boolean, msg: Voting): Voting.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Voting, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Voting; + static deserializeBinaryFromReader(message: Voting, reader: jspb.BinaryReader): Voting; + } + + export namespace Voting { + export type AsObject = { + } + } + + export class Withdrawn extends jspb.Message { + getReason(): string; + setReason(value: string): Withdrawn; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Withdrawn.AsObject; + static toObject(includeInstance: boolean, msg: Withdrawn): Withdrawn.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Withdrawn, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Withdrawn; + static deserializeBinaryFromReader(message: Withdrawn, reader: jspb.BinaryReader): Withdrawn; + } + + export namespace Withdrawn { + export type AsObject = { + reason: string, + } + } + + export class Finished extends jspb.Message { + + hasOutcome(): boolean; + clearOutcome(): void; + getOutcome(): ProposalOutcome | undefined; + setOutcome(value?: ProposalOutcome): Finished; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Finished.AsObject; + static toObject(includeInstance: boolean, msg: Finished): Finished.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Finished, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Finished; + static deserializeBinaryFromReader(message: Finished, reader: jspb.BinaryReader): Finished; + } + + export namespace Finished { + export type AsObject = { + outcome?: ProposalOutcome.AsObject, + } + } + + export class Claimed extends jspb.Message { + + hasOutcome(): boolean; + clearOutcome(): void; + getOutcome(): ProposalOutcome | undefined; + setOutcome(value?: ProposalOutcome): Claimed; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Claimed.AsObject; + static toObject(includeInstance: boolean, msg: Claimed): Claimed.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Claimed, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Claimed; + static deserializeBinaryFromReader(message: Claimed, reader: jspb.BinaryReader): Claimed; + } + + export namespace Claimed { + export type AsObject = { + outcome?: ProposalOutcome.AsObject, + } + } + + + export enum StateCase { + STATE_NOT_SET = 0, + VOTING = 2, + WITHDRAWN = 3, + FINISHED = 4, + CLAIMED = 5, + } + +} + +export class ProposalOutcome extends jspb.Message { + + hasPassed(): boolean; + clearPassed(): void; + getPassed(): ProposalOutcome.Passed | undefined; + setPassed(value?: ProposalOutcome.Passed): ProposalOutcome; + + hasFailed(): boolean; + clearFailed(): void; + getFailed(): ProposalOutcome.Failed | undefined; + setFailed(value?: ProposalOutcome.Failed): ProposalOutcome; + + hasSlashed(): boolean; + clearSlashed(): void; + getSlashed(): ProposalOutcome.Slashed | undefined; + setSlashed(value?: ProposalOutcome.Slashed): ProposalOutcome; + + getOutcomeCase(): ProposalOutcome.OutcomeCase; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ProposalOutcome.AsObject; + static toObject(includeInstance: boolean, msg: ProposalOutcome): ProposalOutcome.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ProposalOutcome, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ProposalOutcome; + static deserializeBinaryFromReader(message: ProposalOutcome, reader: jspb.BinaryReader): ProposalOutcome; +} + +export namespace ProposalOutcome { + export type AsObject = { + passed?: ProposalOutcome.Passed.AsObject, + failed?: ProposalOutcome.Failed.AsObject, + slashed?: ProposalOutcome.Slashed.AsObject, + } + + + export class Withdrawn extends jspb.Message { + getReason(): string; + setReason(value: string): Withdrawn; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Withdrawn.AsObject; + static toObject(includeInstance: boolean, msg: Withdrawn): Withdrawn.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Withdrawn, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Withdrawn; + static deserializeBinaryFromReader(message: Withdrawn, reader: jspb.BinaryReader): Withdrawn; + } + + export namespace Withdrawn { + export type AsObject = { + reason: string, + } + } + + export class Passed extends jspb.Message { + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Passed.AsObject; + static toObject(includeInstance: boolean, msg: Passed): Passed.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Passed, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Passed; + static deserializeBinaryFromReader(message: Passed, reader: jspb.BinaryReader): Passed; + } + + export namespace Passed { + export type AsObject = { + } + } + + export class Failed extends jspb.Message { + + hasWithdrawn(): boolean; + clearWithdrawn(): void; + getWithdrawn(): ProposalOutcome.Withdrawn | undefined; + setWithdrawn(value?: ProposalOutcome.Withdrawn): Failed; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Failed.AsObject; + static toObject(includeInstance: boolean, msg: Failed): Failed.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Failed, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Failed; + static deserializeBinaryFromReader(message: Failed, reader: jspb.BinaryReader): Failed; + } + + export namespace Failed { + export type AsObject = { + withdrawn?: ProposalOutcome.Withdrawn.AsObject, + } + } + + export class Slashed extends jspb.Message { + + hasWithdrawn(): boolean; + clearWithdrawn(): void; + getWithdrawn(): ProposalOutcome.Withdrawn | undefined; + setWithdrawn(value?: ProposalOutcome.Withdrawn): Slashed; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Slashed.AsObject; + static toObject(includeInstance: boolean, msg: Slashed): Slashed.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Slashed, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Slashed; + static deserializeBinaryFromReader(message: Slashed, reader: jspb.BinaryReader): Slashed; + } + + export namespace Slashed { + export type AsObject = { + withdrawn?: ProposalOutcome.Withdrawn.AsObject, + } + } + + + export enum OutcomeCase { + OUTCOME_NOT_SET = 0, + PASSED = 1, + FAILED = 2, + SLASHED = 3, + } + +} + +export class Tally extends jspb.Message { + getYes(): number; + setYes(value: number): Tally; + getNo(): number; + setNo(value: number): Tally; + getAbstain(): number; + setAbstain(value: number): Tally; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Tally.AsObject; + static toObject(includeInstance: boolean, msg: Tally): Tally.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Tally, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Tally; + static deserializeBinaryFromReader(message: Tally, reader: jspb.BinaryReader): Tally; +} + +export namespace Tally { + export type AsObject = { + yes: number, + no: number, + abstain: number, + } +} + +export class Proposal extends jspb.Message { + getId(): number; + setId(value: number): Proposal; + getTitle(): string; + setTitle(value: string): Proposal; + getDescription(): string; + setDescription(value: string): Proposal; + + hasSignaling(): boolean; + clearSignaling(): void; + getSignaling(): Proposal.Signaling | undefined; + setSignaling(value?: Proposal.Signaling): Proposal; + + hasEmergency(): boolean; + clearEmergency(): void; + getEmergency(): Proposal.Emergency | undefined; + setEmergency(value?: Proposal.Emergency): Proposal; + + hasParameterChange(): boolean; + clearParameterChange(): void; + getParameterChange(): Proposal.ParameterChange | undefined; + setParameterChange(value?: Proposal.ParameterChange): Proposal; + + hasDaoSpend(): boolean; + clearDaoSpend(): void; + getDaoSpend(): Proposal.DaoSpend | undefined; + setDaoSpend(value?: Proposal.DaoSpend): Proposal; + + hasUpgradePlan(): boolean; + clearUpgradePlan(): void; + getUpgradePlan(): Proposal.UpgradePlan | undefined; + setUpgradePlan(value?: Proposal.UpgradePlan): Proposal; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Proposal.AsObject; + static toObject(includeInstance: boolean, msg: Proposal): Proposal.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Proposal, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Proposal; + static deserializeBinaryFromReader(message: Proposal, reader: jspb.BinaryReader): Proposal; +} + +export namespace Proposal { + export type AsObject = { + id: number, + title: string, + description: string, + signaling?: Proposal.Signaling.AsObject, + emergency?: Proposal.Emergency.AsObject, + parameterChange?: Proposal.ParameterChange.AsObject, + daoSpend?: Proposal.DaoSpend.AsObject, + upgradePlan?: Proposal.UpgradePlan.AsObject, + } + + + export class Signaling extends jspb.Message { + getCommit(): string; + setCommit(value: string): Signaling; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Signaling.AsObject; + static toObject(includeInstance: boolean, msg: Signaling): Signaling.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Signaling, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Signaling; + static deserializeBinaryFromReader(message: Signaling, reader: jspb.BinaryReader): Signaling; + } + + export namespace Signaling { + export type AsObject = { + commit: string, + } + } + + export class Emergency extends jspb.Message { + getHaltChain(): boolean; + setHaltChain(value: boolean): Emergency; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Emergency.AsObject; + static toObject(includeInstance: boolean, msg: Emergency): Emergency.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Emergency, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Emergency; + static deserializeBinaryFromReader(message: Emergency, reader: jspb.BinaryReader): Emergency; + } + + export namespace Emergency { + export type AsObject = { + haltChain: boolean, + } + } + + export class ParameterChange extends jspb.Message { + + hasOldParameters(): boolean; + clearOldParameters(): void; + getOldParameters(): ChangedAppParameters | undefined; + setOldParameters(value?: ChangedAppParameters): ParameterChange; + + hasNewParameters(): boolean; + clearNewParameters(): void; + getNewParameters(): ChangedAppParameters | undefined; + setNewParameters(value?: ChangedAppParameters): ParameterChange; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ParameterChange.AsObject; + static toObject(includeInstance: boolean, msg: ParameterChange): ParameterChange.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ParameterChange, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ParameterChange; + static deserializeBinaryFromReader(message: ParameterChange, reader: jspb.BinaryReader): ParameterChange; + } + + export namespace ParameterChange { + export type AsObject = { + oldParameters?: ChangedAppParameters.AsObject, + newParameters?: ChangedAppParameters.AsObject, + } + } + + export class DaoSpend extends jspb.Message { + + hasTransactionPlan(): boolean; + clearTransactionPlan(): void; + getTransactionPlan(): google_protobuf_any_pb.Any | undefined; + setTransactionPlan(value?: google_protobuf_any_pb.Any): DaoSpend; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): DaoSpend.AsObject; + static toObject(includeInstance: boolean, msg: DaoSpend): DaoSpend.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: DaoSpend, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): DaoSpend; + static deserializeBinaryFromReader(message: DaoSpend, reader: jspb.BinaryReader): DaoSpend; + } + + export namespace DaoSpend { + export type AsObject = { + transactionPlan?: google_protobuf_any_pb.Any.AsObject, + } + } + + export class UpgradePlan extends jspb.Message { + getHeight(): number; + setHeight(value: number): UpgradePlan; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): UpgradePlan.AsObject; + static toObject(includeInstance: boolean, msg: UpgradePlan): UpgradePlan.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: UpgradePlan, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): UpgradePlan; + static deserializeBinaryFromReader(message: UpgradePlan, reader: jspb.BinaryReader): UpgradePlan; + } + + export namespace UpgradePlan { + export type AsObject = { + height: number, + } + } + +} + +export class ProposalInfoRequest extends jspb.Message { + getChainId(): string; + setChainId(value: string): ProposalInfoRequest; + getProposalId(): number; + setProposalId(value: number): ProposalInfoRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ProposalInfoRequest.AsObject; + static toObject(includeInstance: boolean, msg: ProposalInfoRequest): ProposalInfoRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ProposalInfoRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ProposalInfoRequest; + static deserializeBinaryFromReader(message: ProposalInfoRequest, reader: jspb.BinaryReader): ProposalInfoRequest; +} + +export namespace ProposalInfoRequest { + export type AsObject = { + chainId: string, + proposalId: number, + } +} + +export class ProposalInfoResponse extends jspb.Message { + getStartBlockHeight(): number; + setStartBlockHeight(value: number): ProposalInfoResponse; + getStartPosition(): number; + setStartPosition(value: number): ProposalInfoResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ProposalInfoResponse.AsObject; + static toObject(includeInstance: boolean, msg: ProposalInfoResponse): ProposalInfoResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ProposalInfoResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ProposalInfoResponse; + static deserializeBinaryFromReader(message: ProposalInfoResponse, reader: jspb.BinaryReader): ProposalInfoResponse; +} + +export namespace ProposalInfoResponse { + export type AsObject = { + startBlockHeight: number, + startPosition: number, + } +} + +export class ProposalRateDataRequest extends jspb.Message { + getChainId(): string; + setChainId(value: string): ProposalRateDataRequest; + getProposalId(): number; + setProposalId(value: number): ProposalRateDataRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ProposalRateDataRequest.AsObject; + static toObject(includeInstance: boolean, msg: ProposalRateDataRequest): ProposalRateDataRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ProposalRateDataRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ProposalRateDataRequest; + static deserializeBinaryFromReader(message: ProposalRateDataRequest, reader: jspb.BinaryReader): ProposalRateDataRequest; +} + +export namespace ProposalRateDataRequest { + export type AsObject = { + chainId: string, + proposalId: number, + } +} + +export class ProposalRateDataResponse extends jspb.Message { + + hasRateData(): boolean; + clearRateData(): void; + getRateData(): penumbra_core_component_stake_v1alpha1_stake_pb.RateData | undefined; + setRateData(value?: penumbra_core_component_stake_v1alpha1_stake_pb.RateData): ProposalRateDataResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ProposalRateDataResponse.AsObject; + static toObject(includeInstance: boolean, msg: ProposalRateDataResponse): ProposalRateDataResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ProposalRateDataResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ProposalRateDataResponse; + static deserializeBinaryFromReader(message: ProposalRateDataResponse, reader: jspb.BinaryReader): ProposalRateDataResponse; +} + +export namespace ProposalRateDataResponse { + export type AsObject = { + rateData?: penumbra_core_component_stake_v1alpha1_stake_pb.RateData.AsObject, + } +} + +export class GovernanceParameters extends jspb.Message { + getProposalVotingBlocks(): number; + setProposalVotingBlocks(value: number): GovernanceParameters; + + hasProposalDepositAmount(): boolean; + clearProposalDepositAmount(): void; + getProposalDepositAmount(): penumbra_core_num_v1alpha1_num_pb.Amount | undefined; + setProposalDepositAmount(value?: penumbra_core_num_v1alpha1_num_pb.Amount): GovernanceParameters; + getProposalValidQuorum(): string; + setProposalValidQuorum(value: string): GovernanceParameters; + getProposalPassThreshold(): string; + setProposalPassThreshold(value: string): GovernanceParameters; + getProposalSlashThreshold(): string; + setProposalSlashThreshold(value: string): GovernanceParameters; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GovernanceParameters.AsObject; + static toObject(includeInstance: boolean, msg: GovernanceParameters): GovernanceParameters.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: GovernanceParameters, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GovernanceParameters; + static deserializeBinaryFromReader(message: GovernanceParameters, reader: jspb.BinaryReader): GovernanceParameters; +} + +export namespace GovernanceParameters { + export type AsObject = { + proposalVotingBlocks: number, + proposalDepositAmount?: penumbra_core_num_v1alpha1_num_pb.Amount.AsObject, + proposalValidQuorum: string, + proposalPassThreshold: string, + proposalSlashThreshold: string, + } +} + +export class GenesisContent extends jspb.Message { + + hasGovernanceParams(): boolean; + clearGovernanceParams(): void; + getGovernanceParams(): GovernanceParameters | undefined; + setGovernanceParams(value?: GovernanceParameters): GenesisContent; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GenesisContent.AsObject; + static toObject(includeInstance: boolean, msg: GenesisContent): GenesisContent.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: GenesisContent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GenesisContent; + static deserializeBinaryFromReader(message: GenesisContent, reader: jspb.BinaryReader): GenesisContent; +} + +export namespace GenesisContent { + export type AsObject = { + governanceParams?: GovernanceParameters.AsObject, + } +} + +export class ChangedAppParameters extends jspb.Message { + + hasChainParams(): boolean; + clearChainParams(): void; + getChainParams(): penumbra_core_component_chain_v1alpha1_chain_pb.ChainParameters | undefined; + setChainParams(value?: penumbra_core_component_chain_v1alpha1_chain_pb.ChainParameters): ChangedAppParameters; + + hasDaoParams(): boolean; + clearDaoParams(): void; + getDaoParams(): penumbra_core_component_dao_v1alpha1_dao_pb.DaoParameters | undefined; + setDaoParams(value?: penumbra_core_component_dao_v1alpha1_dao_pb.DaoParameters): ChangedAppParameters; + + hasGovernanceParams(): boolean; + clearGovernanceParams(): void; + getGovernanceParams(): GovernanceParameters | undefined; + setGovernanceParams(value?: GovernanceParameters): ChangedAppParameters; + + hasIbcParams(): boolean; + clearIbcParams(): void; + getIbcParams(): penumbra_core_component_ibc_v1alpha1_ibc_pb.IbcParameters | undefined; + setIbcParams(value?: penumbra_core_component_ibc_v1alpha1_ibc_pb.IbcParameters): ChangedAppParameters; + + hasStakeParams(): boolean; + clearStakeParams(): void; + getStakeParams(): penumbra_core_component_stake_v1alpha1_stake_pb.StakeParameters | undefined; + setStakeParams(value?: penumbra_core_component_stake_v1alpha1_stake_pb.StakeParameters): ChangedAppParameters; + + hasFeeParams(): boolean; + clearFeeParams(): void; + getFeeParams(): penumbra_core_component_fee_v1alpha1_fee_pb.FeeParameters | undefined; + setFeeParams(value?: penumbra_core_component_fee_v1alpha1_fee_pb.FeeParameters): ChangedAppParameters; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ChangedAppParameters.AsObject; + static toObject(includeInstance: boolean, msg: ChangedAppParameters): ChangedAppParameters.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ChangedAppParameters, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ChangedAppParameters; + static deserializeBinaryFromReader(message: ChangedAppParameters, reader: jspb.BinaryReader): ChangedAppParameters; +} + +export namespace ChangedAppParameters { + export type AsObject = { + chainParams?: penumbra_core_component_chain_v1alpha1_chain_pb.ChainParameters.AsObject, + daoParams?: penumbra_core_component_dao_v1alpha1_dao_pb.DaoParameters.AsObject, + governanceParams?: GovernanceParameters.AsObject, + ibcParams?: penumbra_core_component_ibc_v1alpha1_ibc_pb.IbcParameters.AsObject, + stakeParams?: penumbra_core_component_stake_v1alpha1_stake_pb.StakeParameters.AsObject, + feeParams?: penumbra_core_component_fee_v1alpha1_fee_pb.FeeParameters.AsObject, + } +} + +export class ChangedAppParametersSet extends jspb.Message { + + hasOld(): boolean; + clearOld(): void; + getOld(): ChangedAppParameters | undefined; + setOld(value?: ChangedAppParameters): ChangedAppParametersSet; + + hasNew(): boolean; + clearNew(): void; + getNew(): ChangedAppParameters | undefined; + setNew(value?: ChangedAppParameters): ChangedAppParametersSet; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ChangedAppParametersSet.AsObject; + static toObject(includeInstance: boolean, msg: ChangedAppParametersSet): ChangedAppParametersSet.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ChangedAppParametersSet, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ChangedAppParametersSet; + static deserializeBinaryFromReader(message: ChangedAppParametersSet, reader: jspb.BinaryReader): ChangedAppParametersSet; +} + +export namespace ChangedAppParametersSet { + export type AsObject = { + old?: ChangedAppParameters.AsObject, + pb_new?: ChangedAppParameters.AsObject, + } +} diff --git a/src/chains/penumbra/generated/penumbra/core/component/governance/v1alpha1/governance_pb.js b/src/chains/penumbra/generated/penumbra/core/component/governance/v1alpha1/governance_pb.js new file mode 100644 index 0000000000..f97a658d96 --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/component/governance/v1alpha1/governance_pb.js @@ -0,0 +1,9509 @@ +// source: penumbra/core/component/governance/v1alpha1/governance.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = (function() { + if (this) { return this; } + if (typeof window !== 'undefined') { return window; } + if (typeof global !== 'undefined') { return global; } + if (typeof self !== 'undefined') { return self; } + return Function('return this')(); +}.call(null)); + +var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js'); +goog.object.extend(proto, google_protobuf_any_pb); +var penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb = require('../../../../../penumbra/crypto/decaf377_rdsa/v1alpha1/decaf377_rdsa_pb.js'); +goog.object.extend(proto, penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb); +var penumbra_core_num_v1alpha1_num_pb = require('../../../../../penumbra/core/num/v1alpha1/num_pb.js'); +goog.object.extend(proto, penumbra_core_num_v1alpha1_num_pb); +var penumbra_core_asset_v1alpha1_asset_pb = require('../../../../../penumbra/core/asset/v1alpha1/asset_pb.js'); +goog.object.extend(proto, penumbra_core_asset_v1alpha1_asset_pb); +var penumbra_core_keys_v1alpha1_keys_pb = require('../../../../../penumbra/core/keys/v1alpha1/keys_pb.js'); +goog.object.extend(proto, penumbra_core_keys_v1alpha1_keys_pb); +var penumbra_core_component_chain_v1alpha1_chain_pb = require('../../../../../penumbra/core/component/chain/v1alpha1/chain_pb.js'); +goog.object.extend(proto, penumbra_core_component_chain_v1alpha1_chain_pb); +var penumbra_core_component_fee_v1alpha1_fee_pb = require('../../../../../penumbra/core/component/fee/v1alpha1/fee_pb.js'); +goog.object.extend(proto, penumbra_core_component_fee_v1alpha1_fee_pb); +var penumbra_core_component_dao_v1alpha1_dao_pb = require('../../../../../penumbra/core/component/dao/v1alpha1/dao_pb.js'); +goog.object.extend(proto, penumbra_core_component_dao_v1alpha1_dao_pb); +var penumbra_core_component_ibc_v1alpha1_ibc_pb = require('../../../../../penumbra/core/component/ibc/v1alpha1/ibc_pb.js'); +goog.object.extend(proto, penumbra_core_component_ibc_v1alpha1_ibc_pb); +var penumbra_core_component_stake_v1alpha1_stake_pb = require('../../../../../penumbra/core/component/stake/v1alpha1/stake_pb.js'); +goog.object.extend(proto, penumbra_core_component_stake_v1alpha1_stake_pb); +var penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb = require('../../../../../penumbra/core/component/shielded_pool/v1alpha1/shielded_pool_pb.js'); +goog.object.extend(proto, penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb); +goog.exportSymbol('proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters', null, global); +goog.exportSymbol('proto.penumbra.core.component.governance.v1alpha1.ChangedAppParametersSet', null, global); +goog.exportSymbol('proto.penumbra.core.component.governance.v1alpha1.DaoDeposit', null, global); +goog.exportSymbol('proto.penumbra.core.component.governance.v1alpha1.DaoOutput', null, global); +goog.exportSymbol('proto.penumbra.core.component.governance.v1alpha1.DaoSpend', null, global); +goog.exportSymbol('proto.penumbra.core.component.governance.v1alpha1.DelegatorVote', null, global); +goog.exportSymbol('proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody', null, global); +goog.exportSymbol('proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan', null, global); +goog.exportSymbol('proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView', null, global); +goog.exportSymbol('proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.DelegatorVoteCase', null, global); +goog.exportSymbol('proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Opaque', null, global); +goog.exportSymbol('proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Visible', null, global); +goog.exportSymbol('proto.penumbra.core.component.governance.v1alpha1.GenesisContent', null, global); +goog.exportSymbol('proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters', null, global); +goog.exportSymbol('proto.penumbra.core.component.governance.v1alpha1.Proposal', null, global); +goog.exportSymbol('proto.penumbra.core.component.governance.v1alpha1.Proposal.DaoSpend', null, global); +goog.exportSymbol('proto.penumbra.core.component.governance.v1alpha1.Proposal.Emergency', null, global); +goog.exportSymbol('proto.penumbra.core.component.governance.v1alpha1.Proposal.ParameterChange', null, global); +goog.exportSymbol('proto.penumbra.core.component.governance.v1alpha1.Proposal.Signaling', null, global); +goog.exportSymbol('proto.penumbra.core.component.governance.v1alpha1.Proposal.UpgradePlan', null, global); +goog.exportSymbol('proto.penumbra.core.component.governance.v1alpha1.ProposalDepositClaim', null, global); +goog.exportSymbol('proto.penumbra.core.component.governance.v1alpha1.ProposalInfoRequest', null, global); +goog.exportSymbol('proto.penumbra.core.component.governance.v1alpha1.ProposalInfoResponse', null, global); +goog.exportSymbol('proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome', null, global); +goog.exportSymbol('proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Failed', null, global); +goog.exportSymbol('proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.OutcomeCase', null, global); +goog.exportSymbol('proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Passed', null, global); +goog.exportSymbol('proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Slashed', null, global); +goog.exportSymbol('proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Withdrawn', null, global); +goog.exportSymbol('proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataRequest', null, global); +goog.exportSymbol('proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataResponse', null, global); +goog.exportSymbol('proto.penumbra.core.component.governance.v1alpha1.ProposalState', null, global); +goog.exportSymbol('proto.penumbra.core.component.governance.v1alpha1.ProposalState.Claimed', null, global); +goog.exportSymbol('proto.penumbra.core.component.governance.v1alpha1.ProposalState.Finished', null, global); +goog.exportSymbol('proto.penumbra.core.component.governance.v1alpha1.ProposalState.StateCase', null, global); +goog.exportSymbol('proto.penumbra.core.component.governance.v1alpha1.ProposalState.Voting', null, global); +goog.exportSymbol('proto.penumbra.core.component.governance.v1alpha1.ProposalState.Withdrawn', null, global); +goog.exportSymbol('proto.penumbra.core.component.governance.v1alpha1.ProposalSubmit', null, global); +goog.exportSymbol('proto.penumbra.core.component.governance.v1alpha1.ProposalWithdraw', null, global); +goog.exportSymbol('proto.penumbra.core.component.governance.v1alpha1.Tally', null, global); +goog.exportSymbol('proto.penumbra.core.component.governance.v1alpha1.ValidatorVote', null, global); +goog.exportSymbol('proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody', null, global); +goog.exportSymbol('proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteReason', null, global); +goog.exportSymbol('proto.penumbra.core.component.governance.v1alpha1.Vote', null, global); +goog.exportSymbol('proto.penumbra.core.component.governance.v1alpha1.Vote.Vote', null, global); +goog.exportSymbol('proto.penumbra.core.component.governance.v1alpha1.ZKDelegatorVoteProof', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.governance.v1alpha1.ZKDelegatorVoteProof = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.governance.v1alpha1.ZKDelegatorVoteProof, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.governance.v1alpha1.ZKDelegatorVoteProof.displayName = 'proto.penumbra.core.component.governance.v1alpha1.ZKDelegatorVoteProof'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalSubmit = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.governance.v1alpha1.ProposalSubmit, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.governance.v1alpha1.ProposalSubmit.displayName = 'proto.penumbra.core.component.governance.v1alpha1.ProposalSubmit'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalWithdraw = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.governance.v1alpha1.ProposalWithdraw, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.governance.v1alpha1.ProposalWithdraw.displayName = 'proto.penumbra.core.component.governance.v1alpha1.ProposalWithdraw'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalDepositClaim = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.governance.v1alpha1.ProposalDepositClaim, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.governance.v1alpha1.ProposalDepositClaim.displayName = 'proto.penumbra.core.component.governance.v1alpha1.ProposalDepositClaim'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.governance.v1alpha1.ValidatorVote = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.governance.v1alpha1.ValidatorVote, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.governance.v1alpha1.ValidatorVote.displayName = 'proto.penumbra.core.component.governance.v1alpha1.ValidatorVote'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteReason = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteReason, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteReason.displayName = 'proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteReason'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody.displayName = 'proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVote = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.governance.v1alpha1.DelegatorVote, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.governance.v1alpha1.DelegatorVote.displayName = 'proto.penumbra.core.component.governance.v1alpha1.DelegatorVote'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody.displayName = 'proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.oneofGroups_); +}; +goog.inherits(proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.displayName = 'proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Visible = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Visible, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Visible.displayName = 'proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Visible'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Opaque = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Opaque, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Opaque.displayName = 'proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Opaque'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan.displayName = 'proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.governance.v1alpha1.DaoDeposit = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.governance.v1alpha1.DaoDeposit, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.governance.v1alpha1.DaoDeposit.displayName = 'proto.penumbra.core.component.governance.v1alpha1.DaoDeposit'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.governance.v1alpha1.DaoSpend = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.governance.v1alpha1.DaoSpend, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.governance.v1alpha1.DaoSpend.displayName = 'proto.penumbra.core.component.governance.v1alpha1.DaoSpend'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.governance.v1alpha1.DaoOutput = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.governance.v1alpha1.DaoOutput, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.governance.v1alpha1.DaoOutput.displayName = 'proto.penumbra.core.component.governance.v1alpha1.DaoOutput'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.governance.v1alpha1.Vote = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.governance.v1alpha1.Vote, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.governance.v1alpha1.Vote.displayName = 'proto.penumbra.core.component.governance.v1alpha1.Vote'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.penumbra.core.component.governance.v1alpha1.ProposalState.oneofGroups_); +}; +goog.inherits(proto.penumbra.core.component.governance.v1alpha1.ProposalState, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.governance.v1alpha1.ProposalState.displayName = 'proto.penumbra.core.component.governance.v1alpha1.ProposalState'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.Voting = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.governance.v1alpha1.ProposalState.Voting, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.governance.v1alpha1.ProposalState.Voting.displayName = 'proto.penumbra.core.component.governance.v1alpha1.ProposalState.Voting'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.Withdrawn = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.governance.v1alpha1.ProposalState.Withdrawn, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.governance.v1alpha1.ProposalState.Withdrawn.displayName = 'proto.penumbra.core.component.governance.v1alpha1.ProposalState.Withdrawn'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.Finished = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.governance.v1alpha1.ProposalState.Finished, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.governance.v1alpha1.ProposalState.Finished.displayName = 'proto.penumbra.core.component.governance.v1alpha1.ProposalState.Finished'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.Claimed = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.governance.v1alpha1.ProposalState.Claimed, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.governance.v1alpha1.ProposalState.Claimed.displayName = 'proto.penumbra.core.component.governance.v1alpha1.ProposalState.Claimed'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.oneofGroups_); +}; +goog.inherits(proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.displayName = 'proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Withdrawn = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Withdrawn, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Withdrawn.displayName = 'proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Withdrawn'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Passed = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Passed, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Passed.displayName = 'proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Passed'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Failed = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Failed, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Failed.displayName = 'proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Failed'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Slashed = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Slashed, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Slashed.displayName = 'proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Slashed'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.governance.v1alpha1.Tally = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.governance.v1alpha1.Tally, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.governance.v1alpha1.Tally.displayName = 'proto.penumbra.core.component.governance.v1alpha1.Tally'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.governance.v1alpha1.Proposal, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.governance.v1alpha1.Proposal.displayName = 'proto.penumbra.core.component.governance.v1alpha1.Proposal'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.Signaling = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.governance.v1alpha1.Proposal.Signaling, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.governance.v1alpha1.Proposal.Signaling.displayName = 'proto.penumbra.core.component.governance.v1alpha1.Proposal.Signaling'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.Emergency = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.governance.v1alpha1.Proposal.Emergency, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.governance.v1alpha1.Proposal.Emergency.displayName = 'proto.penumbra.core.component.governance.v1alpha1.Proposal.Emergency'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.ParameterChange = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.governance.v1alpha1.Proposal.ParameterChange, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.governance.v1alpha1.Proposal.ParameterChange.displayName = 'proto.penumbra.core.component.governance.v1alpha1.Proposal.ParameterChange'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.DaoSpend = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.governance.v1alpha1.Proposal.DaoSpend, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.governance.v1alpha1.Proposal.DaoSpend.displayName = 'proto.penumbra.core.component.governance.v1alpha1.Proposal.DaoSpend'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.UpgradePlan = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.governance.v1alpha1.Proposal.UpgradePlan, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.governance.v1alpha1.Proposal.UpgradePlan.displayName = 'proto.penumbra.core.component.governance.v1alpha1.Proposal.UpgradePlan'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalInfoRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.governance.v1alpha1.ProposalInfoRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.governance.v1alpha1.ProposalInfoRequest.displayName = 'proto.penumbra.core.component.governance.v1alpha1.ProposalInfoRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalInfoResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.governance.v1alpha1.ProposalInfoResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.governance.v1alpha1.ProposalInfoResponse.displayName = 'proto.penumbra.core.component.governance.v1alpha1.ProposalInfoResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataRequest.displayName = 'proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataResponse.displayName = 'proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters.displayName = 'proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.governance.v1alpha1.GenesisContent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.governance.v1alpha1.GenesisContent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.governance.v1alpha1.GenesisContent.displayName = 'proto.penumbra.core.component.governance.v1alpha1.GenesisContent'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters.displayName = 'proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.governance.v1alpha1.ChangedAppParametersSet = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.governance.v1alpha1.ChangedAppParametersSet, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.governance.v1alpha1.ChangedAppParametersSet.displayName = 'proto.penumbra.core.component.governance.v1alpha1.ChangedAppParametersSet'; +} + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.governance.v1alpha1.ZKDelegatorVoteProof.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.governance.v1alpha1.ZKDelegatorVoteProof.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.governance.v1alpha1.ZKDelegatorVoteProof} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.ZKDelegatorVoteProof.toObject = function(includeInstance, msg) { + var f, obj = { + inner: msg.getInner_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ZKDelegatorVoteProof} + */ +proto.penumbra.core.component.governance.v1alpha1.ZKDelegatorVoteProof.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.governance.v1alpha1.ZKDelegatorVoteProof; + return proto.penumbra.core.component.governance.v1alpha1.ZKDelegatorVoteProof.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.governance.v1alpha1.ZKDelegatorVoteProof} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ZKDelegatorVoteProof} + */ +proto.penumbra.core.component.governance.v1alpha1.ZKDelegatorVoteProof.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setInner(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.governance.v1alpha1.ZKDelegatorVoteProof.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.governance.v1alpha1.ZKDelegatorVoteProof.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.governance.v1alpha1.ZKDelegatorVoteProof} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.ZKDelegatorVoteProof.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInner_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } +}; + + +/** + * optional bytes inner = 1; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.component.governance.v1alpha1.ZKDelegatorVoteProof.prototype.getInner = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes inner = 1; + * This is a type-conversion wrapper around `getInner()` + * @return {string} + */ +proto.penumbra.core.component.governance.v1alpha1.ZKDelegatorVoteProof.prototype.getInner_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getInner())); +}; + + +/** + * optional bytes inner = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getInner()` + * @return {!Uint8Array} + */ +proto.penumbra.core.component.governance.v1alpha1.ZKDelegatorVoteProof.prototype.getInner_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getInner())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.ZKDelegatorVoteProof} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.ZKDelegatorVoteProof.prototype.setInner = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalSubmit.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.governance.v1alpha1.ProposalSubmit.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalSubmit} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalSubmit.toObject = function(includeInstance, msg) { + var f, obj = { + proposal: (f = msg.getProposal()) && proto.penumbra.core.component.governance.v1alpha1.Proposal.toObject(includeInstance, f), + depositAmount: (f = msg.getDepositAmount()) && penumbra_core_num_v1alpha1_num_pb.Amount.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalSubmit} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalSubmit.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.governance.v1alpha1.ProposalSubmit; + return proto.penumbra.core.component.governance.v1alpha1.ProposalSubmit.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalSubmit} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalSubmit} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalSubmit.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.governance.v1alpha1.Proposal; + reader.readMessage(value,proto.penumbra.core.component.governance.v1alpha1.Proposal.deserializeBinaryFromReader); + msg.setProposal(value); + break; + case 3: + var value = new penumbra_core_num_v1alpha1_num_pb.Amount; + reader.readMessage(value,penumbra_core_num_v1alpha1_num_pb.Amount.deserializeBinaryFromReader); + msg.setDepositAmount(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalSubmit.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.governance.v1alpha1.ProposalSubmit.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalSubmit} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalSubmit.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getProposal(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.governance.v1alpha1.Proposal.serializeBinaryToWriter + ); + } + f = message.getDepositAmount(); + if (f != null) { + writer.writeMessage( + 3, + f, + penumbra_core_num_v1alpha1_num_pb.Amount.serializeBinaryToWriter + ); + } +}; + + +/** + * optional Proposal proposal = 1; + * @return {?proto.penumbra.core.component.governance.v1alpha1.Proposal} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalSubmit.prototype.getProposal = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.Proposal} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.governance.v1alpha1.Proposal, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.Proposal|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalSubmit} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.ProposalSubmit.prototype.setProposal = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalSubmit} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalSubmit.prototype.clearProposal = function() { + return this.setProposal(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalSubmit.prototype.hasProposal = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional penumbra.core.num.v1alpha1.Amount deposit_amount = 3; + * @return {?proto.penumbra.core.num.v1alpha1.Amount} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalSubmit.prototype.getDepositAmount = function() { + return /** @type{?proto.penumbra.core.num.v1alpha1.Amount} */ ( + jspb.Message.getWrapperField(this, penumbra_core_num_v1alpha1_num_pb.Amount, 3)); +}; + + +/** + * @param {?proto.penumbra.core.num.v1alpha1.Amount|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalSubmit} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.ProposalSubmit.prototype.setDepositAmount = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalSubmit} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalSubmit.prototype.clearDepositAmount = function() { + return this.setDepositAmount(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalSubmit.prototype.hasDepositAmount = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalWithdraw.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.governance.v1alpha1.ProposalWithdraw.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalWithdraw} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalWithdraw.toObject = function(includeInstance, msg) { + var f, obj = { + proposal: jspb.Message.getFieldWithDefault(msg, 1, 0), + reason: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalWithdraw} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalWithdraw.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.governance.v1alpha1.ProposalWithdraw; + return proto.penumbra.core.component.governance.v1alpha1.ProposalWithdraw.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalWithdraw} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalWithdraw} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalWithdraw.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setProposal(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setReason(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalWithdraw.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.governance.v1alpha1.ProposalWithdraw.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalWithdraw} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalWithdraw.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getProposal(); + if (f !== 0) { + writer.writeUint64( + 1, + f + ); + } + f = message.getReason(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional uint64 proposal = 1; + * @return {number} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalWithdraw.prototype.getProposal = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalWithdraw} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalWithdraw.prototype.setProposal = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional string reason = 2; + * @return {string} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalWithdraw.prototype.getReason = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalWithdraw} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalWithdraw.prototype.setReason = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalDepositClaim.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.governance.v1alpha1.ProposalDepositClaim.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalDepositClaim} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalDepositClaim.toObject = function(includeInstance, msg) { + var f, obj = { + proposal: jspb.Message.getFieldWithDefault(msg, 1, 0), + depositAmount: (f = msg.getDepositAmount()) && penumbra_core_num_v1alpha1_num_pb.Amount.toObject(includeInstance, f), + outcome: (f = msg.getOutcome()) && proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalDepositClaim} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalDepositClaim.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.governance.v1alpha1.ProposalDepositClaim; + return proto.penumbra.core.component.governance.v1alpha1.ProposalDepositClaim.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalDepositClaim} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalDepositClaim} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalDepositClaim.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setProposal(value); + break; + case 2: + var value = new penumbra_core_num_v1alpha1_num_pb.Amount; + reader.readMessage(value,penumbra_core_num_v1alpha1_num_pb.Amount.deserializeBinaryFromReader); + msg.setDepositAmount(value); + break; + case 3: + var value = new proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome; + reader.readMessage(value,proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.deserializeBinaryFromReader); + msg.setOutcome(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalDepositClaim.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.governance.v1alpha1.ProposalDepositClaim.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalDepositClaim} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalDepositClaim.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getProposal(); + if (f !== 0) { + writer.writeUint64( + 1, + f + ); + } + f = message.getDepositAmount(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_num_v1alpha1_num_pb.Amount.serializeBinaryToWriter + ); + } + f = message.getOutcome(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.serializeBinaryToWriter + ); + } +}; + + +/** + * optional uint64 proposal = 1; + * @return {number} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalDepositClaim.prototype.getProposal = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalDepositClaim} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalDepositClaim.prototype.setProposal = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional penumbra.core.num.v1alpha1.Amount deposit_amount = 2; + * @return {?proto.penumbra.core.num.v1alpha1.Amount} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalDepositClaim.prototype.getDepositAmount = function() { + return /** @type{?proto.penumbra.core.num.v1alpha1.Amount} */ ( + jspb.Message.getWrapperField(this, penumbra_core_num_v1alpha1_num_pb.Amount, 2)); +}; + + +/** + * @param {?proto.penumbra.core.num.v1alpha1.Amount|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalDepositClaim} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.ProposalDepositClaim.prototype.setDepositAmount = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalDepositClaim} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalDepositClaim.prototype.clearDepositAmount = function() { + return this.setDepositAmount(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalDepositClaim.prototype.hasDepositAmount = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional ProposalOutcome outcome = 3; + * @return {?proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalDepositClaim.prototype.getOutcome = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome, 3)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalDepositClaim} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.ProposalDepositClaim.prototype.setOutcome = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalDepositClaim} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalDepositClaim.prototype.clearOutcome = function() { + return this.setOutcome(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalDepositClaim.prototype.hasOutcome = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.governance.v1alpha1.ValidatorVote.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.governance.v1alpha1.ValidatorVote.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.governance.v1alpha1.ValidatorVote} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.ValidatorVote.toObject = function(includeInstance, msg) { + var f, obj = { + body: (f = msg.getBody()) && proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody.toObject(includeInstance, f), + authSig: (f = msg.getAuthSig()) && penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb.SpendAuthSignature.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ValidatorVote} + */ +proto.penumbra.core.component.governance.v1alpha1.ValidatorVote.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.governance.v1alpha1.ValidatorVote; + return proto.penumbra.core.component.governance.v1alpha1.ValidatorVote.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.governance.v1alpha1.ValidatorVote} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ValidatorVote} + */ +proto.penumbra.core.component.governance.v1alpha1.ValidatorVote.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody; + reader.readMessage(value,proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody.deserializeBinaryFromReader); + msg.setBody(value); + break; + case 2: + var value = new penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb.SpendAuthSignature; + reader.readMessage(value,penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb.SpendAuthSignature.deserializeBinaryFromReader); + msg.setAuthSig(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.governance.v1alpha1.ValidatorVote.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.governance.v1alpha1.ValidatorVote.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.governance.v1alpha1.ValidatorVote} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.ValidatorVote.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getBody(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody.serializeBinaryToWriter + ); + } + f = message.getAuthSig(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb.SpendAuthSignature.serializeBinaryToWriter + ); + } +}; + + +/** + * optional ValidatorVoteBody body = 1; + * @return {?proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody} + */ +proto.penumbra.core.component.governance.v1alpha1.ValidatorVote.prototype.getBody = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.ValidatorVote} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.ValidatorVote.prototype.setBody = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ValidatorVote} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.ValidatorVote.prototype.clearBody = function() { + return this.setBody(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.ValidatorVote.prototype.hasBody = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional penumbra.crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature auth_sig = 2; + * @return {?proto.penumbra.crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature} + */ +proto.penumbra.core.component.governance.v1alpha1.ValidatorVote.prototype.getAuthSig = function() { + return /** @type{?proto.penumbra.crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature} */ ( + jspb.Message.getWrapperField(this, penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb.SpendAuthSignature, 2)); +}; + + +/** + * @param {?proto.penumbra.crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.ValidatorVote} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.ValidatorVote.prototype.setAuthSig = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ValidatorVote} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.ValidatorVote.prototype.clearAuthSig = function() { + return this.setAuthSig(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.ValidatorVote.prototype.hasAuthSig = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteReason.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteReason.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteReason} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteReason.toObject = function(includeInstance, msg) { + var f, obj = { + reason: jspb.Message.getFieldWithDefault(msg, 1, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteReason} + */ +proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteReason.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteReason; + return proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteReason.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteReason} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteReason} + */ +proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteReason.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setReason(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteReason.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteReason.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteReason} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteReason.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getReason(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } +}; + + +/** + * optional string reason = 1; + * @return {string} + */ +proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteReason.prototype.getReason = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteReason} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteReason.prototype.setReason = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody.toObject = function(includeInstance, msg) { + var f, obj = { + proposal: jspb.Message.getFieldWithDefault(msg, 1, 0), + vote: (f = msg.getVote()) && proto.penumbra.core.component.governance.v1alpha1.Vote.toObject(includeInstance, f), + identityKey: (f = msg.getIdentityKey()) && penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.toObject(includeInstance, f), + governanceKey: (f = msg.getGovernanceKey()) && penumbra_core_keys_v1alpha1_keys_pb.GovernanceKey.toObject(includeInstance, f), + reason: (f = msg.getReason()) && proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteReason.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody} + */ +proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody; + return proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody} + */ +proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setProposal(value); + break; + case 2: + var value = new proto.penumbra.core.component.governance.v1alpha1.Vote; + reader.readMessage(value,proto.penumbra.core.component.governance.v1alpha1.Vote.deserializeBinaryFromReader); + msg.setVote(value); + break; + case 3: + var value = new penumbra_core_keys_v1alpha1_keys_pb.IdentityKey; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.deserializeBinaryFromReader); + msg.setIdentityKey(value); + break; + case 4: + var value = new penumbra_core_keys_v1alpha1_keys_pb.GovernanceKey; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.GovernanceKey.deserializeBinaryFromReader); + msg.setGovernanceKey(value); + break; + case 5: + var value = new proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteReason; + reader.readMessage(value,proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteReason.deserializeBinaryFromReader); + msg.setReason(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getProposal(); + if (f !== 0) { + writer.writeUint64( + 1, + f + ); + } + f = message.getVote(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.penumbra.core.component.governance.v1alpha1.Vote.serializeBinaryToWriter + ); + } + f = message.getIdentityKey(); + if (f != null) { + writer.writeMessage( + 3, + f, + penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.serializeBinaryToWriter + ); + } + f = message.getGovernanceKey(); + if (f != null) { + writer.writeMessage( + 4, + f, + penumbra_core_keys_v1alpha1_keys_pb.GovernanceKey.serializeBinaryToWriter + ); + } + f = message.getReason(); + if (f != null) { + writer.writeMessage( + 5, + f, + proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteReason.serializeBinaryToWriter + ); + } +}; + + +/** + * optional uint64 proposal = 1; + * @return {number} + */ +proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody.prototype.getProposal = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody.prototype.setProposal = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional Vote vote = 2; + * @return {?proto.penumbra.core.component.governance.v1alpha1.Vote} + */ +proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody.prototype.getVote = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.Vote} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.governance.v1alpha1.Vote, 2)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.Vote|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody.prototype.setVote = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody.prototype.clearVote = function() { + return this.setVote(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody.prototype.hasVote = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional penumbra.core.keys.v1alpha1.IdentityKey identity_key = 3; + * @return {?proto.penumbra.core.keys.v1alpha1.IdentityKey} + */ +proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody.prototype.getIdentityKey = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.IdentityKey} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.IdentityKey, 3)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.IdentityKey|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody.prototype.setIdentityKey = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody.prototype.clearIdentityKey = function() { + return this.setIdentityKey(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody.prototype.hasIdentityKey = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional penumbra.core.keys.v1alpha1.GovernanceKey governance_key = 4; + * @return {?proto.penumbra.core.keys.v1alpha1.GovernanceKey} + */ +proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody.prototype.getGovernanceKey = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.GovernanceKey} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.GovernanceKey, 4)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.GovernanceKey|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody.prototype.setGovernanceKey = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody.prototype.clearGovernanceKey = function() { + return this.setGovernanceKey(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody.prototype.hasGovernanceKey = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional ValidatorVoteReason reason = 5; + * @return {?proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteReason} + */ +proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody.prototype.getReason = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteReason} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteReason, 5)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteReason|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody.prototype.setReason = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody.prototype.clearReason = function() { + return this.setReason(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.ValidatorVoteBody.prototype.hasReason = function() { + return jspb.Message.getField(this, 5) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVote.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.governance.v1alpha1.DelegatorVote.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVote} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVote.toObject = function(includeInstance, msg) { + var f, obj = { + body: (f = msg.getBody()) && proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody.toObject(includeInstance, f), + authSig: (f = msg.getAuthSig()) && penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb.SpendAuthSignature.toObject(includeInstance, f), + proof: (f = msg.getProof()) && proto.penumbra.core.component.governance.v1alpha1.ZKDelegatorVoteProof.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVote} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVote.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.governance.v1alpha1.DelegatorVote; + return proto.penumbra.core.component.governance.v1alpha1.DelegatorVote.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVote} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVote} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVote.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody; + reader.readMessage(value,proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody.deserializeBinaryFromReader); + msg.setBody(value); + break; + case 2: + var value = new penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb.SpendAuthSignature; + reader.readMessage(value,penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb.SpendAuthSignature.deserializeBinaryFromReader); + msg.setAuthSig(value); + break; + case 3: + var value = new proto.penumbra.core.component.governance.v1alpha1.ZKDelegatorVoteProof; + reader.readMessage(value,proto.penumbra.core.component.governance.v1alpha1.ZKDelegatorVoteProof.deserializeBinaryFromReader); + msg.setProof(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVote.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.governance.v1alpha1.DelegatorVote.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVote} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVote.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getBody(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody.serializeBinaryToWriter + ); + } + f = message.getAuthSig(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb.SpendAuthSignature.serializeBinaryToWriter + ); + } + f = message.getProof(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.penumbra.core.component.governance.v1alpha1.ZKDelegatorVoteProof.serializeBinaryToWriter + ); + } +}; + + +/** + * optional DelegatorVoteBody body = 1; + * @return {?proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVote.prototype.getBody = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVote} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVote.prototype.setBody = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVote} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVote.prototype.clearBody = function() { + return this.setBody(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVote.prototype.hasBody = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional penumbra.crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature auth_sig = 2; + * @return {?proto.penumbra.crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVote.prototype.getAuthSig = function() { + return /** @type{?proto.penumbra.crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature} */ ( + jspb.Message.getWrapperField(this, penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb.SpendAuthSignature, 2)); +}; + + +/** + * @param {?proto.penumbra.crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVote} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVote.prototype.setAuthSig = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVote} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVote.prototype.clearAuthSig = function() { + return this.setAuthSig(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVote.prototype.hasAuthSig = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional ZKDelegatorVoteProof proof = 3; + * @return {?proto.penumbra.core.component.governance.v1alpha1.ZKDelegatorVoteProof} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVote.prototype.getProof = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.ZKDelegatorVoteProof} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.governance.v1alpha1.ZKDelegatorVoteProof, 3)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.ZKDelegatorVoteProof|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVote} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVote.prototype.setProof = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVote} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVote.prototype.clearProof = function() { + return this.setProof(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVote.prototype.hasProof = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody.toObject = function(includeInstance, msg) { + var f, obj = { + proposal: jspb.Message.getFieldWithDefault(msg, 1, 0), + startPosition: jspb.Message.getFieldWithDefault(msg, 2, 0), + vote: (f = msg.getVote()) && proto.penumbra.core.component.governance.v1alpha1.Vote.toObject(includeInstance, f), + value: (f = msg.getValue()) && penumbra_core_asset_v1alpha1_asset_pb.Value.toObject(includeInstance, f), + unbondedAmount: (f = msg.getUnbondedAmount()) && penumbra_core_num_v1alpha1_num_pb.Amount.toObject(includeInstance, f), + nullifier: msg.getNullifier_asB64(), + rk: msg.getRk_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody; + return proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setProposal(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint64()); + msg.setStartPosition(value); + break; + case 3: + var value = new proto.penumbra.core.component.governance.v1alpha1.Vote; + reader.readMessage(value,proto.penumbra.core.component.governance.v1alpha1.Vote.deserializeBinaryFromReader); + msg.setVote(value); + break; + case 4: + var value = new penumbra_core_asset_v1alpha1_asset_pb.Value; + reader.readMessage(value,penumbra_core_asset_v1alpha1_asset_pb.Value.deserializeBinaryFromReader); + msg.setValue(value); + break; + case 5: + var value = new penumbra_core_num_v1alpha1_num_pb.Amount; + reader.readMessage(value,penumbra_core_num_v1alpha1_num_pb.Amount.deserializeBinaryFromReader); + msg.setUnbondedAmount(value); + break; + case 6: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setNullifier(value); + break; + case 7: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setRk(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getProposal(); + if (f !== 0) { + writer.writeUint64( + 1, + f + ); + } + f = message.getStartPosition(); + if (f !== 0) { + writer.writeUint64( + 2, + f + ); + } + f = message.getVote(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.penumbra.core.component.governance.v1alpha1.Vote.serializeBinaryToWriter + ); + } + f = message.getValue(); + if (f != null) { + writer.writeMessage( + 4, + f, + penumbra_core_asset_v1alpha1_asset_pb.Value.serializeBinaryToWriter + ); + } + f = message.getUnbondedAmount(); + if (f != null) { + writer.writeMessage( + 5, + f, + penumbra_core_num_v1alpha1_num_pb.Amount.serializeBinaryToWriter + ); + } + f = message.getNullifier_asU8(); + if (f.length > 0) { + writer.writeBytes( + 6, + f + ); + } + f = message.getRk_asU8(); + if (f.length > 0) { + writer.writeBytes( + 7, + f + ); + } +}; + + +/** + * optional uint64 proposal = 1; + * @return {number} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody.prototype.getProposal = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody.prototype.setProposal = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional uint64 start_position = 2; + * @return {number} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody.prototype.getStartPosition = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody.prototype.setStartPosition = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + +/** + * optional Vote vote = 3; + * @return {?proto.penumbra.core.component.governance.v1alpha1.Vote} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody.prototype.getVote = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.Vote} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.governance.v1alpha1.Vote, 3)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.Vote|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody.prototype.setVote = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody.prototype.clearVote = function() { + return this.setVote(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody.prototype.hasVote = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional penumbra.core.asset.v1alpha1.Value value = 4; + * @return {?proto.penumbra.core.asset.v1alpha1.Value} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody.prototype.getValue = function() { + return /** @type{?proto.penumbra.core.asset.v1alpha1.Value} */ ( + jspb.Message.getWrapperField(this, penumbra_core_asset_v1alpha1_asset_pb.Value, 4)); +}; + + +/** + * @param {?proto.penumbra.core.asset.v1alpha1.Value|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody.prototype.setValue = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody.prototype.clearValue = function() { + return this.setValue(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody.prototype.hasValue = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional penumbra.core.num.v1alpha1.Amount unbonded_amount = 5; + * @return {?proto.penumbra.core.num.v1alpha1.Amount} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody.prototype.getUnbondedAmount = function() { + return /** @type{?proto.penumbra.core.num.v1alpha1.Amount} */ ( + jspb.Message.getWrapperField(this, penumbra_core_num_v1alpha1_num_pb.Amount, 5)); +}; + + +/** + * @param {?proto.penumbra.core.num.v1alpha1.Amount|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody.prototype.setUnbondedAmount = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody.prototype.clearUnbondedAmount = function() { + return this.setUnbondedAmount(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody.prototype.hasUnbondedAmount = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional bytes nullifier = 6; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody.prototype.getNullifier = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * optional bytes nullifier = 6; + * This is a type-conversion wrapper around `getNullifier()` + * @return {string} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody.prototype.getNullifier_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getNullifier())); +}; + + +/** + * optional bytes nullifier = 6; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getNullifier()` + * @return {!Uint8Array} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody.prototype.getNullifier_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getNullifier())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody.prototype.setNullifier = function(value) { + return jspb.Message.setProto3BytesField(this, 6, value); +}; + + +/** + * optional bytes rk = 7; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody.prototype.getRk = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * optional bytes rk = 7; + * This is a type-conversion wrapper around `getRk()` + * @return {string} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody.prototype.getRk_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getRk())); +}; + + +/** + * optional bytes rk = 7; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getRk()` + * @return {!Uint8Array} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody.prototype.getRk_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getRk())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteBody.prototype.setRk = function(value) { + return jspb.Message.setProto3BytesField(this, 7, value); +}; + + + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.oneofGroups_ = [[1,2]]; + +/** + * @enum {number} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.DelegatorVoteCase = { + DELEGATOR_VOTE_NOT_SET: 0, + VISIBLE: 1, + OPAQUE: 2 +}; + +/** + * @return {proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.DelegatorVoteCase} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.prototype.getDelegatorVoteCase = function() { + return /** @type {proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.DelegatorVoteCase} */(jspb.Message.computeOneofCase(this, proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.toObject = function(includeInstance, msg) { + var f, obj = { + visible: (f = msg.getVisible()) && proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Visible.toObject(includeInstance, f), + opaque: (f = msg.getOpaque()) && proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Opaque.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView; + return proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Visible; + reader.readMessage(value,proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Visible.deserializeBinaryFromReader); + msg.setVisible(value); + break; + case 2: + var value = new proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Opaque; + reader.readMessage(value,proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Opaque.deserializeBinaryFromReader); + msg.setOpaque(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getVisible(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Visible.serializeBinaryToWriter + ); + } + f = message.getOpaque(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Opaque.serializeBinaryToWriter + ); + } +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Visible.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Visible.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Visible} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Visible.toObject = function(includeInstance, msg) { + var f, obj = { + delegatorVote: (f = msg.getDelegatorVote()) && proto.penumbra.core.component.governance.v1alpha1.DelegatorVote.toObject(includeInstance, f), + note: (f = msg.getNote()) && penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.NoteView.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Visible} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Visible.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Visible; + return proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Visible.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Visible} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Visible} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Visible.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.governance.v1alpha1.DelegatorVote; + reader.readMessage(value,proto.penumbra.core.component.governance.v1alpha1.DelegatorVote.deserializeBinaryFromReader); + msg.setDelegatorVote(value); + break; + case 2: + var value = new penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.NoteView; + reader.readMessage(value,penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.NoteView.deserializeBinaryFromReader); + msg.setNote(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Visible.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Visible.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Visible} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Visible.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDelegatorVote(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.governance.v1alpha1.DelegatorVote.serializeBinaryToWriter + ); + } + f = message.getNote(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.NoteView.serializeBinaryToWriter + ); + } +}; + + +/** + * optional DelegatorVote delegator_vote = 1; + * @return {?proto.penumbra.core.component.governance.v1alpha1.DelegatorVote} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Visible.prototype.getDelegatorVote = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.DelegatorVote} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.governance.v1alpha1.DelegatorVote, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.DelegatorVote|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Visible} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Visible.prototype.setDelegatorVote = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Visible} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Visible.prototype.clearDelegatorVote = function() { + return this.setDelegatorVote(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Visible.prototype.hasDelegatorVote = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional penumbra.core.component.shielded_pool.v1alpha1.NoteView note = 2; + * @return {?proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Visible.prototype.getNote = function() { + return /** @type{?proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.NoteView, 2)); +}; + + +/** + * @param {?proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Visible} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Visible.prototype.setNote = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Visible} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Visible.prototype.clearNote = function() { + return this.setNote(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Visible.prototype.hasNote = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Opaque.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Opaque.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Opaque} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Opaque.toObject = function(includeInstance, msg) { + var f, obj = { + delegatorVote: (f = msg.getDelegatorVote()) && proto.penumbra.core.component.governance.v1alpha1.DelegatorVote.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Opaque} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Opaque.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Opaque; + return proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Opaque.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Opaque} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Opaque} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Opaque.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.governance.v1alpha1.DelegatorVote; + reader.readMessage(value,proto.penumbra.core.component.governance.v1alpha1.DelegatorVote.deserializeBinaryFromReader); + msg.setDelegatorVote(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Opaque.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Opaque.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Opaque} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Opaque.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDelegatorVote(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.governance.v1alpha1.DelegatorVote.serializeBinaryToWriter + ); + } +}; + + +/** + * optional DelegatorVote delegator_vote = 1; + * @return {?proto.penumbra.core.component.governance.v1alpha1.DelegatorVote} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Opaque.prototype.getDelegatorVote = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.DelegatorVote} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.governance.v1alpha1.DelegatorVote, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.DelegatorVote|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Opaque} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Opaque.prototype.setDelegatorVote = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Opaque} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Opaque.prototype.clearDelegatorVote = function() { + return this.setDelegatorVote(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Opaque.prototype.hasDelegatorVote = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional Visible visible = 1; + * @return {?proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Visible} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.prototype.getVisible = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Visible} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Visible, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Visible|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.prototype.setVisible = function(value) { + return jspb.Message.setOneofWrapperField(this, 1, proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.prototype.clearVisible = function() { + return this.setVisible(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.prototype.hasVisible = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional Opaque opaque = 2; + * @return {?proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Opaque} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.prototype.getOpaque = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Opaque} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Opaque, 2)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Opaque|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.prototype.setOpaque = function(value) { + return jspb.Message.setOneofWrapperField(this, 2, proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.prototype.clearOpaque = function() { + return this.setOpaque(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView.prototype.hasOpaque = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan.toObject = function(includeInstance, msg) { + var f, obj = { + proposal: jspb.Message.getFieldWithDefault(msg, 1, 0), + startPosition: jspb.Message.getFieldWithDefault(msg, 2, 0), + vote: (f = msg.getVote()) && proto.penumbra.core.component.governance.v1alpha1.Vote.toObject(includeInstance, f), + stakedNote: (f = msg.getStakedNote()) && penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.Note.toObject(includeInstance, f), + stakedNotePosition: jspb.Message.getFieldWithDefault(msg, 5, 0), + unbondedAmount: (f = msg.getUnbondedAmount()) && penumbra_core_num_v1alpha1_num_pb.Amount.toObject(includeInstance, f), + randomizer: msg.getRandomizer_asB64(), + proofBlindingR: msg.getProofBlindingR_asB64(), + proofBlindingS: msg.getProofBlindingS_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan; + return proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setProposal(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint64()); + msg.setStartPosition(value); + break; + case 3: + var value = new proto.penumbra.core.component.governance.v1alpha1.Vote; + reader.readMessage(value,proto.penumbra.core.component.governance.v1alpha1.Vote.deserializeBinaryFromReader); + msg.setVote(value); + break; + case 4: + var value = new penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.Note; + reader.readMessage(value,penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.Note.deserializeBinaryFromReader); + msg.setStakedNote(value); + break; + case 5: + var value = /** @type {number} */ (reader.readUint64()); + msg.setStakedNotePosition(value); + break; + case 6: + var value = new penumbra_core_num_v1alpha1_num_pb.Amount; + reader.readMessage(value,penumbra_core_num_v1alpha1_num_pb.Amount.deserializeBinaryFromReader); + msg.setUnbondedAmount(value); + break; + case 7: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setRandomizer(value); + break; + case 8: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setProofBlindingR(value); + break; + case 9: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setProofBlindingS(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getProposal(); + if (f !== 0) { + writer.writeUint64( + 1, + f + ); + } + f = message.getStartPosition(); + if (f !== 0) { + writer.writeUint64( + 2, + f + ); + } + f = message.getVote(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.penumbra.core.component.governance.v1alpha1.Vote.serializeBinaryToWriter + ); + } + f = message.getStakedNote(); + if (f != null) { + writer.writeMessage( + 4, + f, + penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.Note.serializeBinaryToWriter + ); + } + f = message.getStakedNotePosition(); + if (f !== 0) { + writer.writeUint64( + 5, + f + ); + } + f = message.getUnbondedAmount(); + if (f != null) { + writer.writeMessage( + 6, + f, + penumbra_core_num_v1alpha1_num_pb.Amount.serializeBinaryToWriter + ); + } + f = message.getRandomizer_asU8(); + if (f.length > 0) { + writer.writeBytes( + 7, + f + ); + } + f = message.getProofBlindingR_asU8(); + if (f.length > 0) { + writer.writeBytes( + 8, + f + ); + } + f = message.getProofBlindingS_asU8(); + if (f.length > 0) { + writer.writeBytes( + 9, + f + ); + } +}; + + +/** + * optional uint64 proposal = 1; + * @return {number} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan.prototype.getProposal = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan.prototype.setProposal = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional uint64 start_position = 2; + * @return {number} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan.prototype.getStartPosition = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan.prototype.setStartPosition = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + +/** + * optional Vote vote = 3; + * @return {?proto.penumbra.core.component.governance.v1alpha1.Vote} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan.prototype.getVote = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.Vote} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.governance.v1alpha1.Vote, 3)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.Vote|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan.prototype.setVote = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan.prototype.clearVote = function() { + return this.setVote(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan.prototype.hasVote = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional penumbra.core.component.shielded_pool.v1alpha1.Note staked_note = 4; + * @return {?proto.penumbra.core.component.shielded_pool.v1alpha1.Note} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan.prototype.getStakedNote = function() { + return /** @type{?proto.penumbra.core.component.shielded_pool.v1alpha1.Note} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.Note, 4)); +}; + + +/** + * @param {?proto.penumbra.core.component.shielded_pool.v1alpha1.Note|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan.prototype.setStakedNote = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan.prototype.clearStakedNote = function() { + return this.setStakedNote(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan.prototype.hasStakedNote = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional uint64 staked_note_position = 5; + * @return {number} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan.prototype.getStakedNotePosition = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan.prototype.setStakedNotePosition = function(value) { + return jspb.Message.setProto3IntField(this, 5, value); +}; + + +/** + * optional penumbra.core.num.v1alpha1.Amount unbonded_amount = 6; + * @return {?proto.penumbra.core.num.v1alpha1.Amount} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan.prototype.getUnbondedAmount = function() { + return /** @type{?proto.penumbra.core.num.v1alpha1.Amount} */ ( + jspb.Message.getWrapperField(this, penumbra_core_num_v1alpha1_num_pb.Amount, 6)); +}; + + +/** + * @param {?proto.penumbra.core.num.v1alpha1.Amount|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan.prototype.setUnbondedAmount = function(value) { + return jspb.Message.setWrapperField(this, 6, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan.prototype.clearUnbondedAmount = function() { + return this.setUnbondedAmount(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan.prototype.hasUnbondedAmount = function() { + return jspb.Message.getField(this, 6) != null; +}; + + +/** + * optional bytes randomizer = 7; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan.prototype.getRandomizer = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * optional bytes randomizer = 7; + * This is a type-conversion wrapper around `getRandomizer()` + * @return {string} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan.prototype.getRandomizer_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getRandomizer())); +}; + + +/** + * optional bytes randomizer = 7; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getRandomizer()` + * @return {!Uint8Array} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan.prototype.getRandomizer_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getRandomizer())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan.prototype.setRandomizer = function(value) { + return jspb.Message.setProto3BytesField(this, 7, value); +}; + + +/** + * optional bytes proof_blinding_r = 8; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan.prototype.getProofBlindingR = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 8, "")); +}; + + +/** + * optional bytes proof_blinding_r = 8; + * This is a type-conversion wrapper around `getProofBlindingR()` + * @return {string} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan.prototype.getProofBlindingR_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getProofBlindingR())); +}; + + +/** + * optional bytes proof_blinding_r = 8; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getProofBlindingR()` + * @return {!Uint8Array} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan.prototype.getProofBlindingR_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getProofBlindingR())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan.prototype.setProofBlindingR = function(value) { + return jspb.Message.setProto3BytesField(this, 8, value); +}; + + +/** + * optional bytes proof_blinding_s = 9; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan.prototype.getProofBlindingS = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 9, "")); +}; + + +/** + * optional bytes proof_blinding_s = 9; + * This is a type-conversion wrapper around `getProofBlindingS()` + * @return {string} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan.prototype.getProofBlindingS_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getProofBlindingS())); +}; + + +/** + * optional bytes proof_blinding_s = 9; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getProofBlindingS()` + * @return {!Uint8Array} + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan.prototype.getProofBlindingS_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getProofBlindingS())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan.prototype.setProofBlindingS = function(value) { + return jspb.Message.setProto3BytesField(this, 9, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.governance.v1alpha1.DaoDeposit.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.governance.v1alpha1.DaoDeposit.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.governance.v1alpha1.DaoDeposit} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.DaoDeposit.toObject = function(includeInstance, msg) { + var f, obj = { + value: (f = msg.getValue()) && penumbra_core_asset_v1alpha1_asset_pb.Value.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.governance.v1alpha1.DaoDeposit} + */ +proto.penumbra.core.component.governance.v1alpha1.DaoDeposit.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.governance.v1alpha1.DaoDeposit; + return proto.penumbra.core.component.governance.v1alpha1.DaoDeposit.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.governance.v1alpha1.DaoDeposit} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.governance.v1alpha1.DaoDeposit} + */ +proto.penumbra.core.component.governance.v1alpha1.DaoDeposit.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_asset_v1alpha1_asset_pb.Value; + reader.readMessage(value,penumbra_core_asset_v1alpha1_asset_pb.Value.deserializeBinaryFromReader); + msg.setValue(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.governance.v1alpha1.DaoDeposit.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.governance.v1alpha1.DaoDeposit.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.governance.v1alpha1.DaoDeposit} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.DaoDeposit.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getValue(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_asset_v1alpha1_asset_pb.Value.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.asset.v1alpha1.Value value = 1; + * @return {?proto.penumbra.core.asset.v1alpha1.Value} + */ +proto.penumbra.core.component.governance.v1alpha1.DaoDeposit.prototype.getValue = function() { + return /** @type{?proto.penumbra.core.asset.v1alpha1.Value} */ ( + jspb.Message.getWrapperField(this, penumbra_core_asset_v1alpha1_asset_pb.Value, 1)); +}; + + +/** + * @param {?proto.penumbra.core.asset.v1alpha1.Value|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.DaoDeposit} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.DaoDeposit.prototype.setValue = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.DaoDeposit} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.DaoDeposit.prototype.clearValue = function() { + return this.setValue(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.DaoDeposit.prototype.hasValue = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.governance.v1alpha1.DaoSpend.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.governance.v1alpha1.DaoSpend.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.governance.v1alpha1.DaoSpend} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.DaoSpend.toObject = function(includeInstance, msg) { + var f, obj = { + value: (f = msg.getValue()) && penumbra_core_asset_v1alpha1_asset_pb.Value.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.governance.v1alpha1.DaoSpend} + */ +proto.penumbra.core.component.governance.v1alpha1.DaoSpend.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.governance.v1alpha1.DaoSpend; + return proto.penumbra.core.component.governance.v1alpha1.DaoSpend.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.governance.v1alpha1.DaoSpend} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.governance.v1alpha1.DaoSpend} + */ +proto.penumbra.core.component.governance.v1alpha1.DaoSpend.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_asset_v1alpha1_asset_pb.Value; + reader.readMessage(value,penumbra_core_asset_v1alpha1_asset_pb.Value.deserializeBinaryFromReader); + msg.setValue(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.governance.v1alpha1.DaoSpend.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.governance.v1alpha1.DaoSpend.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.governance.v1alpha1.DaoSpend} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.DaoSpend.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getValue(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_asset_v1alpha1_asset_pb.Value.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.asset.v1alpha1.Value value = 1; + * @return {?proto.penumbra.core.asset.v1alpha1.Value} + */ +proto.penumbra.core.component.governance.v1alpha1.DaoSpend.prototype.getValue = function() { + return /** @type{?proto.penumbra.core.asset.v1alpha1.Value} */ ( + jspb.Message.getWrapperField(this, penumbra_core_asset_v1alpha1_asset_pb.Value, 1)); +}; + + +/** + * @param {?proto.penumbra.core.asset.v1alpha1.Value|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.DaoSpend} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.DaoSpend.prototype.setValue = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.DaoSpend} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.DaoSpend.prototype.clearValue = function() { + return this.setValue(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.DaoSpend.prototype.hasValue = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.governance.v1alpha1.DaoOutput.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.governance.v1alpha1.DaoOutput.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.governance.v1alpha1.DaoOutput} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.DaoOutput.toObject = function(includeInstance, msg) { + var f, obj = { + value: (f = msg.getValue()) && penumbra_core_asset_v1alpha1_asset_pb.Value.toObject(includeInstance, f), + address: (f = msg.getAddress()) && penumbra_core_keys_v1alpha1_keys_pb.Address.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.governance.v1alpha1.DaoOutput} + */ +proto.penumbra.core.component.governance.v1alpha1.DaoOutput.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.governance.v1alpha1.DaoOutput; + return proto.penumbra.core.component.governance.v1alpha1.DaoOutput.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.governance.v1alpha1.DaoOutput} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.governance.v1alpha1.DaoOutput} + */ +proto.penumbra.core.component.governance.v1alpha1.DaoOutput.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_asset_v1alpha1_asset_pb.Value; + reader.readMessage(value,penumbra_core_asset_v1alpha1_asset_pb.Value.deserializeBinaryFromReader); + msg.setValue(value); + break; + case 2: + var value = new penumbra_core_keys_v1alpha1_keys_pb.Address; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.Address.deserializeBinaryFromReader); + msg.setAddress(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.governance.v1alpha1.DaoOutput.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.governance.v1alpha1.DaoOutput.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.governance.v1alpha1.DaoOutput} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.DaoOutput.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getValue(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_asset_v1alpha1_asset_pb.Value.serializeBinaryToWriter + ); + } + f = message.getAddress(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_keys_v1alpha1_keys_pb.Address.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.asset.v1alpha1.Value value = 1; + * @return {?proto.penumbra.core.asset.v1alpha1.Value} + */ +proto.penumbra.core.component.governance.v1alpha1.DaoOutput.prototype.getValue = function() { + return /** @type{?proto.penumbra.core.asset.v1alpha1.Value} */ ( + jspb.Message.getWrapperField(this, penumbra_core_asset_v1alpha1_asset_pb.Value, 1)); +}; + + +/** + * @param {?proto.penumbra.core.asset.v1alpha1.Value|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.DaoOutput} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.DaoOutput.prototype.setValue = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.DaoOutput} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.DaoOutput.prototype.clearValue = function() { + return this.setValue(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.DaoOutput.prototype.hasValue = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional penumbra.core.keys.v1alpha1.Address address = 2; + * @return {?proto.penumbra.core.keys.v1alpha1.Address} + */ +proto.penumbra.core.component.governance.v1alpha1.DaoOutput.prototype.getAddress = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.Address} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.Address, 2)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.Address|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.DaoOutput} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.DaoOutput.prototype.setAddress = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.DaoOutput} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.DaoOutput.prototype.clearAddress = function() { + return this.setAddress(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.DaoOutput.prototype.hasAddress = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.governance.v1alpha1.Vote.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.governance.v1alpha1.Vote.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.governance.v1alpha1.Vote} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.Vote.toObject = function(includeInstance, msg) { + var f, obj = { + vote: jspb.Message.getFieldWithDefault(msg, 1, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.governance.v1alpha1.Vote} + */ +proto.penumbra.core.component.governance.v1alpha1.Vote.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.governance.v1alpha1.Vote; + return proto.penumbra.core.component.governance.v1alpha1.Vote.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.governance.v1alpha1.Vote} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.governance.v1alpha1.Vote} + */ +proto.penumbra.core.component.governance.v1alpha1.Vote.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!proto.penumbra.core.component.governance.v1alpha1.Vote.Vote} */ (reader.readEnum()); + msg.setVote(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.governance.v1alpha1.Vote.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.governance.v1alpha1.Vote.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.governance.v1alpha1.Vote} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.Vote.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getVote(); + if (f !== 0.0) { + writer.writeEnum( + 1, + f + ); + } +}; + + +/** + * @enum {number} + */ +proto.penumbra.core.component.governance.v1alpha1.Vote.Vote = { + VOTE_UNSPECIFIED: 0, + VOTE_ABSTAIN: 1, + VOTE_YES: 2, + VOTE_NO: 3 +}; + +/** + * optional Vote vote = 1; + * @return {!proto.penumbra.core.component.governance.v1alpha1.Vote.Vote} + */ +proto.penumbra.core.component.governance.v1alpha1.Vote.prototype.getVote = function() { + return /** @type {!proto.penumbra.core.component.governance.v1alpha1.Vote.Vote} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {!proto.penumbra.core.component.governance.v1alpha1.Vote.Vote} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.Vote} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.Vote.prototype.setVote = function(value) { + return jspb.Message.setProto3EnumField(this, 1, value); +}; + + + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.oneofGroups_ = [[2,3,4,5]]; + +/** + * @enum {number} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.StateCase = { + STATE_NOT_SET: 0, + VOTING: 2, + WITHDRAWN: 3, + FINISHED: 4, + CLAIMED: 5 +}; + +/** + * @return {proto.penumbra.core.component.governance.v1alpha1.ProposalState.StateCase} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.prototype.getStateCase = function() { + return /** @type {proto.penumbra.core.component.governance.v1alpha1.ProposalState.StateCase} */(jspb.Message.computeOneofCase(this, proto.penumbra.core.component.governance.v1alpha1.ProposalState.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.governance.v1alpha1.ProposalState.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalState} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.toObject = function(includeInstance, msg) { + var f, obj = { + voting: (f = msg.getVoting()) && proto.penumbra.core.component.governance.v1alpha1.ProposalState.Voting.toObject(includeInstance, f), + withdrawn: (f = msg.getWithdrawn()) && proto.penumbra.core.component.governance.v1alpha1.ProposalState.Withdrawn.toObject(includeInstance, f), + finished: (f = msg.getFinished()) && proto.penumbra.core.component.governance.v1alpha1.ProposalState.Finished.toObject(includeInstance, f), + claimed: (f = msg.getClaimed()) && proto.penumbra.core.component.governance.v1alpha1.ProposalState.Claimed.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalState} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.governance.v1alpha1.ProposalState; + return proto.penumbra.core.component.governance.v1alpha1.ProposalState.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalState} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalState} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 2: + var value = new proto.penumbra.core.component.governance.v1alpha1.ProposalState.Voting; + reader.readMessage(value,proto.penumbra.core.component.governance.v1alpha1.ProposalState.Voting.deserializeBinaryFromReader); + msg.setVoting(value); + break; + case 3: + var value = new proto.penumbra.core.component.governance.v1alpha1.ProposalState.Withdrawn; + reader.readMessage(value,proto.penumbra.core.component.governance.v1alpha1.ProposalState.Withdrawn.deserializeBinaryFromReader); + msg.setWithdrawn(value); + break; + case 4: + var value = new proto.penumbra.core.component.governance.v1alpha1.ProposalState.Finished; + reader.readMessage(value,proto.penumbra.core.component.governance.v1alpha1.ProposalState.Finished.deserializeBinaryFromReader); + msg.setFinished(value); + break; + case 5: + var value = new proto.penumbra.core.component.governance.v1alpha1.ProposalState.Claimed; + reader.readMessage(value,proto.penumbra.core.component.governance.v1alpha1.ProposalState.Claimed.deserializeBinaryFromReader); + msg.setClaimed(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.governance.v1alpha1.ProposalState.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalState} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getVoting(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.penumbra.core.component.governance.v1alpha1.ProposalState.Voting.serializeBinaryToWriter + ); + } + f = message.getWithdrawn(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.penumbra.core.component.governance.v1alpha1.ProposalState.Withdrawn.serializeBinaryToWriter + ); + } + f = message.getFinished(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.penumbra.core.component.governance.v1alpha1.ProposalState.Finished.serializeBinaryToWriter + ); + } + f = message.getClaimed(); + if (f != null) { + writer.writeMessage( + 5, + f, + proto.penumbra.core.component.governance.v1alpha1.ProposalState.Claimed.serializeBinaryToWriter + ); + } +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.Voting.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.governance.v1alpha1.ProposalState.Voting.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalState.Voting} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.Voting.toObject = function(includeInstance, msg) { + var f, obj = { + + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalState.Voting} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.Voting.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.governance.v1alpha1.ProposalState.Voting; + return proto.penumbra.core.component.governance.v1alpha1.ProposalState.Voting.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalState.Voting} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalState.Voting} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.Voting.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.Voting.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.governance.v1alpha1.ProposalState.Voting.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalState.Voting} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.Voting.serializeBinaryToWriter = function(message, writer) { + var f = undefined; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.Withdrawn.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.governance.v1alpha1.ProposalState.Withdrawn.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalState.Withdrawn} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.Withdrawn.toObject = function(includeInstance, msg) { + var f, obj = { + reason: jspb.Message.getFieldWithDefault(msg, 1, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalState.Withdrawn} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.Withdrawn.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.governance.v1alpha1.ProposalState.Withdrawn; + return proto.penumbra.core.component.governance.v1alpha1.ProposalState.Withdrawn.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalState.Withdrawn} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalState.Withdrawn} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.Withdrawn.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setReason(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.Withdrawn.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.governance.v1alpha1.ProposalState.Withdrawn.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalState.Withdrawn} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.Withdrawn.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getReason(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } +}; + + +/** + * optional string reason = 1; + * @return {string} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.Withdrawn.prototype.getReason = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalState.Withdrawn} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.Withdrawn.prototype.setReason = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.Finished.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.governance.v1alpha1.ProposalState.Finished.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalState.Finished} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.Finished.toObject = function(includeInstance, msg) { + var f, obj = { + outcome: (f = msg.getOutcome()) && proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalState.Finished} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.Finished.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.governance.v1alpha1.ProposalState.Finished; + return proto.penumbra.core.component.governance.v1alpha1.ProposalState.Finished.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalState.Finished} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalState.Finished} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.Finished.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome; + reader.readMessage(value,proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.deserializeBinaryFromReader); + msg.setOutcome(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.Finished.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.governance.v1alpha1.ProposalState.Finished.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalState.Finished} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.Finished.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getOutcome(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.serializeBinaryToWriter + ); + } +}; + + +/** + * optional ProposalOutcome outcome = 1; + * @return {?proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.Finished.prototype.getOutcome = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalState.Finished} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.Finished.prototype.setOutcome = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalState.Finished} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.Finished.prototype.clearOutcome = function() { + return this.setOutcome(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.Finished.prototype.hasOutcome = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.Claimed.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.governance.v1alpha1.ProposalState.Claimed.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalState.Claimed} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.Claimed.toObject = function(includeInstance, msg) { + var f, obj = { + outcome: (f = msg.getOutcome()) && proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalState.Claimed} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.Claimed.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.governance.v1alpha1.ProposalState.Claimed; + return proto.penumbra.core.component.governance.v1alpha1.ProposalState.Claimed.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalState.Claimed} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalState.Claimed} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.Claimed.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome; + reader.readMessage(value,proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.deserializeBinaryFromReader); + msg.setOutcome(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.Claimed.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.governance.v1alpha1.ProposalState.Claimed.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalState.Claimed} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.Claimed.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getOutcome(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.serializeBinaryToWriter + ); + } +}; + + +/** + * optional ProposalOutcome outcome = 1; + * @return {?proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.Claimed.prototype.getOutcome = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalState.Claimed} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.Claimed.prototype.setOutcome = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalState.Claimed} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.Claimed.prototype.clearOutcome = function() { + return this.setOutcome(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.Claimed.prototype.hasOutcome = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional Voting voting = 2; + * @return {?proto.penumbra.core.component.governance.v1alpha1.ProposalState.Voting} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.prototype.getVoting = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.ProposalState.Voting} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.governance.v1alpha1.ProposalState.Voting, 2)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.ProposalState.Voting|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalState} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.prototype.setVoting = function(value) { + return jspb.Message.setOneofWrapperField(this, 2, proto.penumbra.core.component.governance.v1alpha1.ProposalState.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalState} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.prototype.clearVoting = function() { + return this.setVoting(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.prototype.hasVoting = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional Withdrawn withdrawn = 3; + * @return {?proto.penumbra.core.component.governance.v1alpha1.ProposalState.Withdrawn} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.prototype.getWithdrawn = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.ProposalState.Withdrawn} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.governance.v1alpha1.ProposalState.Withdrawn, 3)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.ProposalState.Withdrawn|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalState} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.prototype.setWithdrawn = function(value) { + return jspb.Message.setOneofWrapperField(this, 3, proto.penumbra.core.component.governance.v1alpha1.ProposalState.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalState} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.prototype.clearWithdrawn = function() { + return this.setWithdrawn(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.prototype.hasWithdrawn = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional Finished finished = 4; + * @return {?proto.penumbra.core.component.governance.v1alpha1.ProposalState.Finished} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.prototype.getFinished = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.ProposalState.Finished} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.governance.v1alpha1.ProposalState.Finished, 4)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.ProposalState.Finished|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalState} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.prototype.setFinished = function(value) { + return jspb.Message.setOneofWrapperField(this, 4, proto.penumbra.core.component.governance.v1alpha1.ProposalState.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalState} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.prototype.clearFinished = function() { + return this.setFinished(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.prototype.hasFinished = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional Claimed claimed = 5; + * @return {?proto.penumbra.core.component.governance.v1alpha1.ProposalState.Claimed} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.prototype.getClaimed = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.ProposalState.Claimed} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.governance.v1alpha1.ProposalState.Claimed, 5)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.ProposalState.Claimed|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalState} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.prototype.setClaimed = function(value) { + return jspb.Message.setOneofWrapperField(this, 5, proto.penumbra.core.component.governance.v1alpha1.ProposalState.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalState} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.prototype.clearClaimed = function() { + return this.setClaimed(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalState.prototype.hasClaimed = function() { + return jspb.Message.getField(this, 5) != null; +}; + + + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.oneofGroups_ = [[1,2,3]]; + +/** + * @enum {number} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.OutcomeCase = { + OUTCOME_NOT_SET: 0, + PASSED: 1, + FAILED: 2, + SLASHED: 3 +}; + +/** + * @return {proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.OutcomeCase} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.prototype.getOutcomeCase = function() { + return /** @type {proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.OutcomeCase} */(jspb.Message.computeOneofCase(this, proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.toObject = function(includeInstance, msg) { + var f, obj = { + passed: (f = msg.getPassed()) && proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Passed.toObject(includeInstance, f), + failed: (f = msg.getFailed()) && proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Failed.toObject(includeInstance, f), + slashed: (f = msg.getSlashed()) && proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Slashed.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome; + return proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Passed; + reader.readMessage(value,proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Passed.deserializeBinaryFromReader); + msg.setPassed(value); + break; + case 2: + var value = new proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Failed; + reader.readMessage(value,proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Failed.deserializeBinaryFromReader); + msg.setFailed(value); + break; + case 3: + var value = new proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Slashed; + reader.readMessage(value,proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Slashed.deserializeBinaryFromReader); + msg.setSlashed(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getPassed(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Passed.serializeBinaryToWriter + ); + } + f = message.getFailed(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Failed.serializeBinaryToWriter + ); + } + f = message.getSlashed(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Slashed.serializeBinaryToWriter + ); + } +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Withdrawn.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Withdrawn.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Withdrawn} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Withdrawn.toObject = function(includeInstance, msg) { + var f, obj = { + reason: jspb.Message.getFieldWithDefault(msg, 1, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Withdrawn} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Withdrawn.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Withdrawn; + return proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Withdrawn.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Withdrawn} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Withdrawn} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Withdrawn.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setReason(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Withdrawn.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Withdrawn.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Withdrawn} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Withdrawn.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getReason(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } +}; + + +/** + * optional string reason = 1; + * @return {string} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Withdrawn.prototype.getReason = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Withdrawn} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Withdrawn.prototype.setReason = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Passed.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Passed.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Passed} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Passed.toObject = function(includeInstance, msg) { + var f, obj = { + + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Passed} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Passed.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Passed; + return proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Passed.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Passed} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Passed} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Passed.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Passed.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Passed.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Passed} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Passed.serializeBinaryToWriter = function(message, writer) { + var f = undefined; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Failed.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Failed.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Failed} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Failed.toObject = function(includeInstance, msg) { + var f, obj = { + withdrawn: (f = msg.getWithdrawn()) && proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Withdrawn.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Failed} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Failed.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Failed; + return proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Failed.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Failed} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Failed} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Failed.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Withdrawn; + reader.readMessage(value,proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Withdrawn.deserializeBinaryFromReader); + msg.setWithdrawn(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Failed.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Failed.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Failed} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Failed.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getWithdrawn(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Withdrawn.serializeBinaryToWriter + ); + } +}; + + +/** + * optional Withdrawn withdrawn = 1; + * @return {?proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Withdrawn} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Failed.prototype.getWithdrawn = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Withdrawn} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Withdrawn, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Withdrawn|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Failed} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Failed.prototype.setWithdrawn = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Failed} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Failed.prototype.clearWithdrawn = function() { + return this.setWithdrawn(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Failed.prototype.hasWithdrawn = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Slashed.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Slashed.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Slashed} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Slashed.toObject = function(includeInstance, msg) { + var f, obj = { + withdrawn: (f = msg.getWithdrawn()) && proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Withdrawn.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Slashed} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Slashed.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Slashed; + return proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Slashed.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Slashed} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Slashed} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Slashed.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Withdrawn; + reader.readMessage(value,proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Withdrawn.deserializeBinaryFromReader); + msg.setWithdrawn(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Slashed.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Slashed.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Slashed} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Slashed.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getWithdrawn(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Withdrawn.serializeBinaryToWriter + ); + } +}; + + +/** + * optional Withdrawn withdrawn = 1; + * @return {?proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Withdrawn} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Slashed.prototype.getWithdrawn = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Withdrawn} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Withdrawn, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Withdrawn|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Slashed} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Slashed.prototype.setWithdrawn = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Slashed} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Slashed.prototype.clearWithdrawn = function() { + return this.setWithdrawn(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Slashed.prototype.hasWithdrawn = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional Passed passed = 1; + * @return {?proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Passed} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.prototype.getPassed = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Passed} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Passed, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Passed|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.prototype.setPassed = function(value) { + return jspb.Message.setOneofWrapperField(this, 1, proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.prototype.clearPassed = function() { + return this.setPassed(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.prototype.hasPassed = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional Failed failed = 2; + * @return {?proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Failed} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.prototype.getFailed = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Failed} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Failed, 2)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Failed|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.prototype.setFailed = function(value) { + return jspb.Message.setOneofWrapperField(this, 2, proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.prototype.clearFailed = function() { + return this.setFailed(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.prototype.hasFailed = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional Slashed slashed = 3; + * @return {?proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Slashed} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.prototype.getSlashed = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Slashed} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Slashed, 3)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.Slashed|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.prototype.setSlashed = function(value) { + return jspb.Message.setOneofWrapperField(this, 3, proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.prototype.clearSlashed = function() { + return this.setSlashed(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalOutcome.prototype.hasSlashed = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.governance.v1alpha1.Tally.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.governance.v1alpha1.Tally.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.governance.v1alpha1.Tally} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.Tally.toObject = function(includeInstance, msg) { + var f, obj = { + yes: jspb.Message.getFieldWithDefault(msg, 1, 0), + no: jspb.Message.getFieldWithDefault(msg, 2, 0), + abstain: jspb.Message.getFieldWithDefault(msg, 3, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.governance.v1alpha1.Tally} + */ +proto.penumbra.core.component.governance.v1alpha1.Tally.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.governance.v1alpha1.Tally; + return proto.penumbra.core.component.governance.v1alpha1.Tally.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.governance.v1alpha1.Tally} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.governance.v1alpha1.Tally} + */ +proto.penumbra.core.component.governance.v1alpha1.Tally.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setYes(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint64()); + msg.setNo(value); + break; + case 3: + var value = /** @type {number} */ (reader.readUint64()); + msg.setAbstain(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.governance.v1alpha1.Tally.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.governance.v1alpha1.Tally.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.governance.v1alpha1.Tally} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.Tally.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getYes(); + if (f !== 0) { + writer.writeUint64( + 1, + f + ); + } + f = message.getNo(); + if (f !== 0) { + writer.writeUint64( + 2, + f + ); + } + f = message.getAbstain(); + if (f !== 0) { + writer.writeUint64( + 3, + f + ); + } +}; + + +/** + * optional uint64 yes = 1; + * @return {number} + */ +proto.penumbra.core.component.governance.v1alpha1.Tally.prototype.getYes = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.Tally} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.Tally.prototype.setYes = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional uint64 no = 2; + * @return {number} + */ +proto.penumbra.core.component.governance.v1alpha1.Tally.prototype.getNo = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.Tally} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.Tally.prototype.setNo = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + +/** + * optional uint64 abstain = 3; + * @return {number} + */ +proto.penumbra.core.component.governance.v1alpha1.Tally.prototype.getAbstain = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.Tally} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.Tally.prototype.setAbstain = function(value) { + return jspb.Message.setProto3IntField(this, 3, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.governance.v1alpha1.Proposal.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.governance.v1alpha1.Proposal} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.toObject = function(includeInstance, msg) { + var f, obj = { + id: jspb.Message.getFieldWithDefault(msg, 4, 0), + title: jspb.Message.getFieldWithDefault(msg, 1, ""), + description: jspb.Message.getFieldWithDefault(msg, 2, ""), + signaling: (f = msg.getSignaling()) && proto.penumbra.core.component.governance.v1alpha1.Proposal.Signaling.toObject(includeInstance, f), + emergency: (f = msg.getEmergency()) && proto.penumbra.core.component.governance.v1alpha1.Proposal.Emergency.toObject(includeInstance, f), + parameterChange: (f = msg.getParameterChange()) && proto.penumbra.core.component.governance.v1alpha1.Proposal.ParameterChange.toObject(includeInstance, f), + daoSpend: (f = msg.getDaoSpend()) && proto.penumbra.core.component.governance.v1alpha1.Proposal.DaoSpend.toObject(includeInstance, f), + upgradePlan: (f = msg.getUpgradePlan()) && proto.penumbra.core.component.governance.v1alpha1.Proposal.UpgradePlan.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.governance.v1alpha1.Proposal} + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.governance.v1alpha1.Proposal; + return proto.penumbra.core.component.governance.v1alpha1.Proposal.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.governance.v1alpha1.Proposal} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.governance.v1alpha1.Proposal} + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 4: + var value = /** @type {number} */ (reader.readUint64()); + msg.setId(value); + break; + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setTitle(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 5: + var value = new proto.penumbra.core.component.governance.v1alpha1.Proposal.Signaling; + reader.readMessage(value,proto.penumbra.core.component.governance.v1alpha1.Proposal.Signaling.deserializeBinaryFromReader); + msg.setSignaling(value); + break; + case 6: + var value = new proto.penumbra.core.component.governance.v1alpha1.Proposal.Emergency; + reader.readMessage(value,proto.penumbra.core.component.governance.v1alpha1.Proposal.Emergency.deserializeBinaryFromReader); + msg.setEmergency(value); + break; + case 7: + var value = new proto.penumbra.core.component.governance.v1alpha1.Proposal.ParameterChange; + reader.readMessage(value,proto.penumbra.core.component.governance.v1alpha1.Proposal.ParameterChange.deserializeBinaryFromReader); + msg.setParameterChange(value); + break; + case 8: + var value = new proto.penumbra.core.component.governance.v1alpha1.Proposal.DaoSpend; + reader.readMessage(value,proto.penumbra.core.component.governance.v1alpha1.Proposal.DaoSpend.deserializeBinaryFromReader); + msg.setDaoSpend(value); + break; + case 9: + var value = new proto.penumbra.core.component.governance.v1alpha1.Proposal.UpgradePlan; + reader.readMessage(value,proto.penumbra.core.component.governance.v1alpha1.Proposal.UpgradePlan.deserializeBinaryFromReader); + msg.setUpgradePlan(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.governance.v1alpha1.Proposal.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.governance.v1alpha1.Proposal} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getId(); + if (f !== 0) { + writer.writeUint64( + 4, + f + ); + } + f = message.getTitle(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getSignaling(); + if (f != null) { + writer.writeMessage( + 5, + f, + proto.penumbra.core.component.governance.v1alpha1.Proposal.Signaling.serializeBinaryToWriter + ); + } + f = message.getEmergency(); + if (f != null) { + writer.writeMessage( + 6, + f, + proto.penumbra.core.component.governance.v1alpha1.Proposal.Emergency.serializeBinaryToWriter + ); + } + f = message.getParameterChange(); + if (f != null) { + writer.writeMessage( + 7, + f, + proto.penumbra.core.component.governance.v1alpha1.Proposal.ParameterChange.serializeBinaryToWriter + ); + } + f = message.getDaoSpend(); + if (f != null) { + writer.writeMessage( + 8, + f, + proto.penumbra.core.component.governance.v1alpha1.Proposal.DaoSpend.serializeBinaryToWriter + ); + } + f = message.getUpgradePlan(); + if (f != null) { + writer.writeMessage( + 9, + f, + proto.penumbra.core.component.governance.v1alpha1.Proposal.UpgradePlan.serializeBinaryToWriter + ); + } +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.Signaling.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.governance.v1alpha1.Proposal.Signaling.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.governance.v1alpha1.Proposal.Signaling} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.Signaling.toObject = function(includeInstance, msg) { + var f, obj = { + commit: jspb.Message.getFieldWithDefault(msg, 1, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.governance.v1alpha1.Proposal.Signaling} + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.Signaling.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.governance.v1alpha1.Proposal.Signaling; + return proto.penumbra.core.component.governance.v1alpha1.Proposal.Signaling.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.governance.v1alpha1.Proposal.Signaling} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.governance.v1alpha1.Proposal.Signaling} + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.Signaling.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setCommit(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.Signaling.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.governance.v1alpha1.Proposal.Signaling.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.governance.v1alpha1.Proposal.Signaling} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.Signaling.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getCommit(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } +}; + + +/** + * optional string commit = 1; + * @return {string} + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.Signaling.prototype.getCommit = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.Proposal.Signaling} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.Signaling.prototype.setCommit = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.Emergency.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.governance.v1alpha1.Proposal.Emergency.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.governance.v1alpha1.Proposal.Emergency} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.Emergency.toObject = function(includeInstance, msg) { + var f, obj = { + haltChain: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.governance.v1alpha1.Proposal.Emergency} + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.Emergency.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.governance.v1alpha1.Proposal.Emergency; + return proto.penumbra.core.component.governance.v1alpha1.Proposal.Emergency.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.governance.v1alpha1.Proposal.Emergency} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.governance.v1alpha1.Proposal.Emergency} + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.Emergency.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setHaltChain(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.Emergency.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.governance.v1alpha1.Proposal.Emergency.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.governance.v1alpha1.Proposal.Emergency} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.Emergency.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getHaltChain(); + if (f) { + writer.writeBool( + 1, + f + ); + } +}; + + +/** + * optional bool halt_chain = 1; + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.Emergency.prototype.getHaltChain = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.Proposal.Emergency} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.Emergency.prototype.setHaltChain = function(value) { + return jspb.Message.setProto3BooleanField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.ParameterChange.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.governance.v1alpha1.Proposal.ParameterChange.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.governance.v1alpha1.Proposal.ParameterChange} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.ParameterChange.toObject = function(includeInstance, msg) { + var f, obj = { + oldParameters: (f = msg.getOldParameters()) && proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters.toObject(includeInstance, f), + newParameters: (f = msg.getNewParameters()) && proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.governance.v1alpha1.Proposal.ParameterChange} + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.ParameterChange.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.governance.v1alpha1.Proposal.ParameterChange; + return proto.penumbra.core.component.governance.v1alpha1.Proposal.ParameterChange.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.governance.v1alpha1.Proposal.ParameterChange} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.governance.v1alpha1.Proposal.ParameterChange} + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.ParameterChange.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters; + reader.readMessage(value,proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters.deserializeBinaryFromReader); + msg.setOldParameters(value); + break; + case 2: + var value = new proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters; + reader.readMessage(value,proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters.deserializeBinaryFromReader); + msg.setNewParameters(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.ParameterChange.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.governance.v1alpha1.Proposal.ParameterChange.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.governance.v1alpha1.Proposal.ParameterChange} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.ParameterChange.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getOldParameters(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters.serializeBinaryToWriter + ); + } + f = message.getNewParameters(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters.serializeBinaryToWriter + ); + } +}; + + +/** + * optional ChangedAppParameters old_parameters = 1; + * @return {?proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters} + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.ParameterChange.prototype.getOldParameters = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.Proposal.ParameterChange} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.Proposal.ParameterChange.prototype.setOldParameters = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.Proposal.ParameterChange} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.ParameterChange.prototype.clearOldParameters = function() { + return this.setOldParameters(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.ParameterChange.prototype.hasOldParameters = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional ChangedAppParameters new_parameters = 2; + * @return {?proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters} + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.ParameterChange.prototype.getNewParameters = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters, 2)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.Proposal.ParameterChange} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.Proposal.ParameterChange.prototype.setNewParameters = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.Proposal.ParameterChange} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.ParameterChange.prototype.clearNewParameters = function() { + return this.setNewParameters(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.ParameterChange.prototype.hasNewParameters = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.DaoSpend.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.governance.v1alpha1.Proposal.DaoSpend.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.governance.v1alpha1.Proposal.DaoSpend} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.DaoSpend.toObject = function(includeInstance, msg) { + var f, obj = { + transactionPlan: (f = msg.getTransactionPlan()) && google_protobuf_any_pb.Any.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.governance.v1alpha1.Proposal.DaoSpend} + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.DaoSpend.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.governance.v1alpha1.Proposal.DaoSpend; + return proto.penumbra.core.component.governance.v1alpha1.Proposal.DaoSpend.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.governance.v1alpha1.Proposal.DaoSpend} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.governance.v1alpha1.Proposal.DaoSpend} + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.DaoSpend.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 2: + var value = new google_protobuf_any_pb.Any; + reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader); + msg.setTransactionPlan(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.DaoSpend.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.governance.v1alpha1.Proposal.DaoSpend.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.governance.v1alpha1.Proposal.DaoSpend} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.DaoSpend.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTransactionPlan(); + if (f != null) { + writer.writeMessage( + 2, + f, + google_protobuf_any_pb.Any.serializeBinaryToWriter + ); + } +}; + + +/** + * optional google.protobuf.Any transaction_plan = 2; + * @return {?proto.google.protobuf.Any} + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.DaoSpend.prototype.getTransactionPlan = function() { + return /** @type{?proto.google.protobuf.Any} */ ( + jspb.Message.getWrapperField(this, google_protobuf_any_pb.Any, 2)); +}; + + +/** + * @param {?proto.google.protobuf.Any|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.Proposal.DaoSpend} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.Proposal.DaoSpend.prototype.setTransactionPlan = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.Proposal.DaoSpend} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.DaoSpend.prototype.clearTransactionPlan = function() { + return this.setTransactionPlan(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.DaoSpend.prototype.hasTransactionPlan = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.UpgradePlan.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.governance.v1alpha1.Proposal.UpgradePlan.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.governance.v1alpha1.Proposal.UpgradePlan} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.UpgradePlan.toObject = function(includeInstance, msg) { + var f, obj = { + height: jspb.Message.getFieldWithDefault(msg, 1, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.governance.v1alpha1.Proposal.UpgradePlan} + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.UpgradePlan.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.governance.v1alpha1.Proposal.UpgradePlan; + return proto.penumbra.core.component.governance.v1alpha1.Proposal.UpgradePlan.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.governance.v1alpha1.Proposal.UpgradePlan} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.governance.v1alpha1.Proposal.UpgradePlan} + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.UpgradePlan.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setHeight(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.UpgradePlan.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.governance.v1alpha1.Proposal.UpgradePlan.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.governance.v1alpha1.Proposal.UpgradePlan} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.UpgradePlan.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getHeight(); + if (f !== 0) { + writer.writeUint64( + 1, + f + ); + } +}; + + +/** + * optional uint64 height = 1; + * @return {number} + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.UpgradePlan.prototype.getHeight = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.Proposal.UpgradePlan} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.UpgradePlan.prototype.setHeight = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional uint64 id = 4; + * @return {number} + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.prototype.getId = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.Proposal} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.prototype.setId = function(value) { + return jspb.Message.setProto3IntField(this, 4, value); +}; + + +/** + * optional string title = 1; + * @return {string} + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.prototype.getTitle = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.Proposal} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.prototype.setTitle = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string description = 2; + * @return {string} + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.Proposal} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional Signaling signaling = 5; + * @return {?proto.penumbra.core.component.governance.v1alpha1.Proposal.Signaling} + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.prototype.getSignaling = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.Proposal.Signaling} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.governance.v1alpha1.Proposal.Signaling, 5)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.Proposal.Signaling|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.Proposal} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.Proposal.prototype.setSignaling = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.Proposal} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.prototype.clearSignaling = function() { + return this.setSignaling(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.prototype.hasSignaling = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional Emergency emergency = 6; + * @return {?proto.penumbra.core.component.governance.v1alpha1.Proposal.Emergency} + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.prototype.getEmergency = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.Proposal.Emergency} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.governance.v1alpha1.Proposal.Emergency, 6)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.Proposal.Emergency|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.Proposal} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.Proposal.prototype.setEmergency = function(value) { + return jspb.Message.setWrapperField(this, 6, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.Proposal} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.prototype.clearEmergency = function() { + return this.setEmergency(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.prototype.hasEmergency = function() { + return jspb.Message.getField(this, 6) != null; +}; + + +/** + * optional ParameterChange parameter_change = 7; + * @return {?proto.penumbra.core.component.governance.v1alpha1.Proposal.ParameterChange} + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.prototype.getParameterChange = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.Proposal.ParameterChange} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.governance.v1alpha1.Proposal.ParameterChange, 7)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.Proposal.ParameterChange|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.Proposal} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.Proposal.prototype.setParameterChange = function(value) { + return jspb.Message.setWrapperField(this, 7, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.Proposal} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.prototype.clearParameterChange = function() { + return this.setParameterChange(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.prototype.hasParameterChange = function() { + return jspb.Message.getField(this, 7) != null; +}; + + +/** + * optional DaoSpend dao_spend = 8; + * @return {?proto.penumbra.core.component.governance.v1alpha1.Proposal.DaoSpend} + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.prototype.getDaoSpend = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.Proposal.DaoSpend} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.governance.v1alpha1.Proposal.DaoSpend, 8)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.Proposal.DaoSpend|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.Proposal} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.Proposal.prototype.setDaoSpend = function(value) { + return jspb.Message.setWrapperField(this, 8, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.Proposal} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.prototype.clearDaoSpend = function() { + return this.setDaoSpend(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.prototype.hasDaoSpend = function() { + return jspb.Message.getField(this, 8) != null; +}; + + +/** + * optional UpgradePlan upgrade_plan = 9; + * @return {?proto.penumbra.core.component.governance.v1alpha1.Proposal.UpgradePlan} + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.prototype.getUpgradePlan = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.Proposal.UpgradePlan} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.governance.v1alpha1.Proposal.UpgradePlan, 9)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.Proposal.UpgradePlan|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.Proposal} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.Proposal.prototype.setUpgradePlan = function(value) { + return jspb.Message.setWrapperField(this, 9, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.Proposal} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.prototype.clearUpgradePlan = function() { + return this.setUpgradePlan(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.Proposal.prototype.hasUpgradePlan = function() { + return jspb.Message.getField(this, 9) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalInfoRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.governance.v1alpha1.ProposalInfoRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalInfoRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalInfoRequest.toObject = function(includeInstance, msg) { + var f, obj = { + chainId: jspb.Message.getFieldWithDefault(msg, 1, ""), + proposalId: jspb.Message.getFieldWithDefault(msg, 2, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalInfoRequest} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalInfoRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.governance.v1alpha1.ProposalInfoRequest; + return proto.penumbra.core.component.governance.v1alpha1.ProposalInfoRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalInfoRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalInfoRequest} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalInfoRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setChainId(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint64()); + msg.setProposalId(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalInfoRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.governance.v1alpha1.ProposalInfoRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalInfoRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalInfoRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getChainId(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getProposalId(); + if (f !== 0) { + writer.writeUint64( + 2, + f + ); + } +}; + + +/** + * optional string chain_id = 1; + * @return {string} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalInfoRequest.prototype.getChainId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalInfoRequest} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalInfoRequest.prototype.setChainId = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional uint64 proposal_id = 2; + * @return {number} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalInfoRequest.prototype.getProposalId = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalInfoRequest} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalInfoRequest.prototype.setProposalId = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalInfoResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.governance.v1alpha1.ProposalInfoResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalInfoResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalInfoResponse.toObject = function(includeInstance, msg) { + var f, obj = { + startBlockHeight: jspb.Message.getFieldWithDefault(msg, 1, 0), + startPosition: jspb.Message.getFieldWithDefault(msg, 2, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalInfoResponse} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalInfoResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.governance.v1alpha1.ProposalInfoResponse; + return proto.penumbra.core.component.governance.v1alpha1.ProposalInfoResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalInfoResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalInfoResponse} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalInfoResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setStartBlockHeight(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint64()); + msg.setStartPosition(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalInfoResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.governance.v1alpha1.ProposalInfoResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalInfoResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalInfoResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getStartBlockHeight(); + if (f !== 0) { + writer.writeUint64( + 1, + f + ); + } + f = message.getStartPosition(); + if (f !== 0) { + writer.writeUint64( + 2, + f + ); + } +}; + + +/** + * optional uint64 start_block_height = 1; + * @return {number} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalInfoResponse.prototype.getStartBlockHeight = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalInfoResponse} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalInfoResponse.prototype.setStartBlockHeight = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional uint64 start_position = 2; + * @return {number} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalInfoResponse.prototype.getStartPosition = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalInfoResponse} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalInfoResponse.prototype.setStartPosition = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataRequest.toObject = function(includeInstance, msg) { + var f, obj = { + chainId: jspb.Message.getFieldWithDefault(msg, 1, ""), + proposalId: jspb.Message.getFieldWithDefault(msg, 2, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataRequest} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataRequest; + return proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataRequest} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setChainId(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint64()); + msg.setProposalId(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getChainId(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getProposalId(); + if (f !== 0) { + writer.writeUint64( + 2, + f + ); + } +}; + + +/** + * optional string chain_id = 1; + * @return {string} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataRequest.prototype.getChainId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataRequest} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataRequest.prototype.setChainId = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional uint64 proposal_id = 2; + * @return {number} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataRequest.prototype.getProposalId = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataRequest} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataRequest.prototype.setProposalId = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataResponse.toObject = function(includeInstance, msg) { + var f, obj = { + rateData: (f = msg.getRateData()) && penumbra_core_component_stake_v1alpha1_stake_pb.RateData.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataResponse} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataResponse; + return proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataResponse} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_component_stake_v1alpha1_stake_pb.RateData; + reader.readMessage(value,penumbra_core_component_stake_v1alpha1_stake_pb.RateData.deserializeBinaryFromReader); + msg.setRateData(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getRateData(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_component_stake_v1alpha1_stake_pb.RateData.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.component.stake.v1alpha1.RateData rate_data = 1; + * @return {?proto.penumbra.core.component.stake.v1alpha1.RateData} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataResponse.prototype.getRateData = function() { + return /** @type{?proto.penumbra.core.component.stake.v1alpha1.RateData} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_stake_v1alpha1_stake_pb.RateData, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.stake.v1alpha1.RateData|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataResponse} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataResponse.prototype.setRateData = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataResponse} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataResponse.prototype.clearRateData = function() { + return this.setRateData(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.ProposalRateDataResponse.prototype.hasRateData = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters.toObject = function(includeInstance, msg) { + var f, obj = { + proposalVotingBlocks: jspb.Message.getFieldWithDefault(msg, 1, 0), + proposalDepositAmount: (f = msg.getProposalDepositAmount()) && penumbra_core_num_v1alpha1_num_pb.Amount.toObject(includeInstance, f), + proposalValidQuorum: jspb.Message.getFieldWithDefault(msg, 3, ""), + proposalPassThreshold: jspb.Message.getFieldWithDefault(msg, 4, ""), + proposalSlashThreshold: jspb.Message.getFieldWithDefault(msg, 5, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters} + */ +proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters; + return proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters} + */ +proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setProposalVotingBlocks(value); + break; + case 2: + var value = new penumbra_core_num_v1alpha1_num_pb.Amount; + reader.readMessage(value,penumbra_core_num_v1alpha1_num_pb.Amount.deserializeBinaryFromReader); + msg.setProposalDepositAmount(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setProposalValidQuorum(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setProposalPassThreshold(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setProposalSlashThreshold(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getProposalVotingBlocks(); + if (f !== 0) { + writer.writeUint64( + 1, + f + ); + } + f = message.getProposalDepositAmount(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_num_v1alpha1_num_pb.Amount.serializeBinaryToWriter + ); + } + f = message.getProposalValidQuorum(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getProposalPassThreshold(); + if (f.length > 0) { + writer.writeString( + 4, + f + ); + } + f = message.getProposalSlashThreshold(); + if (f.length > 0) { + writer.writeString( + 5, + f + ); + } +}; + + +/** + * optional uint64 proposal_voting_blocks = 1; + * @return {number} + */ +proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters.prototype.getProposalVotingBlocks = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters.prototype.setProposalVotingBlocks = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional penumbra.core.num.v1alpha1.Amount proposal_deposit_amount = 2; + * @return {?proto.penumbra.core.num.v1alpha1.Amount} + */ +proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters.prototype.getProposalDepositAmount = function() { + return /** @type{?proto.penumbra.core.num.v1alpha1.Amount} */ ( + jspb.Message.getWrapperField(this, penumbra_core_num_v1alpha1_num_pb.Amount, 2)); +}; + + +/** + * @param {?proto.penumbra.core.num.v1alpha1.Amount|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters.prototype.setProposalDepositAmount = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters.prototype.clearProposalDepositAmount = function() { + return this.setProposalDepositAmount(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters.prototype.hasProposalDepositAmount = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional string proposal_valid_quorum = 3; + * @return {string} + */ +proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters.prototype.getProposalValidQuorum = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters.prototype.setProposalValidQuorum = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string proposal_pass_threshold = 4; + * @return {string} + */ +proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters.prototype.getProposalPassThreshold = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters.prototype.setProposalPassThreshold = function(value) { + return jspb.Message.setProto3StringField(this, 4, value); +}; + + +/** + * optional string proposal_slash_threshold = 5; + * @return {string} + */ +proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters.prototype.getProposalSlashThreshold = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters.prototype.setProposalSlashThreshold = function(value) { + return jspb.Message.setProto3StringField(this, 5, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.governance.v1alpha1.GenesisContent.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.governance.v1alpha1.GenesisContent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.governance.v1alpha1.GenesisContent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.GenesisContent.toObject = function(includeInstance, msg) { + var f, obj = { + governanceParams: (f = msg.getGovernanceParams()) && proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.governance.v1alpha1.GenesisContent} + */ +proto.penumbra.core.component.governance.v1alpha1.GenesisContent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.governance.v1alpha1.GenesisContent; + return proto.penumbra.core.component.governance.v1alpha1.GenesisContent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.governance.v1alpha1.GenesisContent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.governance.v1alpha1.GenesisContent} + */ +proto.penumbra.core.component.governance.v1alpha1.GenesisContent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters; + reader.readMessage(value,proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters.deserializeBinaryFromReader); + msg.setGovernanceParams(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.governance.v1alpha1.GenesisContent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.governance.v1alpha1.GenesisContent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.governance.v1alpha1.GenesisContent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.GenesisContent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getGovernanceParams(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters.serializeBinaryToWriter + ); + } +}; + + +/** + * optional GovernanceParameters governance_params = 1; + * @return {?proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters} + */ +proto.penumbra.core.component.governance.v1alpha1.GenesisContent.prototype.getGovernanceParams = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.GenesisContent} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.GenesisContent.prototype.setGovernanceParams = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.GenesisContent} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.GenesisContent.prototype.clearGovernanceParams = function() { + return this.setGovernanceParams(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.GenesisContent.prototype.hasGovernanceParams = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters.toObject = function(includeInstance, msg) { + var f, obj = { + chainParams: (f = msg.getChainParams()) && penumbra_core_component_chain_v1alpha1_chain_pb.ChainParameters.toObject(includeInstance, f), + daoParams: (f = msg.getDaoParams()) && penumbra_core_component_dao_v1alpha1_dao_pb.DaoParameters.toObject(includeInstance, f), + governanceParams: (f = msg.getGovernanceParams()) && proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters.toObject(includeInstance, f), + ibcParams: (f = msg.getIbcParams()) && penumbra_core_component_ibc_v1alpha1_ibc_pb.IbcParameters.toObject(includeInstance, f), + stakeParams: (f = msg.getStakeParams()) && penumbra_core_component_stake_v1alpha1_stake_pb.StakeParameters.toObject(includeInstance, f), + feeParams: (f = msg.getFeeParams()) && penumbra_core_component_fee_v1alpha1_fee_pb.FeeParameters.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters} + */ +proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters; + return proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters} + */ +proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_component_chain_v1alpha1_chain_pb.ChainParameters; + reader.readMessage(value,penumbra_core_component_chain_v1alpha1_chain_pb.ChainParameters.deserializeBinaryFromReader); + msg.setChainParams(value); + break; + case 2: + var value = new penumbra_core_component_dao_v1alpha1_dao_pb.DaoParameters; + reader.readMessage(value,penumbra_core_component_dao_v1alpha1_dao_pb.DaoParameters.deserializeBinaryFromReader); + msg.setDaoParams(value); + break; + case 3: + var value = new proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters; + reader.readMessage(value,proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters.deserializeBinaryFromReader); + msg.setGovernanceParams(value); + break; + case 4: + var value = new penumbra_core_component_ibc_v1alpha1_ibc_pb.IbcParameters; + reader.readMessage(value,penumbra_core_component_ibc_v1alpha1_ibc_pb.IbcParameters.deserializeBinaryFromReader); + msg.setIbcParams(value); + break; + case 5: + var value = new penumbra_core_component_stake_v1alpha1_stake_pb.StakeParameters; + reader.readMessage(value,penumbra_core_component_stake_v1alpha1_stake_pb.StakeParameters.deserializeBinaryFromReader); + msg.setStakeParams(value); + break; + case 6: + var value = new penumbra_core_component_fee_v1alpha1_fee_pb.FeeParameters; + reader.readMessage(value,penumbra_core_component_fee_v1alpha1_fee_pb.FeeParameters.deserializeBinaryFromReader); + msg.setFeeParams(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getChainParams(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_component_chain_v1alpha1_chain_pb.ChainParameters.serializeBinaryToWriter + ); + } + f = message.getDaoParams(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_component_dao_v1alpha1_dao_pb.DaoParameters.serializeBinaryToWriter + ); + } + f = message.getGovernanceParams(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters.serializeBinaryToWriter + ); + } + f = message.getIbcParams(); + if (f != null) { + writer.writeMessage( + 4, + f, + penumbra_core_component_ibc_v1alpha1_ibc_pb.IbcParameters.serializeBinaryToWriter + ); + } + f = message.getStakeParams(); + if (f != null) { + writer.writeMessage( + 5, + f, + penumbra_core_component_stake_v1alpha1_stake_pb.StakeParameters.serializeBinaryToWriter + ); + } + f = message.getFeeParams(); + if (f != null) { + writer.writeMessage( + 6, + f, + penumbra_core_component_fee_v1alpha1_fee_pb.FeeParameters.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.component.chain.v1alpha1.ChainParameters chain_params = 1; + * @return {?proto.penumbra.core.component.chain.v1alpha1.ChainParameters} + */ +proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters.prototype.getChainParams = function() { + return /** @type{?proto.penumbra.core.component.chain.v1alpha1.ChainParameters} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_chain_v1alpha1_chain_pb.ChainParameters, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.chain.v1alpha1.ChainParameters|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters.prototype.setChainParams = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters.prototype.clearChainParams = function() { + return this.setChainParams(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters.prototype.hasChainParams = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional penumbra.core.component.dao.v1alpha1.DaoParameters dao_params = 2; + * @return {?proto.penumbra.core.component.dao.v1alpha1.DaoParameters} + */ +proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters.prototype.getDaoParams = function() { + return /** @type{?proto.penumbra.core.component.dao.v1alpha1.DaoParameters} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_dao_v1alpha1_dao_pb.DaoParameters, 2)); +}; + + +/** + * @param {?proto.penumbra.core.component.dao.v1alpha1.DaoParameters|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters.prototype.setDaoParams = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters.prototype.clearDaoParams = function() { + return this.setDaoParams(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters.prototype.hasDaoParams = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional GovernanceParameters governance_params = 3; + * @return {?proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters} + */ +proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters.prototype.getGovernanceParams = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters, 3)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.GovernanceParameters|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters.prototype.setGovernanceParams = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters.prototype.clearGovernanceParams = function() { + return this.setGovernanceParams(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters.prototype.hasGovernanceParams = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional penumbra.core.component.ibc.v1alpha1.IbcParameters ibc_params = 4; + * @return {?proto.penumbra.core.component.ibc.v1alpha1.IbcParameters} + */ +proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters.prototype.getIbcParams = function() { + return /** @type{?proto.penumbra.core.component.ibc.v1alpha1.IbcParameters} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_ibc_v1alpha1_ibc_pb.IbcParameters, 4)); +}; + + +/** + * @param {?proto.penumbra.core.component.ibc.v1alpha1.IbcParameters|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters.prototype.setIbcParams = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters.prototype.clearIbcParams = function() { + return this.setIbcParams(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters.prototype.hasIbcParams = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional penumbra.core.component.stake.v1alpha1.StakeParameters stake_params = 5; + * @return {?proto.penumbra.core.component.stake.v1alpha1.StakeParameters} + */ +proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters.prototype.getStakeParams = function() { + return /** @type{?proto.penumbra.core.component.stake.v1alpha1.StakeParameters} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_stake_v1alpha1_stake_pb.StakeParameters, 5)); +}; + + +/** + * @param {?proto.penumbra.core.component.stake.v1alpha1.StakeParameters|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters.prototype.setStakeParams = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters.prototype.clearStakeParams = function() { + return this.setStakeParams(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters.prototype.hasStakeParams = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional penumbra.core.component.fee.v1alpha1.FeeParameters fee_params = 6; + * @return {?proto.penumbra.core.component.fee.v1alpha1.FeeParameters} + */ +proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters.prototype.getFeeParams = function() { + return /** @type{?proto.penumbra.core.component.fee.v1alpha1.FeeParameters} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_fee_v1alpha1_fee_pb.FeeParameters, 6)); +}; + + +/** + * @param {?proto.penumbra.core.component.fee.v1alpha1.FeeParameters|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters.prototype.setFeeParams = function(value) { + return jspb.Message.setWrapperField(this, 6, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters.prototype.clearFeeParams = function() { + return this.setFeeParams(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters.prototype.hasFeeParams = function() { + return jspb.Message.getField(this, 6) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.governance.v1alpha1.ChangedAppParametersSet.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.governance.v1alpha1.ChangedAppParametersSet.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.governance.v1alpha1.ChangedAppParametersSet} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.ChangedAppParametersSet.toObject = function(includeInstance, msg) { + var f, obj = { + old: (f = msg.getOld()) && proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters.toObject(includeInstance, f), + pb_new: (f = msg.getNew()) && proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ChangedAppParametersSet} + */ +proto.penumbra.core.component.governance.v1alpha1.ChangedAppParametersSet.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.governance.v1alpha1.ChangedAppParametersSet; + return proto.penumbra.core.component.governance.v1alpha1.ChangedAppParametersSet.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.governance.v1alpha1.ChangedAppParametersSet} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ChangedAppParametersSet} + */ +proto.penumbra.core.component.governance.v1alpha1.ChangedAppParametersSet.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters; + reader.readMessage(value,proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters.deserializeBinaryFromReader); + msg.setOld(value); + break; + case 2: + var value = new proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters; + reader.readMessage(value,proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters.deserializeBinaryFromReader); + msg.setNew(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.governance.v1alpha1.ChangedAppParametersSet.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.governance.v1alpha1.ChangedAppParametersSet.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.governance.v1alpha1.ChangedAppParametersSet} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.governance.v1alpha1.ChangedAppParametersSet.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getOld(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters.serializeBinaryToWriter + ); + } + f = message.getNew(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters.serializeBinaryToWriter + ); + } +}; + + +/** + * optional ChangedAppParameters old = 1; + * @return {?proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters} + */ +proto.penumbra.core.component.governance.v1alpha1.ChangedAppParametersSet.prototype.getOld = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.ChangedAppParametersSet} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.ChangedAppParametersSet.prototype.setOld = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ChangedAppParametersSet} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.ChangedAppParametersSet.prototype.clearOld = function() { + return this.setOld(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.ChangedAppParametersSet.prototype.hasOld = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional ChangedAppParameters new = 2; + * @return {?proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters} + */ +proto.penumbra.core.component.governance.v1alpha1.ChangedAppParametersSet.prototype.getNew = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters, 2)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.ChangedAppParameters|undefined} value + * @return {!proto.penumbra.core.component.governance.v1alpha1.ChangedAppParametersSet} returns this +*/ +proto.penumbra.core.component.governance.v1alpha1.ChangedAppParametersSet.prototype.setNew = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.governance.v1alpha1.ChangedAppParametersSet} returns this + */ +proto.penumbra.core.component.governance.v1alpha1.ChangedAppParametersSet.prototype.clearNew = function() { + return this.setNew(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.governance.v1alpha1.ChangedAppParametersSet.prototype.hasNew = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +goog.object.extend(exports, proto.penumbra.core.component.governance.v1alpha1); diff --git a/src/chains/penumbra/generated/penumbra/core/component/ibc/v1alpha1/ibc_grpc_pb.js b/src/chains/penumbra/generated/penumbra/core/component/ibc/v1alpha1/ibc_grpc_pb.js new file mode 100644 index 0000000000..97b3a2461d --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/component/ibc/v1alpha1/ibc_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/src/chains/penumbra/generated/penumbra/core/component/ibc/v1alpha1/ibc_pb.d.ts b/src/chains/penumbra/generated/penumbra/core/component/ibc/v1alpha1/ibc_pb.d.ts new file mode 100644 index 0000000000..144dad3c51 --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/component/ibc/v1alpha1/ibc_pb.d.ts @@ -0,0 +1,302 @@ +// package: penumbra.core.component.ibc.v1alpha1 +// file: penumbra/core/component/ibc/v1alpha1/ibc.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as ibc_core_client_v1_client_pb from "../../../../../ibc/core/client/v1/client_pb"; +import * as google_protobuf_any_pb from "google-protobuf/google/protobuf/any_pb"; +import * as penumbra_core_keys_v1alpha1_keys_pb from "../../../../../penumbra/core/keys/v1alpha1/keys_pb"; +import * as penumbra_core_num_v1alpha1_num_pb from "../../../../../penumbra/core/num/v1alpha1/num_pb"; +import * as penumbra_core_asset_v1alpha1_asset_pb from "../../../../../penumbra/core/asset/v1alpha1/asset_pb"; + +export class IbcAction extends jspb.Message { + + hasRawAction(): boolean; + clearRawAction(): void; + getRawAction(): google_protobuf_any_pb.Any | undefined; + setRawAction(value?: google_protobuf_any_pb.Any): IbcAction; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): IbcAction.AsObject; + static toObject(includeInstance: boolean, msg: IbcAction): IbcAction.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: IbcAction, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): IbcAction; + static deserializeBinaryFromReader(message: IbcAction, reader: jspb.BinaryReader): IbcAction; +} + +export namespace IbcAction { + export type AsObject = { + rawAction?: google_protobuf_any_pb.Any.AsObject, + } +} + +export class FungibleTokenPacketData extends jspb.Message { + getDenom(): string; + setDenom(value: string): FungibleTokenPacketData; + getAmount(): string; + setAmount(value: string): FungibleTokenPacketData; + getSender(): string; + setSender(value: string): FungibleTokenPacketData; + getReceiver(): string; + setReceiver(value: string): FungibleTokenPacketData; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): FungibleTokenPacketData.AsObject; + static toObject(includeInstance: boolean, msg: FungibleTokenPacketData): FungibleTokenPacketData.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: FungibleTokenPacketData, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): FungibleTokenPacketData; + static deserializeBinaryFromReader(message: FungibleTokenPacketData, reader: jspb.BinaryReader): FungibleTokenPacketData; +} + +export namespace FungibleTokenPacketData { + export type AsObject = { + denom: string, + amount: string, + sender: string, + receiver: string, + } +} + +export class Ics20Withdrawal extends jspb.Message { + + hasAmount(): boolean; + clearAmount(): void; + getAmount(): penumbra_core_num_v1alpha1_num_pb.Amount | undefined; + setAmount(value?: penumbra_core_num_v1alpha1_num_pb.Amount): Ics20Withdrawal; + + hasDenom(): boolean; + clearDenom(): void; + getDenom(): penumbra_core_asset_v1alpha1_asset_pb.Denom | undefined; + setDenom(value?: penumbra_core_asset_v1alpha1_asset_pb.Denom): Ics20Withdrawal; + getDestinationChainAddress(): string; + setDestinationChainAddress(value: string): Ics20Withdrawal; + + hasReturnAddress(): boolean; + clearReturnAddress(): void; + getReturnAddress(): penumbra_core_keys_v1alpha1_keys_pb.Address | undefined; + setReturnAddress(value?: penumbra_core_keys_v1alpha1_keys_pb.Address): Ics20Withdrawal; + + hasTimeoutHeight(): boolean; + clearTimeoutHeight(): void; + getTimeoutHeight(): ibc_core_client_v1_client_pb.Height | undefined; + setTimeoutHeight(value?: ibc_core_client_v1_client_pb.Height): Ics20Withdrawal; + getTimeoutTime(): number; + setTimeoutTime(value: number): Ics20Withdrawal; + getSourceChannel(): string; + setSourceChannel(value: string): Ics20Withdrawal; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Ics20Withdrawal.AsObject; + static toObject(includeInstance: boolean, msg: Ics20Withdrawal): Ics20Withdrawal.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Ics20Withdrawal, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Ics20Withdrawal; + static deserializeBinaryFromReader(message: Ics20Withdrawal, reader: jspb.BinaryReader): Ics20Withdrawal; +} + +export namespace Ics20Withdrawal { + export type AsObject = { + amount?: penumbra_core_num_v1alpha1_num_pb.Amount.AsObject, + denom?: penumbra_core_asset_v1alpha1_asset_pb.Denom.AsObject, + destinationChainAddress: string, + returnAddress?: penumbra_core_keys_v1alpha1_keys_pb.Address.AsObject, + timeoutHeight?: ibc_core_client_v1_client_pb.Height.AsObject, + timeoutTime: number, + sourceChannel: string, + } +} + +export class ClientData extends jspb.Message { + getClientId(): string; + setClientId(value: string): ClientData; + + hasClientState(): boolean; + clearClientState(): void; + getClientState(): google_protobuf_any_pb.Any | undefined; + setClientState(value?: google_protobuf_any_pb.Any): ClientData; + getProcessedTime(): string; + setProcessedTime(value: string): ClientData; + getProcessedHeight(): number; + setProcessedHeight(value: number): ClientData; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ClientData.AsObject; + static toObject(includeInstance: boolean, msg: ClientData): ClientData.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ClientData, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ClientData; + static deserializeBinaryFromReader(message: ClientData, reader: jspb.BinaryReader): ClientData; +} + +export namespace ClientData { + export type AsObject = { + clientId: string, + clientState?: google_protobuf_any_pb.Any.AsObject, + processedTime: string, + processedHeight: number, + } +} + +export class ClientCounter extends jspb.Message { + getCounter(): number; + setCounter(value: number): ClientCounter; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ClientCounter.AsObject; + static toObject(includeInstance: boolean, msg: ClientCounter): ClientCounter.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ClientCounter, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ClientCounter; + static deserializeBinaryFromReader(message: ClientCounter, reader: jspb.BinaryReader): ClientCounter; +} + +export namespace ClientCounter { + export type AsObject = { + counter: number, + } +} + +export class ConsensusState extends jspb.Message { + + hasConsensusState(): boolean; + clearConsensusState(): void; + getConsensusState(): google_protobuf_any_pb.Any | undefined; + setConsensusState(value?: google_protobuf_any_pb.Any): ConsensusState; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ConsensusState.AsObject; + static toObject(includeInstance: boolean, msg: ConsensusState): ConsensusState.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ConsensusState, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ConsensusState; + static deserializeBinaryFromReader(message: ConsensusState, reader: jspb.BinaryReader): ConsensusState; +} + +export namespace ConsensusState { + export type AsObject = { + consensusState?: google_protobuf_any_pb.Any.AsObject, + } +} + +export class VerifiedHeights extends jspb.Message { + clearHeightsList(): void; + getHeightsList(): Array; + setHeightsList(value: Array): VerifiedHeights; + addHeights(value?: ibc_core_client_v1_client_pb.Height, index?: number): ibc_core_client_v1_client_pb.Height; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): VerifiedHeights.AsObject; + static toObject(includeInstance: boolean, msg: VerifiedHeights): VerifiedHeights.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: VerifiedHeights, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): VerifiedHeights; + static deserializeBinaryFromReader(message: VerifiedHeights, reader: jspb.BinaryReader): VerifiedHeights; +} + +export namespace VerifiedHeights { + export type AsObject = { + heightsList: Array, + } +} + +export class ConnectionCounter extends jspb.Message { + getCounter(): number; + setCounter(value: number): ConnectionCounter; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ConnectionCounter.AsObject; + static toObject(includeInstance: boolean, msg: ConnectionCounter): ConnectionCounter.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ConnectionCounter, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ConnectionCounter; + static deserializeBinaryFromReader(message: ConnectionCounter, reader: jspb.BinaryReader): ConnectionCounter; +} + +export namespace ConnectionCounter { + export type AsObject = { + counter: number, + } +} + +export class ClientConnections extends jspb.Message { + clearConnectionsList(): void; + getConnectionsList(): Array; + setConnectionsList(value: Array): ClientConnections; + addConnections(value: string, index?: number): string; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ClientConnections.AsObject; + static toObject(includeInstance: boolean, msg: ClientConnections): ClientConnections.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ClientConnections, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ClientConnections; + static deserializeBinaryFromReader(message: ClientConnections, reader: jspb.BinaryReader): ClientConnections; +} + +export namespace ClientConnections { + export type AsObject = { + connectionsList: Array, + } +} + +export class IbcParameters extends jspb.Message { + getIbcEnabled(): boolean; + setIbcEnabled(value: boolean): IbcParameters; + getInboundIcs20TransfersEnabled(): boolean; + setInboundIcs20TransfersEnabled(value: boolean): IbcParameters; + getOutboundIcs20TransfersEnabled(): boolean; + setOutboundIcs20TransfersEnabled(value: boolean): IbcParameters; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): IbcParameters.AsObject; + static toObject(includeInstance: boolean, msg: IbcParameters): IbcParameters.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: IbcParameters, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): IbcParameters; + static deserializeBinaryFromReader(message: IbcParameters, reader: jspb.BinaryReader): IbcParameters; +} + +export namespace IbcParameters { + export type AsObject = { + ibcEnabled: boolean, + inboundIcs20TransfersEnabled: boolean, + outboundIcs20TransfersEnabled: boolean, + } +} + +export class GenesisContent extends jspb.Message { + + hasIbcParams(): boolean; + clearIbcParams(): void; + getIbcParams(): IbcParameters | undefined; + setIbcParams(value?: IbcParameters): GenesisContent; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GenesisContent.AsObject; + static toObject(includeInstance: boolean, msg: GenesisContent): GenesisContent.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: GenesisContent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GenesisContent; + static deserializeBinaryFromReader(message: GenesisContent, reader: jspb.BinaryReader): GenesisContent; +} + +export namespace GenesisContent { + export type AsObject = { + ibcParams?: IbcParameters.AsObject, + } +} diff --git a/src/chains/penumbra/generated/penumbra/core/component/ibc/v1alpha1/ibc_pb.js b/src/chains/penumbra/generated/penumbra/core/component/ibc/v1alpha1/ibc_pb.js new file mode 100644 index 0000000000..a91cc9788d --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/component/ibc/v1alpha1/ibc_pb.js @@ -0,0 +1,2350 @@ +// source: penumbra/core/component/ibc/v1alpha1/ibc.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = (function() { + if (this) { return this; } + if (typeof window !== 'undefined') { return window; } + if (typeof global !== 'undefined') { return global; } + if (typeof self !== 'undefined') { return self; } + return Function('return this')(); +}.call(null)); + +var ibc_core_client_v1_client_pb = require('../../../../../ibc/core/client/v1/client_pb.js'); +goog.object.extend(proto, ibc_core_client_v1_client_pb); +var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js'); +goog.object.extend(proto, google_protobuf_any_pb); +var penumbra_core_keys_v1alpha1_keys_pb = require('../../../../../penumbra/core/keys/v1alpha1/keys_pb.js'); +goog.object.extend(proto, penumbra_core_keys_v1alpha1_keys_pb); +var penumbra_core_num_v1alpha1_num_pb = require('../../../../../penumbra/core/num/v1alpha1/num_pb.js'); +goog.object.extend(proto, penumbra_core_num_v1alpha1_num_pb); +var penumbra_core_asset_v1alpha1_asset_pb = require('../../../../../penumbra/core/asset/v1alpha1/asset_pb.js'); +goog.object.extend(proto, penumbra_core_asset_v1alpha1_asset_pb); +goog.exportSymbol('proto.penumbra.core.component.ibc.v1alpha1.ClientConnections', null, global); +goog.exportSymbol('proto.penumbra.core.component.ibc.v1alpha1.ClientCounter', null, global); +goog.exportSymbol('proto.penumbra.core.component.ibc.v1alpha1.ClientData', null, global); +goog.exportSymbol('proto.penumbra.core.component.ibc.v1alpha1.ConnectionCounter', null, global); +goog.exportSymbol('proto.penumbra.core.component.ibc.v1alpha1.ConsensusState', null, global); +goog.exportSymbol('proto.penumbra.core.component.ibc.v1alpha1.FungibleTokenPacketData', null, global); +goog.exportSymbol('proto.penumbra.core.component.ibc.v1alpha1.GenesisContent', null, global); +goog.exportSymbol('proto.penumbra.core.component.ibc.v1alpha1.IbcAction', null, global); +goog.exportSymbol('proto.penumbra.core.component.ibc.v1alpha1.IbcParameters', null, global); +goog.exportSymbol('proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal', null, global); +goog.exportSymbol('proto.penumbra.core.component.ibc.v1alpha1.VerifiedHeights', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.ibc.v1alpha1.IbcAction = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.ibc.v1alpha1.IbcAction, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.ibc.v1alpha1.IbcAction.displayName = 'proto.penumbra.core.component.ibc.v1alpha1.IbcAction'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.ibc.v1alpha1.FungibleTokenPacketData = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.ibc.v1alpha1.FungibleTokenPacketData, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.ibc.v1alpha1.FungibleTokenPacketData.displayName = 'proto.penumbra.core.component.ibc.v1alpha1.FungibleTokenPacketData'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal.displayName = 'proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.ibc.v1alpha1.ClientData = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.ibc.v1alpha1.ClientData, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.ibc.v1alpha1.ClientData.displayName = 'proto.penumbra.core.component.ibc.v1alpha1.ClientData'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.ibc.v1alpha1.ClientCounter = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.ibc.v1alpha1.ClientCounter, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.ibc.v1alpha1.ClientCounter.displayName = 'proto.penumbra.core.component.ibc.v1alpha1.ClientCounter'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.ibc.v1alpha1.ConsensusState = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.ibc.v1alpha1.ConsensusState, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.ibc.v1alpha1.ConsensusState.displayName = 'proto.penumbra.core.component.ibc.v1alpha1.ConsensusState'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.ibc.v1alpha1.VerifiedHeights = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.penumbra.core.component.ibc.v1alpha1.VerifiedHeights.repeatedFields_, null); +}; +goog.inherits(proto.penumbra.core.component.ibc.v1alpha1.VerifiedHeights, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.ibc.v1alpha1.VerifiedHeights.displayName = 'proto.penumbra.core.component.ibc.v1alpha1.VerifiedHeights'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.ibc.v1alpha1.ConnectionCounter = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.ibc.v1alpha1.ConnectionCounter, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.ibc.v1alpha1.ConnectionCounter.displayName = 'proto.penumbra.core.component.ibc.v1alpha1.ConnectionCounter'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.ibc.v1alpha1.ClientConnections = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.penumbra.core.component.ibc.v1alpha1.ClientConnections.repeatedFields_, null); +}; +goog.inherits(proto.penumbra.core.component.ibc.v1alpha1.ClientConnections, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.ibc.v1alpha1.ClientConnections.displayName = 'proto.penumbra.core.component.ibc.v1alpha1.ClientConnections'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.ibc.v1alpha1.IbcParameters = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.ibc.v1alpha1.IbcParameters, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.ibc.v1alpha1.IbcParameters.displayName = 'proto.penumbra.core.component.ibc.v1alpha1.IbcParameters'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.ibc.v1alpha1.GenesisContent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.ibc.v1alpha1.GenesisContent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.ibc.v1alpha1.GenesisContent.displayName = 'proto.penumbra.core.component.ibc.v1alpha1.GenesisContent'; +} + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.ibc.v1alpha1.IbcAction.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.ibc.v1alpha1.IbcAction.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.ibc.v1alpha1.IbcAction} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.ibc.v1alpha1.IbcAction.toObject = function(includeInstance, msg) { + var f, obj = { + rawAction: (f = msg.getRawAction()) && google_protobuf_any_pb.Any.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.ibc.v1alpha1.IbcAction} + */ +proto.penumbra.core.component.ibc.v1alpha1.IbcAction.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.ibc.v1alpha1.IbcAction; + return proto.penumbra.core.component.ibc.v1alpha1.IbcAction.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.ibc.v1alpha1.IbcAction} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.ibc.v1alpha1.IbcAction} + */ +proto.penumbra.core.component.ibc.v1alpha1.IbcAction.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new google_protobuf_any_pb.Any; + reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader); + msg.setRawAction(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.ibc.v1alpha1.IbcAction.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.ibc.v1alpha1.IbcAction.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.ibc.v1alpha1.IbcAction} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.ibc.v1alpha1.IbcAction.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getRawAction(); + if (f != null) { + writer.writeMessage( + 1, + f, + google_protobuf_any_pb.Any.serializeBinaryToWriter + ); + } +}; + + +/** + * optional google.protobuf.Any raw_action = 1; + * @return {?proto.google.protobuf.Any} + */ +proto.penumbra.core.component.ibc.v1alpha1.IbcAction.prototype.getRawAction = function() { + return /** @type{?proto.google.protobuf.Any} */ ( + jspb.Message.getWrapperField(this, google_protobuf_any_pb.Any, 1)); +}; + + +/** + * @param {?proto.google.protobuf.Any|undefined} value + * @return {!proto.penumbra.core.component.ibc.v1alpha1.IbcAction} returns this +*/ +proto.penumbra.core.component.ibc.v1alpha1.IbcAction.prototype.setRawAction = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.ibc.v1alpha1.IbcAction} returns this + */ +proto.penumbra.core.component.ibc.v1alpha1.IbcAction.prototype.clearRawAction = function() { + return this.setRawAction(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.ibc.v1alpha1.IbcAction.prototype.hasRawAction = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.ibc.v1alpha1.FungibleTokenPacketData.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.ibc.v1alpha1.FungibleTokenPacketData.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.ibc.v1alpha1.FungibleTokenPacketData} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.ibc.v1alpha1.FungibleTokenPacketData.toObject = function(includeInstance, msg) { + var f, obj = { + denom: jspb.Message.getFieldWithDefault(msg, 1, ""), + amount: jspb.Message.getFieldWithDefault(msg, 2, ""), + sender: jspb.Message.getFieldWithDefault(msg, 3, ""), + receiver: jspb.Message.getFieldWithDefault(msg, 4, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.ibc.v1alpha1.FungibleTokenPacketData} + */ +proto.penumbra.core.component.ibc.v1alpha1.FungibleTokenPacketData.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.ibc.v1alpha1.FungibleTokenPacketData; + return proto.penumbra.core.component.ibc.v1alpha1.FungibleTokenPacketData.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.ibc.v1alpha1.FungibleTokenPacketData} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.ibc.v1alpha1.FungibleTokenPacketData} + */ +proto.penumbra.core.component.ibc.v1alpha1.FungibleTokenPacketData.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setDenom(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setAmount(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setSender(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setReceiver(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.ibc.v1alpha1.FungibleTokenPacketData.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.ibc.v1alpha1.FungibleTokenPacketData.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.ibc.v1alpha1.FungibleTokenPacketData} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.ibc.v1alpha1.FungibleTokenPacketData.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDenom(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getAmount(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getSender(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getReceiver(); + if (f.length > 0) { + writer.writeString( + 4, + f + ); + } +}; + + +/** + * optional string denom = 1; + * @return {string} + */ +proto.penumbra.core.component.ibc.v1alpha1.FungibleTokenPacketData.prototype.getDenom = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.component.ibc.v1alpha1.FungibleTokenPacketData} returns this + */ +proto.penumbra.core.component.ibc.v1alpha1.FungibleTokenPacketData.prototype.setDenom = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string amount = 2; + * @return {string} + */ +proto.penumbra.core.component.ibc.v1alpha1.FungibleTokenPacketData.prototype.getAmount = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.component.ibc.v1alpha1.FungibleTokenPacketData} returns this + */ +proto.penumbra.core.component.ibc.v1alpha1.FungibleTokenPacketData.prototype.setAmount = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string sender = 3; + * @return {string} + */ +proto.penumbra.core.component.ibc.v1alpha1.FungibleTokenPacketData.prototype.getSender = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.component.ibc.v1alpha1.FungibleTokenPacketData} returns this + */ +proto.penumbra.core.component.ibc.v1alpha1.FungibleTokenPacketData.prototype.setSender = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string receiver = 4; + * @return {string} + */ +proto.penumbra.core.component.ibc.v1alpha1.FungibleTokenPacketData.prototype.getReceiver = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.component.ibc.v1alpha1.FungibleTokenPacketData} returns this + */ +proto.penumbra.core.component.ibc.v1alpha1.FungibleTokenPacketData.prototype.setReceiver = function(value) { + return jspb.Message.setProto3StringField(this, 4, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal.toObject = function(includeInstance, msg) { + var f, obj = { + amount: (f = msg.getAmount()) && penumbra_core_num_v1alpha1_num_pb.Amount.toObject(includeInstance, f), + denom: (f = msg.getDenom()) && penumbra_core_asset_v1alpha1_asset_pb.Denom.toObject(includeInstance, f), + destinationChainAddress: jspb.Message.getFieldWithDefault(msg, 3, ""), + returnAddress: (f = msg.getReturnAddress()) && penumbra_core_keys_v1alpha1_keys_pb.Address.toObject(includeInstance, f), + timeoutHeight: (f = msg.getTimeoutHeight()) && ibc_core_client_v1_client_pb.Height.toObject(includeInstance, f), + timeoutTime: jspb.Message.getFieldWithDefault(msg, 6, 0), + sourceChannel: jspb.Message.getFieldWithDefault(msg, 7, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal} + */ +proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal; + return proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal} + */ +proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_num_v1alpha1_num_pb.Amount; + reader.readMessage(value,penumbra_core_num_v1alpha1_num_pb.Amount.deserializeBinaryFromReader); + msg.setAmount(value); + break; + case 2: + var value = new penumbra_core_asset_v1alpha1_asset_pb.Denom; + reader.readMessage(value,penumbra_core_asset_v1alpha1_asset_pb.Denom.deserializeBinaryFromReader); + msg.setDenom(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setDestinationChainAddress(value); + break; + case 4: + var value = new penumbra_core_keys_v1alpha1_keys_pb.Address; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.Address.deserializeBinaryFromReader); + msg.setReturnAddress(value); + break; + case 5: + var value = new ibc_core_client_v1_client_pb.Height; + reader.readMessage(value,ibc_core_client_v1_client_pb.Height.deserializeBinaryFromReader); + msg.setTimeoutHeight(value); + break; + case 6: + var value = /** @type {number} */ (reader.readUint64()); + msg.setTimeoutTime(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setSourceChannel(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getAmount(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_num_v1alpha1_num_pb.Amount.serializeBinaryToWriter + ); + } + f = message.getDenom(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_asset_v1alpha1_asset_pb.Denom.serializeBinaryToWriter + ); + } + f = message.getDestinationChainAddress(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getReturnAddress(); + if (f != null) { + writer.writeMessage( + 4, + f, + penumbra_core_keys_v1alpha1_keys_pb.Address.serializeBinaryToWriter + ); + } + f = message.getTimeoutHeight(); + if (f != null) { + writer.writeMessage( + 5, + f, + ibc_core_client_v1_client_pb.Height.serializeBinaryToWriter + ); + } + f = message.getTimeoutTime(); + if (f !== 0) { + writer.writeUint64( + 6, + f + ); + } + f = message.getSourceChannel(); + if (f.length > 0) { + writer.writeString( + 7, + f + ); + } +}; + + +/** + * optional penumbra.core.num.v1alpha1.Amount amount = 1; + * @return {?proto.penumbra.core.num.v1alpha1.Amount} + */ +proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal.prototype.getAmount = function() { + return /** @type{?proto.penumbra.core.num.v1alpha1.Amount} */ ( + jspb.Message.getWrapperField(this, penumbra_core_num_v1alpha1_num_pb.Amount, 1)); +}; + + +/** + * @param {?proto.penumbra.core.num.v1alpha1.Amount|undefined} value + * @return {!proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal} returns this +*/ +proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal.prototype.setAmount = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal} returns this + */ +proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal.prototype.clearAmount = function() { + return this.setAmount(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal.prototype.hasAmount = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional penumbra.core.asset.v1alpha1.Denom denom = 2; + * @return {?proto.penumbra.core.asset.v1alpha1.Denom} + */ +proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal.prototype.getDenom = function() { + return /** @type{?proto.penumbra.core.asset.v1alpha1.Denom} */ ( + jspb.Message.getWrapperField(this, penumbra_core_asset_v1alpha1_asset_pb.Denom, 2)); +}; + + +/** + * @param {?proto.penumbra.core.asset.v1alpha1.Denom|undefined} value + * @return {!proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal} returns this +*/ +proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal.prototype.setDenom = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal} returns this + */ +proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal.prototype.clearDenom = function() { + return this.setDenom(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal.prototype.hasDenom = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional string destination_chain_address = 3; + * @return {string} + */ +proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal.prototype.getDestinationChainAddress = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal} returns this + */ +proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal.prototype.setDestinationChainAddress = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional penumbra.core.keys.v1alpha1.Address return_address = 4; + * @return {?proto.penumbra.core.keys.v1alpha1.Address} + */ +proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal.prototype.getReturnAddress = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.Address} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.Address, 4)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.Address|undefined} value + * @return {!proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal} returns this +*/ +proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal.prototype.setReturnAddress = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal} returns this + */ +proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal.prototype.clearReturnAddress = function() { + return this.setReturnAddress(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal.prototype.hasReturnAddress = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional ibc.core.client.v1.Height timeout_height = 5; + * @return {?proto.ibc.core.client.v1.Height} + */ +proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal.prototype.getTimeoutHeight = function() { + return /** @type{?proto.ibc.core.client.v1.Height} */ ( + jspb.Message.getWrapperField(this, ibc_core_client_v1_client_pb.Height, 5)); +}; + + +/** + * @param {?proto.ibc.core.client.v1.Height|undefined} value + * @return {!proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal} returns this +*/ +proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal.prototype.setTimeoutHeight = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal} returns this + */ +proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal.prototype.clearTimeoutHeight = function() { + return this.setTimeoutHeight(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal.prototype.hasTimeoutHeight = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional uint64 timeout_time = 6; + * @return {number} + */ +proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal.prototype.getTimeoutTime = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal} returns this + */ +proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal.prototype.setTimeoutTime = function(value) { + return jspb.Message.setProto3IntField(this, 6, value); +}; + + +/** + * optional string source_channel = 7; + * @return {string} + */ +proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal.prototype.getSourceChannel = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal} returns this + */ +proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal.prototype.setSourceChannel = function(value) { + return jspb.Message.setProto3StringField(this, 7, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.ibc.v1alpha1.ClientData.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.ibc.v1alpha1.ClientData.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.ibc.v1alpha1.ClientData} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.ibc.v1alpha1.ClientData.toObject = function(includeInstance, msg) { + var f, obj = { + clientId: jspb.Message.getFieldWithDefault(msg, 1, ""), + clientState: (f = msg.getClientState()) && google_protobuf_any_pb.Any.toObject(includeInstance, f), + processedTime: jspb.Message.getFieldWithDefault(msg, 3, ""), + processedHeight: jspb.Message.getFieldWithDefault(msg, 4, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.ibc.v1alpha1.ClientData} + */ +proto.penumbra.core.component.ibc.v1alpha1.ClientData.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.ibc.v1alpha1.ClientData; + return proto.penumbra.core.component.ibc.v1alpha1.ClientData.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.ibc.v1alpha1.ClientData} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.ibc.v1alpha1.ClientData} + */ +proto.penumbra.core.component.ibc.v1alpha1.ClientData.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setClientId(value); + break; + case 2: + var value = new google_protobuf_any_pb.Any; + reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader); + msg.setClientState(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setProcessedTime(value); + break; + case 4: + var value = /** @type {number} */ (reader.readUint64()); + msg.setProcessedHeight(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.ibc.v1alpha1.ClientData.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.ibc.v1alpha1.ClientData.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.ibc.v1alpha1.ClientData} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.ibc.v1alpha1.ClientData.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getClientId(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getClientState(); + if (f != null) { + writer.writeMessage( + 2, + f, + google_protobuf_any_pb.Any.serializeBinaryToWriter + ); + } + f = message.getProcessedTime(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getProcessedHeight(); + if (f !== 0) { + writer.writeUint64( + 4, + f + ); + } +}; + + +/** + * optional string client_id = 1; + * @return {string} + */ +proto.penumbra.core.component.ibc.v1alpha1.ClientData.prototype.getClientId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.component.ibc.v1alpha1.ClientData} returns this + */ +proto.penumbra.core.component.ibc.v1alpha1.ClientData.prototype.setClientId = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional google.protobuf.Any client_state = 2; + * @return {?proto.google.protobuf.Any} + */ +proto.penumbra.core.component.ibc.v1alpha1.ClientData.prototype.getClientState = function() { + return /** @type{?proto.google.protobuf.Any} */ ( + jspb.Message.getWrapperField(this, google_protobuf_any_pb.Any, 2)); +}; + + +/** + * @param {?proto.google.protobuf.Any|undefined} value + * @return {!proto.penumbra.core.component.ibc.v1alpha1.ClientData} returns this +*/ +proto.penumbra.core.component.ibc.v1alpha1.ClientData.prototype.setClientState = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.ibc.v1alpha1.ClientData} returns this + */ +proto.penumbra.core.component.ibc.v1alpha1.ClientData.prototype.clearClientState = function() { + return this.setClientState(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.ibc.v1alpha1.ClientData.prototype.hasClientState = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional string processed_time = 3; + * @return {string} + */ +proto.penumbra.core.component.ibc.v1alpha1.ClientData.prototype.getProcessedTime = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.component.ibc.v1alpha1.ClientData} returns this + */ +proto.penumbra.core.component.ibc.v1alpha1.ClientData.prototype.setProcessedTime = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional uint64 processed_height = 4; + * @return {number} + */ +proto.penumbra.core.component.ibc.v1alpha1.ClientData.prototype.getProcessedHeight = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.ibc.v1alpha1.ClientData} returns this + */ +proto.penumbra.core.component.ibc.v1alpha1.ClientData.prototype.setProcessedHeight = function(value) { + return jspb.Message.setProto3IntField(this, 4, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.ibc.v1alpha1.ClientCounter.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.ibc.v1alpha1.ClientCounter.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.ibc.v1alpha1.ClientCounter} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.ibc.v1alpha1.ClientCounter.toObject = function(includeInstance, msg) { + var f, obj = { + counter: jspb.Message.getFieldWithDefault(msg, 1, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.ibc.v1alpha1.ClientCounter} + */ +proto.penumbra.core.component.ibc.v1alpha1.ClientCounter.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.ibc.v1alpha1.ClientCounter; + return proto.penumbra.core.component.ibc.v1alpha1.ClientCounter.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.ibc.v1alpha1.ClientCounter} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.ibc.v1alpha1.ClientCounter} + */ +proto.penumbra.core.component.ibc.v1alpha1.ClientCounter.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setCounter(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.ibc.v1alpha1.ClientCounter.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.ibc.v1alpha1.ClientCounter.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.ibc.v1alpha1.ClientCounter} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.ibc.v1alpha1.ClientCounter.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getCounter(); + if (f !== 0) { + writer.writeUint64( + 1, + f + ); + } +}; + + +/** + * optional uint64 counter = 1; + * @return {number} + */ +proto.penumbra.core.component.ibc.v1alpha1.ClientCounter.prototype.getCounter = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.ibc.v1alpha1.ClientCounter} returns this + */ +proto.penumbra.core.component.ibc.v1alpha1.ClientCounter.prototype.setCounter = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.ibc.v1alpha1.ConsensusState.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.ibc.v1alpha1.ConsensusState.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.ibc.v1alpha1.ConsensusState} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.ibc.v1alpha1.ConsensusState.toObject = function(includeInstance, msg) { + var f, obj = { + consensusState: (f = msg.getConsensusState()) && google_protobuf_any_pb.Any.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.ibc.v1alpha1.ConsensusState} + */ +proto.penumbra.core.component.ibc.v1alpha1.ConsensusState.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.ibc.v1alpha1.ConsensusState; + return proto.penumbra.core.component.ibc.v1alpha1.ConsensusState.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.ibc.v1alpha1.ConsensusState} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.ibc.v1alpha1.ConsensusState} + */ +proto.penumbra.core.component.ibc.v1alpha1.ConsensusState.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new google_protobuf_any_pb.Any; + reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader); + msg.setConsensusState(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.ibc.v1alpha1.ConsensusState.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.ibc.v1alpha1.ConsensusState.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.ibc.v1alpha1.ConsensusState} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.ibc.v1alpha1.ConsensusState.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getConsensusState(); + if (f != null) { + writer.writeMessage( + 1, + f, + google_protobuf_any_pb.Any.serializeBinaryToWriter + ); + } +}; + + +/** + * optional google.protobuf.Any consensus_state = 1; + * @return {?proto.google.protobuf.Any} + */ +proto.penumbra.core.component.ibc.v1alpha1.ConsensusState.prototype.getConsensusState = function() { + return /** @type{?proto.google.protobuf.Any} */ ( + jspb.Message.getWrapperField(this, google_protobuf_any_pb.Any, 1)); +}; + + +/** + * @param {?proto.google.protobuf.Any|undefined} value + * @return {!proto.penumbra.core.component.ibc.v1alpha1.ConsensusState} returns this +*/ +proto.penumbra.core.component.ibc.v1alpha1.ConsensusState.prototype.setConsensusState = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.ibc.v1alpha1.ConsensusState} returns this + */ +proto.penumbra.core.component.ibc.v1alpha1.ConsensusState.prototype.clearConsensusState = function() { + return this.setConsensusState(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.ibc.v1alpha1.ConsensusState.prototype.hasConsensusState = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.penumbra.core.component.ibc.v1alpha1.VerifiedHeights.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.ibc.v1alpha1.VerifiedHeights.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.ibc.v1alpha1.VerifiedHeights.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.ibc.v1alpha1.VerifiedHeights} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.ibc.v1alpha1.VerifiedHeights.toObject = function(includeInstance, msg) { + var f, obj = { + heightsList: jspb.Message.toObjectList(msg.getHeightsList(), + ibc_core_client_v1_client_pb.Height.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.ibc.v1alpha1.VerifiedHeights} + */ +proto.penumbra.core.component.ibc.v1alpha1.VerifiedHeights.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.ibc.v1alpha1.VerifiedHeights; + return proto.penumbra.core.component.ibc.v1alpha1.VerifiedHeights.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.ibc.v1alpha1.VerifiedHeights} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.ibc.v1alpha1.VerifiedHeights} + */ +proto.penumbra.core.component.ibc.v1alpha1.VerifiedHeights.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new ibc_core_client_v1_client_pb.Height; + reader.readMessage(value,ibc_core_client_v1_client_pb.Height.deserializeBinaryFromReader); + msg.addHeights(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.ibc.v1alpha1.VerifiedHeights.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.ibc.v1alpha1.VerifiedHeights.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.ibc.v1alpha1.VerifiedHeights} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.ibc.v1alpha1.VerifiedHeights.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getHeightsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + ibc_core_client_v1_client_pb.Height.serializeBinaryToWriter + ); + } +}; + + +/** + * repeated ibc.core.client.v1.Height heights = 1; + * @return {!Array} + */ +proto.penumbra.core.component.ibc.v1alpha1.VerifiedHeights.prototype.getHeightsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, ibc_core_client_v1_client_pb.Height, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.penumbra.core.component.ibc.v1alpha1.VerifiedHeights} returns this +*/ +proto.penumbra.core.component.ibc.v1alpha1.VerifiedHeights.prototype.setHeightsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.ibc.core.client.v1.Height=} opt_value + * @param {number=} opt_index + * @return {!proto.ibc.core.client.v1.Height} + */ +proto.penumbra.core.component.ibc.v1alpha1.VerifiedHeights.prototype.addHeights = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ibc.core.client.v1.Height, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.penumbra.core.component.ibc.v1alpha1.VerifiedHeights} returns this + */ +proto.penumbra.core.component.ibc.v1alpha1.VerifiedHeights.prototype.clearHeightsList = function() { + return this.setHeightsList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.ibc.v1alpha1.ConnectionCounter.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.ibc.v1alpha1.ConnectionCounter.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.ibc.v1alpha1.ConnectionCounter} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.ibc.v1alpha1.ConnectionCounter.toObject = function(includeInstance, msg) { + var f, obj = { + counter: jspb.Message.getFieldWithDefault(msg, 1, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.ibc.v1alpha1.ConnectionCounter} + */ +proto.penumbra.core.component.ibc.v1alpha1.ConnectionCounter.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.ibc.v1alpha1.ConnectionCounter; + return proto.penumbra.core.component.ibc.v1alpha1.ConnectionCounter.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.ibc.v1alpha1.ConnectionCounter} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.ibc.v1alpha1.ConnectionCounter} + */ +proto.penumbra.core.component.ibc.v1alpha1.ConnectionCounter.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setCounter(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.ibc.v1alpha1.ConnectionCounter.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.ibc.v1alpha1.ConnectionCounter.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.ibc.v1alpha1.ConnectionCounter} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.ibc.v1alpha1.ConnectionCounter.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getCounter(); + if (f !== 0) { + writer.writeUint64( + 1, + f + ); + } +}; + + +/** + * optional uint64 counter = 1; + * @return {number} + */ +proto.penumbra.core.component.ibc.v1alpha1.ConnectionCounter.prototype.getCounter = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.ibc.v1alpha1.ConnectionCounter} returns this + */ +proto.penumbra.core.component.ibc.v1alpha1.ConnectionCounter.prototype.setCounter = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.penumbra.core.component.ibc.v1alpha1.ClientConnections.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.ibc.v1alpha1.ClientConnections.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.ibc.v1alpha1.ClientConnections.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.ibc.v1alpha1.ClientConnections} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.ibc.v1alpha1.ClientConnections.toObject = function(includeInstance, msg) { + var f, obj = { + connectionsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.ibc.v1alpha1.ClientConnections} + */ +proto.penumbra.core.component.ibc.v1alpha1.ClientConnections.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.ibc.v1alpha1.ClientConnections; + return proto.penumbra.core.component.ibc.v1alpha1.ClientConnections.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.ibc.v1alpha1.ClientConnections} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.ibc.v1alpha1.ClientConnections} + */ +proto.penumbra.core.component.ibc.v1alpha1.ClientConnections.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.addConnections(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.ibc.v1alpha1.ClientConnections.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.ibc.v1alpha1.ClientConnections.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.ibc.v1alpha1.ClientConnections} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.ibc.v1alpha1.ClientConnections.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getConnectionsList(); + if (f.length > 0) { + writer.writeRepeatedString( + 1, + f + ); + } +}; + + +/** + * repeated string connections = 1; + * @return {!Array} + */ +proto.penumbra.core.component.ibc.v1alpha1.ClientConnections.prototype.getConnectionsList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.penumbra.core.component.ibc.v1alpha1.ClientConnections} returns this + */ +proto.penumbra.core.component.ibc.v1alpha1.ClientConnections.prototype.setConnectionsList = function(value) { + return jspb.Message.setField(this, 1, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.penumbra.core.component.ibc.v1alpha1.ClientConnections} returns this + */ +proto.penumbra.core.component.ibc.v1alpha1.ClientConnections.prototype.addConnections = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.penumbra.core.component.ibc.v1alpha1.ClientConnections} returns this + */ +proto.penumbra.core.component.ibc.v1alpha1.ClientConnections.prototype.clearConnectionsList = function() { + return this.setConnectionsList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.ibc.v1alpha1.IbcParameters.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.ibc.v1alpha1.IbcParameters.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.ibc.v1alpha1.IbcParameters} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.ibc.v1alpha1.IbcParameters.toObject = function(includeInstance, msg) { + var f, obj = { + ibcEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), + inboundIcs20TransfersEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), + outboundIcs20TransfersEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.ibc.v1alpha1.IbcParameters} + */ +proto.penumbra.core.component.ibc.v1alpha1.IbcParameters.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.ibc.v1alpha1.IbcParameters; + return proto.penumbra.core.component.ibc.v1alpha1.IbcParameters.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.ibc.v1alpha1.IbcParameters} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.ibc.v1alpha1.IbcParameters} + */ +proto.penumbra.core.component.ibc.v1alpha1.IbcParameters.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setIbcEnabled(value); + break; + case 2: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setInboundIcs20TransfersEnabled(value); + break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setOutboundIcs20TransfersEnabled(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.ibc.v1alpha1.IbcParameters.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.ibc.v1alpha1.IbcParameters.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.ibc.v1alpha1.IbcParameters} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.ibc.v1alpha1.IbcParameters.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getIbcEnabled(); + if (f) { + writer.writeBool( + 1, + f + ); + } + f = message.getInboundIcs20TransfersEnabled(); + if (f) { + writer.writeBool( + 2, + f + ); + } + f = message.getOutboundIcs20TransfersEnabled(); + if (f) { + writer.writeBool( + 3, + f + ); + } +}; + + +/** + * optional bool ibc_enabled = 1; + * @return {boolean} + */ +proto.penumbra.core.component.ibc.v1alpha1.IbcParameters.prototype.getIbcEnabled = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.penumbra.core.component.ibc.v1alpha1.IbcParameters} returns this + */ +proto.penumbra.core.component.ibc.v1alpha1.IbcParameters.prototype.setIbcEnabled = function(value) { + return jspb.Message.setProto3BooleanField(this, 1, value); +}; + + +/** + * optional bool inbound_ics20_transfers_enabled = 2; + * @return {boolean} + */ +proto.penumbra.core.component.ibc.v1alpha1.IbcParameters.prototype.getInboundIcs20TransfersEnabled = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.penumbra.core.component.ibc.v1alpha1.IbcParameters} returns this + */ +proto.penumbra.core.component.ibc.v1alpha1.IbcParameters.prototype.setInboundIcs20TransfersEnabled = function(value) { + return jspb.Message.setProto3BooleanField(this, 2, value); +}; + + +/** + * optional bool outbound_ics20_transfers_enabled = 3; + * @return {boolean} + */ +proto.penumbra.core.component.ibc.v1alpha1.IbcParameters.prototype.getOutboundIcs20TransfersEnabled = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.penumbra.core.component.ibc.v1alpha1.IbcParameters} returns this + */ +proto.penumbra.core.component.ibc.v1alpha1.IbcParameters.prototype.setOutboundIcs20TransfersEnabled = function(value) { + return jspb.Message.setProto3BooleanField(this, 3, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.ibc.v1alpha1.GenesisContent.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.ibc.v1alpha1.GenesisContent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.ibc.v1alpha1.GenesisContent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.ibc.v1alpha1.GenesisContent.toObject = function(includeInstance, msg) { + var f, obj = { + ibcParams: (f = msg.getIbcParams()) && proto.penumbra.core.component.ibc.v1alpha1.IbcParameters.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.ibc.v1alpha1.GenesisContent} + */ +proto.penumbra.core.component.ibc.v1alpha1.GenesisContent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.ibc.v1alpha1.GenesisContent; + return proto.penumbra.core.component.ibc.v1alpha1.GenesisContent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.ibc.v1alpha1.GenesisContent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.ibc.v1alpha1.GenesisContent} + */ +proto.penumbra.core.component.ibc.v1alpha1.GenesisContent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.ibc.v1alpha1.IbcParameters; + reader.readMessage(value,proto.penumbra.core.component.ibc.v1alpha1.IbcParameters.deserializeBinaryFromReader); + msg.setIbcParams(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.ibc.v1alpha1.GenesisContent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.ibc.v1alpha1.GenesisContent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.ibc.v1alpha1.GenesisContent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.ibc.v1alpha1.GenesisContent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getIbcParams(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.ibc.v1alpha1.IbcParameters.serializeBinaryToWriter + ); + } +}; + + +/** + * optional IbcParameters ibc_params = 1; + * @return {?proto.penumbra.core.component.ibc.v1alpha1.IbcParameters} + */ +proto.penumbra.core.component.ibc.v1alpha1.GenesisContent.prototype.getIbcParams = function() { + return /** @type{?proto.penumbra.core.component.ibc.v1alpha1.IbcParameters} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.ibc.v1alpha1.IbcParameters, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.ibc.v1alpha1.IbcParameters|undefined} value + * @return {!proto.penumbra.core.component.ibc.v1alpha1.GenesisContent} returns this +*/ +proto.penumbra.core.component.ibc.v1alpha1.GenesisContent.prototype.setIbcParams = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.ibc.v1alpha1.GenesisContent} returns this + */ +proto.penumbra.core.component.ibc.v1alpha1.GenesisContent.prototype.clearIbcParams = function() { + return this.setIbcParams(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.ibc.v1alpha1.GenesisContent.prototype.hasIbcParams = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +goog.object.extend(exports, proto.penumbra.core.component.ibc.v1alpha1); diff --git a/src/chains/penumbra/generated/penumbra/core/component/sct/v1alpha1/sct_grpc_pb.d.ts b/src/chains/penumbra/generated/penumbra/core/component/sct/v1alpha1/sct_grpc_pb.d.ts new file mode 100644 index 0000000000..13fe9edccb --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/component/sct/v1alpha1/sct_grpc_pb.d.ts @@ -0,0 +1,43 @@ +// package: penumbra.core.component.sct.v1alpha1 +// file: penumbra/core/component/sct/v1alpha1/sct.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as grpc from "grpc"; +import * as penumbra_core_component_sct_v1alpha1_sct_pb from "../../../../../penumbra/core/component/sct/v1alpha1/sct_pb"; +import * as penumbra_crypto_tct_v1alpha1_tct_pb from "../../../../../penumbra/crypto/tct/v1alpha1/tct_pb"; +import * as penumbra_core_component_chain_v1alpha1_chain_pb from "../../../../../penumbra/core/component/chain/v1alpha1/chain_pb"; + +interface IQueryServiceService extends grpc.ServiceDefinition { + transactionByNote: IQueryServiceService_ITransactionByNote; +} + +interface IQueryServiceService_ITransactionByNote extends grpc.MethodDefinition { + path: "/penumbra.core.component.sct.v1alpha1.QueryService/TransactionByNote"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} + +export const QueryServiceService: IQueryServiceService; + +export interface IQueryServiceServer { + transactionByNote: grpc.handleUnaryCall; +} + +export interface IQueryServiceClient { + transactionByNote(request: penumbra_core_component_sct_v1alpha1_sct_pb.TransactionByNoteRequest, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_sct_v1alpha1_sct_pb.TransactionByNoteResponse) => void): grpc.ClientUnaryCall; + transactionByNote(request: penumbra_core_component_sct_v1alpha1_sct_pb.TransactionByNoteRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_sct_v1alpha1_sct_pb.TransactionByNoteResponse) => void): grpc.ClientUnaryCall; + transactionByNote(request: penumbra_core_component_sct_v1alpha1_sct_pb.TransactionByNoteRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_sct_v1alpha1_sct_pb.TransactionByNoteResponse) => void): grpc.ClientUnaryCall; +} + +export class QueryServiceClient extends grpc.Client implements IQueryServiceClient { + constructor(address: string, credentials: grpc.ChannelCredentials, options?: object); + public transactionByNote(request: penumbra_core_component_sct_v1alpha1_sct_pb.TransactionByNoteRequest, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_sct_v1alpha1_sct_pb.TransactionByNoteResponse) => void): grpc.ClientUnaryCall; + public transactionByNote(request: penumbra_core_component_sct_v1alpha1_sct_pb.TransactionByNoteRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_sct_v1alpha1_sct_pb.TransactionByNoteResponse) => void): grpc.ClientUnaryCall; + public transactionByNote(request: penumbra_core_component_sct_v1alpha1_sct_pb.TransactionByNoteRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_sct_v1alpha1_sct_pb.TransactionByNoteResponse) => void): grpc.ClientUnaryCall; +} diff --git a/src/chains/penumbra/generated/penumbra/core/component/sct/v1alpha1/sct_grpc_pb.js b/src/chains/penumbra/generated/penumbra/core/component/sct/v1alpha1/sct_grpc_pb.js new file mode 100644 index 0000000000..0b750b93d0 --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/component/sct/v1alpha1/sct_grpc_pb.js @@ -0,0 +1,48 @@ +// GENERATED CODE -- DO NOT EDIT! + +'use strict'; +var grpc = require('@grpc/grpc-js'); +var penumbra_core_component_sct_v1alpha1_sct_pb = require('../../../../../penumbra/core/component/sct/v1alpha1/sct_pb.js'); +var penumbra_crypto_tct_v1alpha1_tct_pb = require('../../../../../penumbra/crypto/tct/v1alpha1/tct_pb.js'); +var penumbra_core_component_chain_v1alpha1_chain_pb = require('../../../../../penumbra/core/component/chain/v1alpha1/chain_pb.js'); + +function serialize_penumbra_core_component_sct_v1alpha1_TransactionByNoteRequest(arg) { + if (!(arg instanceof penumbra_core_component_sct_v1alpha1_sct_pb.TransactionByNoteRequest)) { + throw new Error('Expected argument of type penumbra.core.component.sct.v1alpha1.TransactionByNoteRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_core_component_sct_v1alpha1_TransactionByNoteRequest(buffer_arg) { + return penumbra_core_component_sct_v1alpha1_sct_pb.TransactionByNoteRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_core_component_sct_v1alpha1_TransactionByNoteResponse(arg) { + if (!(arg instanceof penumbra_core_component_sct_v1alpha1_sct_pb.TransactionByNoteResponse)) { + throw new Error('Expected argument of type penumbra.core.component.sct.v1alpha1.TransactionByNoteResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_core_component_sct_v1alpha1_TransactionByNoteResponse(buffer_arg) { + return penumbra_core_component_sct_v1alpha1_sct_pb.TransactionByNoteResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + + +// Query operations for the SCT component. +var QueryServiceService = exports.QueryServiceService = { + // TODO: change to generic tx-by-commitment +transactionByNote: { + path: '/penumbra.core.component.sct.v1alpha1.QueryService/TransactionByNote', + requestStream: false, + responseStream: false, + requestType: penumbra_core_component_sct_v1alpha1_sct_pb.TransactionByNoteRequest, + responseType: penumbra_core_component_sct_v1alpha1_sct_pb.TransactionByNoteResponse, + requestSerialize: serialize_penumbra_core_component_sct_v1alpha1_TransactionByNoteRequest, + requestDeserialize: deserialize_penumbra_core_component_sct_v1alpha1_TransactionByNoteRequest, + responseSerialize: serialize_penumbra_core_component_sct_v1alpha1_TransactionByNoteResponse, + responseDeserialize: deserialize_penumbra_core_component_sct_v1alpha1_TransactionByNoteResponse, + }, +}; + +exports.QueryServiceClient = grpc.makeGenericClientConstructor(QueryServiceService); diff --git a/src/chains/penumbra/generated/penumbra/core/component/sct/v1alpha1/sct_pb.d.ts b/src/chains/penumbra/generated/penumbra/core/component/sct/v1alpha1/sct_pb.d.ts new file mode 100644 index 0000000000..07a5dc3750 --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/component/sct/v1alpha1/sct_pb.d.ts @@ -0,0 +1,80 @@ +// package: penumbra.core.component.sct.v1alpha1 +// file: penumbra/core/component/sct/v1alpha1/sct.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as penumbra_crypto_tct_v1alpha1_tct_pb from "../../../../../penumbra/crypto/tct/v1alpha1/tct_pb"; +import * as penumbra_core_component_chain_v1alpha1_chain_pb from "../../../../../penumbra/core/component/chain/v1alpha1/chain_pb"; + +export class Nullifier extends jspb.Message { + getInner(): Uint8Array | string; + getInner_asU8(): Uint8Array; + getInner_asB64(): string; + setInner(value: Uint8Array | string): Nullifier; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Nullifier.AsObject; + static toObject(includeInstance: boolean, msg: Nullifier): Nullifier.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Nullifier, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Nullifier; + static deserializeBinaryFromReader(message: Nullifier, reader: jspb.BinaryReader): Nullifier; +} + +export namespace Nullifier { + export type AsObject = { + inner: Uint8Array | string, + } +} + +export class TransactionByNoteRequest extends jspb.Message { + getChainId(): string; + setChainId(value: string): TransactionByNoteRequest; + + hasNoteCommitment(): boolean; + clearNoteCommitment(): void; + getNoteCommitment(): penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment | undefined; + setNoteCommitment(value?: penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment): TransactionByNoteRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): TransactionByNoteRequest.AsObject; + static toObject(includeInstance: boolean, msg: TransactionByNoteRequest): TransactionByNoteRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: TransactionByNoteRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): TransactionByNoteRequest; + static deserializeBinaryFromReader(message: TransactionByNoteRequest, reader: jspb.BinaryReader): TransactionByNoteRequest; +} + +export namespace TransactionByNoteRequest { + export type AsObject = { + chainId: string, + noteCommitment?: penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.AsObject, + } +} + +export class TransactionByNoteResponse extends jspb.Message { + + hasNoteSource(): boolean; + clearNoteSource(): void; + getNoteSource(): penumbra_core_component_chain_v1alpha1_chain_pb.NoteSource | undefined; + setNoteSource(value?: penumbra_core_component_chain_v1alpha1_chain_pb.NoteSource): TransactionByNoteResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): TransactionByNoteResponse.AsObject; + static toObject(includeInstance: boolean, msg: TransactionByNoteResponse): TransactionByNoteResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: TransactionByNoteResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): TransactionByNoteResponse; + static deserializeBinaryFromReader(message: TransactionByNoteResponse, reader: jspb.BinaryReader): TransactionByNoteResponse; +} + +export namespace TransactionByNoteResponse { + export type AsObject = { + noteSource?: penumbra_core_component_chain_v1alpha1_chain_pb.NoteSource.AsObject, + } +} diff --git a/src/chains/penumbra/generated/penumbra/core/component/sct/v1alpha1/sct_pb.js b/src/chains/penumbra/generated/penumbra/core/component/sct/v1alpha1/sct_pb.js new file mode 100644 index 0000000000..5594320282 --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/component/sct/v1alpha1/sct_pb.js @@ -0,0 +1,580 @@ +// source: penumbra/core/component/sct/v1alpha1/sct.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = (function() { + if (this) { return this; } + if (typeof window !== 'undefined') { return window; } + if (typeof global !== 'undefined') { return global; } + if (typeof self !== 'undefined') { return self; } + return Function('return this')(); +}.call(null)); + +var penumbra_crypto_tct_v1alpha1_tct_pb = require('../../../../../penumbra/crypto/tct/v1alpha1/tct_pb.js'); +goog.object.extend(proto, penumbra_crypto_tct_v1alpha1_tct_pb); +var penumbra_core_component_chain_v1alpha1_chain_pb = require('../../../../../penumbra/core/component/chain/v1alpha1/chain_pb.js'); +goog.object.extend(proto, penumbra_core_component_chain_v1alpha1_chain_pb); +goog.exportSymbol('proto.penumbra.core.component.sct.v1alpha1.Nullifier', null, global); +goog.exportSymbol('proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteRequest', null, global); +goog.exportSymbol('proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteResponse', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.sct.v1alpha1.Nullifier = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.sct.v1alpha1.Nullifier, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.sct.v1alpha1.Nullifier.displayName = 'proto.penumbra.core.component.sct.v1alpha1.Nullifier'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteRequest.displayName = 'proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteResponse.displayName = 'proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteResponse'; +} + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.sct.v1alpha1.Nullifier.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.sct.v1alpha1.Nullifier.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.sct.v1alpha1.Nullifier} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.sct.v1alpha1.Nullifier.toObject = function(includeInstance, msg) { + var f, obj = { + inner: msg.getInner_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.sct.v1alpha1.Nullifier} + */ +proto.penumbra.core.component.sct.v1alpha1.Nullifier.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.sct.v1alpha1.Nullifier; + return proto.penumbra.core.component.sct.v1alpha1.Nullifier.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.sct.v1alpha1.Nullifier} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.sct.v1alpha1.Nullifier} + */ +proto.penumbra.core.component.sct.v1alpha1.Nullifier.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setInner(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.sct.v1alpha1.Nullifier.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.sct.v1alpha1.Nullifier.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.sct.v1alpha1.Nullifier} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.sct.v1alpha1.Nullifier.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInner_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } +}; + + +/** + * optional bytes inner = 1; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.component.sct.v1alpha1.Nullifier.prototype.getInner = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes inner = 1; + * This is a type-conversion wrapper around `getInner()` + * @return {string} + */ +proto.penumbra.core.component.sct.v1alpha1.Nullifier.prototype.getInner_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getInner())); +}; + + +/** + * optional bytes inner = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getInner()` + * @return {!Uint8Array} + */ +proto.penumbra.core.component.sct.v1alpha1.Nullifier.prototype.getInner_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getInner())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.component.sct.v1alpha1.Nullifier} returns this + */ +proto.penumbra.core.component.sct.v1alpha1.Nullifier.prototype.setInner = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteRequest.toObject = function(includeInstance, msg) { + var f, obj = { + chainId: jspb.Message.getFieldWithDefault(msg, 1, ""), + noteCommitment: (f = msg.getNoteCommitment()) && penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteRequest} + */ +proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteRequest; + return proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteRequest} + */ +proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setChainId(value); + break; + case 2: + var value = new penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment; + reader.readMessage(value,penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.deserializeBinaryFromReader); + msg.setNoteCommitment(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getChainId(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getNoteCommitment(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string chain_id = 1; + * @return {string} + */ +proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteRequest.prototype.getChainId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteRequest} returns this + */ +proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteRequest.prototype.setChainId = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional penumbra.crypto.tct.v1alpha1.StateCommitment note_commitment = 2; + * @return {?proto.penumbra.crypto.tct.v1alpha1.StateCommitment} + */ +proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteRequest.prototype.getNoteCommitment = function() { + return /** @type{?proto.penumbra.crypto.tct.v1alpha1.StateCommitment} */ ( + jspb.Message.getWrapperField(this, penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment, 2)); +}; + + +/** + * @param {?proto.penumbra.crypto.tct.v1alpha1.StateCommitment|undefined} value + * @return {!proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteRequest} returns this +*/ +proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteRequest.prototype.setNoteCommitment = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteRequest} returns this + */ +proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteRequest.prototype.clearNoteCommitment = function() { + return this.setNoteCommitment(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteRequest.prototype.hasNoteCommitment = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteResponse.toObject = function(includeInstance, msg) { + var f, obj = { + noteSource: (f = msg.getNoteSource()) && penumbra_core_component_chain_v1alpha1_chain_pb.NoteSource.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteResponse} + */ +proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteResponse; + return proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteResponse} + */ +proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_component_chain_v1alpha1_chain_pb.NoteSource; + reader.readMessage(value,penumbra_core_component_chain_v1alpha1_chain_pb.NoteSource.deserializeBinaryFromReader); + msg.setNoteSource(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getNoteSource(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_component_chain_v1alpha1_chain_pb.NoteSource.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.component.chain.v1alpha1.NoteSource note_source = 1; + * @return {?proto.penumbra.core.component.chain.v1alpha1.NoteSource} + */ +proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteResponse.prototype.getNoteSource = function() { + return /** @type{?proto.penumbra.core.component.chain.v1alpha1.NoteSource} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_chain_v1alpha1_chain_pb.NoteSource, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.chain.v1alpha1.NoteSource|undefined} value + * @return {!proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteResponse} returns this +*/ +proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteResponse.prototype.setNoteSource = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteResponse} returns this + */ +proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteResponse.prototype.clearNoteSource = function() { + return this.setNoteSource(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.sct.v1alpha1.TransactionByNoteResponse.prototype.hasNoteSource = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +goog.object.extend(exports, proto.penumbra.core.component.sct.v1alpha1); diff --git a/src/chains/penumbra/generated/penumbra/core/component/shielded_pool/v1alpha1/shielded_pool_grpc_pb.d.ts b/src/chains/penumbra/generated/penumbra/core/component/shielded_pool/v1alpha1/shielded_pool_grpc_pb.d.ts new file mode 100644 index 0000000000..1ce86cfcec --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/component/shielded_pool/v1alpha1/shielded_pool_grpc_pb.d.ts @@ -0,0 +1,46 @@ +// package: penumbra.core.component.shielded_pool.v1alpha1 +// file: penumbra/core/component/shielded_pool/v1alpha1/shielded_pool.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as grpc from "grpc"; +import * as penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb from "../../../../../penumbra/core/component/shielded_pool/v1alpha1/shielded_pool_pb"; +import * as penumbra_crypto_tct_v1alpha1_tct_pb from "../../../../../penumbra/crypto/tct/v1alpha1/tct_pb"; +import * as penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb from "../../../../../penumbra/crypto/decaf377_rdsa/v1alpha1/decaf377_rdsa_pb"; +import * as penumbra_core_asset_v1alpha1_asset_pb from "../../../../../penumbra/core/asset/v1alpha1/asset_pb"; +import * as penumbra_core_keys_v1alpha1_keys_pb from "../../../../../penumbra/core/keys/v1alpha1/keys_pb"; +import * as penumbra_core_num_v1alpha1_num_pb from "../../../../../penumbra/core/num/v1alpha1/num_pb"; + +interface IQueryServiceService extends grpc.ServiceDefinition { + denomMetadataById: IQueryServiceService_IDenomMetadataById; +} + +interface IQueryServiceService_IDenomMetadataById extends grpc.MethodDefinition { + path: "/penumbra.core.component.shielded_pool.v1alpha1.QueryService/DenomMetadataById"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} + +export const QueryServiceService: IQueryServiceService; + +export interface IQueryServiceServer { + denomMetadataById: grpc.handleUnaryCall; +} + +export interface IQueryServiceClient { + denomMetadataById(request: penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.DenomMetadataByIdRequest, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.DenomMetadataByIdResponse) => void): grpc.ClientUnaryCall; + denomMetadataById(request: penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.DenomMetadataByIdRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.DenomMetadataByIdResponse) => void): grpc.ClientUnaryCall; + denomMetadataById(request: penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.DenomMetadataByIdRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.DenomMetadataByIdResponse) => void): grpc.ClientUnaryCall; +} + +export class QueryServiceClient extends grpc.Client implements IQueryServiceClient { + constructor(address: string, credentials: grpc.ChannelCredentials, options?: object); + public denomMetadataById(request: penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.DenomMetadataByIdRequest, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.DenomMetadataByIdResponse) => void): grpc.ClientUnaryCall; + public denomMetadataById(request: penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.DenomMetadataByIdRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.DenomMetadataByIdResponse) => void): grpc.ClientUnaryCall; + public denomMetadataById(request: penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.DenomMetadataByIdRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.DenomMetadataByIdResponse) => void): grpc.ClientUnaryCall; +} diff --git a/src/chains/penumbra/generated/penumbra/core/component/shielded_pool/v1alpha1/shielded_pool_grpc_pb.js b/src/chains/penumbra/generated/penumbra/core/component/shielded_pool/v1alpha1/shielded_pool_grpc_pb.js new file mode 100644 index 0000000000..2c71b4107c --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/component/shielded_pool/v1alpha1/shielded_pool_grpc_pb.js @@ -0,0 +1,50 @@ +// GENERATED CODE -- DO NOT EDIT! + +'use strict'; +var grpc = require('@grpc/grpc-js'); +var penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb = require('../../../../../penumbra/core/component/shielded_pool/v1alpha1/shielded_pool_pb.js'); +var penumbra_crypto_tct_v1alpha1_tct_pb = require('../../../../../penumbra/crypto/tct/v1alpha1/tct_pb.js'); +var penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb = require('../../../../../penumbra/crypto/decaf377_rdsa/v1alpha1/decaf377_rdsa_pb.js'); +var penumbra_core_asset_v1alpha1_asset_pb = require('../../../../../penumbra/core/asset/v1alpha1/asset_pb.js'); +var penumbra_core_keys_v1alpha1_keys_pb = require('../../../../../penumbra/core/keys/v1alpha1/keys_pb.js'); +var penumbra_core_num_v1alpha1_num_pb = require('../../../../../penumbra/core/num/v1alpha1/num_pb.js'); + +function serialize_penumbra_core_component_shielded_pool_v1alpha1_DenomMetadataByIdRequest(arg) { + if (!(arg instanceof penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.DenomMetadataByIdRequest)) { + throw new Error('Expected argument of type penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_core_component_shielded_pool_v1alpha1_DenomMetadataByIdRequest(buffer_arg) { + return penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.DenomMetadataByIdRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_core_component_shielded_pool_v1alpha1_DenomMetadataByIdResponse(arg) { + if (!(arg instanceof penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.DenomMetadataByIdResponse)) { + throw new Error('Expected argument of type penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_core_component_shielded_pool_v1alpha1_DenomMetadataByIdResponse(buffer_arg) { + return penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.DenomMetadataByIdResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + + +// Query operations for the shielded pool component. +var QueryServiceService = exports.QueryServiceService = { + denomMetadataById: { + path: '/penumbra.core.component.shielded_pool.v1alpha1.QueryService/DenomMetadataById', + requestStream: false, + responseStream: false, + requestType: penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.DenomMetadataByIdRequest, + responseType: penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.DenomMetadataByIdResponse, + requestSerialize: serialize_penumbra_core_component_shielded_pool_v1alpha1_DenomMetadataByIdRequest, + requestDeserialize: deserialize_penumbra_core_component_shielded_pool_v1alpha1_DenomMetadataByIdRequest, + responseSerialize: serialize_penumbra_core_component_shielded_pool_v1alpha1_DenomMetadataByIdResponse, + responseDeserialize: deserialize_penumbra_core_component_shielded_pool_v1alpha1_DenomMetadataByIdResponse, + }, +}; + +exports.QueryServiceClient = grpc.makeGenericClientConstructor(QueryServiceService); diff --git a/src/chains/penumbra/generated/penumbra/core/component/shielded_pool/v1alpha1/shielded_pool_pb.d.ts b/src/chains/penumbra/generated/penumbra/core/component/shielded_pool/v1alpha1/shielded_pool_pb.d.ts new file mode 100644 index 0000000000..9060068b1f --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/component/shielded_pool/v1alpha1/shielded_pool_pb.d.ts @@ -0,0 +1,728 @@ +// package: penumbra.core.component.shielded_pool.v1alpha1 +// file: penumbra/core/component/shielded_pool/v1alpha1/shielded_pool.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as penumbra_crypto_tct_v1alpha1_tct_pb from "../../../../../penumbra/crypto/tct/v1alpha1/tct_pb"; +import * as penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb from "../../../../../penumbra/crypto/decaf377_rdsa/v1alpha1/decaf377_rdsa_pb"; +import * as penumbra_core_asset_v1alpha1_asset_pb from "../../../../../penumbra/core/asset/v1alpha1/asset_pb"; +import * as penumbra_core_keys_v1alpha1_keys_pb from "../../../../../penumbra/core/keys/v1alpha1/keys_pb"; +import * as penumbra_core_num_v1alpha1_num_pb from "../../../../../penumbra/core/num/v1alpha1/num_pb"; + +export class Note extends jspb.Message { + + hasValue(): boolean; + clearValue(): void; + getValue(): penumbra_core_asset_v1alpha1_asset_pb.Value | undefined; + setValue(value?: penumbra_core_asset_v1alpha1_asset_pb.Value): Note; + getRseed(): Uint8Array | string; + getRseed_asU8(): Uint8Array; + getRseed_asB64(): string; + setRseed(value: Uint8Array | string): Note; + + hasAddress(): boolean; + clearAddress(): void; + getAddress(): penumbra_core_keys_v1alpha1_keys_pb.Address | undefined; + setAddress(value?: penumbra_core_keys_v1alpha1_keys_pb.Address): Note; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Note.AsObject; + static toObject(includeInstance: boolean, msg: Note): Note.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Note, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Note; + static deserializeBinaryFromReader(message: Note, reader: jspb.BinaryReader): Note; +} + +export namespace Note { + export type AsObject = { + value?: penumbra_core_asset_v1alpha1_asset_pb.Value.AsObject, + rseed: Uint8Array | string, + address?: penumbra_core_keys_v1alpha1_keys_pb.Address.AsObject, + } +} + +export class NoteView extends jspb.Message { + + hasValue(): boolean; + clearValue(): void; + getValue(): penumbra_core_asset_v1alpha1_asset_pb.ValueView | undefined; + setValue(value?: penumbra_core_asset_v1alpha1_asset_pb.ValueView): NoteView; + getRseed(): Uint8Array | string; + getRseed_asU8(): Uint8Array; + getRseed_asB64(): string; + setRseed(value: Uint8Array | string): NoteView; + + hasAddress(): boolean; + clearAddress(): void; + getAddress(): penumbra_core_keys_v1alpha1_keys_pb.AddressView | undefined; + setAddress(value?: penumbra_core_keys_v1alpha1_keys_pb.AddressView): NoteView; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): NoteView.AsObject; + static toObject(includeInstance: boolean, msg: NoteView): NoteView.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: NoteView, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): NoteView; + static deserializeBinaryFromReader(message: NoteView, reader: jspb.BinaryReader): NoteView; +} + +export namespace NoteView { + export type AsObject = { + value?: penumbra_core_asset_v1alpha1_asset_pb.ValueView.AsObject, + rseed: Uint8Array | string, + address?: penumbra_core_keys_v1alpha1_keys_pb.AddressView.AsObject, + } +} + +export class NoteCiphertext extends jspb.Message { + getInner(): Uint8Array | string; + getInner_asU8(): Uint8Array; + getInner_asB64(): string; + setInner(value: Uint8Array | string): NoteCiphertext; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): NoteCiphertext.AsObject; + static toObject(includeInstance: boolean, msg: NoteCiphertext): NoteCiphertext.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: NoteCiphertext, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): NoteCiphertext; + static deserializeBinaryFromReader(message: NoteCiphertext, reader: jspb.BinaryReader): NoteCiphertext; +} + +export namespace NoteCiphertext { + export type AsObject = { + inner: Uint8Array | string, + } +} + +export class NotePayload extends jspb.Message { + + hasNoteCommitment(): boolean; + clearNoteCommitment(): void; + getNoteCommitment(): penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment | undefined; + setNoteCommitment(value?: penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment): NotePayload; + getEphemeralKey(): Uint8Array | string; + getEphemeralKey_asU8(): Uint8Array; + getEphemeralKey_asB64(): string; + setEphemeralKey(value: Uint8Array | string): NotePayload; + + hasEncryptedNote(): boolean; + clearEncryptedNote(): void; + getEncryptedNote(): NoteCiphertext | undefined; + setEncryptedNote(value?: NoteCiphertext): NotePayload; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): NotePayload.AsObject; + static toObject(includeInstance: boolean, msg: NotePayload): NotePayload.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: NotePayload, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): NotePayload; + static deserializeBinaryFromReader(message: NotePayload, reader: jspb.BinaryReader): NotePayload; +} + +export namespace NotePayload { + export type AsObject = { + noteCommitment?: penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.AsObject, + ephemeralKey: Uint8Array | string, + encryptedNote?: NoteCiphertext.AsObject, + } +} + +export class ZKOutputProof extends jspb.Message { + getInner(): Uint8Array | string; + getInner_asU8(): Uint8Array; + getInner_asB64(): string; + setInner(value: Uint8Array | string): ZKOutputProof; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ZKOutputProof.AsObject; + static toObject(includeInstance: boolean, msg: ZKOutputProof): ZKOutputProof.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ZKOutputProof, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ZKOutputProof; + static deserializeBinaryFromReader(message: ZKOutputProof, reader: jspb.BinaryReader): ZKOutputProof; +} + +export namespace ZKOutputProof { + export type AsObject = { + inner: Uint8Array | string, + } +} + +export class ZKSpendProof extends jspb.Message { + getInner(): Uint8Array | string; + getInner_asU8(): Uint8Array; + getInner_asB64(): string; + setInner(value: Uint8Array | string): ZKSpendProof; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ZKSpendProof.AsObject; + static toObject(includeInstance: boolean, msg: ZKSpendProof): ZKSpendProof.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ZKSpendProof, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ZKSpendProof; + static deserializeBinaryFromReader(message: ZKSpendProof, reader: jspb.BinaryReader): ZKSpendProof; +} + +export namespace ZKSpendProof { + export type AsObject = { + inner: Uint8Array | string, + } +} + +export class ZKNullifierDerivationProof extends jspb.Message { + getInner(): Uint8Array | string; + getInner_asU8(): Uint8Array; + getInner_asB64(): string; + setInner(value: Uint8Array | string): ZKNullifierDerivationProof; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ZKNullifierDerivationProof.AsObject; + static toObject(includeInstance: boolean, msg: ZKNullifierDerivationProof): ZKNullifierDerivationProof.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ZKNullifierDerivationProof, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ZKNullifierDerivationProof; + static deserializeBinaryFromReader(message: ZKNullifierDerivationProof, reader: jspb.BinaryReader): ZKNullifierDerivationProof; +} + +export namespace ZKNullifierDerivationProof { + export type AsObject = { + inner: Uint8Array | string, + } +} + +export class Spend extends jspb.Message { + + hasBody(): boolean; + clearBody(): void; + getBody(): SpendBody | undefined; + setBody(value?: SpendBody): Spend; + + hasAuthSig(): boolean; + clearAuthSig(): void; + getAuthSig(): penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb.SpendAuthSignature | undefined; + setAuthSig(value?: penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb.SpendAuthSignature): Spend; + + hasProof(): boolean; + clearProof(): void; + getProof(): ZKSpendProof | undefined; + setProof(value?: ZKSpendProof): Spend; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Spend.AsObject; + static toObject(includeInstance: boolean, msg: Spend): Spend.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Spend, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Spend; + static deserializeBinaryFromReader(message: Spend, reader: jspb.BinaryReader): Spend; +} + +export namespace Spend { + export type AsObject = { + body?: SpendBody.AsObject, + authSig?: penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb.SpendAuthSignature.AsObject, + proof?: ZKSpendProof.AsObject, + } +} + +export class SpendBody extends jspb.Message { + + hasBalanceCommitment(): boolean; + clearBalanceCommitment(): void; + getBalanceCommitment(): penumbra_core_asset_v1alpha1_asset_pb.BalanceCommitment | undefined; + setBalanceCommitment(value?: penumbra_core_asset_v1alpha1_asset_pb.BalanceCommitment): SpendBody; + getNullifier(): Uint8Array | string; + getNullifier_asU8(): Uint8Array; + getNullifier_asB64(): string; + setNullifier(value: Uint8Array | string): SpendBody; + getRk(): Uint8Array | string; + getRk_asU8(): Uint8Array; + getRk_asB64(): string; + setRk(value: Uint8Array | string): SpendBody; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SpendBody.AsObject; + static toObject(includeInstance: boolean, msg: SpendBody): SpendBody.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SpendBody, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SpendBody; + static deserializeBinaryFromReader(message: SpendBody, reader: jspb.BinaryReader): SpendBody; +} + +export namespace SpendBody { + export type AsObject = { + balanceCommitment?: penumbra_core_asset_v1alpha1_asset_pb.BalanceCommitment.AsObject, + nullifier: Uint8Array | string, + rk: Uint8Array | string, + } +} + +export class SpendView extends jspb.Message { + + hasVisible(): boolean; + clearVisible(): void; + getVisible(): SpendView.Visible | undefined; + setVisible(value?: SpendView.Visible): SpendView; + + hasOpaque(): boolean; + clearOpaque(): void; + getOpaque(): SpendView.Opaque | undefined; + setOpaque(value?: SpendView.Opaque): SpendView; + + getSpendViewCase(): SpendView.SpendViewCase; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SpendView.AsObject; + static toObject(includeInstance: boolean, msg: SpendView): SpendView.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SpendView, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SpendView; + static deserializeBinaryFromReader(message: SpendView, reader: jspb.BinaryReader): SpendView; +} + +export namespace SpendView { + export type AsObject = { + visible?: SpendView.Visible.AsObject, + opaque?: SpendView.Opaque.AsObject, + } + + + export class Visible extends jspb.Message { + + hasSpend(): boolean; + clearSpend(): void; + getSpend(): Spend | undefined; + setSpend(value?: Spend): Visible; + + hasNote(): boolean; + clearNote(): void; + getNote(): NoteView | undefined; + setNote(value?: NoteView): Visible; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Visible.AsObject; + static toObject(includeInstance: boolean, msg: Visible): Visible.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Visible, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Visible; + static deserializeBinaryFromReader(message: Visible, reader: jspb.BinaryReader): Visible; + } + + export namespace Visible { + export type AsObject = { + spend?: Spend.AsObject, + note?: NoteView.AsObject, + } + } + + export class Opaque extends jspb.Message { + + hasSpend(): boolean; + clearSpend(): void; + getSpend(): Spend | undefined; + setSpend(value?: Spend): Opaque; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Opaque.AsObject; + static toObject(includeInstance: boolean, msg: Opaque): Opaque.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Opaque, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Opaque; + static deserializeBinaryFromReader(message: Opaque, reader: jspb.BinaryReader): Opaque; + } + + export namespace Opaque { + export type AsObject = { + spend?: Spend.AsObject, + } + } + + + export enum SpendViewCase { + SPEND_VIEW_NOT_SET = 0, + VISIBLE = 1, + OPAQUE = 2, + } + +} + +export class SpendPlan extends jspb.Message { + + hasNote(): boolean; + clearNote(): void; + getNote(): Note | undefined; + setNote(value?: Note): SpendPlan; + getPosition(): number; + setPosition(value: number): SpendPlan; + getRandomizer(): Uint8Array | string; + getRandomizer_asU8(): Uint8Array; + getRandomizer_asB64(): string; + setRandomizer(value: Uint8Array | string): SpendPlan; + getValueBlinding(): Uint8Array | string; + getValueBlinding_asU8(): Uint8Array; + getValueBlinding_asB64(): string; + setValueBlinding(value: Uint8Array | string): SpendPlan; + getProofBlindingR(): Uint8Array | string; + getProofBlindingR_asU8(): Uint8Array; + getProofBlindingR_asB64(): string; + setProofBlindingR(value: Uint8Array | string): SpendPlan; + getProofBlindingS(): Uint8Array | string; + getProofBlindingS_asU8(): Uint8Array; + getProofBlindingS_asB64(): string; + setProofBlindingS(value: Uint8Array | string): SpendPlan; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SpendPlan.AsObject; + static toObject(includeInstance: boolean, msg: SpendPlan): SpendPlan.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SpendPlan, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SpendPlan; + static deserializeBinaryFromReader(message: SpendPlan, reader: jspb.BinaryReader): SpendPlan; +} + +export namespace SpendPlan { + export type AsObject = { + note?: Note.AsObject, + position: number, + randomizer: Uint8Array | string, + valueBlinding: Uint8Array | string, + proofBlindingR: Uint8Array | string, + proofBlindingS: Uint8Array | string, + } +} + +export class Output extends jspb.Message { + + hasBody(): boolean; + clearBody(): void; + getBody(): OutputBody | undefined; + setBody(value?: OutputBody): Output; + + hasProof(): boolean; + clearProof(): void; + getProof(): ZKOutputProof | undefined; + setProof(value?: ZKOutputProof): Output; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Output.AsObject; + static toObject(includeInstance: boolean, msg: Output): Output.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Output, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Output; + static deserializeBinaryFromReader(message: Output, reader: jspb.BinaryReader): Output; +} + +export namespace Output { + export type AsObject = { + body?: OutputBody.AsObject, + proof?: ZKOutputProof.AsObject, + } +} + +export class OutputBody extends jspb.Message { + + hasNotePayload(): boolean; + clearNotePayload(): void; + getNotePayload(): NotePayload | undefined; + setNotePayload(value?: NotePayload): OutputBody; + + hasBalanceCommitment(): boolean; + clearBalanceCommitment(): void; + getBalanceCommitment(): penumbra_core_asset_v1alpha1_asset_pb.BalanceCommitment | undefined; + setBalanceCommitment(value?: penumbra_core_asset_v1alpha1_asset_pb.BalanceCommitment): OutputBody; + getWrappedMemoKey(): Uint8Array | string; + getWrappedMemoKey_asU8(): Uint8Array; + getWrappedMemoKey_asB64(): string; + setWrappedMemoKey(value: Uint8Array | string): OutputBody; + getOvkWrappedKey(): Uint8Array | string; + getOvkWrappedKey_asU8(): Uint8Array; + getOvkWrappedKey_asB64(): string; + setOvkWrappedKey(value: Uint8Array | string): OutputBody; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): OutputBody.AsObject; + static toObject(includeInstance: boolean, msg: OutputBody): OutputBody.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: OutputBody, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): OutputBody; + static deserializeBinaryFromReader(message: OutputBody, reader: jspb.BinaryReader): OutputBody; +} + +export namespace OutputBody { + export type AsObject = { + notePayload?: NotePayload.AsObject, + balanceCommitment?: penumbra_core_asset_v1alpha1_asset_pb.BalanceCommitment.AsObject, + wrappedMemoKey: Uint8Array | string, + ovkWrappedKey: Uint8Array | string, + } +} + +export class OutputView extends jspb.Message { + + hasVisible(): boolean; + clearVisible(): void; + getVisible(): OutputView.Visible | undefined; + setVisible(value?: OutputView.Visible): OutputView; + + hasOpaque(): boolean; + clearOpaque(): void; + getOpaque(): OutputView.Opaque | undefined; + setOpaque(value?: OutputView.Opaque): OutputView; + + getOutputViewCase(): OutputView.OutputViewCase; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): OutputView.AsObject; + static toObject(includeInstance: boolean, msg: OutputView): OutputView.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: OutputView, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): OutputView; + static deserializeBinaryFromReader(message: OutputView, reader: jspb.BinaryReader): OutputView; +} + +export namespace OutputView { + export type AsObject = { + visible?: OutputView.Visible.AsObject, + opaque?: OutputView.Opaque.AsObject, + } + + + export class Visible extends jspb.Message { + + hasOutput(): boolean; + clearOutput(): void; + getOutput(): Output | undefined; + setOutput(value?: Output): Visible; + + hasNote(): boolean; + clearNote(): void; + getNote(): NoteView | undefined; + setNote(value?: NoteView): Visible; + + hasPayloadKey(): boolean; + clearPayloadKey(): void; + getPayloadKey(): penumbra_core_keys_v1alpha1_keys_pb.PayloadKey | undefined; + setPayloadKey(value?: penumbra_core_keys_v1alpha1_keys_pb.PayloadKey): Visible; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Visible.AsObject; + static toObject(includeInstance: boolean, msg: Visible): Visible.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Visible, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Visible; + static deserializeBinaryFromReader(message: Visible, reader: jspb.BinaryReader): Visible; + } + + export namespace Visible { + export type AsObject = { + output?: Output.AsObject, + note?: NoteView.AsObject, + payloadKey?: penumbra_core_keys_v1alpha1_keys_pb.PayloadKey.AsObject, + } + } + + export class Opaque extends jspb.Message { + + hasOutput(): boolean; + clearOutput(): void; + getOutput(): Output | undefined; + setOutput(value?: Output): Opaque; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Opaque.AsObject; + static toObject(includeInstance: boolean, msg: Opaque): Opaque.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Opaque, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Opaque; + static deserializeBinaryFromReader(message: Opaque, reader: jspb.BinaryReader): Opaque; + } + + export namespace Opaque { + export type AsObject = { + output?: Output.AsObject, + } + } + + + export enum OutputViewCase { + OUTPUT_VIEW_NOT_SET = 0, + VISIBLE = 1, + OPAQUE = 2, + } + +} + +export class OutputPlan extends jspb.Message { + + hasValue(): boolean; + clearValue(): void; + getValue(): penumbra_core_asset_v1alpha1_asset_pb.Value | undefined; + setValue(value?: penumbra_core_asset_v1alpha1_asset_pb.Value): OutputPlan; + + hasDestAddress(): boolean; + clearDestAddress(): void; + getDestAddress(): penumbra_core_keys_v1alpha1_keys_pb.Address | undefined; + setDestAddress(value?: penumbra_core_keys_v1alpha1_keys_pb.Address): OutputPlan; + getRseed(): Uint8Array | string; + getRseed_asU8(): Uint8Array; + getRseed_asB64(): string; + setRseed(value: Uint8Array | string): OutputPlan; + getValueBlinding(): Uint8Array | string; + getValueBlinding_asU8(): Uint8Array; + getValueBlinding_asB64(): string; + setValueBlinding(value: Uint8Array | string): OutputPlan; + getProofBlindingR(): Uint8Array | string; + getProofBlindingR_asU8(): Uint8Array; + getProofBlindingR_asB64(): string; + setProofBlindingR(value: Uint8Array | string): OutputPlan; + getProofBlindingS(): Uint8Array | string; + getProofBlindingS_asU8(): Uint8Array; + getProofBlindingS_asB64(): string; + setProofBlindingS(value: Uint8Array | string): OutputPlan; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): OutputPlan.AsObject; + static toObject(includeInstance: boolean, msg: OutputPlan): OutputPlan.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: OutputPlan, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): OutputPlan; + static deserializeBinaryFromReader(message: OutputPlan, reader: jspb.BinaryReader): OutputPlan; +} + +export namespace OutputPlan { + export type AsObject = { + value?: penumbra_core_asset_v1alpha1_asset_pb.Value.AsObject, + destAddress?: penumbra_core_keys_v1alpha1_keys_pb.Address.AsObject, + rseed: Uint8Array | string, + valueBlinding: Uint8Array | string, + proofBlindingR: Uint8Array | string, + proofBlindingS: Uint8Array | string, + } +} + +export class DenomMetadataByIdRequest extends jspb.Message { + getChainId(): string; + setChainId(value: string): DenomMetadataByIdRequest; + + hasAssetId(): boolean; + clearAssetId(): void; + getAssetId(): penumbra_core_asset_v1alpha1_asset_pb.AssetId | undefined; + setAssetId(value?: penumbra_core_asset_v1alpha1_asset_pb.AssetId): DenomMetadataByIdRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): DenomMetadataByIdRequest.AsObject; + static toObject(includeInstance: boolean, msg: DenomMetadataByIdRequest): DenomMetadataByIdRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: DenomMetadataByIdRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): DenomMetadataByIdRequest; + static deserializeBinaryFromReader(message: DenomMetadataByIdRequest, reader: jspb.BinaryReader): DenomMetadataByIdRequest; +} + +export namespace DenomMetadataByIdRequest { + export type AsObject = { + chainId: string, + assetId?: penumbra_core_asset_v1alpha1_asset_pb.AssetId.AsObject, + } +} + +export class DenomMetadataByIdResponse extends jspb.Message { + + hasDenomMetadata(): boolean; + clearDenomMetadata(): void; + getDenomMetadata(): penumbra_core_asset_v1alpha1_asset_pb.DenomMetadata | undefined; + setDenomMetadata(value?: penumbra_core_asset_v1alpha1_asset_pb.DenomMetadata): DenomMetadataByIdResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): DenomMetadataByIdResponse.AsObject; + static toObject(includeInstance: boolean, msg: DenomMetadataByIdResponse): DenomMetadataByIdResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: DenomMetadataByIdResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): DenomMetadataByIdResponse; + static deserializeBinaryFromReader(message: DenomMetadataByIdResponse, reader: jspb.BinaryReader): DenomMetadataByIdResponse; +} + +export namespace DenomMetadataByIdResponse { + export type AsObject = { + denomMetadata?: penumbra_core_asset_v1alpha1_asset_pb.DenomMetadata.AsObject, + } +} + +export class GenesisContent extends jspb.Message { + clearAllocationsList(): void; + getAllocationsList(): Array; + setAllocationsList(value: Array): GenesisContent; + addAllocations(value?: GenesisContent.Allocation, index?: number): GenesisContent.Allocation; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GenesisContent.AsObject; + static toObject(includeInstance: boolean, msg: GenesisContent): GenesisContent.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: GenesisContent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GenesisContent; + static deserializeBinaryFromReader(message: GenesisContent, reader: jspb.BinaryReader): GenesisContent; +} + +export namespace GenesisContent { + export type AsObject = { + allocationsList: Array, + } + + + export class Allocation extends jspb.Message { + + hasAmount(): boolean; + clearAmount(): void; + getAmount(): penumbra_core_num_v1alpha1_num_pb.Amount | undefined; + setAmount(value?: penumbra_core_num_v1alpha1_num_pb.Amount): Allocation; + getDenom(): string; + setDenom(value: string): Allocation; + + hasAddress(): boolean; + clearAddress(): void; + getAddress(): penumbra_core_keys_v1alpha1_keys_pb.Address | undefined; + setAddress(value?: penumbra_core_keys_v1alpha1_keys_pb.Address): Allocation; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Allocation.AsObject; + static toObject(includeInstance: boolean, msg: Allocation): Allocation.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Allocation, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Allocation; + static deserializeBinaryFromReader(message: Allocation, reader: jspb.BinaryReader): Allocation; + } + + export namespace Allocation { + export type AsObject = { + amount?: penumbra_core_num_v1alpha1_num_pb.Amount.AsObject, + denom: string, + address?: penumbra_core_keys_v1alpha1_keys_pb.Address.AsObject, + } + } + +} diff --git a/src/chains/penumbra/generated/penumbra/core/component/shielded_pool/v1alpha1/shielded_pool_pb.js b/src/chains/penumbra/generated/penumbra/core/component/shielded_pool/v1alpha1/shielded_pool_pb.js new file mode 100644 index 0000000000..7e9b4ea230 --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/component/shielded_pool/v1alpha1/shielded_pool_pb.js @@ -0,0 +1,5702 @@ +// source: penumbra/core/component/shielded_pool/v1alpha1/shielded_pool.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = (function() { + if (this) { return this; } + if (typeof window !== 'undefined') { return window; } + if (typeof global !== 'undefined') { return global; } + if (typeof self !== 'undefined') { return self; } + return Function('return this')(); +}.call(null)); + +var penumbra_crypto_tct_v1alpha1_tct_pb = require('../../../../../penumbra/crypto/tct/v1alpha1/tct_pb.js'); +goog.object.extend(proto, penumbra_crypto_tct_v1alpha1_tct_pb); +var penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb = require('../../../../../penumbra/crypto/decaf377_rdsa/v1alpha1/decaf377_rdsa_pb.js'); +goog.object.extend(proto, penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb); +var penumbra_core_asset_v1alpha1_asset_pb = require('../../../../../penumbra/core/asset/v1alpha1/asset_pb.js'); +goog.object.extend(proto, penumbra_core_asset_v1alpha1_asset_pb); +var penumbra_core_keys_v1alpha1_keys_pb = require('../../../../../penumbra/core/keys/v1alpha1/keys_pb.js'); +goog.object.extend(proto, penumbra_core_keys_v1alpha1_keys_pb); +var penumbra_core_num_v1alpha1_num_pb = require('../../../../../penumbra/core/num/v1alpha1/num_pb.js'); +goog.object.extend(proto, penumbra_core_num_v1alpha1_num_pb); +goog.exportSymbol('proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdRequest', null, global); +goog.exportSymbol('proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdResponse', null, global); +goog.exportSymbol('proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent', null, global); +goog.exportSymbol('proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.Allocation', null, global); +goog.exportSymbol('proto.penumbra.core.component.shielded_pool.v1alpha1.Note', null, global); +goog.exportSymbol('proto.penumbra.core.component.shielded_pool.v1alpha1.NoteCiphertext', null, global); +goog.exportSymbol('proto.penumbra.core.component.shielded_pool.v1alpha1.NotePayload', null, global); +goog.exportSymbol('proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView', null, global); +goog.exportSymbol('proto.penumbra.core.component.shielded_pool.v1alpha1.Output', null, global); +goog.exportSymbol('proto.penumbra.core.component.shielded_pool.v1alpha1.OutputBody', null, global); +goog.exportSymbol('proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan', null, global); +goog.exportSymbol('proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView', null, global); +goog.exportSymbol('proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Opaque', null, global); +goog.exportSymbol('proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.OutputViewCase', null, global); +goog.exportSymbol('proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Visible', null, global); +goog.exportSymbol('proto.penumbra.core.component.shielded_pool.v1alpha1.Spend', null, global); +goog.exportSymbol('proto.penumbra.core.component.shielded_pool.v1alpha1.SpendBody', null, global); +goog.exportSymbol('proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan', null, global); +goog.exportSymbol('proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView', null, global); +goog.exportSymbol('proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Opaque', null, global); +goog.exportSymbol('proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.SpendViewCase', null, global); +goog.exportSymbol('proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Visible', null, global); +goog.exportSymbol('proto.penumbra.core.component.shielded_pool.v1alpha1.ZKNullifierDerivationProof', null, global); +goog.exportSymbol('proto.penumbra.core.component.shielded_pool.v1alpha1.ZKOutputProof', null, global); +goog.exportSymbol('proto.penumbra.core.component.shielded_pool.v1alpha1.ZKSpendProof', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.Note = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.shielded_pool.v1alpha1.Note, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.shielded_pool.v1alpha1.Note.displayName = 'proto.penumbra.core.component.shielded_pool.v1alpha1.Note'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView.displayName = 'proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.NoteCiphertext = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.shielded_pool.v1alpha1.NoteCiphertext, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.shielded_pool.v1alpha1.NoteCiphertext.displayName = 'proto.penumbra.core.component.shielded_pool.v1alpha1.NoteCiphertext'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.NotePayload = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.shielded_pool.v1alpha1.NotePayload, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.shielded_pool.v1alpha1.NotePayload.displayName = 'proto.penumbra.core.component.shielded_pool.v1alpha1.NotePayload'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.ZKOutputProof = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.shielded_pool.v1alpha1.ZKOutputProof, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.shielded_pool.v1alpha1.ZKOutputProof.displayName = 'proto.penumbra.core.component.shielded_pool.v1alpha1.ZKOutputProof'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.ZKSpendProof = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.shielded_pool.v1alpha1.ZKSpendProof, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.shielded_pool.v1alpha1.ZKSpendProof.displayName = 'proto.penumbra.core.component.shielded_pool.v1alpha1.ZKSpendProof'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.ZKNullifierDerivationProof = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.shielded_pool.v1alpha1.ZKNullifierDerivationProof, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.shielded_pool.v1alpha1.ZKNullifierDerivationProof.displayName = 'proto.penumbra.core.component.shielded_pool.v1alpha1.ZKNullifierDerivationProof'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.Spend = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.shielded_pool.v1alpha1.Spend, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.shielded_pool.v1alpha1.Spend.displayName = 'proto.penumbra.core.component.shielded_pool.v1alpha1.Spend'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendBody = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.shielded_pool.v1alpha1.SpendBody, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.shielded_pool.v1alpha1.SpendBody.displayName = 'proto.penumbra.core.component.shielded_pool.v1alpha1.SpendBody'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.oneofGroups_); +}; +goog.inherits(proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.displayName = 'proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Visible = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Visible, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Visible.displayName = 'proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Visible'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Opaque = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Opaque, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Opaque.displayName = 'proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Opaque'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan.displayName = 'proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.Output = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.shielded_pool.v1alpha1.Output, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.shielded_pool.v1alpha1.Output.displayName = 'proto.penumbra.core.component.shielded_pool.v1alpha1.Output'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputBody = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.shielded_pool.v1alpha1.OutputBody, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.shielded_pool.v1alpha1.OutputBody.displayName = 'proto.penumbra.core.component.shielded_pool.v1alpha1.OutputBody'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.oneofGroups_); +}; +goog.inherits(proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.displayName = 'proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Visible = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Visible, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Visible.displayName = 'proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Visible'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Opaque = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Opaque, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Opaque.displayName = 'proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Opaque'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan.displayName = 'proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdRequest.displayName = 'proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdResponse.displayName = 'proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.repeatedFields_, null); +}; +goog.inherits(proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.displayName = 'proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.Allocation = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.Allocation, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.Allocation.displayName = 'proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.Allocation'; +} + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.Note.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.shielded_pool.v1alpha1.Note.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.Note} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.Note.toObject = function(includeInstance, msg) { + var f, obj = { + value: (f = msg.getValue()) && penumbra_core_asset_v1alpha1_asset_pb.Value.toObject(includeInstance, f), + rseed: msg.getRseed_asB64(), + address: (f = msg.getAddress()) && penumbra_core_keys_v1alpha1_keys_pb.Address.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.Note} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.Note.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.shielded_pool.v1alpha1.Note; + return proto.penumbra.core.component.shielded_pool.v1alpha1.Note.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.Note} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.Note} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.Note.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_asset_v1alpha1_asset_pb.Value; + reader.readMessage(value,penumbra_core_asset_v1alpha1_asset_pb.Value.deserializeBinaryFromReader); + msg.setValue(value); + break; + case 2: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setRseed(value); + break; + case 3: + var value = new penumbra_core_keys_v1alpha1_keys_pb.Address; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.Address.deserializeBinaryFromReader); + msg.setAddress(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.Note.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.shielded_pool.v1alpha1.Note.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.Note} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.Note.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getValue(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_asset_v1alpha1_asset_pb.Value.serializeBinaryToWriter + ); + } + f = message.getRseed_asU8(); + if (f.length > 0) { + writer.writeBytes( + 2, + f + ); + } + f = message.getAddress(); + if (f != null) { + writer.writeMessage( + 3, + f, + penumbra_core_keys_v1alpha1_keys_pb.Address.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.asset.v1alpha1.Value value = 1; + * @return {?proto.penumbra.core.asset.v1alpha1.Value} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.Note.prototype.getValue = function() { + return /** @type{?proto.penumbra.core.asset.v1alpha1.Value} */ ( + jspb.Message.getWrapperField(this, penumbra_core_asset_v1alpha1_asset_pb.Value, 1)); +}; + + +/** + * @param {?proto.penumbra.core.asset.v1alpha1.Value|undefined} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.Note} returns this +*/ +proto.penumbra.core.component.shielded_pool.v1alpha1.Note.prototype.setValue = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.Note} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.Note.prototype.clearValue = function() { + return this.setValue(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.Note.prototype.hasValue = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional bytes rseed = 2; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.Note.prototype.getRseed = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * optional bytes rseed = 2; + * This is a type-conversion wrapper around `getRseed()` + * @return {string} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.Note.prototype.getRseed_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getRseed())); +}; + + +/** + * optional bytes rseed = 2; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getRseed()` + * @return {!Uint8Array} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.Note.prototype.getRseed_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getRseed())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.Note} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.Note.prototype.setRseed = function(value) { + return jspb.Message.setProto3BytesField(this, 2, value); +}; + + +/** + * optional penumbra.core.keys.v1alpha1.Address address = 3; + * @return {?proto.penumbra.core.keys.v1alpha1.Address} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.Note.prototype.getAddress = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.Address} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.Address, 3)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.Address|undefined} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.Note} returns this +*/ +proto.penumbra.core.component.shielded_pool.v1alpha1.Note.prototype.setAddress = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.Note} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.Note.prototype.clearAddress = function() { + return this.setAddress(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.Note.prototype.hasAddress = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView.toObject = function(includeInstance, msg) { + var f, obj = { + value: (f = msg.getValue()) && penumbra_core_asset_v1alpha1_asset_pb.ValueView.toObject(includeInstance, f), + rseed: msg.getRseed_asB64(), + address: (f = msg.getAddress()) && penumbra_core_keys_v1alpha1_keys_pb.AddressView.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView; + return proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_asset_v1alpha1_asset_pb.ValueView; + reader.readMessage(value,penumbra_core_asset_v1alpha1_asset_pb.ValueView.deserializeBinaryFromReader); + msg.setValue(value); + break; + case 2: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setRseed(value); + break; + case 3: + var value = new penumbra_core_keys_v1alpha1_keys_pb.AddressView; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.AddressView.deserializeBinaryFromReader); + msg.setAddress(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getValue(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_asset_v1alpha1_asset_pb.ValueView.serializeBinaryToWriter + ); + } + f = message.getRseed_asU8(); + if (f.length > 0) { + writer.writeBytes( + 2, + f + ); + } + f = message.getAddress(); + if (f != null) { + writer.writeMessage( + 3, + f, + penumbra_core_keys_v1alpha1_keys_pb.AddressView.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.asset.v1alpha1.ValueView value = 1; + * @return {?proto.penumbra.core.asset.v1alpha1.ValueView} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView.prototype.getValue = function() { + return /** @type{?proto.penumbra.core.asset.v1alpha1.ValueView} */ ( + jspb.Message.getWrapperField(this, penumbra_core_asset_v1alpha1_asset_pb.ValueView, 1)); +}; + + +/** + * @param {?proto.penumbra.core.asset.v1alpha1.ValueView|undefined} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView} returns this +*/ +proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView.prototype.setValue = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView.prototype.clearValue = function() { + return this.setValue(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView.prototype.hasValue = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional bytes rseed = 2; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView.prototype.getRseed = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * optional bytes rseed = 2; + * This is a type-conversion wrapper around `getRseed()` + * @return {string} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView.prototype.getRseed_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getRseed())); +}; + + +/** + * optional bytes rseed = 2; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getRseed()` + * @return {!Uint8Array} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView.prototype.getRseed_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getRseed())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView.prototype.setRseed = function(value) { + return jspb.Message.setProto3BytesField(this, 2, value); +}; + + +/** + * optional penumbra.core.keys.v1alpha1.AddressView address = 3; + * @return {?proto.penumbra.core.keys.v1alpha1.AddressView} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView.prototype.getAddress = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.AddressView} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.AddressView, 3)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.AddressView|undefined} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView} returns this +*/ +proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView.prototype.setAddress = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView.prototype.clearAddress = function() { + return this.setAddress(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView.prototype.hasAddress = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.NoteCiphertext.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.shielded_pool.v1alpha1.NoteCiphertext.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.NoteCiphertext} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.NoteCiphertext.toObject = function(includeInstance, msg) { + var f, obj = { + inner: msg.getInner_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.NoteCiphertext} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.NoteCiphertext.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.shielded_pool.v1alpha1.NoteCiphertext; + return proto.penumbra.core.component.shielded_pool.v1alpha1.NoteCiphertext.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.NoteCiphertext} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.NoteCiphertext} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.NoteCiphertext.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setInner(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.NoteCiphertext.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.shielded_pool.v1alpha1.NoteCiphertext.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.NoteCiphertext} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.NoteCiphertext.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInner_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } +}; + + +/** + * optional bytes inner = 1; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.NoteCiphertext.prototype.getInner = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes inner = 1; + * This is a type-conversion wrapper around `getInner()` + * @return {string} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.NoteCiphertext.prototype.getInner_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getInner())); +}; + + +/** + * optional bytes inner = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getInner()` + * @return {!Uint8Array} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.NoteCiphertext.prototype.getInner_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getInner())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.NoteCiphertext} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.NoteCiphertext.prototype.setInner = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.NotePayload.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.shielded_pool.v1alpha1.NotePayload.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.NotePayload} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.NotePayload.toObject = function(includeInstance, msg) { + var f, obj = { + noteCommitment: (f = msg.getNoteCommitment()) && penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.toObject(includeInstance, f), + ephemeralKey: msg.getEphemeralKey_asB64(), + encryptedNote: (f = msg.getEncryptedNote()) && proto.penumbra.core.component.shielded_pool.v1alpha1.NoteCiphertext.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.NotePayload} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.NotePayload.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.shielded_pool.v1alpha1.NotePayload; + return proto.penumbra.core.component.shielded_pool.v1alpha1.NotePayload.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.NotePayload} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.NotePayload} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.NotePayload.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment; + reader.readMessage(value,penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.deserializeBinaryFromReader); + msg.setNoteCommitment(value); + break; + case 2: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setEphemeralKey(value); + break; + case 3: + var value = new proto.penumbra.core.component.shielded_pool.v1alpha1.NoteCiphertext; + reader.readMessage(value,proto.penumbra.core.component.shielded_pool.v1alpha1.NoteCiphertext.deserializeBinaryFromReader); + msg.setEncryptedNote(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.NotePayload.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.shielded_pool.v1alpha1.NotePayload.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.NotePayload} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.NotePayload.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getNoteCommitment(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.serializeBinaryToWriter + ); + } + f = message.getEphemeralKey_asU8(); + if (f.length > 0) { + writer.writeBytes( + 2, + f + ); + } + f = message.getEncryptedNote(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.penumbra.core.component.shielded_pool.v1alpha1.NoteCiphertext.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.crypto.tct.v1alpha1.StateCommitment note_commitment = 1; + * @return {?proto.penumbra.crypto.tct.v1alpha1.StateCommitment} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.NotePayload.prototype.getNoteCommitment = function() { + return /** @type{?proto.penumbra.crypto.tct.v1alpha1.StateCommitment} */ ( + jspb.Message.getWrapperField(this, penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment, 1)); +}; + + +/** + * @param {?proto.penumbra.crypto.tct.v1alpha1.StateCommitment|undefined} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.NotePayload} returns this +*/ +proto.penumbra.core.component.shielded_pool.v1alpha1.NotePayload.prototype.setNoteCommitment = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.NotePayload} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.NotePayload.prototype.clearNoteCommitment = function() { + return this.setNoteCommitment(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.NotePayload.prototype.hasNoteCommitment = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional bytes ephemeral_key = 2; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.NotePayload.prototype.getEphemeralKey = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * optional bytes ephemeral_key = 2; + * This is a type-conversion wrapper around `getEphemeralKey()` + * @return {string} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.NotePayload.prototype.getEphemeralKey_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getEphemeralKey())); +}; + + +/** + * optional bytes ephemeral_key = 2; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getEphemeralKey()` + * @return {!Uint8Array} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.NotePayload.prototype.getEphemeralKey_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getEphemeralKey())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.NotePayload} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.NotePayload.prototype.setEphemeralKey = function(value) { + return jspb.Message.setProto3BytesField(this, 2, value); +}; + + +/** + * optional NoteCiphertext encrypted_note = 3; + * @return {?proto.penumbra.core.component.shielded_pool.v1alpha1.NoteCiphertext} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.NotePayload.prototype.getEncryptedNote = function() { + return /** @type{?proto.penumbra.core.component.shielded_pool.v1alpha1.NoteCiphertext} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.shielded_pool.v1alpha1.NoteCiphertext, 3)); +}; + + +/** + * @param {?proto.penumbra.core.component.shielded_pool.v1alpha1.NoteCiphertext|undefined} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.NotePayload} returns this +*/ +proto.penumbra.core.component.shielded_pool.v1alpha1.NotePayload.prototype.setEncryptedNote = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.NotePayload} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.NotePayload.prototype.clearEncryptedNote = function() { + return this.setEncryptedNote(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.NotePayload.prototype.hasEncryptedNote = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.ZKOutputProof.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.shielded_pool.v1alpha1.ZKOutputProof.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.ZKOutputProof} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.ZKOutputProof.toObject = function(includeInstance, msg) { + var f, obj = { + inner: msg.getInner_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.ZKOutputProof} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.ZKOutputProof.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.shielded_pool.v1alpha1.ZKOutputProof; + return proto.penumbra.core.component.shielded_pool.v1alpha1.ZKOutputProof.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.ZKOutputProof} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.ZKOutputProof} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.ZKOutputProof.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setInner(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.ZKOutputProof.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.shielded_pool.v1alpha1.ZKOutputProof.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.ZKOutputProof} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.ZKOutputProof.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInner_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } +}; + + +/** + * optional bytes inner = 1; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.ZKOutputProof.prototype.getInner = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes inner = 1; + * This is a type-conversion wrapper around `getInner()` + * @return {string} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.ZKOutputProof.prototype.getInner_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getInner())); +}; + + +/** + * optional bytes inner = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getInner()` + * @return {!Uint8Array} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.ZKOutputProof.prototype.getInner_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getInner())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.ZKOutputProof} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.ZKOutputProof.prototype.setInner = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.ZKSpendProof.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.shielded_pool.v1alpha1.ZKSpendProof.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.ZKSpendProof} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.ZKSpendProof.toObject = function(includeInstance, msg) { + var f, obj = { + inner: msg.getInner_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.ZKSpendProof} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.ZKSpendProof.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.shielded_pool.v1alpha1.ZKSpendProof; + return proto.penumbra.core.component.shielded_pool.v1alpha1.ZKSpendProof.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.ZKSpendProof} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.ZKSpendProof} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.ZKSpendProof.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setInner(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.ZKSpendProof.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.shielded_pool.v1alpha1.ZKSpendProof.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.ZKSpendProof} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.ZKSpendProof.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInner_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } +}; + + +/** + * optional bytes inner = 1; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.ZKSpendProof.prototype.getInner = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes inner = 1; + * This is a type-conversion wrapper around `getInner()` + * @return {string} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.ZKSpendProof.prototype.getInner_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getInner())); +}; + + +/** + * optional bytes inner = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getInner()` + * @return {!Uint8Array} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.ZKSpendProof.prototype.getInner_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getInner())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.ZKSpendProof} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.ZKSpendProof.prototype.setInner = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.ZKNullifierDerivationProof.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.shielded_pool.v1alpha1.ZKNullifierDerivationProof.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.ZKNullifierDerivationProof} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.ZKNullifierDerivationProof.toObject = function(includeInstance, msg) { + var f, obj = { + inner: msg.getInner_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.ZKNullifierDerivationProof} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.ZKNullifierDerivationProof.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.shielded_pool.v1alpha1.ZKNullifierDerivationProof; + return proto.penumbra.core.component.shielded_pool.v1alpha1.ZKNullifierDerivationProof.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.ZKNullifierDerivationProof} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.ZKNullifierDerivationProof} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.ZKNullifierDerivationProof.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setInner(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.ZKNullifierDerivationProof.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.shielded_pool.v1alpha1.ZKNullifierDerivationProof.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.ZKNullifierDerivationProof} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.ZKNullifierDerivationProof.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInner_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } +}; + + +/** + * optional bytes inner = 1; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.ZKNullifierDerivationProof.prototype.getInner = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes inner = 1; + * This is a type-conversion wrapper around `getInner()` + * @return {string} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.ZKNullifierDerivationProof.prototype.getInner_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getInner())); +}; + + +/** + * optional bytes inner = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getInner()` + * @return {!Uint8Array} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.ZKNullifierDerivationProof.prototype.getInner_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getInner())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.ZKNullifierDerivationProof} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.ZKNullifierDerivationProof.prototype.setInner = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.Spend.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.shielded_pool.v1alpha1.Spend.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.Spend} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.Spend.toObject = function(includeInstance, msg) { + var f, obj = { + body: (f = msg.getBody()) && proto.penumbra.core.component.shielded_pool.v1alpha1.SpendBody.toObject(includeInstance, f), + authSig: (f = msg.getAuthSig()) && penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb.SpendAuthSignature.toObject(includeInstance, f), + proof: (f = msg.getProof()) && proto.penumbra.core.component.shielded_pool.v1alpha1.ZKSpendProof.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.Spend} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.Spend.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.shielded_pool.v1alpha1.Spend; + return proto.penumbra.core.component.shielded_pool.v1alpha1.Spend.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.Spend} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.Spend} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.Spend.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.shielded_pool.v1alpha1.SpendBody; + reader.readMessage(value,proto.penumbra.core.component.shielded_pool.v1alpha1.SpendBody.deserializeBinaryFromReader); + msg.setBody(value); + break; + case 2: + var value = new penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb.SpendAuthSignature; + reader.readMessage(value,penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb.SpendAuthSignature.deserializeBinaryFromReader); + msg.setAuthSig(value); + break; + case 3: + var value = new proto.penumbra.core.component.shielded_pool.v1alpha1.ZKSpendProof; + reader.readMessage(value,proto.penumbra.core.component.shielded_pool.v1alpha1.ZKSpendProof.deserializeBinaryFromReader); + msg.setProof(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.Spend.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.shielded_pool.v1alpha1.Spend.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.Spend} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.Spend.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getBody(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.shielded_pool.v1alpha1.SpendBody.serializeBinaryToWriter + ); + } + f = message.getAuthSig(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb.SpendAuthSignature.serializeBinaryToWriter + ); + } + f = message.getProof(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.penumbra.core.component.shielded_pool.v1alpha1.ZKSpendProof.serializeBinaryToWriter + ); + } +}; + + +/** + * optional SpendBody body = 1; + * @return {?proto.penumbra.core.component.shielded_pool.v1alpha1.SpendBody} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.Spend.prototype.getBody = function() { + return /** @type{?proto.penumbra.core.component.shielded_pool.v1alpha1.SpendBody} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.shielded_pool.v1alpha1.SpendBody, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.shielded_pool.v1alpha1.SpendBody|undefined} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.Spend} returns this +*/ +proto.penumbra.core.component.shielded_pool.v1alpha1.Spend.prototype.setBody = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.Spend} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.Spend.prototype.clearBody = function() { + return this.setBody(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.Spend.prototype.hasBody = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional penumbra.crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature auth_sig = 2; + * @return {?proto.penumbra.crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.Spend.prototype.getAuthSig = function() { + return /** @type{?proto.penumbra.crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature} */ ( + jspb.Message.getWrapperField(this, penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb.SpendAuthSignature, 2)); +}; + + +/** + * @param {?proto.penumbra.crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature|undefined} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.Spend} returns this +*/ +proto.penumbra.core.component.shielded_pool.v1alpha1.Spend.prototype.setAuthSig = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.Spend} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.Spend.prototype.clearAuthSig = function() { + return this.setAuthSig(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.Spend.prototype.hasAuthSig = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional ZKSpendProof proof = 3; + * @return {?proto.penumbra.core.component.shielded_pool.v1alpha1.ZKSpendProof} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.Spend.prototype.getProof = function() { + return /** @type{?proto.penumbra.core.component.shielded_pool.v1alpha1.ZKSpendProof} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.shielded_pool.v1alpha1.ZKSpendProof, 3)); +}; + + +/** + * @param {?proto.penumbra.core.component.shielded_pool.v1alpha1.ZKSpendProof|undefined} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.Spend} returns this +*/ +proto.penumbra.core.component.shielded_pool.v1alpha1.Spend.prototype.setProof = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.Spend} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.Spend.prototype.clearProof = function() { + return this.setProof(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.Spend.prototype.hasProof = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendBody.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.shielded_pool.v1alpha1.SpendBody.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.SpendBody} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendBody.toObject = function(includeInstance, msg) { + var f, obj = { + balanceCommitment: (f = msg.getBalanceCommitment()) && penumbra_core_asset_v1alpha1_asset_pb.BalanceCommitment.toObject(includeInstance, f), + nullifier: msg.getNullifier_asB64(), + rk: msg.getRk_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.SpendBody} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendBody.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.shielded_pool.v1alpha1.SpendBody; + return proto.penumbra.core.component.shielded_pool.v1alpha1.SpendBody.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.SpendBody} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.SpendBody} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendBody.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_asset_v1alpha1_asset_pb.BalanceCommitment; + reader.readMessage(value,penumbra_core_asset_v1alpha1_asset_pb.BalanceCommitment.deserializeBinaryFromReader); + msg.setBalanceCommitment(value); + break; + case 3: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setNullifier(value); + break; + case 4: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setRk(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendBody.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.shielded_pool.v1alpha1.SpendBody.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.SpendBody} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendBody.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getBalanceCommitment(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_asset_v1alpha1_asset_pb.BalanceCommitment.serializeBinaryToWriter + ); + } + f = message.getNullifier_asU8(); + if (f.length > 0) { + writer.writeBytes( + 3, + f + ); + } + f = message.getRk_asU8(); + if (f.length > 0) { + writer.writeBytes( + 4, + f + ); + } +}; + + +/** + * optional penumbra.core.asset.v1alpha1.BalanceCommitment balance_commitment = 1; + * @return {?proto.penumbra.core.asset.v1alpha1.BalanceCommitment} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendBody.prototype.getBalanceCommitment = function() { + return /** @type{?proto.penumbra.core.asset.v1alpha1.BalanceCommitment} */ ( + jspb.Message.getWrapperField(this, penumbra_core_asset_v1alpha1_asset_pb.BalanceCommitment, 1)); +}; + + +/** + * @param {?proto.penumbra.core.asset.v1alpha1.BalanceCommitment|undefined} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.SpendBody} returns this +*/ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendBody.prototype.setBalanceCommitment = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.SpendBody} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendBody.prototype.clearBalanceCommitment = function() { + return this.setBalanceCommitment(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendBody.prototype.hasBalanceCommitment = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional bytes nullifier = 3; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendBody.prototype.getNullifier = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * optional bytes nullifier = 3; + * This is a type-conversion wrapper around `getNullifier()` + * @return {string} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendBody.prototype.getNullifier_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getNullifier())); +}; + + +/** + * optional bytes nullifier = 3; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getNullifier()` + * @return {!Uint8Array} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendBody.prototype.getNullifier_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getNullifier())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.SpendBody} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendBody.prototype.setNullifier = function(value) { + return jspb.Message.setProto3BytesField(this, 3, value); +}; + + +/** + * optional bytes rk = 4; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendBody.prototype.getRk = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * optional bytes rk = 4; + * This is a type-conversion wrapper around `getRk()` + * @return {string} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendBody.prototype.getRk_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getRk())); +}; + + +/** + * optional bytes rk = 4; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getRk()` + * @return {!Uint8Array} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendBody.prototype.getRk_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getRk())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.SpendBody} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendBody.prototype.setRk = function(value) { + return jspb.Message.setProto3BytesField(this, 4, value); +}; + + + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.oneofGroups_ = [[1,2]]; + +/** + * @enum {number} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.SpendViewCase = { + SPEND_VIEW_NOT_SET: 0, + VISIBLE: 1, + OPAQUE: 2 +}; + +/** + * @return {proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.SpendViewCase} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.prototype.getSpendViewCase = function() { + return /** @type {proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.SpendViewCase} */(jspb.Message.computeOneofCase(this, proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.toObject = function(includeInstance, msg) { + var f, obj = { + visible: (f = msg.getVisible()) && proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Visible.toObject(includeInstance, f), + opaque: (f = msg.getOpaque()) && proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Opaque.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView; + return proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Visible; + reader.readMessage(value,proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Visible.deserializeBinaryFromReader); + msg.setVisible(value); + break; + case 2: + var value = new proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Opaque; + reader.readMessage(value,proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Opaque.deserializeBinaryFromReader); + msg.setOpaque(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getVisible(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Visible.serializeBinaryToWriter + ); + } + f = message.getOpaque(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Opaque.serializeBinaryToWriter + ); + } +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Visible.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Visible.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Visible} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Visible.toObject = function(includeInstance, msg) { + var f, obj = { + spend: (f = msg.getSpend()) && proto.penumbra.core.component.shielded_pool.v1alpha1.Spend.toObject(includeInstance, f), + note: (f = msg.getNote()) && proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Visible} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Visible.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Visible; + return proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Visible.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Visible} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Visible} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Visible.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.shielded_pool.v1alpha1.Spend; + reader.readMessage(value,proto.penumbra.core.component.shielded_pool.v1alpha1.Spend.deserializeBinaryFromReader); + msg.setSpend(value); + break; + case 2: + var value = new proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView; + reader.readMessage(value,proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView.deserializeBinaryFromReader); + msg.setNote(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Visible.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Visible.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Visible} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Visible.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSpend(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.shielded_pool.v1alpha1.Spend.serializeBinaryToWriter + ); + } + f = message.getNote(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView.serializeBinaryToWriter + ); + } +}; + + +/** + * optional Spend spend = 1; + * @return {?proto.penumbra.core.component.shielded_pool.v1alpha1.Spend} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Visible.prototype.getSpend = function() { + return /** @type{?proto.penumbra.core.component.shielded_pool.v1alpha1.Spend} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.shielded_pool.v1alpha1.Spend, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.shielded_pool.v1alpha1.Spend|undefined} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Visible} returns this +*/ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Visible.prototype.setSpend = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Visible} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Visible.prototype.clearSpend = function() { + return this.setSpend(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Visible.prototype.hasSpend = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional NoteView note = 2; + * @return {?proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Visible.prototype.getNote = function() { + return /** @type{?proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView, 2)); +}; + + +/** + * @param {?proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView|undefined} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Visible} returns this +*/ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Visible.prototype.setNote = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Visible} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Visible.prototype.clearNote = function() { + return this.setNote(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Visible.prototype.hasNote = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Opaque.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Opaque.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Opaque} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Opaque.toObject = function(includeInstance, msg) { + var f, obj = { + spend: (f = msg.getSpend()) && proto.penumbra.core.component.shielded_pool.v1alpha1.Spend.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Opaque} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Opaque.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Opaque; + return proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Opaque.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Opaque} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Opaque} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Opaque.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.shielded_pool.v1alpha1.Spend; + reader.readMessage(value,proto.penumbra.core.component.shielded_pool.v1alpha1.Spend.deserializeBinaryFromReader); + msg.setSpend(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Opaque.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Opaque.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Opaque} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Opaque.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSpend(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.shielded_pool.v1alpha1.Spend.serializeBinaryToWriter + ); + } +}; + + +/** + * optional Spend spend = 1; + * @return {?proto.penumbra.core.component.shielded_pool.v1alpha1.Spend} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Opaque.prototype.getSpend = function() { + return /** @type{?proto.penumbra.core.component.shielded_pool.v1alpha1.Spend} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.shielded_pool.v1alpha1.Spend, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.shielded_pool.v1alpha1.Spend|undefined} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Opaque} returns this +*/ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Opaque.prototype.setSpend = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Opaque} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Opaque.prototype.clearSpend = function() { + return this.setSpend(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Opaque.prototype.hasSpend = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional Visible visible = 1; + * @return {?proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Visible} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.prototype.getVisible = function() { + return /** @type{?proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Visible} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Visible, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Visible|undefined} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView} returns this +*/ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.prototype.setVisible = function(value) { + return jspb.Message.setOneofWrapperField(this, 1, proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.prototype.clearVisible = function() { + return this.setVisible(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.prototype.hasVisible = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional Opaque opaque = 2; + * @return {?proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Opaque} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.prototype.getOpaque = function() { + return /** @type{?proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Opaque} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Opaque, 2)); +}; + + +/** + * @param {?proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.Opaque|undefined} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView} returns this +*/ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.prototype.setOpaque = function(value) { + return jspb.Message.setOneofWrapperField(this, 2, proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.prototype.clearOpaque = function() { + return this.setOpaque(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView.prototype.hasOpaque = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan.toObject = function(includeInstance, msg) { + var f, obj = { + note: (f = msg.getNote()) && proto.penumbra.core.component.shielded_pool.v1alpha1.Note.toObject(includeInstance, f), + position: jspb.Message.getFieldWithDefault(msg, 2, 0), + randomizer: msg.getRandomizer_asB64(), + valueBlinding: msg.getValueBlinding_asB64(), + proofBlindingR: msg.getProofBlindingR_asB64(), + proofBlindingS: msg.getProofBlindingS_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan; + return proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.shielded_pool.v1alpha1.Note; + reader.readMessage(value,proto.penumbra.core.component.shielded_pool.v1alpha1.Note.deserializeBinaryFromReader); + msg.setNote(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint64()); + msg.setPosition(value); + break; + case 3: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setRandomizer(value); + break; + case 4: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setValueBlinding(value); + break; + case 5: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setProofBlindingR(value); + break; + case 6: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setProofBlindingS(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getNote(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.shielded_pool.v1alpha1.Note.serializeBinaryToWriter + ); + } + f = message.getPosition(); + if (f !== 0) { + writer.writeUint64( + 2, + f + ); + } + f = message.getRandomizer_asU8(); + if (f.length > 0) { + writer.writeBytes( + 3, + f + ); + } + f = message.getValueBlinding_asU8(); + if (f.length > 0) { + writer.writeBytes( + 4, + f + ); + } + f = message.getProofBlindingR_asU8(); + if (f.length > 0) { + writer.writeBytes( + 5, + f + ); + } + f = message.getProofBlindingS_asU8(); + if (f.length > 0) { + writer.writeBytes( + 6, + f + ); + } +}; + + +/** + * optional Note note = 1; + * @return {?proto.penumbra.core.component.shielded_pool.v1alpha1.Note} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan.prototype.getNote = function() { + return /** @type{?proto.penumbra.core.component.shielded_pool.v1alpha1.Note} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.shielded_pool.v1alpha1.Note, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.shielded_pool.v1alpha1.Note|undefined} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan} returns this +*/ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan.prototype.setNote = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan.prototype.clearNote = function() { + return this.setNote(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan.prototype.hasNote = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional uint64 position = 2; + * @return {number} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan.prototype.getPosition = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan.prototype.setPosition = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + +/** + * optional bytes randomizer = 3; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan.prototype.getRandomizer = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * optional bytes randomizer = 3; + * This is a type-conversion wrapper around `getRandomizer()` + * @return {string} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan.prototype.getRandomizer_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getRandomizer())); +}; + + +/** + * optional bytes randomizer = 3; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getRandomizer()` + * @return {!Uint8Array} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan.prototype.getRandomizer_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getRandomizer())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan.prototype.setRandomizer = function(value) { + return jspb.Message.setProto3BytesField(this, 3, value); +}; + + +/** + * optional bytes value_blinding = 4; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan.prototype.getValueBlinding = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * optional bytes value_blinding = 4; + * This is a type-conversion wrapper around `getValueBlinding()` + * @return {string} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan.prototype.getValueBlinding_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getValueBlinding())); +}; + + +/** + * optional bytes value_blinding = 4; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getValueBlinding()` + * @return {!Uint8Array} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan.prototype.getValueBlinding_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getValueBlinding())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan.prototype.setValueBlinding = function(value) { + return jspb.Message.setProto3BytesField(this, 4, value); +}; + + +/** + * optional bytes proof_blinding_r = 5; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan.prototype.getProofBlindingR = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * optional bytes proof_blinding_r = 5; + * This is a type-conversion wrapper around `getProofBlindingR()` + * @return {string} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan.prototype.getProofBlindingR_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getProofBlindingR())); +}; + + +/** + * optional bytes proof_blinding_r = 5; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getProofBlindingR()` + * @return {!Uint8Array} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan.prototype.getProofBlindingR_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getProofBlindingR())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan.prototype.setProofBlindingR = function(value) { + return jspb.Message.setProto3BytesField(this, 5, value); +}; + + +/** + * optional bytes proof_blinding_s = 6; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan.prototype.getProofBlindingS = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * optional bytes proof_blinding_s = 6; + * This is a type-conversion wrapper around `getProofBlindingS()` + * @return {string} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan.prototype.getProofBlindingS_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getProofBlindingS())); +}; + + +/** + * optional bytes proof_blinding_s = 6; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getProofBlindingS()` + * @return {!Uint8Array} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan.prototype.getProofBlindingS_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getProofBlindingS())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan.prototype.setProofBlindingS = function(value) { + return jspb.Message.setProto3BytesField(this, 6, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.Output.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.shielded_pool.v1alpha1.Output.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.Output} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.Output.toObject = function(includeInstance, msg) { + var f, obj = { + body: (f = msg.getBody()) && proto.penumbra.core.component.shielded_pool.v1alpha1.OutputBody.toObject(includeInstance, f), + proof: (f = msg.getProof()) && proto.penumbra.core.component.shielded_pool.v1alpha1.ZKOutputProof.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.Output} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.Output.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.shielded_pool.v1alpha1.Output; + return proto.penumbra.core.component.shielded_pool.v1alpha1.Output.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.Output} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.Output} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.Output.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.shielded_pool.v1alpha1.OutputBody; + reader.readMessage(value,proto.penumbra.core.component.shielded_pool.v1alpha1.OutputBody.deserializeBinaryFromReader); + msg.setBody(value); + break; + case 2: + var value = new proto.penumbra.core.component.shielded_pool.v1alpha1.ZKOutputProof; + reader.readMessage(value,proto.penumbra.core.component.shielded_pool.v1alpha1.ZKOutputProof.deserializeBinaryFromReader); + msg.setProof(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.Output.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.shielded_pool.v1alpha1.Output.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.Output} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.Output.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getBody(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.shielded_pool.v1alpha1.OutputBody.serializeBinaryToWriter + ); + } + f = message.getProof(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.penumbra.core.component.shielded_pool.v1alpha1.ZKOutputProof.serializeBinaryToWriter + ); + } +}; + + +/** + * optional OutputBody body = 1; + * @return {?proto.penumbra.core.component.shielded_pool.v1alpha1.OutputBody} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.Output.prototype.getBody = function() { + return /** @type{?proto.penumbra.core.component.shielded_pool.v1alpha1.OutputBody} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.shielded_pool.v1alpha1.OutputBody, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.shielded_pool.v1alpha1.OutputBody|undefined} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.Output} returns this +*/ +proto.penumbra.core.component.shielded_pool.v1alpha1.Output.prototype.setBody = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.Output} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.Output.prototype.clearBody = function() { + return this.setBody(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.Output.prototype.hasBody = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional ZKOutputProof proof = 2; + * @return {?proto.penumbra.core.component.shielded_pool.v1alpha1.ZKOutputProof} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.Output.prototype.getProof = function() { + return /** @type{?proto.penumbra.core.component.shielded_pool.v1alpha1.ZKOutputProof} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.shielded_pool.v1alpha1.ZKOutputProof, 2)); +}; + + +/** + * @param {?proto.penumbra.core.component.shielded_pool.v1alpha1.ZKOutputProof|undefined} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.Output} returns this +*/ +proto.penumbra.core.component.shielded_pool.v1alpha1.Output.prototype.setProof = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.Output} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.Output.prototype.clearProof = function() { + return this.setProof(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.Output.prototype.hasProof = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputBody.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.shielded_pool.v1alpha1.OutputBody.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputBody} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputBody.toObject = function(includeInstance, msg) { + var f, obj = { + notePayload: (f = msg.getNotePayload()) && proto.penumbra.core.component.shielded_pool.v1alpha1.NotePayload.toObject(includeInstance, f), + balanceCommitment: (f = msg.getBalanceCommitment()) && penumbra_core_asset_v1alpha1_asset_pb.BalanceCommitment.toObject(includeInstance, f), + wrappedMemoKey: msg.getWrappedMemoKey_asB64(), + ovkWrappedKey: msg.getOvkWrappedKey_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputBody} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputBody.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.shielded_pool.v1alpha1.OutputBody; + return proto.penumbra.core.component.shielded_pool.v1alpha1.OutputBody.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputBody} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputBody} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputBody.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.shielded_pool.v1alpha1.NotePayload; + reader.readMessage(value,proto.penumbra.core.component.shielded_pool.v1alpha1.NotePayload.deserializeBinaryFromReader); + msg.setNotePayload(value); + break; + case 2: + var value = new penumbra_core_asset_v1alpha1_asset_pb.BalanceCommitment; + reader.readMessage(value,penumbra_core_asset_v1alpha1_asset_pb.BalanceCommitment.deserializeBinaryFromReader); + msg.setBalanceCommitment(value); + break; + case 3: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setWrappedMemoKey(value); + break; + case 4: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setOvkWrappedKey(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputBody.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.shielded_pool.v1alpha1.OutputBody.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputBody} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputBody.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getNotePayload(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.shielded_pool.v1alpha1.NotePayload.serializeBinaryToWriter + ); + } + f = message.getBalanceCommitment(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_asset_v1alpha1_asset_pb.BalanceCommitment.serializeBinaryToWriter + ); + } + f = message.getWrappedMemoKey_asU8(); + if (f.length > 0) { + writer.writeBytes( + 3, + f + ); + } + f = message.getOvkWrappedKey_asU8(); + if (f.length > 0) { + writer.writeBytes( + 4, + f + ); + } +}; + + +/** + * optional NotePayload note_payload = 1; + * @return {?proto.penumbra.core.component.shielded_pool.v1alpha1.NotePayload} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputBody.prototype.getNotePayload = function() { + return /** @type{?proto.penumbra.core.component.shielded_pool.v1alpha1.NotePayload} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.shielded_pool.v1alpha1.NotePayload, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.shielded_pool.v1alpha1.NotePayload|undefined} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputBody} returns this +*/ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputBody.prototype.setNotePayload = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputBody} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputBody.prototype.clearNotePayload = function() { + return this.setNotePayload(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputBody.prototype.hasNotePayload = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional penumbra.core.asset.v1alpha1.BalanceCommitment balance_commitment = 2; + * @return {?proto.penumbra.core.asset.v1alpha1.BalanceCommitment} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputBody.prototype.getBalanceCommitment = function() { + return /** @type{?proto.penumbra.core.asset.v1alpha1.BalanceCommitment} */ ( + jspb.Message.getWrapperField(this, penumbra_core_asset_v1alpha1_asset_pb.BalanceCommitment, 2)); +}; + + +/** + * @param {?proto.penumbra.core.asset.v1alpha1.BalanceCommitment|undefined} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputBody} returns this +*/ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputBody.prototype.setBalanceCommitment = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputBody} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputBody.prototype.clearBalanceCommitment = function() { + return this.setBalanceCommitment(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputBody.prototype.hasBalanceCommitment = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional bytes wrapped_memo_key = 3; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputBody.prototype.getWrappedMemoKey = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * optional bytes wrapped_memo_key = 3; + * This is a type-conversion wrapper around `getWrappedMemoKey()` + * @return {string} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputBody.prototype.getWrappedMemoKey_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getWrappedMemoKey())); +}; + + +/** + * optional bytes wrapped_memo_key = 3; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getWrappedMemoKey()` + * @return {!Uint8Array} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputBody.prototype.getWrappedMemoKey_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getWrappedMemoKey())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputBody} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputBody.prototype.setWrappedMemoKey = function(value) { + return jspb.Message.setProto3BytesField(this, 3, value); +}; + + +/** + * optional bytes ovk_wrapped_key = 4; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputBody.prototype.getOvkWrappedKey = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * optional bytes ovk_wrapped_key = 4; + * This is a type-conversion wrapper around `getOvkWrappedKey()` + * @return {string} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputBody.prototype.getOvkWrappedKey_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getOvkWrappedKey())); +}; + + +/** + * optional bytes ovk_wrapped_key = 4; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getOvkWrappedKey()` + * @return {!Uint8Array} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputBody.prototype.getOvkWrappedKey_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getOvkWrappedKey())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputBody} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputBody.prototype.setOvkWrappedKey = function(value) { + return jspb.Message.setProto3BytesField(this, 4, value); +}; + + + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.oneofGroups_ = [[1,2]]; + +/** + * @enum {number} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.OutputViewCase = { + OUTPUT_VIEW_NOT_SET: 0, + VISIBLE: 1, + OPAQUE: 2 +}; + +/** + * @return {proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.OutputViewCase} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.prototype.getOutputViewCase = function() { + return /** @type {proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.OutputViewCase} */(jspb.Message.computeOneofCase(this, proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.toObject = function(includeInstance, msg) { + var f, obj = { + visible: (f = msg.getVisible()) && proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Visible.toObject(includeInstance, f), + opaque: (f = msg.getOpaque()) && proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Opaque.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView; + return proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Visible; + reader.readMessage(value,proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Visible.deserializeBinaryFromReader); + msg.setVisible(value); + break; + case 2: + var value = new proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Opaque; + reader.readMessage(value,proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Opaque.deserializeBinaryFromReader); + msg.setOpaque(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getVisible(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Visible.serializeBinaryToWriter + ); + } + f = message.getOpaque(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Opaque.serializeBinaryToWriter + ); + } +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Visible.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Visible.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Visible} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Visible.toObject = function(includeInstance, msg) { + var f, obj = { + output: (f = msg.getOutput()) && proto.penumbra.core.component.shielded_pool.v1alpha1.Output.toObject(includeInstance, f), + note: (f = msg.getNote()) && proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView.toObject(includeInstance, f), + payloadKey: (f = msg.getPayloadKey()) && penumbra_core_keys_v1alpha1_keys_pb.PayloadKey.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Visible} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Visible.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Visible; + return proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Visible.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Visible} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Visible} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Visible.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.shielded_pool.v1alpha1.Output; + reader.readMessage(value,proto.penumbra.core.component.shielded_pool.v1alpha1.Output.deserializeBinaryFromReader); + msg.setOutput(value); + break; + case 2: + var value = new proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView; + reader.readMessage(value,proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView.deserializeBinaryFromReader); + msg.setNote(value); + break; + case 3: + var value = new penumbra_core_keys_v1alpha1_keys_pb.PayloadKey; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.PayloadKey.deserializeBinaryFromReader); + msg.setPayloadKey(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Visible.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Visible.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Visible} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Visible.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getOutput(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.shielded_pool.v1alpha1.Output.serializeBinaryToWriter + ); + } + f = message.getNote(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView.serializeBinaryToWriter + ); + } + f = message.getPayloadKey(); + if (f != null) { + writer.writeMessage( + 3, + f, + penumbra_core_keys_v1alpha1_keys_pb.PayloadKey.serializeBinaryToWriter + ); + } +}; + + +/** + * optional Output output = 1; + * @return {?proto.penumbra.core.component.shielded_pool.v1alpha1.Output} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Visible.prototype.getOutput = function() { + return /** @type{?proto.penumbra.core.component.shielded_pool.v1alpha1.Output} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.shielded_pool.v1alpha1.Output, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.shielded_pool.v1alpha1.Output|undefined} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Visible} returns this +*/ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Visible.prototype.setOutput = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Visible} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Visible.prototype.clearOutput = function() { + return this.setOutput(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Visible.prototype.hasOutput = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional NoteView note = 2; + * @return {?proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Visible.prototype.getNote = function() { + return /** @type{?proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView, 2)); +}; + + +/** + * @param {?proto.penumbra.core.component.shielded_pool.v1alpha1.NoteView|undefined} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Visible} returns this +*/ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Visible.prototype.setNote = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Visible} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Visible.prototype.clearNote = function() { + return this.setNote(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Visible.prototype.hasNote = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional penumbra.core.keys.v1alpha1.PayloadKey payload_key = 3; + * @return {?proto.penumbra.core.keys.v1alpha1.PayloadKey} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Visible.prototype.getPayloadKey = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.PayloadKey} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.PayloadKey, 3)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.PayloadKey|undefined} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Visible} returns this +*/ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Visible.prototype.setPayloadKey = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Visible} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Visible.prototype.clearPayloadKey = function() { + return this.setPayloadKey(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Visible.prototype.hasPayloadKey = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Opaque.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Opaque.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Opaque} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Opaque.toObject = function(includeInstance, msg) { + var f, obj = { + output: (f = msg.getOutput()) && proto.penumbra.core.component.shielded_pool.v1alpha1.Output.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Opaque} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Opaque.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Opaque; + return proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Opaque.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Opaque} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Opaque} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Opaque.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.shielded_pool.v1alpha1.Output; + reader.readMessage(value,proto.penumbra.core.component.shielded_pool.v1alpha1.Output.deserializeBinaryFromReader); + msg.setOutput(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Opaque.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Opaque.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Opaque} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Opaque.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getOutput(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.shielded_pool.v1alpha1.Output.serializeBinaryToWriter + ); + } +}; + + +/** + * optional Output output = 1; + * @return {?proto.penumbra.core.component.shielded_pool.v1alpha1.Output} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Opaque.prototype.getOutput = function() { + return /** @type{?proto.penumbra.core.component.shielded_pool.v1alpha1.Output} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.shielded_pool.v1alpha1.Output, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.shielded_pool.v1alpha1.Output|undefined} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Opaque} returns this +*/ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Opaque.prototype.setOutput = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Opaque} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Opaque.prototype.clearOutput = function() { + return this.setOutput(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Opaque.prototype.hasOutput = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional Visible visible = 1; + * @return {?proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Visible} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.prototype.getVisible = function() { + return /** @type{?proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Visible} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Visible, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Visible|undefined} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView} returns this +*/ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.prototype.setVisible = function(value) { + return jspb.Message.setOneofWrapperField(this, 1, proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.prototype.clearVisible = function() { + return this.setVisible(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.prototype.hasVisible = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional Opaque opaque = 2; + * @return {?proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Opaque} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.prototype.getOpaque = function() { + return /** @type{?proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Opaque} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Opaque, 2)); +}; + + +/** + * @param {?proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.Opaque|undefined} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView} returns this +*/ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.prototype.setOpaque = function(value) { + return jspb.Message.setOneofWrapperField(this, 2, proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.prototype.clearOpaque = function() { + return this.setOpaque(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView.prototype.hasOpaque = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan.toObject = function(includeInstance, msg) { + var f, obj = { + value: (f = msg.getValue()) && penumbra_core_asset_v1alpha1_asset_pb.Value.toObject(includeInstance, f), + destAddress: (f = msg.getDestAddress()) && penumbra_core_keys_v1alpha1_keys_pb.Address.toObject(includeInstance, f), + rseed: msg.getRseed_asB64(), + valueBlinding: msg.getValueBlinding_asB64(), + proofBlindingR: msg.getProofBlindingR_asB64(), + proofBlindingS: msg.getProofBlindingS_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan; + return proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_asset_v1alpha1_asset_pb.Value; + reader.readMessage(value,penumbra_core_asset_v1alpha1_asset_pb.Value.deserializeBinaryFromReader); + msg.setValue(value); + break; + case 2: + var value = new penumbra_core_keys_v1alpha1_keys_pb.Address; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.Address.deserializeBinaryFromReader); + msg.setDestAddress(value); + break; + case 3: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setRseed(value); + break; + case 4: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setValueBlinding(value); + break; + case 5: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setProofBlindingR(value); + break; + case 6: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setProofBlindingS(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getValue(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_asset_v1alpha1_asset_pb.Value.serializeBinaryToWriter + ); + } + f = message.getDestAddress(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_keys_v1alpha1_keys_pb.Address.serializeBinaryToWriter + ); + } + f = message.getRseed_asU8(); + if (f.length > 0) { + writer.writeBytes( + 3, + f + ); + } + f = message.getValueBlinding_asU8(); + if (f.length > 0) { + writer.writeBytes( + 4, + f + ); + } + f = message.getProofBlindingR_asU8(); + if (f.length > 0) { + writer.writeBytes( + 5, + f + ); + } + f = message.getProofBlindingS_asU8(); + if (f.length > 0) { + writer.writeBytes( + 6, + f + ); + } +}; + + +/** + * optional penumbra.core.asset.v1alpha1.Value value = 1; + * @return {?proto.penumbra.core.asset.v1alpha1.Value} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan.prototype.getValue = function() { + return /** @type{?proto.penumbra.core.asset.v1alpha1.Value} */ ( + jspb.Message.getWrapperField(this, penumbra_core_asset_v1alpha1_asset_pb.Value, 1)); +}; + + +/** + * @param {?proto.penumbra.core.asset.v1alpha1.Value|undefined} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan} returns this +*/ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan.prototype.setValue = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan.prototype.clearValue = function() { + return this.setValue(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan.prototype.hasValue = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional penumbra.core.keys.v1alpha1.Address dest_address = 2; + * @return {?proto.penumbra.core.keys.v1alpha1.Address} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan.prototype.getDestAddress = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.Address} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.Address, 2)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.Address|undefined} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan} returns this +*/ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan.prototype.setDestAddress = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan.prototype.clearDestAddress = function() { + return this.setDestAddress(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan.prototype.hasDestAddress = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional bytes rseed = 3; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan.prototype.getRseed = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * optional bytes rseed = 3; + * This is a type-conversion wrapper around `getRseed()` + * @return {string} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan.prototype.getRseed_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getRseed())); +}; + + +/** + * optional bytes rseed = 3; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getRseed()` + * @return {!Uint8Array} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan.prototype.getRseed_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getRseed())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan.prototype.setRseed = function(value) { + return jspb.Message.setProto3BytesField(this, 3, value); +}; + + +/** + * optional bytes value_blinding = 4; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan.prototype.getValueBlinding = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * optional bytes value_blinding = 4; + * This is a type-conversion wrapper around `getValueBlinding()` + * @return {string} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan.prototype.getValueBlinding_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getValueBlinding())); +}; + + +/** + * optional bytes value_blinding = 4; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getValueBlinding()` + * @return {!Uint8Array} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan.prototype.getValueBlinding_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getValueBlinding())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan.prototype.setValueBlinding = function(value) { + return jspb.Message.setProto3BytesField(this, 4, value); +}; + + +/** + * optional bytes proof_blinding_r = 5; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan.prototype.getProofBlindingR = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * optional bytes proof_blinding_r = 5; + * This is a type-conversion wrapper around `getProofBlindingR()` + * @return {string} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan.prototype.getProofBlindingR_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getProofBlindingR())); +}; + + +/** + * optional bytes proof_blinding_r = 5; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getProofBlindingR()` + * @return {!Uint8Array} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan.prototype.getProofBlindingR_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getProofBlindingR())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan.prototype.setProofBlindingR = function(value) { + return jspb.Message.setProto3BytesField(this, 5, value); +}; + + +/** + * optional bytes proof_blinding_s = 6; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan.prototype.getProofBlindingS = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * optional bytes proof_blinding_s = 6; + * This is a type-conversion wrapper around `getProofBlindingS()` + * @return {string} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan.prototype.getProofBlindingS_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getProofBlindingS())); +}; + + +/** + * optional bytes proof_blinding_s = 6; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getProofBlindingS()` + * @return {!Uint8Array} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan.prototype.getProofBlindingS_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getProofBlindingS())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan.prototype.setProofBlindingS = function(value) { + return jspb.Message.setProto3BytesField(this, 6, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdRequest.toObject = function(includeInstance, msg) { + var f, obj = { + chainId: jspb.Message.getFieldWithDefault(msg, 1, ""), + assetId: (f = msg.getAssetId()) && penumbra_core_asset_v1alpha1_asset_pb.AssetId.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdRequest} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdRequest; + return proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdRequest} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setChainId(value); + break; + case 2: + var value = new penumbra_core_asset_v1alpha1_asset_pb.AssetId; + reader.readMessage(value,penumbra_core_asset_v1alpha1_asset_pb.AssetId.deserializeBinaryFromReader); + msg.setAssetId(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getChainId(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getAssetId(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_asset_v1alpha1_asset_pb.AssetId.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string chain_id = 1; + * @return {string} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdRequest.prototype.getChainId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdRequest} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdRequest.prototype.setChainId = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional penumbra.core.asset.v1alpha1.AssetId asset_id = 2; + * @return {?proto.penumbra.core.asset.v1alpha1.AssetId} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdRequest.prototype.getAssetId = function() { + return /** @type{?proto.penumbra.core.asset.v1alpha1.AssetId} */ ( + jspb.Message.getWrapperField(this, penumbra_core_asset_v1alpha1_asset_pb.AssetId, 2)); +}; + + +/** + * @param {?proto.penumbra.core.asset.v1alpha1.AssetId|undefined} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdRequest} returns this +*/ +proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdRequest.prototype.setAssetId = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdRequest} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdRequest.prototype.clearAssetId = function() { + return this.setAssetId(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdRequest.prototype.hasAssetId = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdResponse.toObject = function(includeInstance, msg) { + var f, obj = { + denomMetadata: (f = msg.getDenomMetadata()) && penumbra_core_asset_v1alpha1_asset_pb.DenomMetadata.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdResponse} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdResponse; + return proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdResponse} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_asset_v1alpha1_asset_pb.DenomMetadata; + reader.readMessage(value,penumbra_core_asset_v1alpha1_asset_pb.DenomMetadata.deserializeBinaryFromReader); + msg.setDenomMetadata(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDenomMetadata(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_asset_v1alpha1_asset_pb.DenomMetadata.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.asset.v1alpha1.DenomMetadata denom_metadata = 1; + * @return {?proto.penumbra.core.asset.v1alpha1.DenomMetadata} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdResponse.prototype.getDenomMetadata = function() { + return /** @type{?proto.penumbra.core.asset.v1alpha1.DenomMetadata} */ ( + jspb.Message.getWrapperField(this, penumbra_core_asset_v1alpha1_asset_pb.DenomMetadata, 1)); +}; + + +/** + * @param {?proto.penumbra.core.asset.v1alpha1.DenomMetadata|undefined} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdResponse} returns this +*/ +proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdResponse.prototype.setDenomMetadata = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdResponse} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdResponse.prototype.clearDenomMetadata = function() { + return this.setDenomMetadata(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.DenomMetadataByIdResponse.prototype.hasDenomMetadata = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.repeatedFields_ = [2]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.toObject = function(includeInstance, msg) { + var f, obj = { + allocationsList: jspb.Message.toObjectList(msg.getAllocationsList(), + proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.Allocation.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent; + return proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 2: + var value = new proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.Allocation; + reader.readMessage(value,proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.Allocation.deserializeBinaryFromReader); + msg.addAllocations(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getAllocationsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 2, + f, + proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.Allocation.serializeBinaryToWriter + ); + } +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.Allocation.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.Allocation.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.Allocation} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.Allocation.toObject = function(includeInstance, msg) { + var f, obj = { + amount: (f = msg.getAmount()) && penumbra_core_num_v1alpha1_num_pb.Amount.toObject(includeInstance, f), + denom: jspb.Message.getFieldWithDefault(msg, 2, ""), + address: (f = msg.getAddress()) && penumbra_core_keys_v1alpha1_keys_pb.Address.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.Allocation} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.Allocation.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.Allocation; + return proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.Allocation.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.Allocation} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.Allocation} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.Allocation.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_num_v1alpha1_num_pb.Amount; + reader.readMessage(value,penumbra_core_num_v1alpha1_num_pb.Amount.deserializeBinaryFromReader); + msg.setAmount(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDenom(value); + break; + case 3: + var value = new penumbra_core_keys_v1alpha1_keys_pb.Address; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.Address.deserializeBinaryFromReader); + msg.setAddress(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.Allocation.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.Allocation.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.Allocation} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.Allocation.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getAmount(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_num_v1alpha1_num_pb.Amount.serializeBinaryToWriter + ); + } + f = message.getDenom(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getAddress(); + if (f != null) { + writer.writeMessage( + 3, + f, + penumbra_core_keys_v1alpha1_keys_pb.Address.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.num.v1alpha1.Amount amount = 1; + * @return {?proto.penumbra.core.num.v1alpha1.Amount} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.Allocation.prototype.getAmount = function() { + return /** @type{?proto.penumbra.core.num.v1alpha1.Amount} */ ( + jspb.Message.getWrapperField(this, penumbra_core_num_v1alpha1_num_pb.Amount, 1)); +}; + + +/** + * @param {?proto.penumbra.core.num.v1alpha1.Amount|undefined} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.Allocation} returns this +*/ +proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.Allocation.prototype.setAmount = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.Allocation} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.Allocation.prototype.clearAmount = function() { + return this.setAmount(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.Allocation.prototype.hasAmount = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional string denom = 2; + * @return {string} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.Allocation.prototype.getDenom = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.Allocation} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.Allocation.prototype.setDenom = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional penumbra.core.keys.v1alpha1.Address address = 3; + * @return {?proto.penumbra.core.keys.v1alpha1.Address} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.Allocation.prototype.getAddress = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.Address} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.Address, 3)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.Address|undefined} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.Allocation} returns this +*/ +proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.Allocation.prototype.setAddress = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.Allocation} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.Allocation.prototype.clearAddress = function() { + return this.setAddress(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.Allocation.prototype.hasAddress = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * repeated Allocation allocations = 2; + * @return {!Array} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.prototype.getAllocationsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.Allocation, 2)); +}; + + +/** + * @param {!Array} value + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent} returns this +*/ +proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.prototype.setAllocationsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 2, value); +}; + + +/** + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.Allocation=} opt_value + * @param {number=} opt_index + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.Allocation} + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.prototype.addAllocations = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.Allocation, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent} returns this + */ +proto.penumbra.core.component.shielded_pool.v1alpha1.GenesisContent.prototype.clearAllocationsList = function() { + return this.setAllocationsList([]); +}; + + +goog.object.extend(exports, proto.penumbra.core.component.shielded_pool.v1alpha1); diff --git a/src/chains/penumbra/generated/penumbra/core/component/stake/v1alpha1/stake_grpc_pb.d.ts b/src/chains/penumbra/generated/penumbra/core/component/stake/v1alpha1/stake_grpc_pb.d.ts new file mode 100644 index 0000000000..41d25ca050 --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/component/stake/v1alpha1/stake_grpc_pb.d.ts @@ -0,0 +1,110 @@ +// package: penumbra.core.component.stake.v1alpha1 +// file: penumbra/core/component/stake/v1alpha1/stake.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as grpc from "grpc"; +import * as penumbra_core_component_stake_v1alpha1_stake_pb from "../../../../../penumbra/core/component/stake/v1alpha1/stake_pb"; +import * as penumbra_core_keys_v1alpha1_keys_pb from "../../../../../penumbra/core/keys/v1alpha1/keys_pb"; +import * as penumbra_core_num_v1alpha1_num_pb from "../../../../../penumbra/core/num/v1alpha1/num_pb"; +import * as penumbra_core_asset_v1alpha1_asset_pb from "../../../../../penumbra/core/asset/v1alpha1/asset_pb"; + +interface IQueryServiceService extends grpc.ServiceDefinition { + validatorInfo: IQueryServiceService_IValidatorInfo; + validatorStatus: IQueryServiceService_IValidatorStatus; + validatorPenalty: IQueryServiceService_IValidatorPenalty; + currentValidatorRate: IQueryServiceService_ICurrentValidatorRate; + nextValidatorRate: IQueryServiceService_INextValidatorRate; +} + +interface IQueryServiceService_IValidatorInfo extends grpc.MethodDefinition { + path: "/penumbra.core.component.stake.v1alpha1.QueryService/ValidatorInfo"; + requestStream: false; + responseStream: true; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IQueryServiceService_IValidatorStatus extends grpc.MethodDefinition { + path: "/penumbra.core.component.stake.v1alpha1.QueryService/ValidatorStatus"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IQueryServiceService_IValidatorPenalty extends grpc.MethodDefinition { + path: "/penumbra.core.component.stake.v1alpha1.QueryService/ValidatorPenalty"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IQueryServiceService_ICurrentValidatorRate extends grpc.MethodDefinition { + path: "/penumbra.core.component.stake.v1alpha1.QueryService/CurrentValidatorRate"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IQueryServiceService_INextValidatorRate extends grpc.MethodDefinition { + path: "/penumbra.core.component.stake.v1alpha1.QueryService/NextValidatorRate"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} + +export const QueryServiceService: IQueryServiceService; + +export interface IQueryServiceServer { + validatorInfo: grpc.handleServerStreamingCall; + validatorStatus: grpc.handleUnaryCall; + validatorPenalty: grpc.handleUnaryCall; + currentValidatorRate: grpc.handleUnaryCall; + nextValidatorRate: grpc.handleUnaryCall; +} + +export interface IQueryServiceClient { + validatorInfo(request: penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorInfoRequest, options?: Partial): grpc.ClientReadableStream; + validatorInfo(request: penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorInfoRequest, metadata?: grpc.Metadata, options?: Partial): grpc.ClientReadableStream; + validatorStatus(request: penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorStatusRequest, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorStatusResponse) => void): grpc.ClientUnaryCall; + validatorStatus(request: penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorStatusRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorStatusResponse) => void): grpc.ClientUnaryCall; + validatorStatus(request: penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorStatusRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorStatusResponse) => void): grpc.ClientUnaryCall; + validatorPenalty(request: penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorPenaltyRequest, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorPenaltyResponse) => void): grpc.ClientUnaryCall; + validatorPenalty(request: penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorPenaltyRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorPenaltyResponse) => void): grpc.ClientUnaryCall; + validatorPenalty(request: penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorPenaltyRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorPenaltyResponse) => void): grpc.ClientUnaryCall; + currentValidatorRate(request: penumbra_core_component_stake_v1alpha1_stake_pb.CurrentValidatorRateRequest, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_stake_v1alpha1_stake_pb.CurrentValidatorRateResponse) => void): grpc.ClientUnaryCall; + currentValidatorRate(request: penumbra_core_component_stake_v1alpha1_stake_pb.CurrentValidatorRateRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_stake_v1alpha1_stake_pb.CurrentValidatorRateResponse) => void): grpc.ClientUnaryCall; + currentValidatorRate(request: penumbra_core_component_stake_v1alpha1_stake_pb.CurrentValidatorRateRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_stake_v1alpha1_stake_pb.CurrentValidatorRateResponse) => void): grpc.ClientUnaryCall; + nextValidatorRate(request: penumbra_core_component_stake_v1alpha1_stake_pb.NextValidatorRateRequest, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_stake_v1alpha1_stake_pb.NextValidatorRateResponse) => void): grpc.ClientUnaryCall; + nextValidatorRate(request: penumbra_core_component_stake_v1alpha1_stake_pb.NextValidatorRateRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_stake_v1alpha1_stake_pb.NextValidatorRateResponse) => void): grpc.ClientUnaryCall; + nextValidatorRate(request: penumbra_core_component_stake_v1alpha1_stake_pb.NextValidatorRateRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_stake_v1alpha1_stake_pb.NextValidatorRateResponse) => void): grpc.ClientUnaryCall; +} + +export class QueryServiceClient extends grpc.Client implements IQueryServiceClient { + constructor(address: string, credentials: grpc.ChannelCredentials, options?: object); + public validatorInfo(request: penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorInfoRequest, options?: Partial): grpc.ClientReadableStream; + public validatorInfo(request: penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorInfoRequest, metadata?: grpc.Metadata, options?: Partial): grpc.ClientReadableStream; + public validatorStatus(request: penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorStatusRequest, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorStatusResponse) => void): grpc.ClientUnaryCall; + public validatorStatus(request: penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorStatusRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorStatusResponse) => void): grpc.ClientUnaryCall; + public validatorStatus(request: penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorStatusRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorStatusResponse) => void): grpc.ClientUnaryCall; + public validatorPenalty(request: penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorPenaltyRequest, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorPenaltyResponse) => void): grpc.ClientUnaryCall; + public validatorPenalty(request: penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorPenaltyRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorPenaltyResponse) => void): grpc.ClientUnaryCall; + public validatorPenalty(request: penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorPenaltyRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorPenaltyResponse) => void): grpc.ClientUnaryCall; + public currentValidatorRate(request: penumbra_core_component_stake_v1alpha1_stake_pb.CurrentValidatorRateRequest, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_stake_v1alpha1_stake_pb.CurrentValidatorRateResponse) => void): grpc.ClientUnaryCall; + public currentValidatorRate(request: penumbra_core_component_stake_v1alpha1_stake_pb.CurrentValidatorRateRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_stake_v1alpha1_stake_pb.CurrentValidatorRateResponse) => void): grpc.ClientUnaryCall; + public currentValidatorRate(request: penumbra_core_component_stake_v1alpha1_stake_pb.CurrentValidatorRateRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_stake_v1alpha1_stake_pb.CurrentValidatorRateResponse) => void): grpc.ClientUnaryCall; + public nextValidatorRate(request: penumbra_core_component_stake_v1alpha1_stake_pb.NextValidatorRateRequest, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_stake_v1alpha1_stake_pb.NextValidatorRateResponse) => void): grpc.ClientUnaryCall; + public nextValidatorRate(request: penumbra_core_component_stake_v1alpha1_stake_pb.NextValidatorRateRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_stake_v1alpha1_stake_pb.NextValidatorRateResponse) => void): grpc.ClientUnaryCall; + public nextValidatorRate(request: penumbra_core_component_stake_v1alpha1_stake_pb.NextValidatorRateRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_core_component_stake_v1alpha1_stake_pb.NextValidatorRateResponse) => void): grpc.ClientUnaryCall; +} diff --git a/src/chains/penumbra/generated/penumbra/core/component/stake/v1alpha1/stake_grpc_pb.js b/src/chains/penumbra/generated/penumbra/core/component/stake/v1alpha1/stake_grpc_pb.js new file mode 100644 index 0000000000..93f69c5677 --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/component/stake/v1alpha1/stake_grpc_pb.js @@ -0,0 +1,181 @@ +// GENERATED CODE -- DO NOT EDIT! + +'use strict'; +var grpc = require('@grpc/grpc-js'); +var penumbra_core_component_stake_v1alpha1_stake_pb = require('../../../../../penumbra/core/component/stake/v1alpha1/stake_pb.js'); +var penumbra_core_keys_v1alpha1_keys_pb = require('../../../../../penumbra/core/keys/v1alpha1/keys_pb.js'); +var penumbra_core_num_v1alpha1_num_pb = require('../../../../../penumbra/core/num/v1alpha1/num_pb.js'); +var penumbra_core_asset_v1alpha1_asset_pb = require('../../../../../penumbra/core/asset/v1alpha1/asset_pb.js'); + +function serialize_penumbra_core_component_stake_v1alpha1_CurrentValidatorRateRequest(arg) { + if (!(arg instanceof penumbra_core_component_stake_v1alpha1_stake_pb.CurrentValidatorRateRequest)) { + throw new Error('Expected argument of type penumbra.core.component.stake.v1alpha1.CurrentValidatorRateRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_core_component_stake_v1alpha1_CurrentValidatorRateRequest(buffer_arg) { + return penumbra_core_component_stake_v1alpha1_stake_pb.CurrentValidatorRateRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_core_component_stake_v1alpha1_CurrentValidatorRateResponse(arg) { + if (!(arg instanceof penumbra_core_component_stake_v1alpha1_stake_pb.CurrentValidatorRateResponse)) { + throw new Error('Expected argument of type penumbra.core.component.stake.v1alpha1.CurrentValidatorRateResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_core_component_stake_v1alpha1_CurrentValidatorRateResponse(buffer_arg) { + return penumbra_core_component_stake_v1alpha1_stake_pb.CurrentValidatorRateResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_core_component_stake_v1alpha1_NextValidatorRateRequest(arg) { + if (!(arg instanceof penumbra_core_component_stake_v1alpha1_stake_pb.NextValidatorRateRequest)) { + throw new Error('Expected argument of type penumbra.core.component.stake.v1alpha1.NextValidatorRateRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_core_component_stake_v1alpha1_NextValidatorRateRequest(buffer_arg) { + return penumbra_core_component_stake_v1alpha1_stake_pb.NextValidatorRateRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_core_component_stake_v1alpha1_NextValidatorRateResponse(arg) { + if (!(arg instanceof penumbra_core_component_stake_v1alpha1_stake_pb.NextValidatorRateResponse)) { + throw new Error('Expected argument of type penumbra.core.component.stake.v1alpha1.NextValidatorRateResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_core_component_stake_v1alpha1_NextValidatorRateResponse(buffer_arg) { + return penumbra_core_component_stake_v1alpha1_stake_pb.NextValidatorRateResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_core_component_stake_v1alpha1_ValidatorInfoRequest(arg) { + if (!(arg instanceof penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorInfoRequest)) { + throw new Error('Expected argument of type penumbra.core.component.stake.v1alpha1.ValidatorInfoRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_core_component_stake_v1alpha1_ValidatorInfoRequest(buffer_arg) { + return penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorInfoRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_core_component_stake_v1alpha1_ValidatorInfoResponse(arg) { + if (!(arg instanceof penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorInfoResponse)) { + throw new Error('Expected argument of type penumbra.core.component.stake.v1alpha1.ValidatorInfoResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_core_component_stake_v1alpha1_ValidatorInfoResponse(buffer_arg) { + return penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorInfoResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_core_component_stake_v1alpha1_ValidatorPenaltyRequest(arg) { + if (!(arg instanceof penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorPenaltyRequest)) { + throw new Error('Expected argument of type penumbra.core.component.stake.v1alpha1.ValidatorPenaltyRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_core_component_stake_v1alpha1_ValidatorPenaltyRequest(buffer_arg) { + return penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorPenaltyRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_core_component_stake_v1alpha1_ValidatorPenaltyResponse(arg) { + if (!(arg instanceof penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorPenaltyResponse)) { + throw new Error('Expected argument of type penumbra.core.component.stake.v1alpha1.ValidatorPenaltyResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_core_component_stake_v1alpha1_ValidatorPenaltyResponse(buffer_arg) { + return penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorPenaltyResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_core_component_stake_v1alpha1_ValidatorStatusRequest(arg) { + if (!(arg instanceof penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorStatusRequest)) { + throw new Error('Expected argument of type penumbra.core.component.stake.v1alpha1.ValidatorStatusRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_core_component_stake_v1alpha1_ValidatorStatusRequest(buffer_arg) { + return penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorStatusRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_core_component_stake_v1alpha1_ValidatorStatusResponse(arg) { + if (!(arg instanceof penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorStatusResponse)) { + throw new Error('Expected argument of type penumbra.core.component.stake.v1alpha1.ValidatorStatusResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_core_component_stake_v1alpha1_ValidatorStatusResponse(buffer_arg) { + return penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorStatusResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + + +// Query operations for the staking component. +var QueryServiceService = exports.QueryServiceService = { + // Queries the current validator set, with filtering. +validatorInfo: { + path: '/penumbra.core.component.stake.v1alpha1.QueryService/ValidatorInfo', + requestStream: false, + responseStream: true, + requestType: penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorInfoRequest, + responseType: penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorInfoResponse, + requestSerialize: serialize_penumbra_core_component_stake_v1alpha1_ValidatorInfoRequest, + requestDeserialize: deserialize_penumbra_core_component_stake_v1alpha1_ValidatorInfoRequest, + responseSerialize: serialize_penumbra_core_component_stake_v1alpha1_ValidatorInfoResponse, + responseDeserialize: deserialize_penumbra_core_component_stake_v1alpha1_ValidatorInfoResponse, + }, + validatorStatus: { + path: '/penumbra.core.component.stake.v1alpha1.QueryService/ValidatorStatus', + requestStream: false, + responseStream: false, + requestType: penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorStatusRequest, + responseType: penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorStatusResponse, + requestSerialize: serialize_penumbra_core_component_stake_v1alpha1_ValidatorStatusRequest, + requestDeserialize: deserialize_penumbra_core_component_stake_v1alpha1_ValidatorStatusRequest, + responseSerialize: serialize_penumbra_core_component_stake_v1alpha1_ValidatorStatusResponse, + responseDeserialize: deserialize_penumbra_core_component_stake_v1alpha1_ValidatorStatusResponse, + }, + validatorPenalty: { + path: '/penumbra.core.component.stake.v1alpha1.QueryService/ValidatorPenalty', + requestStream: false, + responseStream: false, + requestType: penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorPenaltyRequest, + responseType: penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorPenaltyResponse, + requestSerialize: serialize_penumbra_core_component_stake_v1alpha1_ValidatorPenaltyRequest, + requestDeserialize: deserialize_penumbra_core_component_stake_v1alpha1_ValidatorPenaltyRequest, + responseSerialize: serialize_penumbra_core_component_stake_v1alpha1_ValidatorPenaltyResponse, + responseDeserialize: deserialize_penumbra_core_component_stake_v1alpha1_ValidatorPenaltyResponse, + }, + currentValidatorRate: { + path: '/penumbra.core.component.stake.v1alpha1.QueryService/CurrentValidatorRate', + requestStream: false, + responseStream: false, + requestType: penumbra_core_component_stake_v1alpha1_stake_pb.CurrentValidatorRateRequest, + responseType: penumbra_core_component_stake_v1alpha1_stake_pb.CurrentValidatorRateResponse, + requestSerialize: serialize_penumbra_core_component_stake_v1alpha1_CurrentValidatorRateRequest, + requestDeserialize: deserialize_penumbra_core_component_stake_v1alpha1_CurrentValidatorRateRequest, + responseSerialize: serialize_penumbra_core_component_stake_v1alpha1_CurrentValidatorRateResponse, + responseDeserialize: deserialize_penumbra_core_component_stake_v1alpha1_CurrentValidatorRateResponse, + }, + nextValidatorRate: { + path: '/penumbra.core.component.stake.v1alpha1.QueryService/NextValidatorRate', + requestStream: false, + responseStream: false, + requestType: penumbra_core_component_stake_v1alpha1_stake_pb.NextValidatorRateRequest, + responseType: penumbra_core_component_stake_v1alpha1_stake_pb.NextValidatorRateResponse, + requestSerialize: serialize_penumbra_core_component_stake_v1alpha1_NextValidatorRateRequest, + requestDeserialize: deserialize_penumbra_core_component_stake_v1alpha1_NextValidatorRateRequest, + responseSerialize: serialize_penumbra_core_component_stake_v1alpha1_NextValidatorRateResponse, + responseDeserialize: deserialize_penumbra_core_component_stake_v1alpha1_NextValidatorRateResponse, + }, +}; + +exports.QueryServiceClient = grpc.makeGenericClientConstructor(QueryServiceService); diff --git a/src/chains/penumbra/generated/penumbra/core/component/stake/v1alpha1/stake_pb.d.ts b/src/chains/penumbra/generated/penumbra/core/component/stake/v1alpha1/stake_pb.d.ts new file mode 100644 index 0000000000..88b350d079 --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/component/stake/v1alpha1/stake_pb.d.ts @@ -0,0 +1,1017 @@ +// package: penumbra.core.component.stake.v1alpha1 +// file: penumbra/core/component/stake/v1alpha1/stake.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as penumbra_core_keys_v1alpha1_keys_pb from "../../../../../penumbra/core/keys/v1alpha1/keys_pb"; +import * as penumbra_core_num_v1alpha1_num_pb from "../../../../../penumbra/core/num/v1alpha1/num_pb"; +import * as penumbra_core_asset_v1alpha1_asset_pb from "../../../../../penumbra/core/asset/v1alpha1/asset_pb"; + +export class ZKUndelegateClaimProof extends jspb.Message { + getInner(): Uint8Array | string; + getInner_asU8(): Uint8Array; + getInner_asB64(): string; + setInner(value: Uint8Array | string): ZKUndelegateClaimProof; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ZKUndelegateClaimProof.AsObject; + static toObject(includeInstance: boolean, msg: ZKUndelegateClaimProof): ZKUndelegateClaimProof.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ZKUndelegateClaimProof, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ZKUndelegateClaimProof; + static deserializeBinaryFromReader(message: ZKUndelegateClaimProof, reader: jspb.BinaryReader): ZKUndelegateClaimProof; +} + +export namespace ZKUndelegateClaimProof { + export type AsObject = { + inner: Uint8Array | string, + } +} + +export class Validator extends jspb.Message { + + hasIdentityKey(): boolean; + clearIdentityKey(): void; + getIdentityKey(): penumbra_core_keys_v1alpha1_keys_pb.IdentityKey | undefined; + setIdentityKey(value?: penumbra_core_keys_v1alpha1_keys_pb.IdentityKey): Validator; + getConsensusKey(): Uint8Array | string; + getConsensusKey_asU8(): Uint8Array; + getConsensusKey_asB64(): string; + setConsensusKey(value: Uint8Array | string): Validator; + getName(): string; + setName(value: string): Validator; + getWebsite(): string; + setWebsite(value: string): Validator; + getDescription(): string; + setDescription(value: string): Validator; + getEnabled(): boolean; + setEnabled(value: boolean): Validator; + clearFundingStreamsList(): void; + getFundingStreamsList(): Array; + setFundingStreamsList(value: Array): Validator; + addFundingStreams(value?: FundingStream, index?: number): FundingStream; + getSequenceNumber(): number; + setSequenceNumber(value: number): Validator; + + hasGovernanceKey(): boolean; + clearGovernanceKey(): void; + getGovernanceKey(): penumbra_core_keys_v1alpha1_keys_pb.GovernanceKey | undefined; + setGovernanceKey(value?: penumbra_core_keys_v1alpha1_keys_pb.GovernanceKey): Validator; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Validator.AsObject; + static toObject(includeInstance: boolean, msg: Validator): Validator.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Validator, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Validator; + static deserializeBinaryFromReader(message: Validator, reader: jspb.BinaryReader): Validator; +} + +export namespace Validator { + export type AsObject = { + identityKey?: penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.AsObject, + consensusKey: Uint8Array | string, + name: string, + website: string, + description: string, + enabled: boolean, + fundingStreamsList: Array, + sequenceNumber: number, + governanceKey?: penumbra_core_keys_v1alpha1_keys_pb.GovernanceKey.AsObject, + } +} + +export class ValidatorList extends jspb.Message { + clearValidatorKeysList(): void; + getValidatorKeysList(): Array; + setValidatorKeysList(value: Array): ValidatorList; + addValidatorKeys(value?: penumbra_core_keys_v1alpha1_keys_pb.IdentityKey, index?: number): penumbra_core_keys_v1alpha1_keys_pb.IdentityKey; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ValidatorList.AsObject; + static toObject(includeInstance: boolean, msg: ValidatorList): ValidatorList.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ValidatorList, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ValidatorList; + static deserializeBinaryFromReader(message: ValidatorList, reader: jspb.BinaryReader): ValidatorList; +} + +export namespace ValidatorList { + export type AsObject = { + validatorKeysList: Array, + } +} + +export class FundingStream extends jspb.Message { + + hasToAddress(): boolean; + clearToAddress(): void; + getToAddress(): FundingStream.ToAddress | undefined; + setToAddress(value?: FundingStream.ToAddress): FundingStream; + + hasToDao(): boolean; + clearToDao(): void; + getToDao(): FundingStream.ToDao | undefined; + setToDao(value?: FundingStream.ToDao): FundingStream; + + getRecipientCase(): FundingStream.RecipientCase; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): FundingStream.AsObject; + static toObject(includeInstance: boolean, msg: FundingStream): FundingStream.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: FundingStream, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): FundingStream; + static deserializeBinaryFromReader(message: FundingStream, reader: jspb.BinaryReader): FundingStream; +} + +export namespace FundingStream { + export type AsObject = { + toAddress?: FundingStream.ToAddress.AsObject, + toDao?: FundingStream.ToDao.AsObject, + } + + + export class ToAddress extends jspb.Message { + getAddress(): string; + setAddress(value: string): ToAddress; + getRateBps(): number; + setRateBps(value: number): ToAddress; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ToAddress.AsObject; + static toObject(includeInstance: boolean, msg: ToAddress): ToAddress.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ToAddress, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ToAddress; + static deserializeBinaryFromReader(message: ToAddress, reader: jspb.BinaryReader): ToAddress; + } + + export namespace ToAddress { + export type AsObject = { + address: string, + rateBps: number, + } + } + + export class ToDao extends jspb.Message { + getRateBps(): number; + setRateBps(value: number): ToDao; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ToDao.AsObject; + static toObject(includeInstance: boolean, msg: ToDao): ToDao.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ToDao, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ToDao; + static deserializeBinaryFromReader(message: ToDao, reader: jspb.BinaryReader): ToDao; + } + + export namespace ToDao { + export type AsObject = { + rateBps: number, + } + } + + + export enum RecipientCase { + RECIPIENT_NOT_SET = 0, + TO_ADDRESS = 1, + TO_DAO = 2, + } + +} + +export class RateData extends jspb.Message { + + hasIdentityKey(): boolean; + clearIdentityKey(): void; + getIdentityKey(): penumbra_core_keys_v1alpha1_keys_pb.IdentityKey | undefined; + setIdentityKey(value?: penumbra_core_keys_v1alpha1_keys_pb.IdentityKey): RateData; + getEpochIndex(): number; + setEpochIndex(value: number): RateData; + getValidatorRewardRate(): number; + setValidatorRewardRate(value: number): RateData; + getValidatorExchangeRate(): number; + setValidatorExchangeRate(value: number): RateData; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): RateData.AsObject; + static toObject(includeInstance: boolean, msg: RateData): RateData.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: RateData, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): RateData; + static deserializeBinaryFromReader(message: RateData, reader: jspb.BinaryReader): RateData; +} + +export namespace RateData { + export type AsObject = { + identityKey?: penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.AsObject, + epochIndex: number, + validatorRewardRate: number, + validatorExchangeRate: number, + } +} + +export class BaseRateData extends jspb.Message { + getEpochIndex(): number; + setEpochIndex(value: number): BaseRateData; + getBaseRewardRate(): number; + setBaseRewardRate(value: number): BaseRateData; + getBaseExchangeRate(): number; + setBaseExchangeRate(value: number): BaseRateData; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): BaseRateData.AsObject; + static toObject(includeInstance: boolean, msg: BaseRateData): BaseRateData.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: BaseRateData, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): BaseRateData; + static deserializeBinaryFromReader(message: BaseRateData, reader: jspb.BinaryReader): BaseRateData; +} + +export namespace BaseRateData { + export type AsObject = { + epochIndex: number, + baseRewardRate: number, + baseExchangeRate: number, + } +} + +export class ValidatorStatus extends jspb.Message { + + hasIdentityKey(): boolean; + clearIdentityKey(): void; + getIdentityKey(): penumbra_core_keys_v1alpha1_keys_pb.IdentityKey | undefined; + setIdentityKey(value?: penumbra_core_keys_v1alpha1_keys_pb.IdentityKey): ValidatorStatus; + + hasState(): boolean; + clearState(): void; + getState(): ValidatorState | undefined; + setState(value?: ValidatorState): ValidatorStatus; + getVotingPower(): number; + setVotingPower(value: number): ValidatorStatus; + + hasBondingState(): boolean; + clearBondingState(): void; + getBondingState(): BondingState | undefined; + setBondingState(value?: BondingState): ValidatorStatus; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ValidatorStatus.AsObject; + static toObject(includeInstance: boolean, msg: ValidatorStatus): ValidatorStatus.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ValidatorStatus, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ValidatorStatus; + static deserializeBinaryFromReader(message: ValidatorStatus, reader: jspb.BinaryReader): ValidatorStatus; +} + +export namespace ValidatorStatus { + export type AsObject = { + identityKey?: penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.AsObject, + state?: ValidatorState.AsObject, + votingPower: number, + bondingState?: BondingState.AsObject, + } +} + +export class BondingState extends jspb.Message { + getState(): BondingState.BondingStateEnum; + setState(value: BondingState.BondingStateEnum): BondingState; + getUnbondingEpoch(): number; + setUnbondingEpoch(value: number): BondingState; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): BondingState.AsObject; + static toObject(includeInstance: boolean, msg: BondingState): BondingState.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: BondingState, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): BondingState; + static deserializeBinaryFromReader(message: BondingState, reader: jspb.BinaryReader): BondingState; +} + +export namespace BondingState { + export type AsObject = { + state: BondingState.BondingStateEnum, + unbondingEpoch: number, + } + + export enum BondingStateEnum { + BONDING_STATE_ENUM_UNSPECIFIED = 0, + BONDING_STATE_ENUM_BONDED = 1, + BONDING_STATE_ENUM_UNBONDING = 2, + BONDING_STATE_ENUM_UNBONDED = 3, + } + +} + +export class ValidatorState extends jspb.Message { + getState(): ValidatorState.ValidatorStateEnum; + setState(value: ValidatorState.ValidatorStateEnum): ValidatorState; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ValidatorState.AsObject; + static toObject(includeInstance: boolean, msg: ValidatorState): ValidatorState.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ValidatorState, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ValidatorState; + static deserializeBinaryFromReader(message: ValidatorState, reader: jspb.BinaryReader): ValidatorState; +} + +export namespace ValidatorState { + export type AsObject = { + state: ValidatorState.ValidatorStateEnum, + } + + export enum ValidatorStateEnum { + VALIDATOR_STATE_ENUM_UNSPECIFIED = 0, + VALIDATOR_STATE_ENUM_INACTIVE = 1, + VALIDATOR_STATE_ENUM_ACTIVE = 2, + VALIDATOR_STATE_ENUM_JAILED = 3, + VALIDATOR_STATE_ENUM_TOMBSTONED = 4, + VALIDATOR_STATE_ENUM_DISABLED = 5, + } + +} + +export class ValidatorInfo extends jspb.Message { + + hasValidator(): boolean; + clearValidator(): void; + getValidator(): Validator | undefined; + setValidator(value?: Validator): ValidatorInfo; + + hasStatus(): boolean; + clearStatus(): void; + getStatus(): ValidatorStatus | undefined; + setStatus(value?: ValidatorStatus): ValidatorInfo; + + hasRateData(): boolean; + clearRateData(): void; + getRateData(): RateData | undefined; + setRateData(value?: RateData): ValidatorInfo; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ValidatorInfo.AsObject; + static toObject(includeInstance: boolean, msg: ValidatorInfo): ValidatorInfo.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ValidatorInfo, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ValidatorInfo; + static deserializeBinaryFromReader(message: ValidatorInfo, reader: jspb.BinaryReader): ValidatorInfo; +} + +export namespace ValidatorInfo { + export type AsObject = { + validator?: Validator.AsObject, + status?: ValidatorStatus.AsObject, + rateData?: RateData.AsObject, + } +} + +export class ValidatorDefinition extends jspb.Message { + + hasValidator(): boolean; + clearValidator(): void; + getValidator(): Validator | undefined; + setValidator(value?: Validator): ValidatorDefinition; + getAuthSig(): Uint8Array | string; + getAuthSig_asU8(): Uint8Array; + getAuthSig_asB64(): string; + setAuthSig(value: Uint8Array | string): ValidatorDefinition; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ValidatorDefinition.AsObject; + static toObject(includeInstance: boolean, msg: ValidatorDefinition): ValidatorDefinition.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ValidatorDefinition, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ValidatorDefinition; + static deserializeBinaryFromReader(message: ValidatorDefinition, reader: jspb.BinaryReader): ValidatorDefinition; +} + +export namespace ValidatorDefinition { + export type AsObject = { + validator?: Validator.AsObject, + authSig: Uint8Array | string, + } +} + +export class Delegate extends jspb.Message { + + hasValidatorIdentity(): boolean; + clearValidatorIdentity(): void; + getValidatorIdentity(): penumbra_core_keys_v1alpha1_keys_pb.IdentityKey | undefined; + setValidatorIdentity(value?: penumbra_core_keys_v1alpha1_keys_pb.IdentityKey): Delegate; + getEpochIndex(): number; + setEpochIndex(value: number): Delegate; + + hasUnbondedAmount(): boolean; + clearUnbondedAmount(): void; + getUnbondedAmount(): penumbra_core_num_v1alpha1_num_pb.Amount | undefined; + setUnbondedAmount(value?: penumbra_core_num_v1alpha1_num_pb.Amount): Delegate; + + hasDelegationAmount(): boolean; + clearDelegationAmount(): void; + getDelegationAmount(): penumbra_core_num_v1alpha1_num_pb.Amount | undefined; + setDelegationAmount(value?: penumbra_core_num_v1alpha1_num_pb.Amount): Delegate; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Delegate.AsObject; + static toObject(includeInstance: boolean, msg: Delegate): Delegate.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Delegate, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Delegate; + static deserializeBinaryFromReader(message: Delegate, reader: jspb.BinaryReader): Delegate; +} + +export namespace Delegate { + export type AsObject = { + validatorIdentity?: penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.AsObject, + epochIndex: number, + unbondedAmount?: penumbra_core_num_v1alpha1_num_pb.Amount.AsObject, + delegationAmount?: penumbra_core_num_v1alpha1_num_pb.Amount.AsObject, + } +} + +export class Undelegate extends jspb.Message { + + hasValidatorIdentity(): boolean; + clearValidatorIdentity(): void; + getValidatorIdentity(): penumbra_core_keys_v1alpha1_keys_pb.IdentityKey | undefined; + setValidatorIdentity(value?: penumbra_core_keys_v1alpha1_keys_pb.IdentityKey): Undelegate; + getStartEpochIndex(): number; + setStartEpochIndex(value: number): Undelegate; + + hasUnbondedAmount(): boolean; + clearUnbondedAmount(): void; + getUnbondedAmount(): penumbra_core_num_v1alpha1_num_pb.Amount | undefined; + setUnbondedAmount(value?: penumbra_core_num_v1alpha1_num_pb.Amount): Undelegate; + + hasDelegationAmount(): boolean; + clearDelegationAmount(): void; + getDelegationAmount(): penumbra_core_num_v1alpha1_num_pb.Amount | undefined; + setDelegationAmount(value?: penumbra_core_num_v1alpha1_num_pb.Amount): Undelegate; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Undelegate.AsObject; + static toObject(includeInstance: boolean, msg: Undelegate): Undelegate.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Undelegate, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Undelegate; + static deserializeBinaryFromReader(message: Undelegate, reader: jspb.BinaryReader): Undelegate; +} + +export namespace Undelegate { + export type AsObject = { + validatorIdentity?: penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.AsObject, + startEpochIndex: number, + unbondedAmount?: penumbra_core_num_v1alpha1_num_pb.Amount.AsObject, + delegationAmount?: penumbra_core_num_v1alpha1_num_pb.Amount.AsObject, + } +} + +export class UndelegateClaim extends jspb.Message { + + hasBody(): boolean; + clearBody(): void; + getBody(): UndelegateClaimBody | undefined; + setBody(value?: UndelegateClaimBody): UndelegateClaim; + getProof(): Uint8Array | string; + getProof_asU8(): Uint8Array; + getProof_asB64(): string; + setProof(value: Uint8Array | string): UndelegateClaim; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): UndelegateClaim.AsObject; + static toObject(includeInstance: boolean, msg: UndelegateClaim): UndelegateClaim.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: UndelegateClaim, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): UndelegateClaim; + static deserializeBinaryFromReader(message: UndelegateClaim, reader: jspb.BinaryReader): UndelegateClaim; +} + +export namespace UndelegateClaim { + export type AsObject = { + body?: UndelegateClaimBody.AsObject, + proof: Uint8Array | string, + } +} + +export class UndelegateClaimBody extends jspb.Message { + + hasValidatorIdentity(): boolean; + clearValidatorIdentity(): void; + getValidatorIdentity(): penumbra_core_keys_v1alpha1_keys_pb.IdentityKey | undefined; + setValidatorIdentity(value?: penumbra_core_keys_v1alpha1_keys_pb.IdentityKey): UndelegateClaimBody; + getStartEpochIndex(): number; + setStartEpochIndex(value: number): UndelegateClaimBody; + + hasPenalty(): boolean; + clearPenalty(): void; + getPenalty(): Penalty | undefined; + setPenalty(value?: Penalty): UndelegateClaimBody; + + hasBalanceCommitment(): boolean; + clearBalanceCommitment(): void; + getBalanceCommitment(): penumbra_core_asset_v1alpha1_asset_pb.BalanceCommitment | undefined; + setBalanceCommitment(value?: penumbra_core_asset_v1alpha1_asset_pb.BalanceCommitment): UndelegateClaimBody; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): UndelegateClaimBody.AsObject; + static toObject(includeInstance: boolean, msg: UndelegateClaimBody): UndelegateClaimBody.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: UndelegateClaimBody, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): UndelegateClaimBody; + static deserializeBinaryFromReader(message: UndelegateClaimBody, reader: jspb.BinaryReader): UndelegateClaimBody; +} + +export namespace UndelegateClaimBody { + export type AsObject = { + validatorIdentity?: penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.AsObject, + startEpochIndex: number, + penalty?: Penalty.AsObject, + balanceCommitment?: penumbra_core_asset_v1alpha1_asset_pb.BalanceCommitment.AsObject, + } +} + +export class UndelegateClaimPlan extends jspb.Message { + + hasValidatorIdentity(): boolean; + clearValidatorIdentity(): void; + getValidatorIdentity(): penumbra_core_keys_v1alpha1_keys_pb.IdentityKey | undefined; + setValidatorIdentity(value?: penumbra_core_keys_v1alpha1_keys_pb.IdentityKey): UndelegateClaimPlan; + getStartEpochIndex(): number; + setStartEpochIndex(value: number): UndelegateClaimPlan; + + hasPenalty(): boolean; + clearPenalty(): void; + getPenalty(): Penalty | undefined; + setPenalty(value?: Penalty): UndelegateClaimPlan; + + hasUnbondingAmount(): boolean; + clearUnbondingAmount(): void; + getUnbondingAmount(): penumbra_core_num_v1alpha1_num_pb.Amount | undefined; + setUnbondingAmount(value?: penumbra_core_num_v1alpha1_num_pb.Amount): UndelegateClaimPlan; + getBalanceBlinding(): Uint8Array | string; + getBalanceBlinding_asU8(): Uint8Array; + getBalanceBlinding_asB64(): string; + setBalanceBlinding(value: Uint8Array | string): UndelegateClaimPlan; + getProofBlindingR(): Uint8Array | string; + getProofBlindingR_asU8(): Uint8Array; + getProofBlindingR_asB64(): string; + setProofBlindingR(value: Uint8Array | string): UndelegateClaimPlan; + getProofBlindingS(): Uint8Array | string; + getProofBlindingS_asU8(): Uint8Array; + getProofBlindingS_asB64(): string; + setProofBlindingS(value: Uint8Array | string): UndelegateClaimPlan; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): UndelegateClaimPlan.AsObject; + static toObject(includeInstance: boolean, msg: UndelegateClaimPlan): UndelegateClaimPlan.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: UndelegateClaimPlan, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): UndelegateClaimPlan; + static deserializeBinaryFromReader(message: UndelegateClaimPlan, reader: jspb.BinaryReader): UndelegateClaimPlan; +} + +export namespace UndelegateClaimPlan { + export type AsObject = { + validatorIdentity?: penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.AsObject, + startEpochIndex: number, + penalty?: Penalty.AsObject, + unbondingAmount?: penumbra_core_num_v1alpha1_num_pb.Amount.AsObject, + balanceBlinding: Uint8Array | string, + proofBlindingR: Uint8Array | string, + proofBlindingS: Uint8Array | string, + } +} + +export class DelegationChanges extends jspb.Message { + clearDelegationsList(): void; + getDelegationsList(): Array; + setDelegationsList(value: Array): DelegationChanges; + addDelegations(value?: Delegate, index?: number): Delegate; + clearUndelegationsList(): void; + getUndelegationsList(): Array; + setUndelegationsList(value: Array): DelegationChanges; + addUndelegations(value?: Undelegate, index?: number): Undelegate; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): DelegationChanges.AsObject; + static toObject(includeInstance: boolean, msg: DelegationChanges): DelegationChanges.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: DelegationChanges, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): DelegationChanges; + static deserializeBinaryFromReader(message: DelegationChanges, reader: jspb.BinaryReader): DelegationChanges; +} + +export namespace DelegationChanges { + export type AsObject = { + delegationsList: Array, + undelegationsList: Array, + } +} + +export class Uptime extends jspb.Message { + getAsOfBlockHeight(): number; + setAsOfBlockHeight(value: number): Uptime; + getWindowLen(): number; + setWindowLen(value: number): Uptime; + getBitvec(): Uint8Array | string; + getBitvec_asU8(): Uint8Array; + getBitvec_asB64(): string; + setBitvec(value: Uint8Array | string): Uptime; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Uptime.AsObject; + static toObject(includeInstance: boolean, msg: Uptime): Uptime.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Uptime, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Uptime; + static deserializeBinaryFromReader(message: Uptime, reader: jspb.BinaryReader): Uptime; +} + +export namespace Uptime { + export type AsObject = { + asOfBlockHeight: number, + windowLen: number, + bitvec: Uint8Array | string, + } +} + +export class CurrentConsensusKeys extends jspb.Message { + clearConsensusKeysList(): void; + getConsensusKeysList(): Array; + setConsensusKeysList(value: Array): CurrentConsensusKeys; + addConsensusKeys(value?: penumbra_core_keys_v1alpha1_keys_pb.ConsensusKey, index?: number): penumbra_core_keys_v1alpha1_keys_pb.ConsensusKey; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): CurrentConsensusKeys.AsObject; + static toObject(includeInstance: boolean, msg: CurrentConsensusKeys): CurrentConsensusKeys.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: CurrentConsensusKeys, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): CurrentConsensusKeys; + static deserializeBinaryFromReader(message: CurrentConsensusKeys, reader: jspb.BinaryReader): CurrentConsensusKeys; +} + +export namespace CurrentConsensusKeys { + export type AsObject = { + consensusKeysList: Array, + } +} + +export class Penalty extends jspb.Message { + getInner(): number; + setInner(value: number): Penalty; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Penalty.AsObject; + static toObject(includeInstance: boolean, msg: Penalty): Penalty.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Penalty, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Penalty; + static deserializeBinaryFromReader(message: Penalty, reader: jspb.BinaryReader): Penalty; +} + +export namespace Penalty { + export type AsObject = { + inner: number, + } +} + +export class ValidatorInfoRequest extends jspb.Message { + getChainId(): string; + setChainId(value: string): ValidatorInfoRequest; + getShowInactive(): boolean; + setShowInactive(value: boolean): ValidatorInfoRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ValidatorInfoRequest.AsObject; + static toObject(includeInstance: boolean, msg: ValidatorInfoRequest): ValidatorInfoRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ValidatorInfoRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ValidatorInfoRequest; + static deserializeBinaryFromReader(message: ValidatorInfoRequest, reader: jspb.BinaryReader): ValidatorInfoRequest; +} + +export namespace ValidatorInfoRequest { + export type AsObject = { + chainId: string, + showInactive: boolean, + } +} + +export class ValidatorInfoResponse extends jspb.Message { + + hasValidatorInfo(): boolean; + clearValidatorInfo(): void; + getValidatorInfo(): ValidatorInfo | undefined; + setValidatorInfo(value?: ValidatorInfo): ValidatorInfoResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ValidatorInfoResponse.AsObject; + static toObject(includeInstance: boolean, msg: ValidatorInfoResponse): ValidatorInfoResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ValidatorInfoResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ValidatorInfoResponse; + static deserializeBinaryFromReader(message: ValidatorInfoResponse, reader: jspb.BinaryReader): ValidatorInfoResponse; +} + +export namespace ValidatorInfoResponse { + export type AsObject = { + validatorInfo?: ValidatorInfo.AsObject, + } +} + +export class ValidatorStatusRequest extends jspb.Message { + getChainId(): string; + setChainId(value: string): ValidatorStatusRequest; + + hasIdentityKey(): boolean; + clearIdentityKey(): void; + getIdentityKey(): penumbra_core_keys_v1alpha1_keys_pb.IdentityKey | undefined; + setIdentityKey(value?: penumbra_core_keys_v1alpha1_keys_pb.IdentityKey): ValidatorStatusRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ValidatorStatusRequest.AsObject; + static toObject(includeInstance: boolean, msg: ValidatorStatusRequest): ValidatorStatusRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ValidatorStatusRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ValidatorStatusRequest; + static deserializeBinaryFromReader(message: ValidatorStatusRequest, reader: jspb.BinaryReader): ValidatorStatusRequest; +} + +export namespace ValidatorStatusRequest { + export type AsObject = { + chainId: string, + identityKey?: penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.AsObject, + } +} + +export class ValidatorStatusResponse extends jspb.Message { + + hasStatus(): boolean; + clearStatus(): void; + getStatus(): ValidatorStatus | undefined; + setStatus(value?: ValidatorStatus): ValidatorStatusResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ValidatorStatusResponse.AsObject; + static toObject(includeInstance: boolean, msg: ValidatorStatusResponse): ValidatorStatusResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ValidatorStatusResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ValidatorStatusResponse; + static deserializeBinaryFromReader(message: ValidatorStatusResponse, reader: jspb.BinaryReader): ValidatorStatusResponse; +} + +export namespace ValidatorStatusResponse { + export type AsObject = { + status?: ValidatorStatus.AsObject, + } +} + +export class ValidatorPenaltyRequest extends jspb.Message { + getChainId(): string; + setChainId(value: string): ValidatorPenaltyRequest; + + hasIdentityKey(): boolean; + clearIdentityKey(): void; + getIdentityKey(): penumbra_core_keys_v1alpha1_keys_pb.IdentityKey | undefined; + setIdentityKey(value?: penumbra_core_keys_v1alpha1_keys_pb.IdentityKey): ValidatorPenaltyRequest; + getStartEpochIndex(): number; + setStartEpochIndex(value: number): ValidatorPenaltyRequest; + getEndEpochIndex(): number; + setEndEpochIndex(value: number): ValidatorPenaltyRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ValidatorPenaltyRequest.AsObject; + static toObject(includeInstance: boolean, msg: ValidatorPenaltyRequest): ValidatorPenaltyRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ValidatorPenaltyRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ValidatorPenaltyRequest; + static deserializeBinaryFromReader(message: ValidatorPenaltyRequest, reader: jspb.BinaryReader): ValidatorPenaltyRequest; +} + +export namespace ValidatorPenaltyRequest { + export type AsObject = { + chainId: string, + identityKey?: penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.AsObject, + startEpochIndex: number, + endEpochIndex: number, + } +} + +export class ValidatorPenaltyResponse extends jspb.Message { + + hasPenalty(): boolean; + clearPenalty(): void; + getPenalty(): Penalty | undefined; + setPenalty(value?: Penalty): ValidatorPenaltyResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ValidatorPenaltyResponse.AsObject; + static toObject(includeInstance: boolean, msg: ValidatorPenaltyResponse): ValidatorPenaltyResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ValidatorPenaltyResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ValidatorPenaltyResponse; + static deserializeBinaryFromReader(message: ValidatorPenaltyResponse, reader: jspb.BinaryReader): ValidatorPenaltyResponse; +} + +export namespace ValidatorPenaltyResponse { + export type AsObject = { + penalty?: Penalty.AsObject, + } +} + +export class CurrentValidatorRateRequest extends jspb.Message { + getChainId(): string; + setChainId(value: string): CurrentValidatorRateRequest; + + hasIdentityKey(): boolean; + clearIdentityKey(): void; + getIdentityKey(): penumbra_core_keys_v1alpha1_keys_pb.IdentityKey | undefined; + setIdentityKey(value?: penumbra_core_keys_v1alpha1_keys_pb.IdentityKey): CurrentValidatorRateRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): CurrentValidatorRateRequest.AsObject; + static toObject(includeInstance: boolean, msg: CurrentValidatorRateRequest): CurrentValidatorRateRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: CurrentValidatorRateRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): CurrentValidatorRateRequest; + static deserializeBinaryFromReader(message: CurrentValidatorRateRequest, reader: jspb.BinaryReader): CurrentValidatorRateRequest; +} + +export namespace CurrentValidatorRateRequest { + export type AsObject = { + chainId: string, + identityKey?: penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.AsObject, + } +} + +export class CurrentValidatorRateResponse extends jspb.Message { + + hasData(): boolean; + clearData(): void; + getData(): RateData | undefined; + setData(value?: RateData): CurrentValidatorRateResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): CurrentValidatorRateResponse.AsObject; + static toObject(includeInstance: boolean, msg: CurrentValidatorRateResponse): CurrentValidatorRateResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: CurrentValidatorRateResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): CurrentValidatorRateResponse; + static deserializeBinaryFromReader(message: CurrentValidatorRateResponse, reader: jspb.BinaryReader): CurrentValidatorRateResponse; +} + +export namespace CurrentValidatorRateResponse { + export type AsObject = { + data?: RateData.AsObject, + } +} + +export class NextValidatorRateRequest extends jspb.Message { + getChainId(): string; + setChainId(value: string): NextValidatorRateRequest; + + hasIdentityKey(): boolean; + clearIdentityKey(): void; + getIdentityKey(): penumbra_core_keys_v1alpha1_keys_pb.IdentityKey | undefined; + setIdentityKey(value?: penumbra_core_keys_v1alpha1_keys_pb.IdentityKey): NextValidatorRateRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): NextValidatorRateRequest.AsObject; + static toObject(includeInstance: boolean, msg: NextValidatorRateRequest): NextValidatorRateRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: NextValidatorRateRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): NextValidatorRateRequest; + static deserializeBinaryFromReader(message: NextValidatorRateRequest, reader: jspb.BinaryReader): NextValidatorRateRequest; +} + +export namespace NextValidatorRateRequest { + export type AsObject = { + chainId: string, + identityKey?: penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.AsObject, + } +} + +export class NextValidatorRateResponse extends jspb.Message { + + hasData(): boolean; + clearData(): void; + getData(): RateData | undefined; + setData(value?: RateData): NextValidatorRateResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): NextValidatorRateResponse.AsObject; + static toObject(includeInstance: boolean, msg: NextValidatorRateResponse): NextValidatorRateResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: NextValidatorRateResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): NextValidatorRateResponse; + static deserializeBinaryFromReader(message: NextValidatorRateResponse, reader: jspb.BinaryReader): NextValidatorRateResponse; +} + +export namespace NextValidatorRateResponse { + export type AsObject = { + data?: RateData.AsObject, + } +} + +export class StakeParameters extends jspb.Message { + getUnbondingEpochs(): number; + setUnbondingEpochs(value: number): StakeParameters; + getActiveValidatorLimit(): number; + setActiveValidatorLimit(value: number): StakeParameters; + getBaseRewardRate(): number; + setBaseRewardRate(value: number): StakeParameters; + getSlashingPenaltyMisbehavior(): number; + setSlashingPenaltyMisbehavior(value: number): StakeParameters; + getSlashingPenaltyDowntime(): number; + setSlashingPenaltyDowntime(value: number): StakeParameters; + getSignedBlocksWindowLen(): number; + setSignedBlocksWindowLen(value: number): StakeParameters; + getMissedBlocksMaximum(): number; + setMissedBlocksMaximum(value: number): StakeParameters; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): StakeParameters.AsObject; + static toObject(includeInstance: boolean, msg: StakeParameters): StakeParameters.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: StakeParameters, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): StakeParameters; + static deserializeBinaryFromReader(message: StakeParameters, reader: jspb.BinaryReader): StakeParameters; +} + +export namespace StakeParameters { + export type AsObject = { + unbondingEpochs: number, + activeValidatorLimit: number, + baseRewardRate: number, + slashingPenaltyMisbehavior: number, + slashingPenaltyDowntime: number, + signedBlocksWindowLen: number, + missedBlocksMaximum: number, + } +} + +export class GenesisContent extends jspb.Message { + + hasStakeParams(): boolean; + clearStakeParams(): void; + getStakeParams(): StakeParameters | undefined; + setStakeParams(value?: StakeParameters): GenesisContent; + clearValidatorsList(): void; + getValidatorsList(): Array; + setValidatorsList(value: Array): GenesisContent; + addValidators(value?: Validator, index?: number): Validator; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GenesisContent.AsObject; + static toObject(includeInstance: boolean, msg: GenesisContent): GenesisContent.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: GenesisContent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GenesisContent; + static deserializeBinaryFromReader(message: GenesisContent, reader: jspb.BinaryReader): GenesisContent; +} + +export namespace GenesisContent { + export type AsObject = { + stakeParams?: StakeParameters.AsObject, + validatorsList: Array, + } +} diff --git a/src/chains/penumbra/generated/penumbra/core/component/stake/v1alpha1/stake_pb.js b/src/chains/penumbra/generated/penumbra/core/component/stake/v1alpha1/stake_pb.js new file mode 100644 index 0000000000..f27620e061 --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/component/stake/v1alpha1/stake_pb.js @@ -0,0 +1,7999 @@ +// source: penumbra/core/component/stake/v1alpha1/stake.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = (function() { + if (this) { return this; } + if (typeof window !== 'undefined') { return window; } + if (typeof global !== 'undefined') { return global; } + if (typeof self !== 'undefined') { return self; } + return Function('return this')(); +}.call(null)); + +var penumbra_core_keys_v1alpha1_keys_pb = require('../../../../../penumbra/core/keys/v1alpha1/keys_pb.js'); +goog.object.extend(proto, penumbra_core_keys_v1alpha1_keys_pb); +var penumbra_core_num_v1alpha1_num_pb = require('../../../../../penumbra/core/num/v1alpha1/num_pb.js'); +goog.object.extend(proto, penumbra_core_num_v1alpha1_num_pb); +var penumbra_core_asset_v1alpha1_asset_pb = require('../../../../../penumbra/core/asset/v1alpha1/asset_pb.js'); +goog.object.extend(proto, penumbra_core_asset_v1alpha1_asset_pb); +goog.exportSymbol('proto.penumbra.core.component.stake.v1alpha1.BaseRateData', null, global); +goog.exportSymbol('proto.penumbra.core.component.stake.v1alpha1.BondingState', null, global); +goog.exportSymbol('proto.penumbra.core.component.stake.v1alpha1.BondingState.BondingStateEnum', null, global); +goog.exportSymbol('proto.penumbra.core.component.stake.v1alpha1.CurrentConsensusKeys', null, global); +goog.exportSymbol('proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateRequest', null, global); +goog.exportSymbol('proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateResponse', null, global); +goog.exportSymbol('proto.penumbra.core.component.stake.v1alpha1.Delegate', null, global); +goog.exportSymbol('proto.penumbra.core.component.stake.v1alpha1.DelegationChanges', null, global); +goog.exportSymbol('proto.penumbra.core.component.stake.v1alpha1.FundingStream', null, global); +goog.exportSymbol('proto.penumbra.core.component.stake.v1alpha1.FundingStream.RecipientCase', null, global); +goog.exportSymbol('proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToAddress', null, global); +goog.exportSymbol('proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToDao', null, global); +goog.exportSymbol('proto.penumbra.core.component.stake.v1alpha1.GenesisContent', null, global); +goog.exportSymbol('proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateRequest', null, global); +goog.exportSymbol('proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateResponse', null, global); +goog.exportSymbol('proto.penumbra.core.component.stake.v1alpha1.Penalty', null, global); +goog.exportSymbol('proto.penumbra.core.component.stake.v1alpha1.RateData', null, global); +goog.exportSymbol('proto.penumbra.core.component.stake.v1alpha1.StakeParameters', null, global); +goog.exportSymbol('proto.penumbra.core.component.stake.v1alpha1.Undelegate', null, global); +goog.exportSymbol('proto.penumbra.core.component.stake.v1alpha1.UndelegateClaim', null, global); +goog.exportSymbol('proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimBody', null, global); +goog.exportSymbol('proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan', null, global); +goog.exportSymbol('proto.penumbra.core.component.stake.v1alpha1.Uptime', null, global); +goog.exportSymbol('proto.penumbra.core.component.stake.v1alpha1.Validator', null, global); +goog.exportSymbol('proto.penumbra.core.component.stake.v1alpha1.ValidatorDefinition', null, global); +goog.exportSymbol('proto.penumbra.core.component.stake.v1alpha1.ValidatorInfo', null, global); +goog.exportSymbol('proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoRequest', null, global); +goog.exportSymbol('proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoResponse', null, global); +goog.exportSymbol('proto.penumbra.core.component.stake.v1alpha1.ValidatorList', null, global); +goog.exportSymbol('proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyRequest', null, global); +goog.exportSymbol('proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyResponse', null, global); +goog.exportSymbol('proto.penumbra.core.component.stake.v1alpha1.ValidatorState', null, global); +goog.exportSymbol('proto.penumbra.core.component.stake.v1alpha1.ValidatorState.ValidatorStateEnum', null, global); +goog.exportSymbol('proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus', null, global); +goog.exportSymbol('proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusRequest', null, global); +goog.exportSymbol('proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusResponse', null, global); +goog.exportSymbol('proto.penumbra.core.component.stake.v1alpha1.ZKUndelegateClaimProof', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.stake.v1alpha1.ZKUndelegateClaimProof = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.stake.v1alpha1.ZKUndelegateClaimProof, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.stake.v1alpha1.ZKUndelegateClaimProof.displayName = 'proto.penumbra.core.component.stake.v1alpha1.ZKUndelegateClaimProof'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.stake.v1alpha1.Validator = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.penumbra.core.component.stake.v1alpha1.Validator.repeatedFields_, null); +}; +goog.inherits(proto.penumbra.core.component.stake.v1alpha1.Validator, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.stake.v1alpha1.Validator.displayName = 'proto.penumbra.core.component.stake.v1alpha1.Validator'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorList = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.penumbra.core.component.stake.v1alpha1.ValidatorList.repeatedFields_, null); +}; +goog.inherits(proto.penumbra.core.component.stake.v1alpha1.ValidatorList, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.stake.v1alpha1.ValidatorList.displayName = 'proto.penumbra.core.component.stake.v1alpha1.ValidatorList'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.stake.v1alpha1.FundingStream = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.penumbra.core.component.stake.v1alpha1.FundingStream.oneofGroups_); +}; +goog.inherits(proto.penumbra.core.component.stake.v1alpha1.FundingStream, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.stake.v1alpha1.FundingStream.displayName = 'proto.penumbra.core.component.stake.v1alpha1.FundingStream'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToAddress = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToAddress, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToAddress.displayName = 'proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToAddress'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToDao = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToDao, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToDao.displayName = 'proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToDao'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.stake.v1alpha1.RateData = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.stake.v1alpha1.RateData, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.stake.v1alpha1.RateData.displayName = 'proto.penumbra.core.component.stake.v1alpha1.RateData'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.stake.v1alpha1.BaseRateData = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.stake.v1alpha1.BaseRateData, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.stake.v1alpha1.BaseRateData.displayName = 'proto.penumbra.core.component.stake.v1alpha1.BaseRateData'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus.displayName = 'proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.stake.v1alpha1.BondingState = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.stake.v1alpha1.BondingState, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.stake.v1alpha1.BondingState.displayName = 'proto.penumbra.core.component.stake.v1alpha1.BondingState'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorState = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.stake.v1alpha1.ValidatorState, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.stake.v1alpha1.ValidatorState.displayName = 'proto.penumbra.core.component.stake.v1alpha1.ValidatorState'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorInfo = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.stake.v1alpha1.ValidatorInfo, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.stake.v1alpha1.ValidatorInfo.displayName = 'proto.penumbra.core.component.stake.v1alpha1.ValidatorInfo'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorDefinition = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.stake.v1alpha1.ValidatorDefinition, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.stake.v1alpha1.ValidatorDefinition.displayName = 'proto.penumbra.core.component.stake.v1alpha1.ValidatorDefinition'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.stake.v1alpha1.Delegate = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.stake.v1alpha1.Delegate, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.stake.v1alpha1.Delegate.displayName = 'proto.penumbra.core.component.stake.v1alpha1.Delegate'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.stake.v1alpha1.Undelegate = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.stake.v1alpha1.Undelegate, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.stake.v1alpha1.Undelegate.displayName = 'proto.penumbra.core.component.stake.v1alpha1.Undelegate'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaim = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.stake.v1alpha1.UndelegateClaim, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.stake.v1alpha1.UndelegateClaim.displayName = 'proto.penumbra.core.component.stake.v1alpha1.UndelegateClaim'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimBody = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimBody, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimBody.displayName = 'proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimBody'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan.displayName = 'proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.stake.v1alpha1.DelegationChanges = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.penumbra.core.component.stake.v1alpha1.DelegationChanges.repeatedFields_, null); +}; +goog.inherits(proto.penumbra.core.component.stake.v1alpha1.DelegationChanges, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.stake.v1alpha1.DelegationChanges.displayName = 'proto.penumbra.core.component.stake.v1alpha1.DelegationChanges'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.stake.v1alpha1.Uptime = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.stake.v1alpha1.Uptime, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.stake.v1alpha1.Uptime.displayName = 'proto.penumbra.core.component.stake.v1alpha1.Uptime'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.stake.v1alpha1.CurrentConsensusKeys = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.penumbra.core.component.stake.v1alpha1.CurrentConsensusKeys.repeatedFields_, null); +}; +goog.inherits(proto.penumbra.core.component.stake.v1alpha1.CurrentConsensusKeys, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.stake.v1alpha1.CurrentConsensusKeys.displayName = 'proto.penumbra.core.component.stake.v1alpha1.CurrentConsensusKeys'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.stake.v1alpha1.Penalty = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.stake.v1alpha1.Penalty, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.stake.v1alpha1.Penalty.displayName = 'proto.penumbra.core.component.stake.v1alpha1.Penalty'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoRequest.displayName = 'proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoResponse.displayName = 'proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusRequest.displayName = 'proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusResponse.displayName = 'proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyRequest.displayName = 'proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyResponse.displayName = 'proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateRequest.displayName = 'proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateResponse.displayName = 'proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateRequest.displayName = 'proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateResponse.displayName = 'proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.stake.v1alpha1.StakeParameters = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.component.stake.v1alpha1.StakeParameters, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.stake.v1alpha1.StakeParameters.displayName = 'proto.penumbra.core.component.stake.v1alpha1.StakeParameters'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.component.stake.v1alpha1.GenesisContent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.penumbra.core.component.stake.v1alpha1.GenesisContent.repeatedFields_, null); +}; +goog.inherits(proto.penumbra.core.component.stake.v1alpha1.GenesisContent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.component.stake.v1alpha1.GenesisContent.displayName = 'proto.penumbra.core.component.stake.v1alpha1.GenesisContent'; +} + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.stake.v1alpha1.ZKUndelegateClaimProof.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.stake.v1alpha1.ZKUndelegateClaimProof.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.stake.v1alpha1.ZKUndelegateClaimProof} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.ZKUndelegateClaimProof.toObject = function(includeInstance, msg) { + var f, obj = { + inner: msg.getInner_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.stake.v1alpha1.ZKUndelegateClaimProof} + */ +proto.penumbra.core.component.stake.v1alpha1.ZKUndelegateClaimProof.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.stake.v1alpha1.ZKUndelegateClaimProof; + return proto.penumbra.core.component.stake.v1alpha1.ZKUndelegateClaimProof.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.stake.v1alpha1.ZKUndelegateClaimProof} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.stake.v1alpha1.ZKUndelegateClaimProof} + */ +proto.penumbra.core.component.stake.v1alpha1.ZKUndelegateClaimProof.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setInner(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.stake.v1alpha1.ZKUndelegateClaimProof.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.stake.v1alpha1.ZKUndelegateClaimProof.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.stake.v1alpha1.ZKUndelegateClaimProof} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.ZKUndelegateClaimProof.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInner_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } +}; + + +/** + * optional bytes inner = 1; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.component.stake.v1alpha1.ZKUndelegateClaimProof.prototype.getInner = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes inner = 1; + * This is a type-conversion wrapper around `getInner()` + * @return {string} + */ +proto.penumbra.core.component.stake.v1alpha1.ZKUndelegateClaimProof.prototype.getInner_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getInner())); +}; + + +/** + * optional bytes inner = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getInner()` + * @return {!Uint8Array} + */ +proto.penumbra.core.component.stake.v1alpha1.ZKUndelegateClaimProof.prototype.getInner_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getInner())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.ZKUndelegateClaimProof} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.ZKUndelegateClaimProof.prototype.setInner = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.penumbra.core.component.stake.v1alpha1.Validator.repeatedFields_ = [6]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.stake.v1alpha1.Validator.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.stake.v1alpha1.Validator.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.stake.v1alpha1.Validator} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.Validator.toObject = function(includeInstance, msg) { + var f, obj = { + identityKey: (f = msg.getIdentityKey()) && penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.toObject(includeInstance, f), + consensusKey: msg.getConsensusKey_asB64(), + name: jspb.Message.getFieldWithDefault(msg, 3, ""), + website: jspb.Message.getFieldWithDefault(msg, 4, ""), + description: jspb.Message.getFieldWithDefault(msg, 5, ""), + enabled: jspb.Message.getBooleanFieldWithDefault(msg, 8, false), + fundingStreamsList: jspb.Message.toObjectList(msg.getFundingStreamsList(), + proto.penumbra.core.component.stake.v1alpha1.FundingStream.toObject, includeInstance), + sequenceNumber: jspb.Message.getFieldWithDefault(msg, 7, 0), + governanceKey: (f = msg.getGovernanceKey()) && penumbra_core_keys_v1alpha1_keys_pb.GovernanceKey.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.stake.v1alpha1.Validator} + */ +proto.penumbra.core.component.stake.v1alpha1.Validator.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.stake.v1alpha1.Validator; + return proto.penumbra.core.component.stake.v1alpha1.Validator.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.stake.v1alpha1.Validator} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.stake.v1alpha1.Validator} + */ +proto.penumbra.core.component.stake.v1alpha1.Validator.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_keys_v1alpha1_keys_pb.IdentityKey; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.deserializeBinaryFromReader); + msg.setIdentityKey(value); + break; + case 2: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setConsensusKey(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setWebsite(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 8: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setEnabled(value); + break; + case 6: + var value = new proto.penumbra.core.component.stake.v1alpha1.FundingStream; + reader.readMessage(value,proto.penumbra.core.component.stake.v1alpha1.FundingStream.deserializeBinaryFromReader); + msg.addFundingStreams(value); + break; + case 7: + var value = /** @type {number} */ (reader.readUint32()); + msg.setSequenceNumber(value); + break; + case 9: + var value = new penumbra_core_keys_v1alpha1_keys_pb.GovernanceKey; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.GovernanceKey.deserializeBinaryFromReader); + msg.setGovernanceKey(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.stake.v1alpha1.Validator.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.stake.v1alpha1.Validator.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.stake.v1alpha1.Validator} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.Validator.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getIdentityKey(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.serializeBinaryToWriter + ); + } + f = message.getConsensusKey_asU8(); + if (f.length > 0) { + writer.writeBytes( + 2, + f + ); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getWebsite(); + if (f.length > 0) { + writer.writeString( + 4, + f + ); + } + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 5, + f + ); + } + f = message.getEnabled(); + if (f) { + writer.writeBool( + 8, + f + ); + } + f = message.getFundingStreamsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 6, + f, + proto.penumbra.core.component.stake.v1alpha1.FundingStream.serializeBinaryToWriter + ); + } + f = message.getSequenceNumber(); + if (f !== 0) { + writer.writeUint32( + 7, + f + ); + } + f = message.getGovernanceKey(); + if (f != null) { + writer.writeMessage( + 9, + f, + penumbra_core_keys_v1alpha1_keys_pb.GovernanceKey.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.keys.v1alpha1.IdentityKey identity_key = 1; + * @return {?proto.penumbra.core.keys.v1alpha1.IdentityKey} + */ +proto.penumbra.core.component.stake.v1alpha1.Validator.prototype.getIdentityKey = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.IdentityKey} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.IdentityKey, 1)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.IdentityKey|undefined} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.Validator} returns this +*/ +proto.penumbra.core.component.stake.v1alpha1.Validator.prototype.setIdentityKey = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.stake.v1alpha1.Validator} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.Validator.prototype.clearIdentityKey = function() { + return this.setIdentityKey(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.stake.v1alpha1.Validator.prototype.hasIdentityKey = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional bytes consensus_key = 2; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.component.stake.v1alpha1.Validator.prototype.getConsensusKey = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * optional bytes consensus_key = 2; + * This is a type-conversion wrapper around `getConsensusKey()` + * @return {string} + */ +proto.penumbra.core.component.stake.v1alpha1.Validator.prototype.getConsensusKey_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getConsensusKey())); +}; + + +/** + * optional bytes consensus_key = 2; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getConsensusKey()` + * @return {!Uint8Array} + */ +proto.penumbra.core.component.stake.v1alpha1.Validator.prototype.getConsensusKey_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getConsensusKey())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.Validator} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.Validator.prototype.setConsensusKey = function(value) { + return jspb.Message.setProto3BytesField(this, 2, value); +}; + + +/** + * optional string name = 3; + * @return {string} + */ +proto.penumbra.core.component.stake.v1alpha1.Validator.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.Validator} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.Validator.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string website = 4; + * @return {string} + */ +proto.penumbra.core.component.stake.v1alpha1.Validator.prototype.getWebsite = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.Validator} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.Validator.prototype.setWebsite = function(value) { + return jspb.Message.setProto3StringField(this, 4, value); +}; + + +/** + * optional string description = 5; + * @return {string} + */ +proto.penumbra.core.component.stake.v1alpha1.Validator.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.Validator} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.Validator.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 5, value); +}; + + +/** + * optional bool enabled = 8; + * @return {boolean} + */ +proto.penumbra.core.component.stake.v1alpha1.Validator.prototype.getEnabled = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.Validator} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.Validator.prototype.setEnabled = function(value) { + return jspb.Message.setProto3BooleanField(this, 8, value); +}; + + +/** + * repeated FundingStream funding_streams = 6; + * @return {!Array} + */ +proto.penumbra.core.component.stake.v1alpha1.Validator.prototype.getFundingStreamsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.penumbra.core.component.stake.v1alpha1.FundingStream, 6)); +}; + + +/** + * @param {!Array} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.Validator} returns this +*/ +proto.penumbra.core.component.stake.v1alpha1.Validator.prototype.setFundingStreamsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 6, value); +}; + + +/** + * @param {!proto.penumbra.core.component.stake.v1alpha1.FundingStream=} opt_value + * @param {number=} opt_index + * @return {!proto.penumbra.core.component.stake.v1alpha1.FundingStream} + */ +proto.penumbra.core.component.stake.v1alpha1.Validator.prototype.addFundingStreams = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 6, opt_value, proto.penumbra.core.component.stake.v1alpha1.FundingStream, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.penumbra.core.component.stake.v1alpha1.Validator} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.Validator.prototype.clearFundingStreamsList = function() { + return this.setFundingStreamsList([]); +}; + + +/** + * optional uint32 sequence_number = 7; + * @return {number} + */ +proto.penumbra.core.component.stake.v1alpha1.Validator.prototype.getSequenceNumber = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.Validator} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.Validator.prototype.setSequenceNumber = function(value) { + return jspb.Message.setProto3IntField(this, 7, value); +}; + + +/** + * optional penumbra.core.keys.v1alpha1.GovernanceKey governance_key = 9; + * @return {?proto.penumbra.core.keys.v1alpha1.GovernanceKey} + */ +proto.penumbra.core.component.stake.v1alpha1.Validator.prototype.getGovernanceKey = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.GovernanceKey} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.GovernanceKey, 9)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.GovernanceKey|undefined} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.Validator} returns this +*/ +proto.penumbra.core.component.stake.v1alpha1.Validator.prototype.setGovernanceKey = function(value) { + return jspb.Message.setWrapperField(this, 9, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.stake.v1alpha1.Validator} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.Validator.prototype.clearGovernanceKey = function() { + return this.setGovernanceKey(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.stake.v1alpha1.Validator.prototype.hasGovernanceKey = function() { + return jspb.Message.getField(this, 9) != null; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorList.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorList.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.stake.v1alpha1.ValidatorList.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.stake.v1alpha1.ValidatorList} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorList.toObject = function(includeInstance, msg) { + var f, obj = { + validatorKeysList: jspb.Message.toObjectList(msg.getValidatorKeysList(), + penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorList} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorList.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.stake.v1alpha1.ValidatorList; + return proto.penumbra.core.component.stake.v1alpha1.ValidatorList.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.stake.v1alpha1.ValidatorList} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorList} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorList.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_keys_v1alpha1_keys_pb.IdentityKey; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.deserializeBinaryFromReader); + msg.addValidatorKeys(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorList.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.stake.v1alpha1.ValidatorList.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.stake.v1alpha1.ValidatorList} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorList.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getValidatorKeysList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.serializeBinaryToWriter + ); + } +}; + + +/** + * repeated penumbra.core.keys.v1alpha1.IdentityKey validator_keys = 1; + * @return {!Array} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorList.prototype.getValidatorKeysList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.IdentityKey, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorList} returns this +*/ +proto.penumbra.core.component.stake.v1alpha1.ValidatorList.prototype.setValidatorKeysList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.penumbra.core.keys.v1alpha1.IdentityKey=} opt_value + * @param {number=} opt_index + * @return {!proto.penumbra.core.keys.v1alpha1.IdentityKey} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorList.prototype.addValidatorKeys = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.penumbra.core.keys.v1alpha1.IdentityKey, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorList} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorList.prototype.clearValidatorKeysList = function() { + return this.setValidatorKeysList([]); +}; + + + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.penumbra.core.component.stake.v1alpha1.FundingStream.oneofGroups_ = [[1,2]]; + +/** + * @enum {number} + */ +proto.penumbra.core.component.stake.v1alpha1.FundingStream.RecipientCase = { + RECIPIENT_NOT_SET: 0, + TO_ADDRESS: 1, + TO_DAO: 2 +}; + +/** + * @return {proto.penumbra.core.component.stake.v1alpha1.FundingStream.RecipientCase} + */ +proto.penumbra.core.component.stake.v1alpha1.FundingStream.prototype.getRecipientCase = function() { + return /** @type {proto.penumbra.core.component.stake.v1alpha1.FundingStream.RecipientCase} */(jspb.Message.computeOneofCase(this, proto.penumbra.core.component.stake.v1alpha1.FundingStream.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.stake.v1alpha1.FundingStream.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.stake.v1alpha1.FundingStream.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.stake.v1alpha1.FundingStream} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.FundingStream.toObject = function(includeInstance, msg) { + var f, obj = { + toAddress: (f = msg.getToAddress()) && proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToAddress.toObject(includeInstance, f), + toDao: (f = msg.getToDao()) && proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToDao.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.stake.v1alpha1.FundingStream} + */ +proto.penumbra.core.component.stake.v1alpha1.FundingStream.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.stake.v1alpha1.FundingStream; + return proto.penumbra.core.component.stake.v1alpha1.FundingStream.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.stake.v1alpha1.FundingStream} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.stake.v1alpha1.FundingStream} + */ +proto.penumbra.core.component.stake.v1alpha1.FundingStream.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToAddress; + reader.readMessage(value,proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToAddress.deserializeBinaryFromReader); + msg.setToAddress(value); + break; + case 2: + var value = new proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToDao; + reader.readMessage(value,proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToDao.deserializeBinaryFromReader); + msg.setToDao(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.stake.v1alpha1.FundingStream.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.stake.v1alpha1.FundingStream.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.stake.v1alpha1.FundingStream} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.FundingStream.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getToAddress(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToAddress.serializeBinaryToWriter + ); + } + f = message.getToDao(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToDao.serializeBinaryToWriter + ); + } +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToAddress.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToAddress.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToAddress} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToAddress.toObject = function(includeInstance, msg) { + var f, obj = { + address: jspb.Message.getFieldWithDefault(msg, 1, ""), + rateBps: jspb.Message.getFieldWithDefault(msg, 2, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToAddress} + */ +proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToAddress.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToAddress; + return proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToAddress.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToAddress} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToAddress} + */ +proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToAddress.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setAddress(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint32()); + msg.setRateBps(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToAddress.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToAddress.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToAddress} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToAddress.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getAddress(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getRateBps(); + if (f !== 0) { + writer.writeUint32( + 2, + f + ); + } +}; + + +/** + * optional string address = 1; + * @return {string} + */ +proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToAddress.prototype.getAddress = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToAddress} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToAddress.prototype.setAddress = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional uint32 rate_bps = 2; + * @return {number} + */ +proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToAddress.prototype.getRateBps = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToAddress} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToAddress.prototype.setRateBps = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToDao.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToDao.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToDao} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToDao.toObject = function(includeInstance, msg) { + var f, obj = { + rateBps: jspb.Message.getFieldWithDefault(msg, 2, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToDao} + */ +proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToDao.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToDao; + return proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToDao.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToDao} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToDao} + */ +proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToDao.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 2: + var value = /** @type {number} */ (reader.readUint32()); + msg.setRateBps(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToDao.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToDao.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToDao} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToDao.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getRateBps(); + if (f !== 0) { + writer.writeUint32( + 2, + f + ); + } +}; + + +/** + * optional uint32 rate_bps = 2; + * @return {number} + */ +proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToDao.prototype.getRateBps = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToDao} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToDao.prototype.setRateBps = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + +/** + * optional ToAddress to_address = 1; + * @return {?proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToAddress} + */ +proto.penumbra.core.component.stake.v1alpha1.FundingStream.prototype.getToAddress = function() { + return /** @type{?proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToAddress} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToAddress, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToAddress|undefined} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.FundingStream} returns this +*/ +proto.penumbra.core.component.stake.v1alpha1.FundingStream.prototype.setToAddress = function(value) { + return jspb.Message.setOneofWrapperField(this, 1, proto.penumbra.core.component.stake.v1alpha1.FundingStream.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.stake.v1alpha1.FundingStream} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.FundingStream.prototype.clearToAddress = function() { + return this.setToAddress(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.stake.v1alpha1.FundingStream.prototype.hasToAddress = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional ToDao to_dao = 2; + * @return {?proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToDao} + */ +proto.penumbra.core.component.stake.v1alpha1.FundingStream.prototype.getToDao = function() { + return /** @type{?proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToDao} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToDao, 2)); +}; + + +/** + * @param {?proto.penumbra.core.component.stake.v1alpha1.FundingStream.ToDao|undefined} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.FundingStream} returns this +*/ +proto.penumbra.core.component.stake.v1alpha1.FundingStream.prototype.setToDao = function(value) { + return jspb.Message.setOneofWrapperField(this, 2, proto.penumbra.core.component.stake.v1alpha1.FundingStream.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.stake.v1alpha1.FundingStream} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.FundingStream.prototype.clearToDao = function() { + return this.setToDao(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.stake.v1alpha1.FundingStream.prototype.hasToDao = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.stake.v1alpha1.RateData.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.stake.v1alpha1.RateData.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.stake.v1alpha1.RateData} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.RateData.toObject = function(includeInstance, msg) { + var f, obj = { + identityKey: (f = msg.getIdentityKey()) && penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.toObject(includeInstance, f), + epochIndex: jspb.Message.getFieldWithDefault(msg, 2, 0), + validatorRewardRate: jspb.Message.getFieldWithDefault(msg, 4, 0), + validatorExchangeRate: jspb.Message.getFieldWithDefault(msg, 5, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.stake.v1alpha1.RateData} + */ +proto.penumbra.core.component.stake.v1alpha1.RateData.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.stake.v1alpha1.RateData; + return proto.penumbra.core.component.stake.v1alpha1.RateData.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.stake.v1alpha1.RateData} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.stake.v1alpha1.RateData} + */ +proto.penumbra.core.component.stake.v1alpha1.RateData.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_keys_v1alpha1_keys_pb.IdentityKey; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.deserializeBinaryFromReader); + msg.setIdentityKey(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint64()); + msg.setEpochIndex(value); + break; + case 4: + var value = /** @type {number} */ (reader.readUint64()); + msg.setValidatorRewardRate(value); + break; + case 5: + var value = /** @type {number} */ (reader.readUint64()); + msg.setValidatorExchangeRate(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.stake.v1alpha1.RateData.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.stake.v1alpha1.RateData.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.stake.v1alpha1.RateData} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.RateData.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getIdentityKey(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.serializeBinaryToWriter + ); + } + f = message.getEpochIndex(); + if (f !== 0) { + writer.writeUint64( + 2, + f + ); + } + f = message.getValidatorRewardRate(); + if (f !== 0) { + writer.writeUint64( + 4, + f + ); + } + f = message.getValidatorExchangeRate(); + if (f !== 0) { + writer.writeUint64( + 5, + f + ); + } +}; + + +/** + * optional penumbra.core.keys.v1alpha1.IdentityKey identity_key = 1; + * @return {?proto.penumbra.core.keys.v1alpha1.IdentityKey} + */ +proto.penumbra.core.component.stake.v1alpha1.RateData.prototype.getIdentityKey = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.IdentityKey} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.IdentityKey, 1)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.IdentityKey|undefined} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.RateData} returns this +*/ +proto.penumbra.core.component.stake.v1alpha1.RateData.prototype.setIdentityKey = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.stake.v1alpha1.RateData} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.RateData.prototype.clearIdentityKey = function() { + return this.setIdentityKey(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.stake.v1alpha1.RateData.prototype.hasIdentityKey = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional uint64 epoch_index = 2; + * @return {number} + */ +proto.penumbra.core.component.stake.v1alpha1.RateData.prototype.getEpochIndex = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.RateData} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.RateData.prototype.setEpochIndex = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + +/** + * optional uint64 validator_reward_rate = 4; + * @return {number} + */ +proto.penumbra.core.component.stake.v1alpha1.RateData.prototype.getValidatorRewardRate = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.RateData} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.RateData.prototype.setValidatorRewardRate = function(value) { + return jspb.Message.setProto3IntField(this, 4, value); +}; + + +/** + * optional uint64 validator_exchange_rate = 5; + * @return {number} + */ +proto.penumbra.core.component.stake.v1alpha1.RateData.prototype.getValidatorExchangeRate = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.RateData} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.RateData.prototype.setValidatorExchangeRate = function(value) { + return jspb.Message.setProto3IntField(this, 5, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.stake.v1alpha1.BaseRateData.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.stake.v1alpha1.BaseRateData.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.stake.v1alpha1.BaseRateData} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.BaseRateData.toObject = function(includeInstance, msg) { + var f, obj = { + epochIndex: jspb.Message.getFieldWithDefault(msg, 1, 0), + baseRewardRate: jspb.Message.getFieldWithDefault(msg, 2, 0), + baseExchangeRate: jspb.Message.getFieldWithDefault(msg, 3, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.stake.v1alpha1.BaseRateData} + */ +proto.penumbra.core.component.stake.v1alpha1.BaseRateData.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.stake.v1alpha1.BaseRateData; + return proto.penumbra.core.component.stake.v1alpha1.BaseRateData.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.stake.v1alpha1.BaseRateData} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.stake.v1alpha1.BaseRateData} + */ +proto.penumbra.core.component.stake.v1alpha1.BaseRateData.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setEpochIndex(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint64()); + msg.setBaseRewardRate(value); + break; + case 3: + var value = /** @type {number} */ (reader.readUint64()); + msg.setBaseExchangeRate(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.stake.v1alpha1.BaseRateData.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.stake.v1alpha1.BaseRateData.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.stake.v1alpha1.BaseRateData} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.BaseRateData.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getEpochIndex(); + if (f !== 0) { + writer.writeUint64( + 1, + f + ); + } + f = message.getBaseRewardRate(); + if (f !== 0) { + writer.writeUint64( + 2, + f + ); + } + f = message.getBaseExchangeRate(); + if (f !== 0) { + writer.writeUint64( + 3, + f + ); + } +}; + + +/** + * optional uint64 epoch_index = 1; + * @return {number} + */ +proto.penumbra.core.component.stake.v1alpha1.BaseRateData.prototype.getEpochIndex = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.BaseRateData} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.BaseRateData.prototype.setEpochIndex = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional uint64 base_reward_rate = 2; + * @return {number} + */ +proto.penumbra.core.component.stake.v1alpha1.BaseRateData.prototype.getBaseRewardRate = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.BaseRateData} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.BaseRateData.prototype.setBaseRewardRate = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + +/** + * optional uint64 base_exchange_rate = 3; + * @return {number} + */ +proto.penumbra.core.component.stake.v1alpha1.BaseRateData.prototype.getBaseExchangeRate = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.BaseRateData} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.BaseRateData.prototype.setBaseExchangeRate = function(value) { + return jspb.Message.setProto3IntField(this, 3, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus.toObject = function(includeInstance, msg) { + var f, obj = { + identityKey: (f = msg.getIdentityKey()) && penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.toObject(includeInstance, f), + state: (f = msg.getState()) && proto.penumbra.core.component.stake.v1alpha1.ValidatorState.toObject(includeInstance, f), + votingPower: jspb.Message.getFieldWithDefault(msg, 3, 0), + bondingState: (f = msg.getBondingState()) && proto.penumbra.core.component.stake.v1alpha1.BondingState.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus; + return proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_keys_v1alpha1_keys_pb.IdentityKey; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.deserializeBinaryFromReader); + msg.setIdentityKey(value); + break; + case 2: + var value = new proto.penumbra.core.component.stake.v1alpha1.ValidatorState; + reader.readMessage(value,proto.penumbra.core.component.stake.v1alpha1.ValidatorState.deserializeBinaryFromReader); + msg.setState(value); + break; + case 3: + var value = /** @type {number} */ (reader.readUint64()); + msg.setVotingPower(value); + break; + case 4: + var value = new proto.penumbra.core.component.stake.v1alpha1.BondingState; + reader.readMessage(value,proto.penumbra.core.component.stake.v1alpha1.BondingState.deserializeBinaryFromReader); + msg.setBondingState(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getIdentityKey(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.serializeBinaryToWriter + ); + } + f = message.getState(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.penumbra.core.component.stake.v1alpha1.ValidatorState.serializeBinaryToWriter + ); + } + f = message.getVotingPower(); + if (f !== 0) { + writer.writeUint64( + 3, + f + ); + } + f = message.getBondingState(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.penumbra.core.component.stake.v1alpha1.BondingState.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.keys.v1alpha1.IdentityKey identity_key = 1; + * @return {?proto.penumbra.core.keys.v1alpha1.IdentityKey} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus.prototype.getIdentityKey = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.IdentityKey} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.IdentityKey, 1)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.IdentityKey|undefined} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus} returns this +*/ +proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus.prototype.setIdentityKey = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus.prototype.clearIdentityKey = function() { + return this.setIdentityKey(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus.prototype.hasIdentityKey = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional ValidatorState state = 2; + * @return {?proto.penumbra.core.component.stake.v1alpha1.ValidatorState} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus.prototype.getState = function() { + return /** @type{?proto.penumbra.core.component.stake.v1alpha1.ValidatorState} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.stake.v1alpha1.ValidatorState, 2)); +}; + + +/** + * @param {?proto.penumbra.core.component.stake.v1alpha1.ValidatorState|undefined} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus} returns this +*/ +proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus.prototype.setState = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus.prototype.clearState = function() { + return this.setState(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus.prototype.hasState = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional uint64 voting_power = 3; + * @return {number} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus.prototype.getVotingPower = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus.prototype.setVotingPower = function(value) { + return jspb.Message.setProto3IntField(this, 3, value); +}; + + +/** + * optional BondingState bonding_state = 4; + * @return {?proto.penumbra.core.component.stake.v1alpha1.BondingState} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus.prototype.getBondingState = function() { + return /** @type{?proto.penumbra.core.component.stake.v1alpha1.BondingState} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.stake.v1alpha1.BondingState, 4)); +}; + + +/** + * @param {?proto.penumbra.core.component.stake.v1alpha1.BondingState|undefined} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus} returns this +*/ +proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus.prototype.setBondingState = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus.prototype.clearBondingState = function() { + return this.setBondingState(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus.prototype.hasBondingState = function() { + return jspb.Message.getField(this, 4) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.stake.v1alpha1.BondingState.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.stake.v1alpha1.BondingState.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.stake.v1alpha1.BondingState} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.BondingState.toObject = function(includeInstance, msg) { + var f, obj = { + state: jspb.Message.getFieldWithDefault(msg, 1, 0), + unbondingEpoch: jspb.Message.getFieldWithDefault(msg, 2, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.stake.v1alpha1.BondingState} + */ +proto.penumbra.core.component.stake.v1alpha1.BondingState.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.stake.v1alpha1.BondingState; + return proto.penumbra.core.component.stake.v1alpha1.BondingState.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.stake.v1alpha1.BondingState} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.stake.v1alpha1.BondingState} + */ +proto.penumbra.core.component.stake.v1alpha1.BondingState.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!proto.penumbra.core.component.stake.v1alpha1.BondingState.BondingStateEnum} */ (reader.readEnum()); + msg.setState(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint64()); + msg.setUnbondingEpoch(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.stake.v1alpha1.BondingState.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.stake.v1alpha1.BondingState.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.stake.v1alpha1.BondingState} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.BondingState.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getState(); + if (f !== 0.0) { + writer.writeEnum( + 1, + f + ); + } + f = message.getUnbondingEpoch(); + if (f !== 0) { + writer.writeUint64( + 2, + f + ); + } +}; + + +/** + * @enum {number} + */ +proto.penumbra.core.component.stake.v1alpha1.BondingState.BondingStateEnum = { + BONDING_STATE_ENUM_UNSPECIFIED: 0, + BONDING_STATE_ENUM_BONDED: 1, + BONDING_STATE_ENUM_UNBONDING: 2, + BONDING_STATE_ENUM_UNBONDED: 3 +}; + +/** + * optional BondingStateEnum state = 1; + * @return {!proto.penumbra.core.component.stake.v1alpha1.BondingState.BondingStateEnum} + */ +proto.penumbra.core.component.stake.v1alpha1.BondingState.prototype.getState = function() { + return /** @type {!proto.penumbra.core.component.stake.v1alpha1.BondingState.BondingStateEnum} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {!proto.penumbra.core.component.stake.v1alpha1.BondingState.BondingStateEnum} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.BondingState} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.BondingState.prototype.setState = function(value) { + return jspb.Message.setProto3EnumField(this, 1, value); +}; + + +/** + * optional uint64 unbonding_epoch = 2; + * @return {number} + */ +proto.penumbra.core.component.stake.v1alpha1.BondingState.prototype.getUnbondingEpoch = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.BondingState} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.BondingState.prototype.setUnbondingEpoch = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorState.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.stake.v1alpha1.ValidatorState.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.stake.v1alpha1.ValidatorState} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorState.toObject = function(includeInstance, msg) { + var f, obj = { + state: jspb.Message.getFieldWithDefault(msg, 1, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorState} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorState.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.stake.v1alpha1.ValidatorState; + return proto.penumbra.core.component.stake.v1alpha1.ValidatorState.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.stake.v1alpha1.ValidatorState} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorState} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorState.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!proto.penumbra.core.component.stake.v1alpha1.ValidatorState.ValidatorStateEnum} */ (reader.readEnum()); + msg.setState(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorState.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.stake.v1alpha1.ValidatorState.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.stake.v1alpha1.ValidatorState} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorState.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getState(); + if (f !== 0.0) { + writer.writeEnum( + 1, + f + ); + } +}; + + +/** + * @enum {number} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorState.ValidatorStateEnum = { + VALIDATOR_STATE_ENUM_UNSPECIFIED: 0, + VALIDATOR_STATE_ENUM_INACTIVE: 1, + VALIDATOR_STATE_ENUM_ACTIVE: 2, + VALIDATOR_STATE_ENUM_JAILED: 3, + VALIDATOR_STATE_ENUM_TOMBSTONED: 4, + VALIDATOR_STATE_ENUM_DISABLED: 5 +}; + +/** + * optional ValidatorStateEnum state = 1; + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorState.ValidatorStateEnum} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorState.prototype.getState = function() { + return /** @type {!proto.penumbra.core.component.stake.v1alpha1.ValidatorState.ValidatorStateEnum} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {!proto.penumbra.core.component.stake.v1alpha1.ValidatorState.ValidatorStateEnum} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorState} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorState.prototype.setState = function(value) { + return jspb.Message.setProto3EnumField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorInfo.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.stake.v1alpha1.ValidatorInfo.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.stake.v1alpha1.ValidatorInfo} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorInfo.toObject = function(includeInstance, msg) { + var f, obj = { + validator: (f = msg.getValidator()) && proto.penumbra.core.component.stake.v1alpha1.Validator.toObject(includeInstance, f), + status: (f = msg.getStatus()) && proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus.toObject(includeInstance, f), + rateData: (f = msg.getRateData()) && proto.penumbra.core.component.stake.v1alpha1.RateData.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorInfo} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorInfo.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.stake.v1alpha1.ValidatorInfo; + return proto.penumbra.core.component.stake.v1alpha1.ValidatorInfo.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.stake.v1alpha1.ValidatorInfo} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorInfo} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorInfo.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.stake.v1alpha1.Validator; + reader.readMessage(value,proto.penumbra.core.component.stake.v1alpha1.Validator.deserializeBinaryFromReader); + msg.setValidator(value); + break; + case 2: + var value = new proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus; + reader.readMessage(value,proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus.deserializeBinaryFromReader); + msg.setStatus(value); + break; + case 3: + var value = new proto.penumbra.core.component.stake.v1alpha1.RateData; + reader.readMessage(value,proto.penumbra.core.component.stake.v1alpha1.RateData.deserializeBinaryFromReader); + msg.setRateData(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorInfo.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.stake.v1alpha1.ValidatorInfo.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.stake.v1alpha1.ValidatorInfo} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorInfo.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getValidator(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.stake.v1alpha1.Validator.serializeBinaryToWriter + ); + } + f = message.getStatus(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus.serializeBinaryToWriter + ); + } + f = message.getRateData(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.penumbra.core.component.stake.v1alpha1.RateData.serializeBinaryToWriter + ); + } +}; + + +/** + * optional Validator validator = 1; + * @return {?proto.penumbra.core.component.stake.v1alpha1.Validator} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorInfo.prototype.getValidator = function() { + return /** @type{?proto.penumbra.core.component.stake.v1alpha1.Validator} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.stake.v1alpha1.Validator, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.stake.v1alpha1.Validator|undefined} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorInfo} returns this +*/ +proto.penumbra.core.component.stake.v1alpha1.ValidatorInfo.prototype.setValidator = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorInfo} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorInfo.prototype.clearValidator = function() { + return this.setValidator(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorInfo.prototype.hasValidator = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional ValidatorStatus status = 2; + * @return {?proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorInfo.prototype.getStatus = function() { + return /** @type{?proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus, 2)); +}; + + +/** + * @param {?proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus|undefined} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorInfo} returns this +*/ +proto.penumbra.core.component.stake.v1alpha1.ValidatorInfo.prototype.setStatus = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorInfo} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorInfo.prototype.clearStatus = function() { + return this.setStatus(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorInfo.prototype.hasStatus = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional RateData rate_data = 3; + * @return {?proto.penumbra.core.component.stake.v1alpha1.RateData} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorInfo.prototype.getRateData = function() { + return /** @type{?proto.penumbra.core.component.stake.v1alpha1.RateData} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.stake.v1alpha1.RateData, 3)); +}; + + +/** + * @param {?proto.penumbra.core.component.stake.v1alpha1.RateData|undefined} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorInfo} returns this +*/ +proto.penumbra.core.component.stake.v1alpha1.ValidatorInfo.prototype.setRateData = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorInfo} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorInfo.prototype.clearRateData = function() { + return this.setRateData(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorInfo.prototype.hasRateData = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorDefinition.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.stake.v1alpha1.ValidatorDefinition.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.stake.v1alpha1.ValidatorDefinition} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorDefinition.toObject = function(includeInstance, msg) { + var f, obj = { + validator: (f = msg.getValidator()) && proto.penumbra.core.component.stake.v1alpha1.Validator.toObject(includeInstance, f), + authSig: msg.getAuthSig_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorDefinition} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorDefinition.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.stake.v1alpha1.ValidatorDefinition; + return proto.penumbra.core.component.stake.v1alpha1.ValidatorDefinition.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.stake.v1alpha1.ValidatorDefinition} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorDefinition} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorDefinition.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.stake.v1alpha1.Validator; + reader.readMessage(value,proto.penumbra.core.component.stake.v1alpha1.Validator.deserializeBinaryFromReader); + msg.setValidator(value); + break; + case 2: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setAuthSig(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorDefinition.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.stake.v1alpha1.ValidatorDefinition.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.stake.v1alpha1.ValidatorDefinition} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorDefinition.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getValidator(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.stake.v1alpha1.Validator.serializeBinaryToWriter + ); + } + f = message.getAuthSig_asU8(); + if (f.length > 0) { + writer.writeBytes( + 2, + f + ); + } +}; + + +/** + * optional Validator validator = 1; + * @return {?proto.penumbra.core.component.stake.v1alpha1.Validator} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorDefinition.prototype.getValidator = function() { + return /** @type{?proto.penumbra.core.component.stake.v1alpha1.Validator} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.stake.v1alpha1.Validator, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.stake.v1alpha1.Validator|undefined} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorDefinition} returns this +*/ +proto.penumbra.core.component.stake.v1alpha1.ValidatorDefinition.prototype.setValidator = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorDefinition} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorDefinition.prototype.clearValidator = function() { + return this.setValidator(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorDefinition.prototype.hasValidator = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional bytes auth_sig = 2; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorDefinition.prototype.getAuthSig = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * optional bytes auth_sig = 2; + * This is a type-conversion wrapper around `getAuthSig()` + * @return {string} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorDefinition.prototype.getAuthSig_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getAuthSig())); +}; + + +/** + * optional bytes auth_sig = 2; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getAuthSig()` + * @return {!Uint8Array} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorDefinition.prototype.getAuthSig_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getAuthSig())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorDefinition} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorDefinition.prototype.setAuthSig = function(value) { + return jspb.Message.setProto3BytesField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.stake.v1alpha1.Delegate.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.stake.v1alpha1.Delegate.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.stake.v1alpha1.Delegate} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.Delegate.toObject = function(includeInstance, msg) { + var f, obj = { + validatorIdentity: (f = msg.getValidatorIdentity()) && penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.toObject(includeInstance, f), + epochIndex: jspb.Message.getFieldWithDefault(msg, 2, 0), + unbondedAmount: (f = msg.getUnbondedAmount()) && penumbra_core_num_v1alpha1_num_pb.Amount.toObject(includeInstance, f), + delegationAmount: (f = msg.getDelegationAmount()) && penumbra_core_num_v1alpha1_num_pb.Amount.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.stake.v1alpha1.Delegate} + */ +proto.penumbra.core.component.stake.v1alpha1.Delegate.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.stake.v1alpha1.Delegate; + return proto.penumbra.core.component.stake.v1alpha1.Delegate.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.stake.v1alpha1.Delegate} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.stake.v1alpha1.Delegate} + */ +proto.penumbra.core.component.stake.v1alpha1.Delegate.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_keys_v1alpha1_keys_pb.IdentityKey; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.deserializeBinaryFromReader); + msg.setValidatorIdentity(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint64()); + msg.setEpochIndex(value); + break; + case 3: + var value = new penumbra_core_num_v1alpha1_num_pb.Amount; + reader.readMessage(value,penumbra_core_num_v1alpha1_num_pb.Amount.deserializeBinaryFromReader); + msg.setUnbondedAmount(value); + break; + case 4: + var value = new penumbra_core_num_v1alpha1_num_pb.Amount; + reader.readMessage(value,penumbra_core_num_v1alpha1_num_pb.Amount.deserializeBinaryFromReader); + msg.setDelegationAmount(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.stake.v1alpha1.Delegate.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.stake.v1alpha1.Delegate.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.stake.v1alpha1.Delegate} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.Delegate.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getValidatorIdentity(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.serializeBinaryToWriter + ); + } + f = message.getEpochIndex(); + if (f !== 0) { + writer.writeUint64( + 2, + f + ); + } + f = message.getUnbondedAmount(); + if (f != null) { + writer.writeMessage( + 3, + f, + penumbra_core_num_v1alpha1_num_pb.Amount.serializeBinaryToWriter + ); + } + f = message.getDelegationAmount(); + if (f != null) { + writer.writeMessage( + 4, + f, + penumbra_core_num_v1alpha1_num_pb.Amount.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.keys.v1alpha1.IdentityKey validator_identity = 1; + * @return {?proto.penumbra.core.keys.v1alpha1.IdentityKey} + */ +proto.penumbra.core.component.stake.v1alpha1.Delegate.prototype.getValidatorIdentity = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.IdentityKey} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.IdentityKey, 1)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.IdentityKey|undefined} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.Delegate} returns this +*/ +proto.penumbra.core.component.stake.v1alpha1.Delegate.prototype.setValidatorIdentity = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.stake.v1alpha1.Delegate} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.Delegate.prototype.clearValidatorIdentity = function() { + return this.setValidatorIdentity(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.stake.v1alpha1.Delegate.prototype.hasValidatorIdentity = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional uint64 epoch_index = 2; + * @return {number} + */ +proto.penumbra.core.component.stake.v1alpha1.Delegate.prototype.getEpochIndex = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.Delegate} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.Delegate.prototype.setEpochIndex = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + +/** + * optional penumbra.core.num.v1alpha1.Amount unbonded_amount = 3; + * @return {?proto.penumbra.core.num.v1alpha1.Amount} + */ +proto.penumbra.core.component.stake.v1alpha1.Delegate.prototype.getUnbondedAmount = function() { + return /** @type{?proto.penumbra.core.num.v1alpha1.Amount} */ ( + jspb.Message.getWrapperField(this, penumbra_core_num_v1alpha1_num_pb.Amount, 3)); +}; + + +/** + * @param {?proto.penumbra.core.num.v1alpha1.Amount|undefined} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.Delegate} returns this +*/ +proto.penumbra.core.component.stake.v1alpha1.Delegate.prototype.setUnbondedAmount = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.stake.v1alpha1.Delegate} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.Delegate.prototype.clearUnbondedAmount = function() { + return this.setUnbondedAmount(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.stake.v1alpha1.Delegate.prototype.hasUnbondedAmount = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional penumbra.core.num.v1alpha1.Amount delegation_amount = 4; + * @return {?proto.penumbra.core.num.v1alpha1.Amount} + */ +proto.penumbra.core.component.stake.v1alpha1.Delegate.prototype.getDelegationAmount = function() { + return /** @type{?proto.penumbra.core.num.v1alpha1.Amount} */ ( + jspb.Message.getWrapperField(this, penumbra_core_num_v1alpha1_num_pb.Amount, 4)); +}; + + +/** + * @param {?proto.penumbra.core.num.v1alpha1.Amount|undefined} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.Delegate} returns this +*/ +proto.penumbra.core.component.stake.v1alpha1.Delegate.prototype.setDelegationAmount = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.stake.v1alpha1.Delegate} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.Delegate.prototype.clearDelegationAmount = function() { + return this.setDelegationAmount(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.stake.v1alpha1.Delegate.prototype.hasDelegationAmount = function() { + return jspb.Message.getField(this, 4) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.stake.v1alpha1.Undelegate.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.stake.v1alpha1.Undelegate.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.stake.v1alpha1.Undelegate} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.Undelegate.toObject = function(includeInstance, msg) { + var f, obj = { + validatorIdentity: (f = msg.getValidatorIdentity()) && penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.toObject(includeInstance, f), + startEpochIndex: jspb.Message.getFieldWithDefault(msg, 2, 0), + unbondedAmount: (f = msg.getUnbondedAmount()) && penumbra_core_num_v1alpha1_num_pb.Amount.toObject(includeInstance, f), + delegationAmount: (f = msg.getDelegationAmount()) && penumbra_core_num_v1alpha1_num_pb.Amount.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.stake.v1alpha1.Undelegate} + */ +proto.penumbra.core.component.stake.v1alpha1.Undelegate.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.stake.v1alpha1.Undelegate; + return proto.penumbra.core.component.stake.v1alpha1.Undelegate.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.stake.v1alpha1.Undelegate} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.stake.v1alpha1.Undelegate} + */ +proto.penumbra.core.component.stake.v1alpha1.Undelegate.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_keys_v1alpha1_keys_pb.IdentityKey; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.deserializeBinaryFromReader); + msg.setValidatorIdentity(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint64()); + msg.setStartEpochIndex(value); + break; + case 3: + var value = new penumbra_core_num_v1alpha1_num_pb.Amount; + reader.readMessage(value,penumbra_core_num_v1alpha1_num_pb.Amount.deserializeBinaryFromReader); + msg.setUnbondedAmount(value); + break; + case 4: + var value = new penumbra_core_num_v1alpha1_num_pb.Amount; + reader.readMessage(value,penumbra_core_num_v1alpha1_num_pb.Amount.deserializeBinaryFromReader); + msg.setDelegationAmount(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.stake.v1alpha1.Undelegate.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.stake.v1alpha1.Undelegate.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.stake.v1alpha1.Undelegate} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.Undelegate.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getValidatorIdentity(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.serializeBinaryToWriter + ); + } + f = message.getStartEpochIndex(); + if (f !== 0) { + writer.writeUint64( + 2, + f + ); + } + f = message.getUnbondedAmount(); + if (f != null) { + writer.writeMessage( + 3, + f, + penumbra_core_num_v1alpha1_num_pb.Amount.serializeBinaryToWriter + ); + } + f = message.getDelegationAmount(); + if (f != null) { + writer.writeMessage( + 4, + f, + penumbra_core_num_v1alpha1_num_pb.Amount.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.keys.v1alpha1.IdentityKey validator_identity = 1; + * @return {?proto.penumbra.core.keys.v1alpha1.IdentityKey} + */ +proto.penumbra.core.component.stake.v1alpha1.Undelegate.prototype.getValidatorIdentity = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.IdentityKey} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.IdentityKey, 1)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.IdentityKey|undefined} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.Undelegate} returns this +*/ +proto.penumbra.core.component.stake.v1alpha1.Undelegate.prototype.setValidatorIdentity = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.stake.v1alpha1.Undelegate} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.Undelegate.prototype.clearValidatorIdentity = function() { + return this.setValidatorIdentity(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.stake.v1alpha1.Undelegate.prototype.hasValidatorIdentity = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional uint64 start_epoch_index = 2; + * @return {number} + */ +proto.penumbra.core.component.stake.v1alpha1.Undelegate.prototype.getStartEpochIndex = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.Undelegate} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.Undelegate.prototype.setStartEpochIndex = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + +/** + * optional penumbra.core.num.v1alpha1.Amount unbonded_amount = 3; + * @return {?proto.penumbra.core.num.v1alpha1.Amount} + */ +proto.penumbra.core.component.stake.v1alpha1.Undelegate.prototype.getUnbondedAmount = function() { + return /** @type{?proto.penumbra.core.num.v1alpha1.Amount} */ ( + jspb.Message.getWrapperField(this, penumbra_core_num_v1alpha1_num_pb.Amount, 3)); +}; + + +/** + * @param {?proto.penumbra.core.num.v1alpha1.Amount|undefined} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.Undelegate} returns this +*/ +proto.penumbra.core.component.stake.v1alpha1.Undelegate.prototype.setUnbondedAmount = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.stake.v1alpha1.Undelegate} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.Undelegate.prototype.clearUnbondedAmount = function() { + return this.setUnbondedAmount(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.stake.v1alpha1.Undelegate.prototype.hasUnbondedAmount = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional penumbra.core.num.v1alpha1.Amount delegation_amount = 4; + * @return {?proto.penumbra.core.num.v1alpha1.Amount} + */ +proto.penumbra.core.component.stake.v1alpha1.Undelegate.prototype.getDelegationAmount = function() { + return /** @type{?proto.penumbra.core.num.v1alpha1.Amount} */ ( + jspb.Message.getWrapperField(this, penumbra_core_num_v1alpha1_num_pb.Amount, 4)); +}; + + +/** + * @param {?proto.penumbra.core.num.v1alpha1.Amount|undefined} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.Undelegate} returns this +*/ +proto.penumbra.core.component.stake.v1alpha1.Undelegate.prototype.setDelegationAmount = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.stake.v1alpha1.Undelegate} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.Undelegate.prototype.clearDelegationAmount = function() { + return this.setDelegationAmount(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.stake.v1alpha1.Undelegate.prototype.hasDelegationAmount = function() { + return jspb.Message.getField(this, 4) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaim.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.stake.v1alpha1.UndelegateClaim.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.stake.v1alpha1.UndelegateClaim} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaim.toObject = function(includeInstance, msg) { + var f, obj = { + body: (f = msg.getBody()) && proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimBody.toObject(includeInstance, f), + proof: msg.getProof_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.stake.v1alpha1.UndelegateClaim} + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaim.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.stake.v1alpha1.UndelegateClaim; + return proto.penumbra.core.component.stake.v1alpha1.UndelegateClaim.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.stake.v1alpha1.UndelegateClaim} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.stake.v1alpha1.UndelegateClaim} + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaim.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimBody; + reader.readMessage(value,proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimBody.deserializeBinaryFromReader); + msg.setBody(value); + break; + case 2: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setProof(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaim.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.stake.v1alpha1.UndelegateClaim.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.stake.v1alpha1.UndelegateClaim} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaim.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getBody(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimBody.serializeBinaryToWriter + ); + } + f = message.getProof_asU8(); + if (f.length > 0) { + writer.writeBytes( + 2, + f + ); + } +}; + + +/** + * optional UndelegateClaimBody body = 1; + * @return {?proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimBody} + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaim.prototype.getBody = function() { + return /** @type{?proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimBody} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimBody, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimBody|undefined} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.UndelegateClaim} returns this +*/ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaim.prototype.setBody = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.stake.v1alpha1.UndelegateClaim} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaim.prototype.clearBody = function() { + return this.setBody(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaim.prototype.hasBody = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional bytes proof = 2; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaim.prototype.getProof = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * optional bytes proof = 2; + * This is a type-conversion wrapper around `getProof()` + * @return {string} + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaim.prototype.getProof_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getProof())); +}; + + +/** + * optional bytes proof = 2; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getProof()` + * @return {!Uint8Array} + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaim.prototype.getProof_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getProof())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.UndelegateClaim} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaim.prototype.setProof = function(value) { + return jspb.Message.setProto3BytesField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimBody.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimBody.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimBody} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimBody.toObject = function(includeInstance, msg) { + var f, obj = { + validatorIdentity: (f = msg.getValidatorIdentity()) && penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.toObject(includeInstance, f), + startEpochIndex: jspb.Message.getFieldWithDefault(msg, 2, 0), + penalty: (f = msg.getPenalty()) && proto.penumbra.core.component.stake.v1alpha1.Penalty.toObject(includeInstance, f), + balanceCommitment: (f = msg.getBalanceCommitment()) && penumbra_core_asset_v1alpha1_asset_pb.BalanceCommitment.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimBody} + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimBody.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimBody; + return proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimBody.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimBody} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimBody} + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimBody.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_keys_v1alpha1_keys_pb.IdentityKey; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.deserializeBinaryFromReader); + msg.setValidatorIdentity(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint64()); + msg.setStartEpochIndex(value); + break; + case 3: + var value = new proto.penumbra.core.component.stake.v1alpha1.Penalty; + reader.readMessage(value,proto.penumbra.core.component.stake.v1alpha1.Penalty.deserializeBinaryFromReader); + msg.setPenalty(value); + break; + case 4: + var value = new penumbra_core_asset_v1alpha1_asset_pb.BalanceCommitment; + reader.readMessage(value,penumbra_core_asset_v1alpha1_asset_pb.BalanceCommitment.deserializeBinaryFromReader); + msg.setBalanceCommitment(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimBody.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimBody.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimBody} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimBody.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getValidatorIdentity(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.serializeBinaryToWriter + ); + } + f = message.getStartEpochIndex(); + if (f !== 0) { + writer.writeUint64( + 2, + f + ); + } + f = message.getPenalty(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.penumbra.core.component.stake.v1alpha1.Penalty.serializeBinaryToWriter + ); + } + f = message.getBalanceCommitment(); + if (f != null) { + writer.writeMessage( + 4, + f, + penumbra_core_asset_v1alpha1_asset_pb.BalanceCommitment.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.keys.v1alpha1.IdentityKey validator_identity = 1; + * @return {?proto.penumbra.core.keys.v1alpha1.IdentityKey} + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimBody.prototype.getValidatorIdentity = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.IdentityKey} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.IdentityKey, 1)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.IdentityKey|undefined} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimBody} returns this +*/ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimBody.prototype.setValidatorIdentity = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimBody} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimBody.prototype.clearValidatorIdentity = function() { + return this.setValidatorIdentity(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimBody.prototype.hasValidatorIdentity = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional uint64 start_epoch_index = 2; + * @return {number} + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimBody.prototype.getStartEpochIndex = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimBody} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimBody.prototype.setStartEpochIndex = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + +/** + * optional Penalty penalty = 3; + * @return {?proto.penumbra.core.component.stake.v1alpha1.Penalty} + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimBody.prototype.getPenalty = function() { + return /** @type{?proto.penumbra.core.component.stake.v1alpha1.Penalty} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.stake.v1alpha1.Penalty, 3)); +}; + + +/** + * @param {?proto.penumbra.core.component.stake.v1alpha1.Penalty|undefined} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimBody} returns this +*/ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimBody.prototype.setPenalty = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimBody} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimBody.prototype.clearPenalty = function() { + return this.setPenalty(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimBody.prototype.hasPenalty = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional penumbra.core.asset.v1alpha1.BalanceCommitment balance_commitment = 4; + * @return {?proto.penumbra.core.asset.v1alpha1.BalanceCommitment} + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimBody.prototype.getBalanceCommitment = function() { + return /** @type{?proto.penumbra.core.asset.v1alpha1.BalanceCommitment} */ ( + jspb.Message.getWrapperField(this, penumbra_core_asset_v1alpha1_asset_pb.BalanceCommitment, 4)); +}; + + +/** + * @param {?proto.penumbra.core.asset.v1alpha1.BalanceCommitment|undefined} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimBody} returns this +*/ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimBody.prototype.setBalanceCommitment = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimBody} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimBody.prototype.clearBalanceCommitment = function() { + return this.setBalanceCommitment(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimBody.prototype.hasBalanceCommitment = function() { + return jspb.Message.getField(this, 4) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan.toObject = function(includeInstance, msg) { + var f, obj = { + validatorIdentity: (f = msg.getValidatorIdentity()) && penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.toObject(includeInstance, f), + startEpochIndex: jspb.Message.getFieldWithDefault(msg, 2, 0), + penalty: (f = msg.getPenalty()) && proto.penumbra.core.component.stake.v1alpha1.Penalty.toObject(includeInstance, f), + unbondingAmount: (f = msg.getUnbondingAmount()) && penumbra_core_num_v1alpha1_num_pb.Amount.toObject(includeInstance, f), + balanceBlinding: msg.getBalanceBlinding_asB64(), + proofBlindingR: msg.getProofBlindingR_asB64(), + proofBlindingS: msg.getProofBlindingS_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan} + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan; + return proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan} + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_keys_v1alpha1_keys_pb.IdentityKey; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.deserializeBinaryFromReader); + msg.setValidatorIdentity(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint64()); + msg.setStartEpochIndex(value); + break; + case 4: + var value = new proto.penumbra.core.component.stake.v1alpha1.Penalty; + reader.readMessage(value,proto.penumbra.core.component.stake.v1alpha1.Penalty.deserializeBinaryFromReader); + msg.setPenalty(value); + break; + case 5: + var value = new penumbra_core_num_v1alpha1_num_pb.Amount; + reader.readMessage(value,penumbra_core_num_v1alpha1_num_pb.Amount.deserializeBinaryFromReader); + msg.setUnbondingAmount(value); + break; + case 6: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setBalanceBlinding(value); + break; + case 7: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setProofBlindingR(value); + break; + case 8: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setProofBlindingS(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getValidatorIdentity(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.serializeBinaryToWriter + ); + } + f = message.getStartEpochIndex(); + if (f !== 0) { + writer.writeUint64( + 2, + f + ); + } + f = message.getPenalty(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.penumbra.core.component.stake.v1alpha1.Penalty.serializeBinaryToWriter + ); + } + f = message.getUnbondingAmount(); + if (f != null) { + writer.writeMessage( + 5, + f, + penumbra_core_num_v1alpha1_num_pb.Amount.serializeBinaryToWriter + ); + } + f = message.getBalanceBlinding_asU8(); + if (f.length > 0) { + writer.writeBytes( + 6, + f + ); + } + f = message.getProofBlindingR_asU8(); + if (f.length > 0) { + writer.writeBytes( + 7, + f + ); + } + f = message.getProofBlindingS_asU8(); + if (f.length > 0) { + writer.writeBytes( + 8, + f + ); + } +}; + + +/** + * optional penumbra.core.keys.v1alpha1.IdentityKey validator_identity = 1; + * @return {?proto.penumbra.core.keys.v1alpha1.IdentityKey} + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan.prototype.getValidatorIdentity = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.IdentityKey} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.IdentityKey, 1)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.IdentityKey|undefined} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan} returns this +*/ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan.prototype.setValidatorIdentity = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan.prototype.clearValidatorIdentity = function() { + return this.setValidatorIdentity(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan.prototype.hasValidatorIdentity = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional uint64 start_epoch_index = 2; + * @return {number} + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan.prototype.getStartEpochIndex = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan.prototype.setStartEpochIndex = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + +/** + * optional Penalty penalty = 4; + * @return {?proto.penumbra.core.component.stake.v1alpha1.Penalty} + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan.prototype.getPenalty = function() { + return /** @type{?proto.penumbra.core.component.stake.v1alpha1.Penalty} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.stake.v1alpha1.Penalty, 4)); +}; + + +/** + * @param {?proto.penumbra.core.component.stake.v1alpha1.Penalty|undefined} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan} returns this +*/ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan.prototype.setPenalty = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan.prototype.clearPenalty = function() { + return this.setPenalty(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan.prototype.hasPenalty = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional penumbra.core.num.v1alpha1.Amount unbonding_amount = 5; + * @return {?proto.penumbra.core.num.v1alpha1.Amount} + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan.prototype.getUnbondingAmount = function() { + return /** @type{?proto.penumbra.core.num.v1alpha1.Amount} */ ( + jspb.Message.getWrapperField(this, penumbra_core_num_v1alpha1_num_pb.Amount, 5)); +}; + + +/** + * @param {?proto.penumbra.core.num.v1alpha1.Amount|undefined} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan} returns this +*/ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan.prototype.setUnbondingAmount = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan.prototype.clearUnbondingAmount = function() { + return this.setUnbondingAmount(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan.prototype.hasUnbondingAmount = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional bytes balance_blinding = 6; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan.prototype.getBalanceBlinding = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * optional bytes balance_blinding = 6; + * This is a type-conversion wrapper around `getBalanceBlinding()` + * @return {string} + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan.prototype.getBalanceBlinding_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getBalanceBlinding())); +}; + + +/** + * optional bytes balance_blinding = 6; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getBalanceBlinding()` + * @return {!Uint8Array} + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan.prototype.getBalanceBlinding_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getBalanceBlinding())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan.prototype.setBalanceBlinding = function(value) { + return jspb.Message.setProto3BytesField(this, 6, value); +}; + + +/** + * optional bytes proof_blinding_r = 7; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan.prototype.getProofBlindingR = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * optional bytes proof_blinding_r = 7; + * This is a type-conversion wrapper around `getProofBlindingR()` + * @return {string} + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan.prototype.getProofBlindingR_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getProofBlindingR())); +}; + + +/** + * optional bytes proof_blinding_r = 7; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getProofBlindingR()` + * @return {!Uint8Array} + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan.prototype.getProofBlindingR_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getProofBlindingR())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan.prototype.setProofBlindingR = function(value) { + return jspb.Message.setProto3BytesField(this, 7, value); +}; + + +/** + * optional bytes proof_blinding_s = 8; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan.prototype.getProofBlindingS = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 8, "")); +}; + + +/** + * optional bytes proof_blinding_s = 8; + * This is a type-conversion wrapper around `getProofBlindingS()` + * @return {string} + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan.prototype.getProofBlindingS_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getProofBlindingS())); +}; + + +/** + * optional bytes proof_blinding_s = 8; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getProofBlindingS()` + * @return {!Uint8Array} + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan.prototype.getProofBlindingS_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getProofBlindingS())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan.prototype.setProofBlindingS = function(value) { + return jspb.Message.setProto3BytesField(this, 8, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.penumbra.core.component.stake.v1alpha1.DelegationChanges.repeatedFields_ = [1,2]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.stake.v1alpha1.DelegationChanges.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.stake.v1alpha1.DelegationChanges.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.stake.v1alpha1.DelegationChanges} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.DelegationChanges.toObject = function(includeInstance, msg) { + var f, obj = { + delegationsList: jspb.Message.toObjectList(msg.getDelegationsList(), + proto.penumbra.core.component.stake.v1alpha1.Delegate.toObject, includeInstance), + undelegationsList: jspb.Message.toObjectList(msg.getUndelegationsList(), + proto.penumbra.core.component.stake.v1alpha1.Undelegate.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.stake.v1alpha1.DelegationChanges} + */ +proto.penumbra.core.component.stake.v1alpha1.DelegationChanges.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.stake.v1alpha1.DelegationChanges; + return proto.penumbra.core.component.stake.v1alpha1.DelegationChanges.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.stake.v1alpha1.DelegationChanges} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.stake.v1alpha1.DelegationChanges} + */ +proto.penumbra.core.component.stake.v1alpha1.DelegationChanges.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.stake.v1alpha1.Delegate; + reader.readMessage(value,proto.penumbra.core.component.stake.v1alpha1.Delegate.deserializeBinaryFromReader); + msg.addDelegations(value); + break; + case 2: + var value = new proto.penumbra.core.component.stake.v1alpha1.Undelegate; + reader.readMessage(value,proto.penumbra.core.component.stake.v1alpha1.Undelegate.deserializeBinaryFromReader); + msg.addUndelegations(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.stake.v1alpha1.DelegationChanges.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.stake.v1alpha1.DelegationChanges.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.stake.v1alpha1.DelegationChanges} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.DelegationChanges.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDelegationsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + proto.penumbra.core.component.stake.v1alpha1.Delegate.serializeBinaryToWriter + ); + } + f = message.getUndelegationsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 2, + f, + proto.penumbra.core.component.stake.v1alpha1.Undelegate.serializeBinaryToWriter + ); + } +}; + + +/** + * repeated Delegate delegations = 1; + * @return {!Array} + */ +proto.penumbra.core.component.stake.v1alpha1.DelegationChanges.prototype.getDelegationsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.penumbra.core.component.stake.v1alpha1.Delegate, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.DelegationChanges} returns this +*/ +proto.penumbra.core.component.stake.v1alpha1.DelegationChanges.prototype.setDelegationsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.penumbra.core.component.stake.v1alpha1.Delegate=} opt_value + * @param {number=} opt_index + * @return {!proto.penumbra.core.component.stake.v1alpha1.Delegate} + */ +proto.penumbra.core.component.stake.v1alpha1.DelegationChanges.prototype.addDelegations = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.penumbra.core.component.stake.v1alpha1.Delegate, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.penumbra.core.component.stake.v1alpha1.DelegationChanges} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.DelegationChanges.prototype.clearDelegationsList = function() { + return this.setDelegationsList([]); +}; + + +/** + * repeated Undelegate undelegations = 2; + * @return {!Array} + */ +proto.penumbra.core.component.stake.v1alpha1.DelegationChanges.prototype.getUndelegationsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.penumbra.core.component.stake.v1alpha1.Undelegate, 2)); +}; + + +/** + * @param {!Array} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.DelegationChanges} returns this +*/ +proto.penumbra.core.component.stake.v1alpha1.DelegationChanges.prototype.setUndelegationsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 2, value); +}; + + +/** + * @param {!proto.penumbra.core.component.stake.v1alpha1.Undelegate=} opt_value + * @param {number=} opt_index + * @return {!proto.penumbra.core.component.stake.v1alpha1.Undelegate} + */ +proto.penumbra.core.component.stake.v1alpha1.DelegationChanges.prototype.addUndelegations = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.penumbra.core.component.stake.v1alpha1.Undelegate, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.penumbra.core.component.stake.v1alpha1.DelegationChanges} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.DelegationChanges.prototype.clearUndelegationsList = function() { + return this.setUndelegationsList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.stake.v1alpha1.Uptime.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.stake.v1alpha1.Uptime.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.stake.v1alpha1.Uptime} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.Uptime.toObject = function(includeInstance, msg) { + var f, obj = { + asOfBlockHeight: jspb.Message.getFieldWithDefault(msg, 1, 0), + windowLen: jspb.Message.getFieldWithDefault(msg, 2, 0), + bitvec: msg.getBitvec_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.stake.v1alpha1.Uptime} + */ +proto.penumbra.core.component.stake.v1alpha1.Uptime.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.stake.v1alpha1.Uptime; + return proto.penumbra.core.component.stake.v1alpha1.Uptime.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.stake.v1alpha1.Uptime} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.stake.v1alpha1.Uptime} + */ +proto.penumbra.core.component.stake.v1alpha1.Uptime.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setAsOfBlockHeight(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint32()); + msg.setWindowLen(value); + break; + case 3: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setBitvec(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.stake.v1alpha1.Uptime.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.stake.v1alpha1.Uptime.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.stake.v1alpha1.Uptime} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.Uptime.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getAsOfBlockHeight(); + if (f !== 0) { + writer.writeUint64( + 1, + f + ); + } + f = message.getWindowLen(); + if (f !== 0) { + writer.writeUint32( + 2, + f + ); + } + f = message.getBitvec_asU8(); + if (f.length > 0) { + writer.writeBytes( + 3, + f + ); + } +}; + + +/** + * optional uint64 as_of_block_height = 1; + * @return {number} + */ +proto.penumbra.core.component.stake.v1alpha1.Uptime.prototype.getAsOfBlockHeight = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.Uptime} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.Uptime.prototype.setAsOfBlockHeight = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional uint32 window_len = 2; + * @return {number} + */ +proto.penumbra.core.component.stake.v1alpha1.Uptime.prototype.getWindowLen = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.Uptime} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.Uptime.prototype.setWindowLen = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + +/** + * optional bytes bitvec = 3; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.component.stake.v1alpha1.Uptime.prototype.getBitvec = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * optional bytes bitvec = 3; + * This is a type-conversion wrapper around `getBitvec()` + * @return {string} + */ +proto.penumbra.core.component.stake.v1alpha1.Uptime.prototype.getBitvec_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getBitvec())); +}; + + +/** + * optional bytes bitvec = 3; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getBitvec()` + * @return {!Uint8Array} + */ +proto.penumbra.core.component.stake.v1alpha1.Uptime.prototype.getBitvec_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getBitvec())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.Uptime} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.Uptime.prototype.setBitvec = function(value) { + return jspb.Message.setProto3BytesField(this, 3, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.penumbra.core.component.stake.v1alpha1.CurrentConsensusKeys.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.stake.v1alpha1.CurrentConsensusKeys.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.stake.v1alpha1.CurrentConsensusKeys.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.stake.v1alpha1.CurrentConsensusKeys} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.CurrentConsensusKeys.toObject = function(includeInstance, msg) { + var f, obj = { + consensusKeysList: jspb.Message.toObjectList(msg.getConsensusKeysList(), + penumbra_core_keys_v1alpha1_keys_pb.ConsensusKey.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.stake.v1alpha1.CurrentConsensusKeys} + */ +proto.penumbra.core.component.stake.v1alpha1.CurrentConsensusKeys.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.stake.v1alpha1.CurrentConsensusKeys; + return proto.penumbra.core.component.stake.v1alpha1.CurrentConsensusKeys.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.stake.v1alpha1.CurrentConsensusKeys} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.stake.v1alpha1.CurrentConsensusKeys} + */ +proto.penumbra.core.component.stake.v1alpha1.CurrentConsensusKeys.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_keys_v1alpha1_keys_pb.ConsensusKey; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.ConsensusKey.deserializeBinaryFromReader); + msg.addConsensusKeys(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.stake.v1alpha1.CurrentConsensusKeys.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.stake.v1alpha1.CurrentConsensusKeys.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.stake.v1alpha1.CurrentConsensusKeys} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.CurrentConsensusKeys.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getConsensusKeysList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + penumbra_core_keys_v1alpha1_keys_pb.ConsensusKey.serializeBinaryToWriter + ); + } +}; + + +/** + * repeated penumbra.core.keys.v1alpha1.ConsensusKey consensus_keys = 1; + * @return {!Array} + */ +proto.penumbra.core.component.stake.v1alpha1.CurrentConsensusKeys.prototype.getConsensusKeysList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.ConsensusKey, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.CurrentConsensusKeys} returns this +*/ +proto.penumbra.core.component.stake.v1alpha1.CurrentConsensusKeys.prototype.setConsensusKeysList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.penumbra.core.keys.v1alpha1.ConsensusKey=} opt_value + * @param {number=} opt_index + * @return {!proto.penumbra.core.keys.v1alpha1.ConsensusKey} + */ +proto.penumbra.core.component.stake.v1alpha1.CurrentConsensusKeys.prototype.addConsensusKeys = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.penumbra.core.keys.v1alpha1.ConsensusKey, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.penumbra.core.component.stake.v1alpha1.CurrentConsensusKeys} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.CurrentConsensusKeys.prototype.clearConsensusKeysList = function() { + return this.setConsensusKeysList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.stake.v1alpha1.Penalty.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.stake.v1alpha1.Penalty.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.stake.v1alpha1.Penalty} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.Penalty.toObject = function(includeInstance, msg) { + var f, obj = { + inner: jspb.Message.getFieldWithDefault(msg, 1, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.stake.v1alpha1.Penalty} + */ +proto.penumbra.core.component.stake.v1alpha1.Penalty.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.stake.v1alpha1.Penalty; + return proto.penumbra.core.component.stake.v1alpha1.Penalty.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.stake.v1alpha1.Penalty} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.stake.v1alpha1.Penalty} + */ +proto.penumbra.core.component.stake.v1alpha1.Penalty.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setInner(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.stake.v1alpha1.Penalty.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.stake.v1alpha1.Penalty.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.stake.v1alpha1.Penalty} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.Penalty.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInner(); + if (f !== 0) { + writer.writeUint64( + 1, + f + ); + } +}; + + +/** + * optional uint64 inner = 1; + * @return {number} + */ +proto.penumbra.core.component.stake.v1alpha1.Penalty.prototype.getInner = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.Penalty} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.Penalty.prototype.setInner = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoRequest.toObject = function(includeInstance, msg) { + var f, obj = { + chainId: jspb.Message.getFieldWithDefault(msg, 1, ""), + showInactive: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoRequest} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoRequest; + return proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoRequest} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setChainId(value); + break; + case 2: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setShowInactive(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getChainId(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getShowInactive(); + if (f) { + writer.writeBool( + 2, + f + ); + } +}; + + +/** + * optional string chain_id = 1; + * @return {string} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoRequest.prototype.getChainId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoRequest} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoRequest.prototype.setChainId = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional bool show_inactive = 2; + * @return {boolean} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoRequest.prototype.getShowInactive = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoRequest} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoRequest.prototype.setShowInactive = function(value) { + return jspb.Message.setProto3BooleanField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoResponse.toObject = function(includeInstance, msg) { + var f, obj = { + validatorInfo: (f = msg.getValidatorInfo()) && proto.penumbra.core.component.stake.v1alpha1.ValidatorInfo.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoResponse} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoResponse; + return proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoResponse} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.stake.v1alpha1.ValidatorInfo; + reader.readMessage(value,proto.penumbra.core.component.stake.v1alpha1.ValidatorInfo.deserializeBinaryFromReader); + msg.setValidatorInfo(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getValidatorInfo(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.stake.v1alpha1.ValidatorInfo.serializeBinaryToWriter + ); + } +}; + + +/** + * optional ValidatorInfo validator_info = 1; + * @return {?proto.penumbra.core.component.stake.v1alpha1.ValidatorInfo} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoResponse.prototype.getValidatorInfo = function() { + return /** @type{?proto.penumbra.core.component.stake.v1alpha1.ValidatorInfo} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.stake.v1alpha1.ValidatorInfo, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.stake.v1alpha1.ValidatorInfo|undefined} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoResponse} returns this +*/ +proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoResponse.prototype.setValidatorInfo = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoResponse} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoResponse.prototype.clearValidatorInfo = function() { + return this.setValidatorInfo(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorInfoResponse.prototype.hasValidatorInfo = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusRequest.toObject = function(includeInstance, msg) { + var f, obj = { + chainId: jspb.Message.getFieldWithDefault(msg, 1, ""), + identityKey: (f = msg.getIdentityKey()) && penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusRequest} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusRequest; + return proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusRequest} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setChainId(value); + break; + case 2: + var value = new penumbra_core_keys_v1alpha1_keys_pb.IdentityKey; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.deserializeBinaryFromReader); + msg.setIdentityKey(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getChainId(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getIdentityKey(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string chain_id = 1; + * @return {string} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusRequest.prototype.getChainId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusRequest} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusRequest.prototype.setChainId = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional penumbra.core.keys.v1alpha1.IdentityKey identity_key = 2; + * @return {?proto.penumbra.core.keys.v1alpha1.IdentityKey} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusRequest.prototype.getIdentityKey = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.IdentityKey} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.IdentityKey, 2)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.IdentityKey|undefined} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusRequest} returns this +*/ +proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusRequest.prototype.setIdentityKey = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusRequest} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusRequest.prototype.clearIdentityKey = function() { + return this.setIdentityKey(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusRequest.prototype.hasIdentityKey = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusResponse.toObject = function(includeInstance, msg) { + var f, obj = { + status: (f = msg.getStatus()) && proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusResponse} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusResponse; + return proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusResponse} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus; + reader.readMessage(value,proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus.deserializeBinaryFromReader); + msg.setStatus(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getStatus(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus.serializeBinaryToWriter + ); + } +}; + + +/** + * optional ValidatorStatus status = 1; + * @return {?proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusResponse.prototype.getStatus = function() { + return /** @type{?proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.stake.v1alpha1.ValidatorStatus|undefined} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusResponse} returns this +*/ +proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusResponse.prototype.setStatus = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusResponse} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusResponse.prototype.clearStatus = function() { + return this.setStatus(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorStatusResponse.prototype.hasStatus = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyRequest.toObject = function(includeInstance, msg) { + var f, obj = { + chainId: jspb.Message.getFieldWithDefault(msg, 1, ""), + identityKey: (f = msg.getIdentityKey()) && penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.toObject(includeInstance, f), + startEpochIndex: jspb.Message.getFieldWithDefault(msg, 3, 0), + endEpochIndex: jspb.Message.getFieldWithDefault(msg, 4, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyRequest} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyRequest; + return proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyRequest} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setChainId(value); + break; + case 2: + var value = new penumbra_core_keys_v1alpha1_keys_pb.IdentityKey; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.deserializeBinaryFromReader); + msg.setIdentityKey(value); + break; + case 3: + var value = /** @type {number} */ (reader.readUint64()); + msg.setStartEpochIndex(value); + break; + case 4: + var value = /** @type {number} */ (reader.readUint64()); + msg.setEndEpochIndex(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getChainId(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getIdentityKey(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.serializeBinaryToWriter + ); + } + f = message.getStartEpochIndex(); + if (f !== 0) { + writer.writeUint64( + 3, + f + ); + } + f = message.getEndEpochIndex(); + if (f !== 0) { + writer.writeUint64( + 4, + f + ); + } +}; + + +/** + * optional string chain_id = 1; + * @return {string} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyRequest.prototype.getChainId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyRequest} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyRequest.prototype.setChainId = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional penumbra.core.keys.v1alpha1.IdentityKey identity_key = 2; + * @return {?proto.penumbra.core.keys.v1alpha1.IdentityKey} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyRequest.prototype.getIdentityKey = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.IdentityKey} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.IdentityKey, 2)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.IdentityKey|undefined} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyRequest} returns this +*/ +proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyRequest.prototype.setIdentityKey = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyRequest} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyRequest.prototype.clearIdentityKey = function() { + return this.setIdentityKey(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyRequest.prototype.hasIdentityKey = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional uint64 start_epoch_index = 3; + * @return {number} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyRequest.prototype.getStartEpochIndex = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyRequest} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyRequest.prototype.setStartEpochIndex = function(value) { + return jspb.Message.setProto3IntField(this, 3, value); +}; + + +/** + * optional uint64 end_epoch_index = 4; + * @return {number} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyRequest.prototype.getEndEpochIndex = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyRequest} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyRequest.prototype.setEndEpochIndex = function(value) { + return jspb.Message.setProto3IntField(this, 4, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyResponse.toObject = function(includeInstance, msg) { + var f, obj = { + penalty: (f = msg.getPenalty()) && proto.penumbra.core.component.stake.v1alpha1.Penalty.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyResponse} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyResponse; + return proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyResponse} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.stake.v1alpha1.Penalty; + reader.readMessage(value,proto.penumbra.core.component.stake.v1alpha1.Penalty.deserializeBinaryFromReader); + msg.setPenalty(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getPenalty(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.stake.v1alpha1.Penalty.serializeBinaryToWriter + ); + } +}; + + +/** + * optional Penalty penalty = 1; + * @return {?proto.penumbra.core.component.stake.v1alpha1.Penalty} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyResponse.prototype.getPenalty = function() { + return /** @type{?proto.penumbra.core.component.stake.v1alpha1.Penalty} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.stake.v1alpha1.Penalty, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.stake.v1alpha1.Penalty|undefined} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyResponse} returns this +*/ +proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyResponse.prototype.setPenalty = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyResponse} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyResponse.prototype.clearPenalty = function() { + return this.setPenalty(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.stake.v1alpha1.ValidatorPenaltyResponse.prototype.hasPenalty = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateRequest.toObject = function(includeInstance, msg) { + var f, obj = { + chainId: jspb.Message.getFieldWithDefault(msg, 1, ""), + identityKey: (f = msg.getIdentityKey()) && penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateRequest} + */ +proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateRequest; + return proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateRequest} + */ +proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setChainId(value); + break; + case 2: + var value = new penumbra_core_keys_v1alpha1_keys_pb.IdentityKey; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.deserializeBinaryFromReader); + msg.setIdentityKey(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getChainId(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getIdentityKey(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string chain_id = 1; + * @return {string} + */ +proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateRequest.prototype.getChainId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateRequest} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateRequest.prototype.setChainId = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional penumbra.core.keys.v1alpha1.IdentityKey identity_key = 2; + * @return {?proto.penumbra.core.keys.v1alpha1.IdentityKey} + */ +proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateRequest.prototype.getIdentityKey = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.IdentityKey} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.IdentityKey, 2)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.IdentityKey|undefined} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateRequest} returns this +*/ +proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateRequest.prototype.setIdentityKey = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateRequest} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateRequest.prototype.clearIdentityKey = function() { + return this.setIdentityKey(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateRequest.prototype.hasIdentityKey = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateResponse.toObject = function(includeInstance, msg) { + var f, obj = { + data: (f = msg.getData()) && proto.penumbra.core.component.stake.v1alpha1.RateData.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateResponse} + */ +proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateResponse; + return proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateResponse} + */ +proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.stake.v1alpha1.RateData; + reader.readMessage(value,proto.penumbra.core.component.stake.v1alpha1.RateData.deserializeBinaryFromReader); + msg.setData(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getData(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.stake.v1alpha1.RateData.serializeBinaryToWriter + ); + } +}; + + +/** + * optional RateData data = 1; + * @return {?proto.penumbra.core.component.stake.v1alpha1.RateData} + */ +proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateResponse.prototype.getData = function() { + return /** @type{?proto.penumbra.core.component.stake.v1alpha1.RateData} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.stake.v1alpha1.RateData, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.stake.v1alpha1.RateData|undefined} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateResponse} returns this +*/ +proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateResponse.prototype.setData = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateResponse} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateResponse.prototype.clearData = function() { + return this.setData(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.stake.v1alpha1.CurrentValidatorRateResponse.prototype.hasData = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateRequest.toObject = function(includeInstance, msg) { + var f, obj = { + chainId: jspb.Message.getFieldWithDefault(msg, 1, ""), + identityKey: (f = msg.getIdentityKey()) && penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateRequest} + */ +proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateRequest; + return proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateRequest} + */ +proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setChainId(value); + break; + case 2: + var value = new penumbra_core_keys_v1alpha1_keys_pb.IdentityKey; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.deserializeBinaryFromReader); + msg.setIdentityKey(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getChainId(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getIdentityKey(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string chain_id = 1; + * @return {string} + */ +proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateRequest.prototype.getChainId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateRequest} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateRequest.prototype.setChainId = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional penumbra.core.keys.v1alpha1.IdentityKey identity_key = 2; + * @return {?proto.penumbra.core.keys.v1alpha1.IdentityKey} + */ +proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateRequest.prototype.getIdentityKey = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.IdentityKey} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.IdentityKey, 2)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.IdentityKey|undefined} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateRequest} returns this +*/ +proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateRequest.prototype.setIdentityKey = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateRequest} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateRequest.prototype.clearIdentityKey = function() { + return this.setIdentityKey(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateRequest.prototype.hasIdentityKey = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateResponse.toObject = function(includeInstance, msg) { + var f, obj = { + data: (f = msg.getData()) && proto.penumbra.core.component.stake.v1alpha1.RateData.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateResponse} + */ +proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateResponse; + return proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateResponse} + */ +proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.stake.v1alpha1.RateData; + reader.readMessage(value,proto.penumbra.core.component.stake.v1alpha1.RateData.deserializeBinaryFromReader); + msg.setData(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getData(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.stake.v1alpha1.RateData.serializeBinaryToWriter + ); + } +}; + + +/** + * optional RateData data = 1; + * @return {?proto.penumbra.core.component.stake.v1alpha1.RateData} + */ +proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateResponse.prototype.getData = function() { + return /** @type{?proto.penumbra.core.component.stake.v1alpha1.RateData} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.stake.v1alpha1.RateData, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.stake.v1alpha1.RateData|undefined} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateResponse} returns this +*/ +proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateResponse.prototype.setData = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateResponse} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateResponse.prototype.clearData = function() { + return this.setData(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.stake.v1alpha1.NextValidatorRateResponse.prototype.hasData = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.stake.v1alpha1.StakeParameters.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.stake.v1alpha1.StakeParameters.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.stake.v1alpha1.StakeParameters} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.StakeParameters.toObject = function(includeInstance, msg) { + var f, obj = { + unbondingEpochs: jspb.Message.getFieldWithDefault(msg, 1, 0), + activeValidatorLimit: jspb.Message.getFieldWithDefault(msg, 2, 0), + baseRewardRate: jspb.Message.getFieldWithDefault(msg, 3, 0), + slashingPenaltyMisbehavior: jspb.Message.getFieldWithDefault(msg, 4, 0), + slashingPenaltyDowntime: jspb.Message.getFieldWithDefault(msg, 5, 0), + signedBlocksWindowLen: jspb.Message.getFieldWithDefault(msg, 6, 0), + missedBlocksMaximum: jspb.Message.getFieldWithDefault(msg, 7, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.stake.v1alpha1.StakeParameters} + */ +proto.penumbra.core.component.stake.v1alpha1.StakeParameters.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.stake.v1alpha1.StakeParameters; + return proto.penumbra.core.component.stake.v1alpha1.StakeParameters.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.stake.v1alpha1.StakeParameters} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.stake.v1alpha1.StakeParameters} + */ +proto.penumbra.core.component.stake.v1alpha1.StakeParameters.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setUnbondingEpochs(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint64()); + msg.setActiveValidatorLimit(value); + break; + case 3: + var value = /** @type {number} */ (reader.readUint64()); + msg.setBaseRewardRate(value); + break; + case 4: + var value = /** @type {number} */ (reader.readUint64()); + msg.setSlashingPenaltyMisbehavior(value); + break; + case 5: + var value = /** @type {number} */ (reader.readUint64()); + msg.setSlashingPenaltyDowntime(value); + break; + case 6: + var value = /** @type {number} */ (reader.readUint64()); + msg.setSignedBlocksWindowLen(value); + break; + case 7: + var value = /** @type {number} */ (reader.readUint64()); + msg.setMissedBlocksMaximum(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.stake.v1alpha1.StakeParameters.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.stake.v1alpha1.StakeParameters.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.stake.v1alpha1.StakeParameters} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.StakeParameters.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getUnbondingEpochs(); + if (f !== 0) { + writer.writeUint64( + 1, + f + ); + } + f = message.getActiveValidatorLimit(); + if (f !== 0) { + writer.writeUint64( + 2, + f + ); + } + f = message.getBaseRewardRate(); + if (f !== 0) { + writer.writeUint64( + 3, + f + ); + } + f = message.getSlashingPenaltyMisbehavior(); + if (f !== 0) { + writer.writeUint64( + 4, + f + ); + } + f = message.getSlashingPenaltyDowntime(); + if (f !== 0) { + writer.writeUint64( + 5, + f + ); + } + f = message.getSignedBlocksWindowLen(); + if (f !== 0) { + writer.writeUint64( + 6, + f + ); + } + f = message.getMissedBlocksMaximum(); + if (f !== 0) { + writer.writeUint64( + 7, + f + ); + } +}; + + +/** + * optional uint64 unbonding_epochs = 1; + * @return {number} + */ +proto.penumbra.core.component.stake.v1alpha1.StakeParameters.prototype.getUnbondingEpochs = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.StakeParameters} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.StakeParameters.prototype.setUnbondingEpochs = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional uint64 active_validator_limit = 2; + * @return {number} + */ +proto.penumbra.core.component.stake.v1alpha1.StakeParameters.prototype.getActiveValidatorLimit = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.StakeParameters} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.StakeParameters.prototype.setActiveValidatorLimit = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + +/** + * optional uint64 base_reward_rate = 3; + * @return {number} + */ +proto.penumbra.core.component.stake.v1alpha1.StakeParameters.prototype.getBaseRewardRate = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.StakeParameters} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.StakeParameters.prototype.setBaseRewardRate = function(value) { + return jspb.Message.setProto3IntField(this, 3, value); +}; + + +/** + * optional uint64 slashing_penalty_misbehavior = 4; + * @return {number} + */ +proto.penumbra.core.component.stake.v1alpha1.StakeParameters.prototype.getSlashingPenaltyMisbehavior = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.StakeParameters} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.StakeParameters.prototype.setSlashingPenaltyMisbehavior = function(value) { + return jspb.Message.setProto3IntField(this, 4, value); +}; + + +/** + * optional uint64 slashing_penalty_downtime = 5; + * @return {number} + */ +proto.penumbra.core.component.stake.v1alpha1.StakeParameters.prototype.getSlashingPenaltyDowntime = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.StakeParameters} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.StakeParameters.prototype.setSlashingPenaltyDowntime = function(value) { + return jspb.Message.setProto3IntField(this, 5, value); +}; + + +/** + * optional uint64 signed_blocks_window_len = 6; + * @return {number} + */ +proto.penumbra.core.component.stake.v1alpha1.StakeParameters.prototype.getSignedBlocksWindowLen = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.StakeParameters} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.StakeParameters.prototype.setSignedBlocksWindowLen = function(value) { + return jspb.Message.setProto3IntField(this, 6, value); +}; + + +/** + * optional uint64 missed_blocks_maximum = 7; + * @return {number} + */ +proto.penumbra.core.component.stake.v1alpha1.StakeParameters.prototype.getMissedBlocksMaximum = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.StakeParameters} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.StakeParameters.prototype.setMissedBlocksMaximum = function(value) { + return jspb.Message.setProto3IntField(this, 7, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.penumbra.core.component.stake.v1alpha1.GenesisContent.repeatedFields_ = [2]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.component.stake.v1alpha1.GenesisContent.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.component.stake.v1alpha1.GenesisContent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.component.stake.v1alpha1.GenesisContent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.GenesisContent.toObject = function(includeInstance, msg) { + var f, obj = { + stakeParams: (f = msg.getStakeParams()) && proto.penumbra.core.component.stake.v1alpha1.StakeParameters.toObject(includeInstance, f), + validatorsList: jspb.Message.toObjectList(msg.getValidatorsList(), + proto.penumbra.core.component.stake.v1alpha1.Validator.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.component.stake.v1alpha1.GenesisContent} + */ +proto.penumbra.core.component.stake.v1alpha1.GenesisContent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.component.stake.v1alpha1.GenesisContent; + return proto.penumbra.core.component.stake.v1alpha1.GenesisContent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.component.stake.v1alpha1.GenesisContent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.component.stake.v1alpha1.GenesisContent} + */ +proto.penumbra.core.component.stake.v1alpha1.GenesisContent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.component.stake.v1alpha1.StakeParameters; + reader.readMessage(value,proto.penumbra.core.component.stake.v1alpha1.StakeParameters.deserializeBinaryFromReader); + msg.setStakeParams(value); + break; + case 2: + var value = new proto.penumbra.core.component.stake.v1alpha1.Validator; + reader.readMessage(value,proto.penumbra.core.component.stake.v1alpha1.Validator.deserializeBinaryFromReader); + msg.addValidators(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.component.stake.v1alpha1.GenesisContent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.component.stake.v1alpha1.GenesisContent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.component.stake.v1alpha1.GenesisContent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.component.stake.v1alpha1.GenesisContent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getStakeParams(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.component.stake.v1alpha1.StakeParameters.serializeBinaryToWriter + ); + } + f = message.getValidatorsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 2, + f, + proto.penumbra.core.component.stake.v1alpha1.Validator.serializeBinaryToWriter + ); + } +}; + + +/** + * optional StakeParameters stake_params = 1; + * @return {?proto.penumbra.core.component.stake.v1alpha1.StakeParameters} + */ +proto.penumbra.core.component.stake.v1alpha1.GenesisContent.prototype.getStakeParams = function() { + return /** @type{?proto.penumbra.core.component.stake.v1alpha1.StakeParameters} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.component.stake.v1alpha1.StakeParameters, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.stake.v1alpha1.StakeParameters|undefined} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.GenesisContent} returns this +*/ +proto.penumbra.core.component.stake.v1alpha1.GenesisContent.prototype.setStakeParams = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.component.stake.v1alpha1.GenesisContent} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.GenesisContent.prototype.clearStakeParams = function() { + return this.setStakeParams(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.component.stake.v1alpha1.GenesisContent.prototype.hasStakeParams = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * repeated Validator validators = 2; + * @return {!Array} + */ +proto.penumbra.core.component.stake.v1alpha1.GenesisContent.prototype.getValidatorsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.penumbra.core.component.stake.v1alpha1.Validator, 2)); +}; + + +/** + * @param {!Array} value + * @return {!proto.penumbra.core.component.stake.v1alpha1.GenesisContent} returns this +*/ +proto.penumbra.core.component.stake.v1alpha1.GenesisContent.prototype.setValidatorsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 2, value); +}; + + +/** + * @param {!proto.penumbra.core.component.stake.v1alpha1.Validator=} opt_value + * @param {number=} opt_index + * @return {!proto.penumbra.core.component.stake.v1alpha1.Validator} + */ +proto.penumbra.core.component.stake.v1alpha1.GenesisContent.prototype.addValidators = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.penumbra.core.component.stake.v1alpha1.Validator, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.penumbra.core.component.stake.v1alpha1.GenesisContent} returns this + */ +proto.penumbra.core.component.stake.v1alpha1.GenesisContent.prototype.clearValidatorsList = function() { + return this.setValidatorsList([]); +}; + + +goog.object.extend(exports, proto.penumbra.core.component.stake.v1alpha1); diff --git a/src/chains/penumbra/generated/penumbra/core/keys/v1alpha1/keys_grpc_pb.js b/src/chains/penumbra/generated/penumbra/core/keys/v1alpha1/keys_grpc_pb.js new file mode 100644 index 0000000000..97b3a2461d --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/keys/v1alpha1/keys_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/src/chains/penumbra/generated/penumbra/core/keys/v1alpha1/keys_pb.d.ts b/src/chains/penumbra/generated/penumbra/core/keys/v1alpha1/keys_pb.d.ts new file mode 100644 index 0000000000..c57a4bba67 --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/keys/v1alpha1/keys_pb.d.ts @@ -0,0 +1,353 @@ +// package: penumbra.core.keys.v1alpha1 +// file: penumbra/core/keys/v1alpha1/keys.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; + +export class Address extends jspb.Message { + getInner(): Uint8Array | string; + getInner_asU8(): Uint8Array; + getInner_asB64(): string; + setInner(value: Uint8Array | string): Address; + getAltBech32m(): string; + setAltBech32m(value: string): Address; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Address.AsObject; + static toObject(includeInstance: boolean, msg: Address): Address.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Address, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Address; + static deserializeBinaryFromReader(message: Address, reader: jspb.BinaryReader): Address; +} + +export namespace Address { + export type AsObject = { + inner: Uint8Array | string, + altBech32m: string, + } +} + +export class AddressView extends jspb.Message { + + hasVisible(): boolean; + clearVisible(): void; + getVisible(): AddressView.Visible | undefined; + setVisible(value?: AddressView.Visible): AddressView; + + hasOpaque(): boolean; + clearOpaque(): void; + getOpaque(): AddressView.Opaque | undefined; + setOpaque(value?: AddressView.Opaque): AddressView; + + getAddressViewCase(): AddressView.AddressViewCase; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): AddressView.AsObject; + static toObject(includeInstance: boolean, msg: AddressView): AddressView.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: AddressView, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): AddressView; + static deserializeBinaryFromReader(message: AddressView, reader: jspb.BinaryReader): AddressView; +} + +export namespace AddressView { + export type AsObject = { + visible?: AddressView.Visible.AsObject, + opaque?: AddressView.Opaque.AsObject, + } + + + export class Visible extends jspb.Message { + + hasAddress(): boolean; + clearAddress(): void; + getAddress(): Address | undefined; + setAddress(value?: Address): Visible; + + hasIndex(): boolean; + clearIndex(): void; + getIndex(): AddressIndex | undefined; + setIndex(value?: AddressIndex): Visible; + + hasWalletId(): boolean; + clearWalletId(): void; + getWalletId(): WalletId | undefined; + setWalletId(value?: WalletId): Visible; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Visible.AsObject; + static toObject(includeInstance: boolean, msg: Visible): Visible.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Visible, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Visible; + static deserializeBinaryFromReader(message: Visible, reader: jspb.BinaryReader): Visible; + } + + export namespace Visible { + export type AsObject = { + address?: Address.AsObject, + index?: AddressIndex.AsObject, + walletId?: WalletId.AsObject, + } + } + + export class Opaque extends jspb.Message { + + hasAddress(): boolean; + clearAddress(): void; + getAddress(): Address | undefined; + setAddress(value?: Address): Opaque; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Opaque.AsObject; + static toObject(includeInstance: boolean, msg: Opaque): Opaque.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Opaque, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Opaque; + static deserializeBinaryFromReader(message: Opaque, reader: jspb.BinaryReader): Opaque; + } + + export namespace Opaque { + export type AsObject = { + address?: Address.AsObject, + } + } + + + export enum AddressViewCase { + ADDRESS_VIEW_NOT_SET = 0, + VISIBLE = 1, + OPAQUE = 2, + } + +} + +export class PayloadKey extends jspb.Message { + getInner(): Uint8Array | string; + getInner_asU8(): Uint8Array; + getInner_asB64(): string; + setInner(value: Uint8Array | string): PayloadKey; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): PayloadKey.AsObject; + static toObject(includeInstance: boolean, msg: PayloadKey): PayloadKey.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: PayloadKey, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): PayloadKey; + static deserializeBinaryFromReader(message: PayloadKey, reader: jspb.BinaryReader): PayloadKey; +} + +export namespace PayloadKey { + export type AsObject = { + inner: Uint8Array | string, + } +} + +export class SpendKey extends jspb.Message { + getInner(): Uint8Array | string; + getInner_asU8(): Uint8Array; + getInner_asB64(): string; + setInner(value: Uint8Array | string): SpendKey; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SpendKey.AsObject; + static toObject(includeInstance: boolean, msg: SpendKey): SpendKey.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SpendKey, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SpendKey; + static deserializeBinaryFromReader(message: SpendKey, reader: jspb.BinaryReader): SpendKey; +} + +export namespace SpendKey { + export type AsObject = { + inner: Uint8Array | string, + } +} + +export class SpendVerificationKey extends jspb.Message { + getInner(): Uint8Array | string; + getInner_asU8(): Uint8Array; + getInner_asB64(): string; + setInner(value: Uint8Array | string): SpendVerificationKey; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SpendVerificationKey.AsObject; + static toObject(includeInstance: boolean, msg: SpendVerificationKey): SpendVerificationKey.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SpendVerificationKey, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SpendVerificationKey; + static deserializeBinaryFromReader(message: SpendVerificationKey, reader: jspb.BinaryReader): SpendVerificationKey; +} + +export namespace SpendVerificationKey { + export type AsObject = { + inner: Uint8Array | string, + } +} + +export class FullViewingKey extends jspb.Message { + getInner(): Uint8Array | string; + getInner_asU8(): Uint8Array; + getInner_asB64(): string; + setInner(value: Uint8Array | string): FullViewingKey; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): FullViewingKey.AsObject; + static toObject(includeInstance: boolean, msg: FullViewingKey): FullViewingKey.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: FullViewingKey, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): FullViewingKey; + static deserializeBinaryFromReader(message: FullViewingKey, reader: jspb.BinaryReader): FullViewingKey; +} + +export namespace FullViewingKey { + export type AsObject = { + inner: Uint8Array | string, + } +} + +export class WalletId extends jspb.Message { + getInner(): Uint8Array | string; + getInner_asU8(): Uint8Array; + getInner_asB64(): string; + setInner(value: Uint8Array | string): WalletId; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): WalletId.AsObject; + static toObject(includeInstance: boolean, msg: WalletId): WalletId.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: WalletId, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): WalletId; + static deserializeBinaryFromReader(message: WalletId, reader: jspb.BinaryReader): WalletId; +} + +export namespace WalletId { + export type AsObject = { + inner: Uint8Array | string, + } +} + +export class Diversifier extends jspb.Message { + getInner(): Uint8Array | string; + getInner_asU8(): Uint8Array; + getInner_asB64(): string; + setInner(value: Uint8Array | string): Diversifier; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Diversifier.AsObject; + static toObject(includeInstance: boolean, msg: Diversifier): Diversifier.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Diversifier, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Diversifier; + static deserializeBinaryFromReader(message: Diversifier, reader: jspb.BinaryReader): Diversifier; +} + +export namespace Diversifier { + export type AsObject = { + inner: Uint8Array | string, + } +} + +export class AddressIndex extends jspb.Message { + getAccount(): number; + setAccount(value: number): AddressIndex; + getRandomizer(): Uint8Array | string; + getRandomizer_asU8(): Uint8Array; + getRandomizer_asB64(): string; + setRandomizer(value: Uint8Array | string): AddressIndex; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): AddressIndex.AsObject; + static toObject(includeInstance: boolean, msg: AddressIndex): AddressIndex.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: AddressIndex, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): AddressIndex; + static deserializeBinaryFromReader(message: AddressIndex, reader: jspb.BinaryReader): AddressIndex; +} + +export namespace AddressIndex { + export type AsObject = { + account: number, + randomizer: Uint8Array | string, + } +} + +export class IdentityKey extends jspb.Message { + getIk(): Uint8Array | string; + getIk_asU8(): Uint8Array; + getIk_asB64(): string; + setIk(value: Uint8Array | string): IdentityKey; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): IdentityKey.AsObject; + static toObject(includeInstance: boolean, msg: IdentityKey): IdentityKey.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: IdentityKey, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): IdentityKey; + static deserializeBinaryFromReader(message: IdentityKey, reader: jspb.BinaryReader): IdentityKey; +} + +export namespace IdentityKey { + export type AsObject = { + ik: Uint8Array | string, + } +} + +export class GovernanceKey extends jspb.Message { + getGk(): Uint8Array | string; + getGk_asU8(): Uint8Array; + getGk_asB64(): string; + setGk(value: Uint8Array | string): GovernanceKey; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GovernanceKey.AsObject; + static toObject(includeInstance: boolean, msg: GovernanceKey): GovernanceKey.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: GovernanceKey, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GovernanceKey; + static deserializeBinaryFromReader(message: GovernanceKey, reader: jspb.BinaryReader): GovernanceKey; +} + +export namespace GovernanceKey { + export type AsObject = { + gk: Uint8Array | string, + } +} + +export class ConsensusKey extends jspb.Message { + getInner(): Uint8Array | string; + getInner_asU8(): Uint8Array; + getInner_asB64(): string; + setInner(value: Uint8Array | string): ConsensusKey; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ConsensusKey.AsObject; + static toObject(includeInstance: boolean, msg: ConsensusKey): ConsensusKey.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ConsensusKey, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ConsensusKey; + static deserializeBinaryFromReader(message: ConsensusKey, reader: jspb.BinaryReader): ConsensusKey; +} + +export namespace ConsensusKey { + export type AsObject = { + inner: Uint8Array | string, + } +} diff --git a/src/chains/penumbra/generated/penumbra/core/keys/v1alpha1/keys_pb.js b/src/chains/penumbra/generated/penumbra/core/keys/v1alpha1/keys_pb.js new file mode 100644 index 0000000000..0c803e192d --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/keys/v1alpha1/keys_pb.js @@ -0,0 +1,2719 @@ +// source: penumbra/core/keys/v1alpha1/keys.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = (function() { + if (this) { return this; } + if (typeof window !== 'undefined') { return window; } + if (typeof global !== 'undefined') { return global; } + if (typeof self !== 'undefined') { return self; } + return Function('return this')(); +}.call(null)); + +goog.exportSymbol('proto.penumbra.core.keys.v1alpha1.Address', null, global); +goog.exportSymbol('proto.penumbra.core.keys.v1alpha1.AddressIndex', null, global); +goog.exportSymbol('proto.penumbra.core.keys.v1alpha1.AddressView', null, global); +goog.exportSymbol('proto.penumbra.core.keys.v1alpha1.AddressView.AddressViewCase', null, global); +goog.exportSymbol('proto.penumbra.core.keys.v1alpha1.AddressView.Opaque', null, global); +goog.exportSymbol('proto.penumbra.core.keys.v1alpha1.AddressView.Visible', null, global); +goog.exportSymbol('proto.penumbra.core.keys.v1alpha1.ConsensusKey', null, global); +goog.exportSymbol('proto.penumbra.core.keys.v1alpha1.Diversifier', null, global); +goog.exportSymbol('proto.penumbra.core.keys.v1alpha1.FullViewingKey', null, global); +goog.exportSymbol('proto.penumbra.core.keys.v1alpha1.GovernanceKey', null, global); +goog.exportSymbol('proto.penumbra.core.keys.v1alpha1.IdentityKey', null, global); +goog.exportSymbol('proto.penumbra.core.keys.v1alpha1.PayloadKey', null, global); +goog.exportSymbol('proto.penumbra.core.keys.v1alpha1.SpendKey', null, global); +goog.exportSymbol('proto.penumbra.core.keys.v1alpha1.SpendVerificationKey', null, global); +goog.exportSymbol('proto.penumbra.core.keys.v1alpha1.WalletId', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.keys.v1alpha1.Address = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.keys.v1alpha1.Address, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.keys.v1alpha1.Address.displayName = 'proto.penumbra.core.keys.v1alpha1.Address'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.keys.v1alpha1.AddressView = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.penumbra.core.keys.v1alpha1.AddressView.oneofGroups_); +}; +goog.inherits(proto.penumbra.core.keys.v1alpha1.AddressView, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.keys.v1alpha1.AddressView.displayName = 'proto.penumbra.core.keys.v1alpha1.AddressView'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.keys.v1alpha1.AddressView.Visible = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.keys.v1alpha1.AddressView.Visible, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.keys.v1alpha1.AddressView.Visible.displayName = 'proto.penumbra.core.keys.v1alpha1.AddressView.Visible'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.keys.v1alpha1.AddressView.Opaque = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.keys.v1alpha1.AddressView.Opaque, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.keys.v1alpha1.AddressView.Opaque.displayName = 'proto.penumbra.core.keys.v1alpha1.AddressView.Opaque'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.keys.v1alpha1.PayloadKey = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.keys.v1alpha1.PayloadKey, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.keys.v1alpha1.PayloadKey.displayName = 'proto.penumbra.core.keys.v1alpha1.PayloadKey'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.keys.v1alpha1.SpendKey = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.keys.v1alpha1.SpendKey, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.keys.v1alpha1.SpendKey.displayName = 'proto.penumbra.core.keys.v1alpha1.SpendKey'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.keys.v1alpha1.SpendVerificationKey = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.keys.v1alpha1.SpendVerificationKey, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.keys.v1alpha1.SpendVerificationKey.displayName = 'proto.penumbra.core.keys.v1alpha1.SpendVerificationKey'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.keys.v1alpha1.FullViewingKey = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.keys.v1alpha1.FullViewingKey, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.keys.v1alpha1.FullViewingKey.displayName = 'proto.penumbra.core.keys.v1alpha1.FullViewingKey'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.keys.v1alpha1.WalletId = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.keys.v1alpha1.WalletId, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.keys.v1alpha1.WalletId.displayName = 'proto.penumbra.core.keys.v1alpha1.WalletId'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.keys.v1alpha1.Diversifier = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.keys.v1alpha1.Diversifier, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.keys.v1alpha1.Diversifier.displayName = 'proto.penumbra.core.keys.v1alpha1.Diversifier'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.keys.v1alpha1.AddressIndex = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.keys.v1alpha1.AddressIndex, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.keys.v1alpha1.AddressIndex.displayName = 'proto.penumbra.core.keys.v1alpha1.AddressIndex'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.keys.v1alpha1.IdentityKey = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.keys.v1alpha1.IdentityKey, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.keys.v1alpha1.IdentityKey.displayName = 'proto.penumbra.core.keys.v1alpha1.IdentityKey'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.keys.v1alpha1.GovernanceKey = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.keys.v1alpha1.GovernanceKey, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.keys.v1alpha1.GovernanceKey.displayName = 'proto.penumbra.core.keys.v1alpha1.GovernanceKey'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.keys.v1alpha1.ConsensusKey = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.keys.v1alpha1.ConsensusKey, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.keys.v1alpha1.ConsensusKey.displayName = 'proto.penumbra.core.keys.v1alpha1.ConsensusKey'; +} + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.keys.v1alpha1.Address.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.keys.v1alpha1.Address.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.keys.v1alpha1.Address} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.keys.v1alpha1.Address.toObject = function(includeInstance, msg) { + var f, obj = { + inner: msg.getInner_asB64(), + altBech32m: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.keys.v1alpha1.Address} + */ +proto.penumbra.core.keys.v1alpha1.Address.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.keys.v1alpha1.Address; + return proto.penumbra.core.keys.v1alpha1.Address.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.keys.v1alpha1.Address} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.keys.v1alpha1.Address} + */ +proto.penumbra.core.keys.v1alpha1.Address.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setInner(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setAltBech32m(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.keys.v1alpha1.Address.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.keys.v1alpha1.Address.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.keys.v1alpha1.Address} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.keys.v1alpha1.Address.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInner_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } + f = message.getAltBech32m(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional bytes inner = 1; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.keys.v1alpha1.Address.prototype.getInner = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes inner = 1; + * This is a type-conversion wrapper around `getInner()` + * @return {string} + */ +proto.penumbra.core.keys.v1alpha1.Address.prototype.getInner_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getInner())); +}; + + +/** + * optional bytes inner = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getInner()` + * @return {!Uint8Array} + */ +proto.penumbra.core.keys.v1alpha1.Address.prototype.getInner_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getInner())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.keys.v1alpha1.Address} returns this + */ +proto.penumbra.core.keys.v1alpha1.Address.prototype.setInner = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + +/** + * optional string alt_bech32m = 2; + * @return {string} + */ +proto.penumbra.core.keys.v1alpha1.Address.prototype.getAltBech32m = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.keys.v1alpha1.Address} returns this + */ +proto.penumbra.core.keys.v1alpha1.Address.prototype.setAltBech32m = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.penumbra.core.keys.v1alpha1.AddressView.oneofGroups_ = [[1,2]]; + +/** + * @enum {number} + */ +proto.penumbra.core.keys.v1alpha1.AddressView.AddressViewCase = { + ADDRESS_VIEW_NOT_SET: 0, + VISIBLE: 1, + OPAQUE: 2 +}; + +/** + * @return {proto.penumbra.core.keys.v1alpha1.AddressView.AddressViewCase} + */ +proto.penumbra.core.keys.v1alpha1.AddressView.prototype.getAddressViewCase = function() { + return /** @type {proto.penumbra.core.keys.v1alpha1.AddressView.AddressViewCase} */(jspb.Message.computeOneofCase(this, proto.penumbra.core.keys.v1alpha1.AddressView.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.keys.v1alpha1.AddressView.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.keys.v1alpha1.AddressView.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.keys.v1alpha1.AddressView} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.keys.v1alpha1.AddressView.toObject = function(includeInstance, msg) { + var f, obj = { + visible: (f = msg.getVisible()) && proto.penumbra.core.keys.v1alpha1.AddressView.Visible.toObject(includeInstance, f), + opaque: (f = msg.getOpaque()) && proto.penumbra.core.keys.v1alpha1.AddressView.Opaque.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.keys.v1alpha1.AddressView} + */ +proto.penumbra.core.keys.v1alpha1.AddressView.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.keys.v1alpha1.AddressView; + return proto.penumbra.core.keys.v1alpha1.AddressView.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.keys.v1alpha1.AddressView} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.keys.v1alpha1.AddressView} + */ +proto.penumbra.core.keys.v1alpha1.AddressView.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.keys.v1alpha1.AddressView.Visible; + reader.readMessage(value,proto.penumbra.core.keys.v1alpha1.AddressView.Visible.deserializeBinaryFromReader); + msg.setVisible(value); + break; + case 2: + var value = new proto.penumbra.core.keys.v1alpha1.AddressView.Opaque; + reader.readMessage(value,proto.penumbra.core.keys.v1alpha1.AddressView.Opaque.deserializeBinaryFromReader); + msg.setOpaque(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.keys.v1alpha1.AddressView.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.keys.v1alpha1.AddressView.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.keys.v1alpha1.AddressView} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.keys.v1alpha1.AddressView.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getVisible(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.keys.v1alpha1.AddressView.Visible.serializeBinaryToWriter + ); + } + f = message.getOpaque(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.penumbra.core.keys.v1alpha1.AddressView.Opaque.serializeBinaryToWriter + ); + } +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.keys.v1alpha1.AddressView.Visible.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.keys.v1alpha1.AddressView.Visible.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.keys.v1alpha1.AddressView.Visible} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.keys.v1alpha1.AddressView.Visible.toObject = function(includeInstance, msg) { + var f, obj = { + address: (f = msg.getAddress()) && proto.penumbra.core.keys.v1alpha1.Address.toObject(includeInstance, f), + index: (f = msg.getIndex()) && proto.penumbra.core.keys.v1alpha1.AddressIndex.toObject(includeInstance, f), + walletId: (f = msg.getWalletId()) && proto.penumbra.core.keys.v1alpha1.WalletId.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.keys.v1alpha1.AddressView.Visible} + */ +proto.penumbra.core.keys.v1alpha1.AddressView.Visible.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.keys.v1alpha1.AddressView.Visible; + return proto.penumbra.core.keys.v1alpha1.AddressView.Visible.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.keys.v1alpha1.AddressView.Visible} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.keys.v1alpha1.AddressView.Visible} + */ +proto.penumbra.core.keys.v1alpha1.AddressView.Visible.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.keys.v1alpha1.Address; + reader.readMessage(value,proto.penumbra.core.keys.v1alpha1.Address.deserializeBinaryFromReader); + msg.setAddress(value); + break; + case 2: + var value = new proto.penumbra.core.keys.v1alpha1.AddressIndex; + reader.readMessage(value,proto.penumbra.core.keys.v1alpha1.AddressIndex.deserializeBinaryFromReader); + msg.setIndex(value); + break; + case 3: + var value = new proto.penumbra.core.keys.v1alpha1.WalletId; + reader.readMessage(value,proto.penumbra.core.keys.v1alpha1.WalletId.deserializeBinaryFromReader); + msg.setWalletId(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.keys.v1alpha1.AddressView.Visible.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.keys.v1alpha1.AddressView.Visible.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.keys.v1alpha1.AddressView.Visible} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.keys.v1alpha1.AddressView.Visible.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getAddress(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.keys.v1alpha1.Address.serializeBinaryToWriter + ); + } + f = message.getIndex(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.penumbra.core.keys.v1alpha1.AddressIndex.serializeBinaryToWriter + ); + } + f = message.getWalletId(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.penumbra.core.keys.v1alpha1.WalletId.serializeBinaryToWriter + ); + } +}; + + +/** + * optional Address address = 1; + * @return {?proto.penumbra.core.keys.v1alpha1.Address} + */ +proto.penumbra.core.keys.v1alpha1.AddressView.Visible.prototype.getAddress = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.Address} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.keys.v1alpha1.Address, 1)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.Address|undefined} value + * @return {!proto.penumbra.core.keys.v1alpha1.AddressView.Visible} returns this +*/ +proto.penumbra.core.keys.v1alpha1.AddressView.Visible.prototype.setAddress = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.keys.v1alpha1.AddressView.Visible} returns this + */ +proto.penumbra.core.keys.v1alpha1.AddressView.Visible.prototype.clearAddress = function() { + return this.setAddress(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.keys.v1alpha1.AddressView.Visible.prototype.hasAddress = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional AddressIndex index = 2; + * @return {?proto.penumbra.core.keys.v1alpha1.AddressIndex} + */ +proto.penumbra.core.keys.v1alpha1.AddressView.Visible.prototype.getIndex = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.AddressIndex} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.keys.v1alpha1.AddressIndex, 2)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.AddressIndex|undefined} value + * @return {!proto.penumbra.core.keys.v1alpha1.AddressView.Visible} returns this +*/ +proto.penumbra.core.keys.v1alpha1.AddressView.Visible.prototype.setIndex = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.keys.v1alpha1.AddressView.Visible} returns this + */ +proto.penumbra.core.keys.v1alpha1.AddressView.Visible.prototype.clearIndex = function() { + return this.setIndex(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.keys.v1alpha1.AddressView.Visible.prototype.hasIndex = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional WalletId wallet_id = 3; + * @return {?proto.penumbra.core.keys.v1alpha1.WalletId} + */ +proto.penumbra.core.keys.v1alpha1.AddressView.Visible.prototype.getWalletId = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.WalletId} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.keys.v1alpha1.WalletId, 3)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.WalletId|undefined} value + * @return {!proto.penumbra.core.keys.v1alpha1.AddressView.Visible} returns this +*/ +proto.penumbra.core.keys.v1alpha1.AddressView.Visible.prototype.setWalletId = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.keys.v1alpha1.AddressView.Visible} returns this + */ +proto.penumbra.core.keys.v1alpha1.AddressView.Visible.prototype.clearWalletId = function() { + return this.setWalletId(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.keys.v1alpha1.AddressView.Visible.prototype.hasWalletId = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.keys.v1alpha1.AddressView.Opaque.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.keys.v1alpha1.AddressView.Opaque.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.keys.v1alpha1.AddressView.Opaque} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.keys.v1alpha1.AddressView.Opaque.toObject = function(includeInstance, msg) { + var f, obj = { + address: (f = msg.getAddress()) && proto.penumbra.core.keys.v1alpha1.Address.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.keys.v1alpha1.AddressView.Opaque} + */ +proto.penumbra.core.keys.v1alpha1.AddressView.Opaque.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.keys.v1alpha1.AddressView.Opaque; + return proto.penumbra.core.keys.v1alpha1.AddressView.Opaque.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.keys.v1alpha1.AddressView.Opaque} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.keys.v1alpha1.AddressView.Opaque} + */ +proto.penumbra.core.keys.v1alpha1.AddressView.Opaque.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.keys.v1alpha1.Address; + reader.readMessage(value,proto.penumbra.core.keys.v1alpha1.Address.deserializeBinaryFromReader); + msg.setAddress(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.keys.v1alpha1.AddressView.Opaque.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.keys.v1alpha1.AddressView.Opaque.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.keys.v1alpha1.AddressView.Opaque} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.keys.v1alpha1.AddressView.Opaque.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getAddress(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.keys.v1alpha1.Address.serializeBinaryToWriter + ); + } +}; + + +/** + * optional Address address = 1; + * @return {?proto.penumbra.core.keys.v1alpha1.Address} + */ +proto.penumbra.core.keys.v1alpha1.AddressView.Opaque.prototype.getAddress = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.Address} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.keys.v1alpha1.Address, 1)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.Address|undefined} value + * @return {!proto.penumbra.core.keys.v1alpha1.AddressView.Opaque} returns this +*/ +proto.penumbra.core.keys.v1alpha1.AddressView.Opaque.prototype.setAddress = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.keys.v1alpha1.AddressView.Opaque} returns this + */ +proto.penumbra.core.keys.v1alpha1.AddressView.Opaque.prototype.clearAddress = function() { + return this.setAddress(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.keys.v1alpha1.AddressView.Opaque.prototype.hasAddress = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional Visible visible = 1; + * @return {?proto.penumbra.core.keys.v1alpha1.AddressView.Visible} + */ +proto.penumbra.core.keys.v1alpha1.AddressView.prototype.getVisible = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.AddressView.Visible} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.keys.v1alpha1.AddressView.Visible, 1)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.AddressView.Visible|undefined} value + * @return {!proto.penumbra.core.keys.v1alpha1.AddressView} returns this +*/ +proto.penumbra.core.keys.v1alpha1.AddressView.prototype.setVisible = function(value) { + return jspb.Message.setOneofWrapperField(this, 1, proto.penumbra.core.keys.v1alpha1.AddressView.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.keys.v1alpha1.AddressView} returns this + */ +proto.penumbra.core.keys.v1alpha1.AddressView.prototype.clearVisible = function() { + return this.setVisible(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.keys.v1alpha1.AddressView.prototype.hasVisible = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional Opaque opaque = 2; + * @return {?proto.penumbra.core.keys.v1alpha1.AddressView.Opaque} + */ +proto.penumbra.core.keys.v1alpha1.AddressView.prototype.getOpaque = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.AddressView.Opaque} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.keys.v1alpha1.AddressView.Opaque, 2)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.AddressView.Opaque|undefined} value + * @return {!proto.penumbra.core.keys.v1alpha1.AddressView} returns this +*/ +proto.penumbra.core.keys.v1alpha1.AddressView.prototype.setOpaque = function(value) { + return jspb.Message.setOneofWrapperField(this, 2, proto.penumbra.core.keys.v1alpha1.AddressView.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.keys.v1alpha1.AddressView} returns this + */ +proto.penumbra.core.keys.v1alpha1.AddressView.prototype.clearOpaque = function() { + return this.setOpaque(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.keys.v1alpha1.AddressView.prototype.hasOpaque = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.keys.v1alpha1.PayloadKey.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.keys.v1alpha1.PayloadKey.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.keys.v1alpha1.PayloadKey} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.keys.v1alpha1.PayloadKey.toObject = function(includeInstance, msg) { + var f, obj = { + inner: msg.getInner_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.keys.v1alpha1.PayloadKey} + */ +proto.penumbra.core.keys.v1alpha1.PayloadKey.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.keys.v1alpha1.PayloadKey; + return proto.penumbra.core.keys.v1alpha1.PayloadKey.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.keys.v1alpha1.PayloadKey} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.keys.v1alpha1.PayloadKey} + */ +proto.penumbra.core.keys.v1alpha1.PayloadKey.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setInner(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.keys.v1alpha1.PayloadKey.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.keys.v1alpha1.PayloadKey.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.keys.v1alpha1.PayloadKey} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.keys.v1alpha1.PayloadKey.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInner_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } +}; + + +/** + * optional bytes inner = 1; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.keys.v1alpha1.PayloadKey.prototype.getInner = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes inner = 1; + * This is a type-conversion wrapper around `getInner()` + * @return {string} + */ +proto.penumbra.core.keys.v1alpha1.PayloadKey.prototype.getInner_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getInner())); +}; + + +/** + * optional bytes inner = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getInner()` + * @return {!Uint8Array} + */ +proto.penumbra.core.keys.v1alpha1.PayloadKey.prototype.getInner_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getInner())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.keys.v1alpha1.PayloadKey} returns this + */ +proto.penumbra.core.keys.v1alpha1.PayloadKey.prototype.setInner = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.keys.v1alpha1.SpendKey.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.keys.v1alpha1.SpendKey.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.keys.v1alpha1.SpendKey} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.keys.v1alpha1.SpendKey.toObject = function(includeInstance, msg) { + var f, obj = { + inner: msg.getInner_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.keys.v1alpha1.SpendKey} + */ +proto.penumbra.core.keys.v1alpha1.SpendKey.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.keys.v1alpha1.SpendKey; + return proto.penumbra.core.keys.v1alpha1.SpendKey.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.keys.v1alpha1.SpendKey} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.keys.v1alpha1.SpendKey} + */ +proto.penumbra.core.keys.v1alpha1.SpendKey.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setInner(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.keys.v1alpha1.SpendKey.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.keys.v1alpha1.SpendKey.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.keys.v1alpha1.SpendKey} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.keys.v1alpha1.SpendKey.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInner_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } +}; + + +/** + * optional bytes inner = 1; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.keys.v1alpha1.SpendKey.prototype.getInner = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes inner = 1; + * This is a type-conversion wrapper around `getInner()` + * @return {string} + */ +proto.penumbra.core.keys.v1alpha1.SpendKey.prototype.getInner_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getInner())); +}; + + +/** + * optional bytes inner = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getInner()` + * @return {!Uint8Array} + */ +proto.penumbra.core.keys.v1alpha1.SpendKey.prototype.getInner_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getInner())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.keys.v1alpha1.SpendKey} returns this + */ +proto.penumbra.core.keys.v1alpha1.SpendKey.prototype.setInner = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.keys.v1alpha1.SpendVerificationKey.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.keys.v1alpha1.SpendVerificationKey.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.keys.v1alpha1.SpendVerificationKey} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.keys.v1alpha1.SpendVerificationKey.toObject = function(includeInstance, msg) { + var f, obj = { + inner: msg.getInner_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.keys.v1alpha1.SpendVerificationKey} + */ +proto.penumbra.core.keys.v1alpha1.SpendVerificationKey.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.keys.v1alpha1.SpendVerificationKey; + return proto.penumbra.core.keys.v1alpha1.SpendVerificationKey.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.keys.v1alpha1.SpendVerificationKey} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.keys.v1alpha1.SpendVerificationKey} + */ +proto.penumbra.core.keys.v1alpha1.SpendVerificationKey.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setInner(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.keys.v1alpha1.SpendVerificationKey.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.keys.v1alpha1.SpendVerificationKey.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.keys.v1alpha1.SpendVerificationKey} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.keys.v1alpha1.SpendVerificationKey.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInner_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } +}; + + +/** + * optional bytes inner = 1; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.keys.v1alpha1.SpendVerificationKey.prototype.getInner = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes inner = 1; + * This is a type-conversion wrapper around `getInner()` + * @return {string} + */ +proto.penumbra.core.keys.v1alpha1.SpendVerificationKey.prototype.getInner_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getInner())); +}; + + +/** + * optional bytes inner = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getInner()` + * @return {!Uint8Array} + */ +proto.penumbra.core.keys.v1alpha1.SpendVerificationKey.prototype.getInner_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getInner())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.keys.v1alpha1.SpendVerificationKey} returns this + */ +proto.penumbra.core.keys.v1alpha1.SpendVerificationKey.prototype.setInner = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.keys.v1alpha1.FullViewingKey.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.keys.v1alpha1.FullViewingKey.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.keys.v1alpha1.FullViewingKey} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.keys.v1alpha1.FullViewingKey.toObject = function(includeInstance, msg) { + var f, obj = { + inner: msg.getInner_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.keys.v1alpha1.FullViewingKey} + */ +proto.penumbra.core.keys.v1alpha1.FullViewingKey.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.keys.v1alpha1.FullViewingKey; + return proto.penumbra.core.keys.v1alpha1.FullViewingKey.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.keys.v1alpha1.FullViewingKey} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.keys.v1alpha1.FullViewingKey} + */ +proto.penumbra.core.keys.v1alpha1.FullViewingKey.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setInner(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.keys.v1alpha1.FullViewingKey.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.keys.v1alpha1.FullViewingKey.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.keys.v1alpha1.FullViewingKey} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.keys.v1alpha1.FullViewingKey.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInner_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } +}; + + +/** + * optional bytes inner = 1; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.keys.v1alpha1.FullViewingKey.prototype.getInner = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes inner = 1; + * This is a type-conversion wrapper around `getInner()` + * @return {string} + */ +proto.penumbra.core.keys.v1alpha1.FullViewingKey.prototype.getInner_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getInner())); +}; + + +/** + * optional bytes inner = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getInner()` + * @return {!Uint8Array} + */ +proto.penumbra.core.keys.v1alpha1.FullViewingKey.prototype.getInner_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getInner())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.keys.v1alpha1.FullViewingKey} returns this + */ +proto.penumbra.core.keys.v1alpha1.FullViewingKey.prototype.setInner = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.keys.v1alpha1.WalletId.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.keys.v1alpha1.WalletId.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.keys.v1alpha1.WalletId} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.keys.v1alpha1.WalletId.toObject = function(includeInstance, msg) { + var f, obj = { + inner: msg.getInner_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.keys.v1alpha1.WalletId} + */ +proto.penumbra.core.keys.v1alpha1.WalletId.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.keys.v1alpha1.WalletId; + return proto.penumbra.core.keys.v1alpha1.WalletId.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.keys.v1alpha1.WalletId} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.keys.v1alpha1.WalletId} + */ +proto.penumbra.core.keys.v1alpha1.WalletId.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setInner(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.keys.v1alpha1.WalletId.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.keys.v1alpha1.WalletId.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.keys.v1alpha1.WalletId} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.keys.v1alpha1.WalletId.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInner_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } +}; + + +/** + * optional bytes inner = 1; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.keys.v1alpha1.WalletId.prototype.getInner = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes inner = 1; + * This is a type-conversion wrapper around `getInner()` + * @return {string} + */ +proto.penumbra.core.keys.v1alpha1.WalletId.prototype.getInner_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getInner())); +}; + + +/** + * optional bytes inner = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getInner()` + * @return {!Uint8Array} + */ +proto.penumbra.core.keys.v1alpha1.WalletId.prototype.getInner_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getInner())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.keys.v1alpha1.WalletId} returns this + */ +proto.penumbra.core.keys.v1alpha1.WalletId.prototype.setInner = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.keys.v1alpha1.Diversifier.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.keys.v1alpha1.Diversifier.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.keys.v1alpha1.Diversifier} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.keys.v1alpha1.Diversifier.toObject = function(includeInstance, msg) { + var f, obj = { + inner: msg.getInner_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.keys.v1alpha1.Diversifier} + */ +proto.penumbra.core.keys.v1alpha1.Diversifier.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.keys.v1alpha1.Diversifier; + return proto.penumbra.core.keys.v1alpha1.Diversifier.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.keys.v1alpha1.Diversifier} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.keys.v1alpha1.Diversifier} + */ +proto.penumbra.core.keys.v1alpha1.Diversifier.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setInner(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.keys.v1alpha1.Diversifier.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.keys.v1alpha1.Diversifier.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.keys.v1alpha1.Diversifier} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.keys.v1alpha1.Diversifier.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInner_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } +}; + + +/** + * optional bytes inner = 1; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.keys.v1alpha1.Diversifier.prototype.getInner = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes inner = 1; + * This is a type-conversion wrapper around `getInner()` + * @return {string} + */ +proto.penumbra.core.keys.v1alpha1.Diversifier.prototype.getInner_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getInner())); +}; + + +/** + * optional bytes inner = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getInner()` + * @return {!Uint8Array} + */ +proto.penumbra.core.keys.v1alpha1.Diversifier.prototype.getInner_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getInner())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.keys.v1alpha1.Diversifier} returns this + */ +proto.penumbra.core.keys.v1alpha1.Diversifier.prototype.setInner = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.keys.v1alpha1.AddressIndex.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.keys.v1alpha1.AddressIndex.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.keys.v1alpha1.AddressIndex} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.keys.v1alpha1.AddressIndex.toObject = function(includeInstance, msg) { + var f, obj = { + account: jspb.Message.getFieldWithDefault(msg, 2, 0), + randomizer: msg.getRandomizer_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.keys.v1alpha1.AddressIndex} + */ +proto.penumbra.core.keys.v1alpha1.AddressIndex.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.keys.v1alpha1.AddressIndex; + return proto.penumbra.core.keys.v1alpha1.AddressIndex.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.keys.v1alpha1.AddressIndex} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.keys.v1alpha1.AddressIndex} + */ +proto.penumbra.core.keys.v1alpha1.AddressIndex.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 2: + var value = /** @type {number} */ (reader.readUint32()); + msg.setAccount(value); + break; + case 3: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setRandomizer(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.keys.v1alpha1.AddressIndex.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.keys.v1alpha1.AddressIndex.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.keys.v1alpha1.AddressIndex} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.keys.v1alpha1.AddressIndex.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getAccount(); + if (f !== 0) { + writer.writeUint32( + 2, + f + ); + } + f = message.getRandomizer_asU8(); + if (f.length > 0) { + writer.writeBytes( + 3, + f + ); + } +}; + + +/** + * optional uint32 account = 2; + * @return {number} + */ +proto.penumbra.core.keys.v1alpha1.AddressIndex.prototype.getAccount = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.keys.v1alpha1.AddressIndex} returns this + */ +proto.penumbra.core.keys.v1alpha1.AddressIndex.prototype.setAccount = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + +/** + * optional bytes randomizer = 3; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.keys.v1alpha1.AddressIndex.prototype.getRandomizer = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * optional bytes randomizer = 3; + * This is a type-conversion wrapper around `getRandomizer()` + * @return {string} + */ +proto.penumbra.core.keys.v1alpha1.AddressIndex.prototype.getRandomizer_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getRandomizer())); +}; + + +/** + * optional bytes randomizer = 3; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getRandomizer()` + * @return {!Uint8Array} + */ +proto.penumbra.core.keys.v1alpha1.AddressIndex.prototype.getRandomizer_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getRandomizer())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.keys.v1alpha1.AddressIndex} returns this + */ +proto.penumbra.core.keys.v1alpha1.AddressIndex.prototype.setRandomizer = function(value) { + return jspb.Message.setProto3BytesField(this, 3, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.keys.v1alpha1.IdentityKey.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.keys.v1alpha1.IdentityKey.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.keys.v1alpha1.IdentityKey} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.keys.v1alpha1.IdentityKey.toObject = function(includeInstance, msg) { + var f, obj = { + ik: msg.getIk_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.keys.v1alpha1.IdentityKey} + */ +proto.penumbra.core.keys.v1alpha1.IdentityKey.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.keys.v1alpha1.IdentityKey; + return proto.penumbra.core.keys.v1alpha1.IdentityKey.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.keys.v1alpha1.IdentityKey} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.keys.v1alpha1.IdentityKey} + */ +proto.penumbra.core.keys.v1alpha1.IdentityKey.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setIk(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.keys.v1alpha1.IdentityKey.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.keys.v1alpha1.IdentityKey.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.keys.v1alpha1.IdentityKey} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.keys.v1alpha1.IdentityKey.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getIk_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } +}; + + +/** + * optional bytes ik = 1; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.keys.v1alpha1.IdentityKey.prototype.getIk = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes ik = 1; + * This is a type-conversion wrapper around `getIk()` + * @return {string} + */ +proto.penumbra.core.keys.v1alpha1.IdentityKey.prototype.getIk_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getIk())); +}; + + +/** + * optional bytes ik = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getIk()` + * @return {!Uint8Array} + */ +proto.penumbra.core.keys.v1alpha1.IdentityKey.prototype.getIk_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getIk())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.keys.v1alpha1.IdentityKey} returns this + */ +proto.penumbra.core.keys.v1alpha1.IdentityKey.prototype.setIk = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.keys.v1alpha1.GovernanceKey.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.keys.v1alpha1.GovernanceKey.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.keys.v1alpha1.GovernanceKey} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.keys.v1alpha1.GovernanceKey.toObject = function(includeInstance, msg) { + var f, obj = { + gk: msg.getGk_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.keys.v1alpha1.GovernanceKey} + */ +proto.penumbra.core.keys.v1alpha1.GovernanceKey.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.keys.v1alpha1.GovernanceKey; + return proto.penumbra.core.keys.v1alpha1.GovernanceKey.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.keys.v1alpha1.GovernanceKey} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.keys.v1alpha1.GovernanceKey} + */ +proto.penumbra.core.keys.v1alpha1.GovernanceKey.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setGk(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.keys.v1alpha1.GovernanceKey.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.keys.v1alpha1.GovernanceKey.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.keys.v1alpha1.GovernanceKey} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.keys.v1alpha1.GovernanceKey.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getGk_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } +}; + + +/** + * optional bytes gk = 1; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.keys.v1alpha1.GovernanceKey.prototype.getGk = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes gk = 1; + * This is a type-conversion wrapper around `getGk()` + * @return {string} + */ +proto.penumbra.core.keys.v1alpha1.GovernanceKey.prototype.getGk_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getGk())); +}; + + +/** + * optional bytes gk = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getGk()` + * @return {!Uint8Array} + */ +proto.penumbra.core.keys.v1alpha1.GovernanceKey.prototype.getGk_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getGk())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.keys.v1alpha1.GovernanceKey} returns this + */ +proto.penumbra.core.keys.v1alpha1.GovernanceKey.prototype.setGk = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.keys.v1alpha1.ConsensusKey.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.keys.v1alpha1.ConsensusKey.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.keys.v1alpha1.ConsensusKey} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.keys.v1alpha1.ConsensusKey.toObject = function(includeInstance, msg) { + var f, obj = { + inner: msg.getInner_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.keys.v1alpha1.ConsensusKey} + */ +proto.penumbra.core.keys.v1alpha1.ConsensusKey.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.keys.v1alpha1.ConsensusKey; + return proto.penumbra.core.keys.v1alpha1.ConsensusKey.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.keys.v1alpha1.ConsensusKey} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.keys.v1alpha1.ConsensusKey} + */ +proto.penumbra.core.keys.v1alpha1.ConsensusKey.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setInner(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.keys.v1alpha1.ConsensusKey.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.keys.v1alpha1.ConsensusKey.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.keys.v1alpha1.ConsensusKey} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.keys.v1alpha1.ConsensusKey.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInner_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } +}; + + +/** + * optional bytes inner = 1; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.keys.v1alpha1.ConsensusKey.prototype.getInner = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes inner = 1; + * This is a type-conversion wrapper around `getInner()` + * @return {string} + */ +proto.penumbra.core.keys.v1alpha1.ConsensusKey.prototype.getInner_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getInner())); +}; + + +/** + * optional bytes inner = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getInner()` + * @return {!Uint8Array} + */ +proto.penumbra.core.keys.v1alpha1.ConsensusKey.prototype.getInner_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getInner())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.keys.v1alpha1.ConsensusKey} returns this + */ +proto.penumbra.core.keys.v1alpha1.ConsensusKey.prototype.setInner = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + +goog.object.extend(exports, proto.penumbra.core.keys.v1alpha1); diff --git a/src/chains/penumbra/generated/penumbra/core/num/v1alpha1/num_grpc_pb.js b/src/chains/penumbra/generated/penumbra/core/num/v1alpha1/num_grpc_pb.js new file mode 100644 index 0000000000..97b3a2461d --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/num/v1alpha1/num_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/src/chains/penumbra/generated/penumbra/core/num/v1alpha1/num_pb.d.ts b/src/chains/penumbra/generated/penumbra/core/num/v1alpha1/num_pb.d.ts new file mode 100644 index 0000000000..9792792885 --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/num/v1alpha1/num_pb.d.ts @@ -0,0 +1,30 @@ +// package: penumbra.core.num.v1alpha1 +// file: penumbra/core/num/v1alpha1/num.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; + +export class Amount extends jspb.Message { + getLo(): number; + setLo(value: number): Amount; + getHi(): number; + setHi(value: number): Amount; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Amount.AsObject; + static toObject(includeInstance: boolean, msg: Amount): Amount.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Amount, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Amount; + static deserializeBinaryFromReader(message: Amount, reader: jspb.BinaryReader): Amount; +} + +export namespace Amount { + export type AsObject = { + lo: number, + hi: number, + } +} diff --git a/src/chains/penumbra/generated/penumbra/core/num/v1alpha1/num_pb.js b/src/chains/penumbra/generated/penumbra/core/num/v1alpha1/num_pb.js new file mode 100644 index 0000000000..2d56bf0952 --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/num/v1alpha1/num_pb.js @@ -0,0 +1,206 @@ +// source: penumbra/core/num/v1alpha1/num.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = (function() { + if (this) { return this; } + if (typeof window !== 'undefined') { return window; } + if (typeof global !== 'undefined') { return global; } + if (typeof self !== 'undefined') { return self; } + return Function('return this')(); +}.call(null)); + +goog.exportSymbol('proto.penumbra.core.num.v1alpha1.Amount', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.num.v1alpha1.Amount = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.num.v1alpha1.Amount, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.num.v1alpha1.Amount.displayName = 'proto.penumbra.core.num.v1alpha1.Amount'; +} + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.num.v1alpha1.Amount.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.num.v1alpha1.Amount.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.num.v1alpha1.Amount} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.num.v1alpha1.Amount.toObject = function(includeInstance, msg) { + var f, obj = { + lo: jspb.Message.getFieldWithDefault(msg, 1, 0), + hi: jspb.Message.getFieldWithDefault(msg, 2, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.num.v1alpha1.Amount} + */ +proto.penumbra.core.num.v1alpha1.Amount.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.num.v1alpha1.Amount; + return proto.penumbra.core.num.v1alpha1.Amount.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.num.v1alpha1.Amount} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.num.v1alpha1.Amount} + */ +proto.penumbra.core.num.v1alpha1.Amount.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setLo(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint64()); + msg.setHi(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.num.v1alpha1.Amount.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.num.v1alpha1.Amount.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.num.v1alpha1.Amount} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.num.v1alpha1.Amount.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getLo(); + if (f !== 0) { + writer.writeUint64( + 1, + f + ); + } + f = message.getHi(); + if (f !== 0) { + writer.writeUint64( + 2, + f + ); + } +}; + + +/** + * optional uint64 lo = 1; + * @return {number} + */ +proto.penumbra.core.num.v1alpha1.Amount.prototype.getLo = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.num.v1alpha1.Amount} returns this + */ +proto.penumbra.core.num.v1alpha1.Amount.prototype.setLo = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional uint64 hi = 2; + * @return {number} + */ +proto.penumbra.core.num.v1alpha1.Amount.prototype.getHi = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.num.v1alpha1.Amount} returns this + */ +proto.penumbra.core.num.v1alpha1.Amount.prototype.setHi = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + +goog.object.extend(exports, proto.penumbra.core.num.v1alpha1); diff --git a/src/chains/penumbra/generated/penumbra/core/transaction/v1alpha1/transaction_grpc_pb.js b/src/chains/penumbra/generated/penumbra/core/transaction/v1alpha1/transaction_grpc_pb.js new file mode 100644 index 0000000000..97b3a2461d --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/transaction/v1alpha1/transaction_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/src/chains/penumbra/generated/penumbra/core/transaction/v1alpha1/transaction_pb.d.ts b/src/chains/penumbra/generated/penumbra/core/transaction/v1alpha1/transaction_pb.d.ts new file mode 100644 index 0000000000..3667113126 --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/transaction/v1alpha1/transaction_pb.d.ts @@ -0,0 +1,1214 @@ +// package: penumbra.core.transaction.v1alpha1 +// file: penumbra/core/transaction/v1alpha1/transaction.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as penumbra_crypto_tct_v1alpha1_tct_pb from "../../../../penumbra/crypto/tct/v1alpha1/tct_pb"; +import * as penumbra_crypto_decaf377_fmd_v1alpha1_decaf377_fmd_pb from "../../../../penumbra/crypto/decaf377_fmd/v1alpha1/decaf377_fmd_pb"; +import * as penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb from "../../../../penumbra/crypto/decaf377_rdsa/v1alpha1/decaf377_rdsa_pb"; +import * as penumbra_core_asset_v1alpha1_asset_pb from "../../../../penumbra/core/asset/v1alpha1/asset_pb"; +import * as penumbra_core_keys_v1alpha1_keys_pb from "../../../../penumbra/core/keys/v1alpha1/keys_pb"; +import * as penumbra_core_component_sct_v1alpha1_sct_pb from "../../../../penumbra/core/component/sct/v1alpha1/sct_pb"; +import * as penumbra_core_component_chain_v1alpha1_chain_pb from "../../../../penumbra/core/component/chain/v1alpha1/chain_pb"; +import * as penumbra_core_component_fee_v1alpha1_fee_pb from "../../../../penumbra/core/component/fee/v1alpha1/fee_pb"; +import * as penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb from "../../../../penumbra/core/component/shielded_pool/v1alpha1/shielded_pool_pb"; +import * as penumbra_core_component_dex_v1alpha1_dex_pb from "../../../../penumbra/core/component/dex/v1alpha1/dex_pb"; +import * as penumbra_core_component_ibc_v1alpha1_ibc_pb from "../../../../penumbra/core/component/ibc/v1alpha1/ibc_pb"; +import * as penumbra_core_component_stake_v1alpha1_stake_pb from "../../../../penumbra/core/component/stake/v1alpha1/stake_pb"; +import * as penumbra_core_component_governance_v1alpha1_governance_pb from "../../../../penumbra/core/component/governance/v1alpha1/governance_pb"; + +export class Transaction extends jspb.Message { + + hasBody(): boolean; + clearBody(): void; + getBody(): TransactionBody | undefined; + setBody(value?: TransactionBody): Transaction; + getBindingSig(): Uint8Array | string; + getBindingSig_asU8(): Uint8Array; + getBindingSig_asB64(): string; + setBindingSig(value: Uint8Array | string): Transaction; + + hasAnchor(): boolean; + clearAnchor(): void; + getAnchor(): penumbra_crypto_tct_v1alpha1_tct_pb.MerkleRoot | undefined; + setAnchor(value?: penumbra_crypto_tct_v1alpha1_tct_pb.MerkleRoot): Transaction; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Transaction.AsObject; + static toObject(includeInstance: boolean, msg: Transaction): Transaction.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Transaction, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Transaction; + static deserializeBinaryFromReader(message: Transaction, reader: jspb.BinaryReader): Transaction; +} + +export namespace Transaction { + export type AsObject = { + body?: TransactionBody.AsObject, + bindingSig: Uint8Array | string, + anchor?: penumbra_crypto_tct_v1alpha1_tct_pb.MerkleRoot.AsObject, + } +} + +export class Id extends jspb.Message { + getHash(): Uint8Array | string; + getHash_asU8(): Uint8Array; + getHash_asB64(): string; + setHash(value: Uint8Array | string): Id; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Id.AsObject; + static toObject(includeInstance: boolean, msg: Id): Id.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Id, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Id; + static deserializeBinaryFromReader(message: Id, reader: jspb.BinaryReader): Id; +} + +export namespace Id { + export type AsObject = { + hash: Uint8Array | string, + } +} + +export class TransactionBody extends jspb.Message { + clearActionsList(): void; + getActionsList(): Array; + setActionsList(value: Array): TransactionBody; + addActions(value?: Action, index?: number): Action; + + hasTransactionParameters(): boolean; + clearTransactionParameters(): void; + getTransactionParameters(): TransactionParameters | undefined; + setTransactionParameters(value?: TransactionParameters): TransactionBody; + + hasFee(): boolean; + clearFee(): void; + getFee(): penumbra_core_component_fee_v1alpha1_fee_pb.Fee | undefined; + setFee(value?: penumbra_core_component_fee_v1alpha1_fee_pb.Fee): TransactionBody; + + hasDetectionData(): boolean; + clearDetectionData(): void; + getDetectionData(): DetectionData | undefined; + setDetectionData(value?: DetectionData): TransactionBody; + + hasMemoData(): boolean; + clearMemoData(): void; + getMemoData(): MemoData | undefined; + setMemoData(value?: MemoData): TransactionBody; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): TransactionBody.AsObject; + static toObject(includeInstance: boolean, msg: TransactionBody): TransactionBody.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: TransactionBody, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): TransactionBody; + static deserializeBinaryFromReader(message: TransactionBody, reader: jspb.BinaryReader): TransactionBody; +} + +export namespace TransactionBody { + export type AsObject = { + actionsList: Array, + transactionParameters?: TransactionParameters.AsObject, + fee?: penumbra_core_component_fee_v1alpha1_fee_pb.Fee.AsObject, + detectionData?: DetectionData.AsObject, + memoData?: MemoData.AsObject, + } +} + +export class MemoData extends jspb.Message { + getEncryptedMemo(): Uint8Array | string; + getEncryptedMemo_asU8(): Uint8Array; + getEncryptedMemo_asB64(): string; + setEncryptedMemo(value: Uint8Array | string): MemoData; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): MemoData.AsObject; + static toObject(includeInstance: boolean, msg: MemoData): MemoData.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: MemoData, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): MemoData; + static deserializeBinaryFromReader(message: MemoData, reader: jspb.BinaryReader): MemoData; +} + +export namespace MemoData { + export type AsObject = { + encryptedMemo: Uint8Array | string, + } +} + +export class TransactionParameters extends jspb.Message { + getExpiryHeight(): number; + setExpiryHeight(value: number): TransactionParameters; + getChainId(): string; + setChainId(value: string): TransactionParameters; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): TransactionParameters.AsObject; + static toObject(includeInstance: boolean, msg: TransactionParameters): TransactionParameters.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: TransactionParameters, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): TransactionParameters; + static deserializeBinaryFromReader(message: TransactionParameters, reader: jspb.BinaryReader): TransactionParameters; +} + +export namespace TransactionParameters { + export type AsObject = { + expiryHeight: number, + chainId: string, + } +} + +export class DetectionData extends jspb.Message { + clearFmdCluesList(): void; + getFmdCluesList(): Array; + setFmdCluesList(value: Array): DetectionData; + addFmdClues(value?: penumbra_crypto_decaf377_fmd_v1alpha1_decaf377_fmd_pb.Clue, index?: number): penumbra_crypto_decaf377_fmd_v1alpha1_decaf377_fmd_pb.Clue; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): DetectionData.AsObject; + static toObject(includeInstance: boolean, msg: DetectionData): DetectionData.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: DetectionData, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): DetectionData; + static deserializeBinaryFromReader(message: DetectionData, reader: jspb.BinaryReader): DetectionData; +} + +export namespace DetectionData { + export type AsObject = { + fmdCluesList: Array, + } +} + +export class Action extends jspb.Message { + + hasSpend(): boolean; + clearSpend(): void; + getSpend(): penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.Spend | undefined; + setSpend(value?: penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.Spend): Action; + + hasOutput(): boolean; + clearOutput(): void; + getOutput(): penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.Output | undefined; + setOutput(value?: penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.Output): Action; + + hasSwap(): boolean; + clearSwap(): void; + getSwap(): penumbra_core_component_dex_v1alpha1_dex_pb.Swap | undefined; + setSwap(value?: penumbra_core_component_dex_v1alpha1_dex_pb.Swap): Action; + + hasSwapClaim(): boolean; + clearSwapClaim(): void; + getSwapClaim(): penumbra_core_component_dex_v1alpha1_dex_pb.SwapClaim | undefined; + setSwapClaim(value?: penumbra_core_component_dex_v1alpha1_dex_pb.SwapClaim): Action; + + hasValidatorDefinition(): boolean; + clearValidatorDefinition(): void; + getValidatorDefinition(): penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorDefinition | undefined; + setValidatorDefinition(value?: penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorDefinition): Action; + + hasIbcAction(): boolean; + clearIbcAction(): void; + getIbcAction(): penumbra_core_component_ibc_v1alpha1_ibc_pb.IbcAction | undefined; + setIbcAction(value?: penumbra_core_component_ibc_v1alpha1_ibc_pb.IbcAction): Action; + + hasProposalSubmit(): boolean; + clearProposalSubmit(): void; + getProposalSubmit(): penumbra_core_component_governance_v1alpha1_governance_pb.ProposalSubmit | undefined; + setProposalSubmit(value?: penumbra_core_component_governance_v1alpha1_governance_pb.ProposalSubmit): Action; + + hasProposalWithdraw(): boolean; + clearProposalWithdraw(): void; + getProposalWithdraw(): penumbra_core_component_governance_v1alpha1_governance_pb.ProposalWithdraw | undefined; + setProposalWithdraw(value?: penumbra_core_component_governance_v1alpha1_governance_pb.ProposalWithdraw): Action; + + hasValidatorVote(): boolean; + clearValidatorVote(): void; + getValidatorVote(): penumbra_core_component_governance_v1alpha1_governance_pb.ValidatorVote | undefined; + setValidatorVote(value?: penumbra_core_component_governance_v1alpha1_governance_pb.ValidatorVote): Action; + + hasDelegatorVote(): boolean; + clearDelegatorVote(): void; + getDelegatorVote(): penumbra_core_component_governance_v1alpha1_governance_pb.DelegatorVote | undefined; + setDelegatorVote(value?: penumbra_core_component_governance_v1alpha1_governance_pb.DelegatorVote): Action; + + hasProposalDepositClaim(): boolean; + clearProposalDepositClaim(): void; + getProposalDepositClaim(): penumbra_core_component_governance_v1alpha1_governance_pb.ProposalDepositClaim | undefined; + setProposalDepositClaim(value?: penumbra_core_component_governance_v1alpha1_governance_pb.ProposalDepositClaim): Action; + + hasPositionOpen(): boolean; + clearPositionOpen(): void; + getPositionOpen(): penumbra_core_component_dex_v1alpha1_dex_pb.PositionOpen | undefined; + setPositionOpen(value?: penumbra_core_component_dex_v1alpha1_dex_pb.PositionOpen): Action; + + hasPositionClose(): boolean; + clearPositionClose(): void; + getPositionClose(): penumbra_core_component_dex_v1alpha1_dex_pb.PositionClose | undefined; + setPositionClose(value?: penumbra_core_component_dex_v1alpha1_dex_pb.PositionClose): Action; + + hasPositionWithdraw(): boolean; + clearPositionWithdraw(): void; + getPositionWithdraw(): penumbra_core_component_dex_v1alpha1_dex_pb.PositionWithdraw | undefined; + setPositionWithdraw(value?: penumbra_core_component_dex_v1alpha1_dex_pb.PositionWithdraw): Action; + + hasPositionRewardClaim(): boolean; + clearPositionRewardClaim(): void; + getPositionRewardClaim(): penumbra_core_component_dex_v1alpha1_dex_pb.PositionRewardClaim | undefined; + setPositionRewardClaim(value?: penumbra_core_component_dex_v1alpha1_dex_pb.PositionRewardClaim): Action; + + hasDelegate(): boolean; + clearDelegate(): void; + getDelegate(): penumbra_core_component_stake_v1alpha1_stake_pb.Delegate | undefined; + setDelegate(value?: penumbra_core_component_stake_v1alpha1_stake_pb.Delegate): Action; + + hasUndelegate(): boolean; + clearUndelegate(): void; + getUndelegate(): penumbra_core_component_stake_v1alpha1_stake_pb.Undelegate | undefined; + setUndelegate(value?: penumbra_core_component_stake_v1alpha1_stake_pb.Undelegate): Action; + + hasUndelegateClaim(): boolean; + clearUndelegateClaim(): void; + getUndelegateClaim(): penumbra_core_component_stake_v1alpha1_stake_pb.UndelegateClaim | undefined; + setUndelegateClaim(value?: penumbra_core_component_stake_v1alpha1_stake_pb.UndelegateClaim): Action; + + hasDaoSpend(): boolean; + clearDaoSpend(): void; + getDaoSpend(): penumbra_core_component_governance_v1alpha1_governance_pb.DaoSpend | undefined; + setDaoSpend(value?: penumbra_core_component_governance_v1alpha1_governance_pb.DaoSpend): Action; + + hasDaoOutput(): boolean; + clearDaoOutput(): void; + getDaoOutput(): penumbra_core_component_governance_v1alpha1_governance_pb.DaoOutput | undefined; + setDaoOutput(value?: penumbra_core_component_governance_v1alpha1_governance_pb.DaoOutput): Action; + + hasDaoDeposit(): boolean; + clearDaoDeposit(): void; + getDaoDeposit(): penumbra_core_component_governance_v1alpha1_governance_pb.DaoDeposit | undefined; + setDaoDeposit(value?: penumbra_core_component_governance_v1alpha1_governance_pb.DaoDeposit): Action; + + hasIcs20Withdrawal(): boolean; + clearIcs20Withdrawal(): void; + getIcs20Withdrawal(): penumbra_core_component_ibc_v1alpha1_ibc_pb.Ics20Withdrawal | undefined; + setIcs20Withdrawal(value?: penumbra_core_component_ibc_v1alpha1_ibc_pb.Ics20Withdrawal): Action; + + getActionCase(): Action.ActionCase; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Action.AsObject; + static toObject(includeInstance: boolean, msg: Action): Action.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Action, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Action; + static deserializeBinaryFromReader(message: Action, reader: jspb.BinaryReader): Action; +} + +export namespace Action { + export type AsObject = { + spend?: penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.Spend.AsObject, + output?: penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.Output.AsObject, + swap?: penumbra_core_component_dex_v1alpha1_dex_pb.Swap.AsObject, + swapClaim?: penumbra_core_component_dex_v1alpha1_dex_pb.SwapClaim.AsObject, + validatorDefinition?: penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorDefinition.AsObject, + ibcAction?: penumbra_core_component_ibc_v1alpha1_ibc_pb.IbcAction.AsObject, + proposalSubmit?: penumbra_core_component_governance_v1alpha1_governance_pb.ProposalSubmit.AsObject, + proposalWithdraw?: penumbra_core_component_governance_v1alpha1_governance_pb.ProposalWithdraw.AsObject, + validatorVote?: penumbra_core_component_governance_v1alpha1_governance_pb.ValidatorVote.AsObject, + delegatorVote?: penumbra_core_component_governance_v1alpha1_governance_pb.DelegatorVote.AsObject, + proposalDepositClaim?: penumbra_core_component_governance_v1alpha1_governance_pb.ProposalDepositClaim.AsObject, + positionOpen?: penumbra_core_component_dex_v1alpha1_dex_pb.PositionOpen.AsObject, + positionClose?: penumbra_core_component_dex_v1alpha1_dex_pb.PositionClose.AsObject, + positionWithdraw?: penumbra_core_component_dex_v1alpha1_dex_pb.PositionWithdraw.AsObject, + positionRewardClaim?: penumbra_core_component_dex_v1alpha1_dex_pb.PositionRewardClaim.AsObject, + delegate?: penumbra_core_component_stake_v1alpha1_stake_pb.Delegate.AsObject, + undelegate?: penumbra_core_component_stake_v1alpha1_stake_pb.Undelegate.AsObject, + undelegateClaim?: penumbra_core_component_stake_v1alpha1_stake_pb.UndelegateClaim.AsObject, + daoSpend?: penumbra_core_component_governance_v1alpha1_governance_pb.DaoSpend.AsObject, + daoOutput?: penumbra_core_component_governance_v1alpha1_governance_pb.DaoOutput.AsObject, + daoDeposit?: penumbra_core_component_governance_v1alpha1_governance_pb.DaoDeposit.AsObject, + ics20Withdrawal?: penumbra_core_component_ibc_v1alpha1_ibc_pb.Ics20Withdrawal.AsObject, + } + + export enum ActionCase { + ACTION_NOT_SET = 0, + SPEND = 1, + OUTPUT = 2, + SWAP = 3, + SWAP_CLAIM = 4, + VALIDATOR_DEFINITION = 16, + IBC_ACTION = 17, + PROPOSAL_SUBMIT = 18, + PROPOSAL_WITHDRAW = 19, + VALIDATOR_VOTE = 20, + DELEGATOR_VOTE = 21, + PROPOSAL_DEPOSIT_CLAIM = 22, + POSITION_OPEN = 30, + POSITION_CLOSE = 31, + POSITION_WITHDRAW = 32, + POSITION_REWARD_CLAIM = 34, + DELEGATE = 40, + UNDELEGATE = 41, + UNDELEGATE_CLAIM = 42, + DAO_SPEND = 50, + DAO_OUTPUT = 51, + DAO_DEPOSIT = 52, + ICS20_WITHDRAWAL = 200, + } + +} + +export class TransactionPerspective extends jspb.Message { + clearPayloadKeysList(): void; + getPayloadKeysList(): Array; + setPayloadKeysList(value: Array): TransactionPerspective; + addPayloadKeys(value?: PayloadKeyWithCommitment, index?: number): PayloadKeyWithCommitment; + clearSpendNullifiersList(): void; + getSpendNullifiersList(): Array; + setSpendNullifiersList(value: Array): TransactionPerspective; + addSpendNullifiers(value?: NullifierWithNote, index?: number): NullifierWithNote; + clearAdviceNotesList(): void; + getAdviceNotesList(): Array; + setAdviceNotesList(value: Array): TransactionPerspective; + addAdviceNotes(value?: penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.Note, index?: number): penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.Note; + clearAddressViewsList(): void; + getAddressViewsList(): Array; + setAddressViewsList(value: Array): TransactionPerspective; + addAddressViews(value?: penumbra_core_keys_v1alpha1_keys_pb.AddressView, index?: number): penumbra_core_keys_v1alpha1_keys_pb.AddressView; + clearDenomsList(): void; + getDenomsList(): Array; + setDenomsList(value: Array): TransactionPerspective; + addDenoms(value?: penumbra_core_asset_v1alpha1_asset_pb.DenomMetadata, index?: number): penumbra_core_asset_v1alpha1_asset_pb.DenomMetadata; + + hasTransactionId(): boolean; + clearTransactionId(): void; + getTransactionId(): Id | undefined; + setTransactionId(value?: Id): TransactionPerspective; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): TransactionPerspective.AsObject; + static toObject(includeInstance: boolean, msg: TransactionPerspective): TransactionPerspective.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: TransactionPerspective, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): TransactionPerspective; + static deserializeBinaryFromReader(message: TransactionPerspective, reader: jspb.BinaryReader): TransactionPerspective; +} + +export namespace TransactionPerspective { + export type AsObject = { + payloadKeysList: Array, + spendNullifiersList: Array, + adviceNotesList: Array, + addressViewsList: Array, + denomsList: Array, + transactionId?: Id.AsObject, + } +} + +export class PayloadKeyWithCommitment extends jspb.Message { + + hasPayloadKey(): boolean; + clearPayloadKey(): void; + getPayloadKey(): penumbra_core_keys_v1alpha1_keys_pb.PayloadKey | undefined; + setPayloadKey(value?: penumbra_core_keys_v1alpha1_keys_pb.PayloadKey): PayloadKeyWithCommitment; + + hasCommitment(): boolean; + clearCommitment(): void; + getCommitment(): penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment | undefined; + setCommitment(value?: penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment): PayloadKeyWithCommitment; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): PayloadKeyWithCommitment.AsObject; + static toObject(includeInstance: boolean, msg: PayloadKeyWithCommitment): PayloadKeyWithCommitment.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: PayloadKeyWithCommitment, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): PayloadKeyWithCommitment; + static deserializeBinaryFromReader(message: PayloadKeyWithCommitment, reader: jspb.BinaryReader): PayloadKeyWithCommitment; +} + +export namespace PayloadKeyWithCommitment { + export type AsObject = { + payloadKey?: penumbra_core_keys_v1alpha1_keys_pb.PayloadKey.AsObject, + commitment?: penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.AsObject, + } +} + +export class NullifierWithNote extends jspb.Message { + + hasNullifier(): boolean; + clearNullifier(): void; + getNullifier(): penumbra_core_component_sct_v1alpha1_sct_pb.Nullifier | undefined; + setNullifier(value?: penumbra_core_component_sct_v1alpha1_sct_pb.Nullifier): NullifierWithNote; + + hasNote(): boolean; + clearNote(): void; + getNote(): penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.Note | undefined; + setNote(value?: penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.Note): NullifierWithNote; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): NullifierWithNote.AsObject; + static toObject(includeInstance: boolean, msg: NullifierWithNote): NullifierWithNote.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: NullifierWithNote, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): NullifierWithNote; + static deserializeBinaryFromReader(message: NullifierWithNote, reader: jspb.BinaryReader): NullifierWithNote; +} + +export namespace NullifierWithNote { + export type AsObject = { + nullifier?: penumbra_core_component_sct_v1alpha1_sct_pb.Nullifier.AsObject, + note?: penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.Note.AsObject, + } +} + +export class TransactionView extends jspb.Message { + + hasBodyView(): boolean; + clearBodyView(): void; + getBodyView(): TransactionBodyView | undefined; + setBodyView(value?: TransactionBodyView): TransactionView; + getBindingSig(): Uint8Array | string; + getBindingSig_asU8(): Uint8Array; + getBindingSig_asB64(): string; + setBindingSig(value: Uint8Array | string): TransactionView; + + hasAnchor(): boolean; + clearAnchor(): void; + getAnchor(): penumbra_crypto_tct_v1alpha1_tct_pb.MerkleRoot | undefined; + setAnchor(value?: penumbra_crypto_tct_v1alpha1_tct_pb.MerkleRoot): TransactionView; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): TransactionView.AsObject; + static toObject(includeInstance: boolean, msg: TransactionView): TransactionView.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: TransactionView, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): TransactionView; + static deserializeBinaryFromReader(message: TransactionView, reader: jspb.BinaryReader): TransactionView; +} + +export namespace TransactionView { + export type AsObject = { + bodyView?: TransactionBodyView.AsObject, + bindingSig: Uint8Array | string, + anchor?: penumbra_crypto_tct_v1alpha1_tct_pb.MerkleRoot.AsObject, + } +} + +export class TransactionBodyView extends jspb.Message { + clearActionViewsList(): void; + getActionViewsList(): Array; + setActionViewsList(value: Array): TransactionBodyView; + addActionViews(value?: ActionView, index?: number): ActionView; + + hasTransactionParameters(): boolean; + clearTransactionParameters(): void; + getTransactionParameters(): TransactionParameters | undefined; + setTransactionParameters(value?: TransactionParameters): TransactionBodyView; + + hasFee(): boolean; + clearFee(): void; + getFee(): penumbra_core_component_fee_v1alpha1_fee_pb.Fee | undefined; + setFee(value?: penumbra_core_component_fee_v1alpha1_fee_pb.Fee): TransactionBodyView; + + hasDetectionData(): boolean; + clearDetectionData(): void; + getDetectionData(): DetectionData | undefined; + setDetectionData(value?: DetectionData): TransactionBodyView; + + hasMemoView(): boolean; + clearMemoView(): void; + getMemoView(): MemoView | undefined; + setMemoView(value?: MemoView): TransactionBodyView; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): TransactionBodyView.AsObject; + static toObject(includeInstance: boolean, msg: TransactionBodyView): TransactionBodyView.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: TransactionBodyView, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): TransactionBodyView; + static deserializeBinaryFromReader(message: TransactionBodyView, reader: jspb.BinaryReader): TransactionBodyView; +} + +export namespace TransactionBodyView { + export type AsObject = { + actionViewsList: Array, + transactionParameters?: TransactionParameters.AsObject, + fee?: penumbra_core_component_fee_v1alpha1_fee_pb.Fee.AsObject, + detectionData?: DetectionData.AsObject, + memoView?: MemoView.AsObject, + } +} + +export class ActionView extends jspb.Message { + + hasSpend(): boolean; + clearSpend(): void; + getSpend(): penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.SpendView | undefined; + setSpend(value?: penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.SpendView): ActionView; + + hasOutput(): boolean; + clearOutput(): void; + getOutput(): penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.OutputView | undefined; + setOutput(value?: penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.OutputView): ActionView; + + hasSwap(): boolean; + clearSwap(): void; + getSwap(): penumbra_core_component_dex_v1alpha1_dex_pb.SwapView | undefined; + setSwap(value?: penumbra_core_component_dex_v1alpha1_dex_pb.SwapView): ActionView; + + hasSwapClaim(): boolean; + clearSwapClaim(): void; + getSwapClaim(): penumbra_core_component_dex_v1alpha1_dex_pb.SwapClaimView | undefined; + setSwapClaim(value?: penumbra_core_component_dex_v1alpha1_dex_pb.SwapClaimView): ActionView; + + hasValidatorDefinition(): boolean; + clearValidatorDefinition(): void; + getValidatorDefinition(): penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorDefinition | undefined; + setValidatorDefinition(value?: penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorDefinition): ActionView; + + hasIbcAction(): boolean; + clearIbcAction(): void; + getIbcAction(): penumbra_core_component_ibc_v1alpha1_ibc_pb.IbcAction | undefined; + setIbcAction(value?: penumbra_core_component_ibc_v1alpha1_ibc_pb.IbcAction): ActionView; + + hasProposalSubmit(): boolean; + clearProposalSubmit(): void; + getProposalSubmit(): penumbra_core_component_governance_v1alpha1_governance_pb.ProposalSubmit | undefined; + setProposalSubmit(value?: penumbra_core_component_governance_v1alpha1_governance_pb.ProposalSubmit): ActionView; + + hasProposalWithdraw(): boolean; + clearProposalWithdraw(): void; + getProposalWithdraw(): penumbra_core_component_governance_v1alpha1_governance_pb.ProposalWithdraw | undefined; + setProposalWithdraw(value?: penumbra_core_component_governance_v1alpha1_governance_pb.ProposalWithdraw): ActionView; + + hasValidatorVote(): boolean; + clearValidatorVote(): void; + getValidatorVote(): penumbra_core_component_governance_v1alpha1_governance_pb.ValidatorVote | undefined; + setValidatorVote(value?: penumbra_core_component_governance_v1alpha1_governance_pb.ValidatorVote): ActionView; + + hasDelegatorVote(): boolean; + clearDelegatorVote(): void; + getDelegatorVote(): penumbra_core_component_governance_v1alpha1_governance_pb.DelegatorVoteView | undefined; + setDelegatorVote(value?: penumbra_core_component_governance_v1alpha1_governance_pb.DelegatorVoteView): ActionView; + + hasProposalDepositClaim(): boolean; + clearProposalDepositClaim(): void; + getProposalDepositClaim(): penumbra_core_component_governance_v1alpha1_governance_pb.ProposalDepositClaim | undefined; + setProposalDepositClaim(value?: penumbra_core_component_governance_v1alpha1_governance_pb.ProposalDepositClaim): ActionView; + + hasPositionOpen(): boolean; + clearPositionOpen(): void; + getPositionOpen(): penumbra_core_component_dex_v1alpha1_dex_pb.PositionOpen | undefined; + setPositionOpen(value?: penumbra_core_component_dex_v1alpha1_dex_pb.PositionOpen): ActionView; + + hasPositionClose(): boolean; + clearPositionClose(): void; + getPositionClose(): penumbra_core_component_dex_v1alpha1_dex_pb.PositionClose | undefined; + setPositionClose(value?: penumbra_core_component_dex_v1alpha1_dex_pb.PositionClose): ActionView; + + hasPositionWithdraw(): boolean; + clearPositionWithdraw(): void; + getPositionWithdraw(): penumbra_core_component_dex_v1alpha1_dex_pb.PositionWithdraw | undefined; + setPositionWithdraw(value?: penumbra_core_component_dex_v1alpha1_dex_pb.PositionWithdraw): ActionView; + + hasPositionRewardClaim(): boolean; + clearPositionRewardClaim(): void; + getPositionRewardClaim(): penumbra_core_component_dex_v1alpha1_dex_pb.PositionRewardClaim | undefined; + setPositionRewardClaim(value?: penumbra_core_component_dex_v1alpha1_dex_pb.PositionRewardClaim): ActionView; + + hasDelegate(): boolean; + clearDelegate(): void; + getDelegate(): penumbra_core_component_stake_v1alpha1_stake_pb.Delegate | undefined; + setDelegate(value?: penumbra_core_component_stake_v1alpha1_stake_pb.Delegate): ActionView; + + hasUndelegate(): boolean; + clearUndelegate(): void; + getUndelegate(): penumbra_core_component_stake_v1alpha1_stake_pb.Undelegate | undefined; + setUndelegate(value?: penumbra_core_component_stake_v1alpha1_stake_pb.Undelegate): ActionView; + + hasDaoSpend(): boolean; + clearDaoSpend(): void; + getDaoSpend(): penumbra_core_component_governance_v1alpha1_governance_pb.DaoSpend | undefined; + setDaoSpend(value?: penumbra_core_component_governance_v1alpha1_governance_pb.DaoSpend): ActionView; + + hasDaoOutput(): boolean; + clearDaoOutput(): void; + getDaoOutput(): penumbra_core_component_governance_v1alpha1_governance_pb.DaoOutput | undefined; + setDaoOutput(value?: penumbra_core_component_governance_v1alpha1_governance_pb.DaoOutput): ActionView; + + hasDaoDeposit(): boolean; + clearDaoDeposit(): void; + getDaoDeposit(): penumbra_core_component_governance_v1alpha1_governance_pb.DaoDeposit | undefined; + setDaoDeposit(value?: penumbra_core_component_governance_v1alpha1_governance_pb.DaoDeposit): ActionView; + + hasUndelegateClaim(): boolean; + clearUndelegateClaim(): void; + getUndelegateClaim(): penumbra_core_component_stake_v1alpha1_stake_pb.UndelegateClaim | undefined; + setUndelegateClaim(value?: penumbra_core_component_stake_v1alpha1_stake_pb.UndelegateClaim): ActionView; + + hasIcs20Withdrawal(): boolean; + clearIcs20Withdrawal(): void; + getIcs20Withdrawal(): penumbra_core_component_ibc_v1alpha1_ibc_pb.Ics20Withdrawal | undefined; + setIcs20Withdrawal(value?: penumbra_core_component_ibc_v1alpha1_ibc_pb.Ics20Withdrawal): ActionView; + + getActionViewCase(): ActionView.ActionViewCase; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ActionView.AsObject; + static toObject(includeInstance: boolean, msg: ActionView): ActionView.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ActionView, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ActionView; + static deserializeBinaryFromReader(message: ActionView, reader: jspb.BinaryReader): ActionView; +} + +export namespace ActionView { + export type AsObject = { + spend?: penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.SpendView.AsObject, + output?: penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.OutputView.AsObject, + swap?: penumbra_core_component_dex_v1alpha1_dex_pb.SwapView.AsObject, + swapClaim?: penumbra_core_component_dex_v1alpha1_dex_pb.SwapClaimView.AsObject, + validatorDefinition?: penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorDefinition.AsObject, + ibcAction?: penumbra_core_component_ibc_v1alpha1_ibc_pb.IbcAction.AsObject, + proposalSubmit?: penumbra_core_component_governance_v1alpha1_governance_pb.ProposalSubmit.AsObject, + proposalWithdraw?: penumbra_core_component_governance_v1alpha1_governance_pb.ProposalWithdraw.AsObject, + validatorVote?: penumbra_core_component_governance_v1alpha1_governance_pb.ValidatorVote.AsObject, + delegatorVote?: penumbra_core_component_governance_v1alpha1_governance_pb.DelegatorVoteView.AsObject, + proposalDepositClaim?: penumbra_core_component_governance_v1alpha1_governance_pb.ProposalDepositClaim.AsObject, + positionOpen?: penumbra_core_component_dex_v1alpha1_dex_pb.PositionOpen.AsObject, + positionClose?: penumbra_core_component_dex_v1alpha1_dex_pb.PositionClose.AsObject, + positionWithdraw?: penumbra_core_component_dex_v1alpha1_dex_pb.PositionWithdraw.AsObject, + positionRewardClaim?: penumbra_core_component_dex_v1alpha1_dex_pb.PositionRewardClaim.AsObject, + delegate?: penumbra_core_component_stake_v1alpha1_stake_pb.Delegate.AsObject, + undelegate?: penumbra_core_component_stake_v1alpha1_stake_pb.Undelegate.AsObject, + daoSpend?: penumbra_core_component_governance_v1alpha1_governance_pb.DaoSpend.AsObject, + daoOutput?: penumbra_core_component_governance_v1alpha1_governance_pb.DaoOutput.AsObject, + daoDeposit?: penumbra_core_component_governance_v1alpha1_governance_pb.DaoDeposit.AsObject, + undelegateClaim?: penumbra_core_component_stake_v1alpha1_stake_pb.UndelegateClaim.AsObject, + ics20Withdrawal?: penumbra_core_component_ibc_v1alpha1_ibc_pb.Ics20Withdrawal.AsObject, + } + + export enum ActionViewCase { + ACTION_VIEW_NOT_SET = 0, + SPEND = 1, + OUTPUT = 2, + SWAP = 3, + SWAP_CLAIM = 4, + VALIDATOR_DEFINITION = 16, + IBC_ACTION = 17, + PROPOSAL_SUBMIT = 18, + PROPOSAL_WITHDRAW = 19, + VALIDATOR_VOTE = 20, + DELEGATOR_VOTE = 21, + PROPOSAL_DEPOSIT_CLAIM = 22, + POSITION_OPEN = 30, + POSITION_CLOSE = 31, + POSITION_WITHDRAW = 32, + POSITION_REWARD_CLAIM = 34, + DELEGATE = 41, + UNDELEGATE = 42, + DAO_SPEND = 50, + DAO_OUTPUT = 51, + DAO_DEPOSIT = 52, + UNDELEGATE_CLAIM = 43, + ICS20_WITHDRAWAL = 200, + } + +} + +export class AuthorizationData extends jspb.Message { + + hasEffectHash(): boolean; + clearEffectHash(): void; + getEffectHash(): penumbra_core_component_chain_v1alpha1_chain_pb.EffectHash | undefined; + setEffectHash(value?: penumbra_core_component_chain_v1alpha1_chain_pb.EffectHash): AuthorizationData; + clearSpendAuthsList(): void; + getSpendAuthsList(): Array; + setSpendAuthsList(value: Array): AuthorizationData; + addSpendAuths(value?: penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb.SpendAuthSignature, index?: number): penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb.SpendAuthSignature; + clearDelegatorVoteAuthsList(): void; + getDelegatorVoteAuthsList(): Array; + setDelegatorVoteAuthsList(value: Array): AuthorizationData; + addDelegatorVoteAuths(value?: penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb.SpendAuthSignature, index?: number): penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb.SpendAuthSignature; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): AuthorizationData.AsObject; + static toObject(includeInstance: boolean, msg: AuthorizationData): AuthorizationData.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: AuthorizationData, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): AuthorizationData; + static deserializeBinaryFromReader(message: AuthorizationData, reader: jspb.BinaryReader): AuthorizationData; +} + +export namespace AuthorizationData { + export type AsObject = { + effectHash?: penumbra_core_component_chain_v1alpha1_chain_pb.EffectHash.AsObject, + spendAuthsList: Array, + delegatorVoteAuthsList: Array, + } +} + +export class WitnessData extends jspb.Message { + + hasAnchor(): boolean; + clearAnchor(): void; + getAnchor(): penumbra_crypto_tct_v1alpha1_tct_pb.MerkleRoot | undefined; + setAnchor(value?: penumbra_crypto_tct_v1alpha1_tct_pb.MerkleRoot): WitnessData; + clearStateCommitmentProofsList(): void; + getStateCommitmentProofsList(): Array; + setStateCommitmentProofsList(value: Array): WitnessData; + addStateCommitmentProofs(value?: penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitmentProof, index?: number): penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitmentProof; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): WitnessData.AsObject; + static toObject(includeInstance: boolean, msg: WitnessData): WitnessData.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: WitnessData, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): WitnessData; + static deserializeBinaryFromReader(message: WitnessData, reader: jspb.BinaryReader): WitnessData; +} + +export namespace WitnessData { + export type AsObject = { + anchor?: penumbra_crypto_tct_v1alpha1_tct_pb.MerkleRoot.AsObject, + stateCommitmentProofsList: Array, + } +} + +export class TransactionPlan extends jspb.Message { + clearActionsList(): void; + getActionsList(): Array; + setActionsList(value: Array): TransactionPlan; + addActions(value?: ActionPlan, index?: number): ActionPlan; + getExpiryHeight(): number; + setExpiryHeight(value: number): TransactionPlan; + getChainId(): string; + setChainId(value: string): TransactionPlan; + + hasFee(): boolean; + clearFee(): void; + getFee(): penumbra_core_component_fee_v1alpha1_fee_pb.Fee | undefined; + setFee(value?: penumbra_core_component_fee_v1alpha1_fee_pb.Fee): TransactionPlan; + clearCluePlansList(): void; + getCluePlansList(): Array; + setCluePlansList(value: Array): TransactionPlan; + addCluePlans(value?: CluePlan, index?: number): CluePlan; + + hasMemoPlan(): boolean; + clearMemoPlan(): void; + getMemoPlan(): MemoPlan | undefined; + setMemoPlan(value?: MemoPlan): TransactionPlan; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): TransactionPlan.AsObject; + static toObject(includeInstance: boolean, msg: TransactionPlan): TransactionPlan.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: TransactionPlan, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): TransactionPlan; + static deserializeBinaryFromReader(message: TransactionPlan, reader: jspb.BinaryReader): TransactionPlan; +} + +export namespace TransactionPlan { + export type AsObject = { + actionsList: Array, + expiryHeight: number, + chainId: string, + fee?: penumbra_core_component_fee_v1alpha1_fee_pb.Fee.AsObject, + cluePlansList: Array, + memoPlan?: MemoPlan.AsObject, + } +} + +export class ActionPlan extends jspb.Message { + + hasSpend(): boolean; + clearSpend(): void; + getSpend(): penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.SpendPlan | undefined; + setSpend(value?: penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.SpendPlan): ActionPlan; + + hasOutput(): boolean; + clearOutput(): void; + getOutput(): penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.OutputPlan | undefined; + setOutput(value?: penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.OutputPlan): ActionPlan; + + hasSwap(): boolean; + clearSwap(): void; + getSwap(): penumbra_core_component_dex_v1alpha1_dex_pb.SwapPlan | undefined; + setSwap(value?: penumbra_core_component_dex_v1alpha1_dex_pb.SwapPlan): ActionPlan; + + hasSwapClaim(): boolean; + clearSwapClaim(): void; + getSwapClaim(): penumbra_core_component_dex_v1alpha1_dex_pb.SwapClaimPlan | undefined; + setSwapClaim(value?: penumbra_core_component_dex_v1alpha1_dex_pb.SwapClaimPlan): ActionPlan; + + hasValidatorDefinition(): boolean; + clearValidatorDefinition(): void; + getValidatorDefinition(): penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorDefinition | undefined; + setValidatorDefinition(value?: penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorDefinition): ActionPlan; + + hasIbcAction(): boolean; + clearIbcAction(): void; + getIbcAction(): penumbra_core_component_ibc_v1alpha1_ibc_pb.IbcAction | undefined; + setIbcAction(value?: penumbra_core_component_ibc_v1alpha1_ibc_pb.IbcAction): ActionPlan; + + hasProposalSubmit(): boolean; + clearProposalSubmit(): void; + getProposalSubmit(): penumbra_core_component_governance_v1alpha1_governance_pb.ProposalSubmit | undefined; + setProposalSubmit(value?: penumbra_core_component_governance_v1alpha1_governance_pb.ProposalSubmit): ActionPlan; + + hasProposalWithdraw(): boolean; + clearProposalWithdraw(): void; + getProposalWithdraw(): penumbra_core_component_governance_v1alpha1_governance_pb.ProposalWithdraw | undefined; + setProposalWithdraw(value?: penumbra_core_component_governance_v1alpha1_governance_pb.ProposalWithdraw): ActionPlan; + + hasValidatorVote(): boolean; + clearValidatorVote(): void; + getValidatorVote(): penumbra_core_component_governance_v1alpha1_governance_pb.ValidatorVote | undefined; + setValidatorVote(value?: penumbra_core_component_governance_v1alpha1_governance_pb.ValidatorVote): ActionPlan; + + hasDelegatorVote(): boolean; + clearDelegatorVote(): void; + getDelegatorVote(): penumbra_core_component_governance_v1alpha1_governance_pb.DelegatorVotePlan | undefined; + setDelegatorVote(value?: penumbra_core_component_governance_v1alpha1_governance_pb.DelegatorVotePlan): ActionPlan; + + hasProposalDepositClaim(): boolean; + clearProposalDepositClaim(): void; + getProposalDepositClaim(): penumbra_core_component_governance_v1alpha1_governance_pb.ProposalDepositClaim | undefined; + setProposalDepositClaim(value?: penumbra_core_component_governance_v1alpha1_governance_pb.ProposalDepositClaim): ActionPlan; + + hasWithdrawal(): boolean; + clearWithdrawal(): void; + getWithdrawal(): penumbra_core_component_ibc_v1alpha1_ibc_pb.Ics20Withdrawal | undefined; + setWithdrawal(value?: penumbra_core_component_ibc_v1alpha1_ibc_pb.Ics20Withdrawal): ActionPlan; + + hasPositionOpen(): boolean; + clearPositionOpen(): void; + getPositionOpen(): penumbra_core_component_dex_v1alpha1_dex_pb.PositionOpen | undefined; + setPositionOpen(value?: penumbra_core_component_dex_v1alpha1_dex_pb.PositionOpen): ActionPlan; + + hasPositionClose(): boolean; + clearPositionClose(): void; + getPositionClose(): penumbra_core_component_dex_v1alpha1_dex_pb.PositionClose | undefined; + setPositionClose(value?: penumbra_core_component_dex_v1alpha1_dex_pb.PositionClose): ActionPlan; + + hasPositionWithdraw(): boolean; + clearPositionWithdraw(): void; + getPositionWithdraw(): penumbra_core_component_dex_v1alpha1_dex_pb.PositionWithdrawPlan | undefined; + setPositionWithdraw(value?: penumbra_core_component_dex_v1alpha1_dex_pb.PositionWithdrawPlan): ActionPlan; + + hasPositionRewardClaim(): boolean; + clearPositionRewardClaim(): void; + getPositionRewardClaim(): penumbra_core_component_dex_v1alpha1_dex_pb.PositionRewardClaimPlan | undefined; + setPositionRewardClaim(value?: penumbra_core_component_dex_v1alpha1_dex_pb.PositionRewardClaimPlan): ActionPlan; + + hasDelegate(): boolean; + clearDelegate(): void; + getDelegate(): penumbra_core_component_stake_v1alpha1_stake_pb.Delegate | undefined; + setDelegate(value?: penumbra_core_component_stake_v1alpha1_stake_pb.Delegate): ActionPlan; + + hasUndelegate(): boolean; + clearUndelegate(): void; + getUndelegate(): penumbra_core_component_stake_v1alpha1_stake_pb.Undelegate | undefined; + setUndelegate(value?: penumbra_core_component_stake_v1alpha1_stake_pb.Undelegate): ActionPlan; + + hasUndelegateClaim(): boolean; + clearUndelegateClaim(): void; + getUndelegateClaim(): penumbra_core_component_stake_v1alpha1_stake_pb.UndelegateClaimPlan | undefined; + setUndelegateClaim(value?: penumbra_core_component_stake_v1alpha1_stake_pb.UndelegateClaimPlan): ActionPlan; + + hasDaoSpend(): boolean; + clearDaoSpend(): void; + getDaoSpend(): penumbra_core_component_governance_v1alpha1_governance_pb.DaoSpend | undefined; + setDaoSpend(value?: penumbra_core_component_governance_v1alpha1_governance_pb.DaoSpend): ActionPlan; + + hasDaoOutput(): boolean; + clearDaoOutput(): void; + getDaoOutput(): penumbra_core_component_governance_v1alpha1_governance_pb.DaoOutput | undefined; + setDaoOutput(value?: penumbra_core_component_governance_v1alpha1_governance_pb.DaoOutput): ActionPlan; + + hasDaoDeposit(): boolean; + clearDaoDeposit(): void; + getDaoDeposit(): penumbra_core_component_governance_v1alpha1_governance_pb.DaoDeposit | undefined; + setDaoDeposit(value?: penumbra_core_component_governance_v1alpha1_governance_pb.DaoDeposit): ActionPlan; + + getActionCase(): ActionPlan.ActionCase; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ActionPlan.AsObject; + static toObject(includeInstance: boolean, msg: ActionPlan): ActionPlan.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ActionPlan, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ActionPlan; + static deserializeBinaryFromReader(message: ActionPlan, reader: jspb.BinaryReader): ActionPlan; +} + +export namespace ActionPlan { + export type AsObject = { + spend?: penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.SpendPlan.AsObject, + output?: penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.OutputPlan.AsObject, + swap?: penumbra_core_component_dex_v1alpha1_dex_pb.SwapPlan.AsObject, + swapClaim?: penumbra_core_component_dex_v1alpha1_dex_pb.SwapClaimPlan.AsObject, + validatorDefinition?: penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorDefinition.AsObject, + ibcAction?: penumbra_core_component_ibc_v1alpha1_ibc_pb.IbcAction.AsObject, + proposalSubmit?: penumbra_core_component_governance_v1alpha1_governance_pb.ProposalSubmit.AsObject, + proposalWithdraw?: penumbra_core_component_governance_v1alpha1_governance_pb.ProposalWithdraw.AsObject, + validatorVote?: penumbra_core_component_governance_v1alpha1_governance_pb.ValidatorVote.AsObject, + delegatorVote?: penumbra_core_component_governance_v1alpha1_governance_pb.DelegatorVotePlan.AsObject, + proposalDepositClaim?: penumbra_core_component_governance_v1alpha1_governance_pb.ProposalDepositClaim.AsObject, + withdrawal?: penumbra_core_component_ibc_v1alpha1_ibc_pb.Ics20Withdrawal.AsObject, + positionOpen?: penumbra_core_component_dex_v1alpha1_dex_pb.PositionOpen.AsObject, + positionClose?: penumbra_core_component_dex_v1alpha1_dex_pb.PositionClose.AsObject, + positionWithdraw?: penumbra_core_component_dex_v1alpha1_dex_pb.PositionWithdrawPlan.AsObject, + positionRewardClaim?: penumbra_core_component_dex_v1alpha1_dex_pb.PositionRewardClaimPlan.AsObject, + delegate?: penumbra_core_component_stake_v1alpha1_stake_pb.Delegate.AsObject, + undelegate?: penumbra_core_component_stake_v1alpha1_stake_pb.Undelegate.AsObject, + undelegateClaim?: penumbra_core_component_stake_v1alpha1_stake_pb.UndelegateClaimPlan.AsObject, + daoSpend?: penumbra_core_component_governance_v1alpha1_governance_pb.DaoSpend.AsObject, + daoOutput?: penumbra_core_component_governance_v1alpha1_governance_pb.DaoOutput.AsObject, + daoDeposit?: penumbra_core_component_governance_v1alpha1_governance_pb.DaoDeposit.AsObject, + } + + export enum ActionCase { + ACTION_NOT_SET = 0, + SPEND = 1, + OUTPUT = 2, + SWAP = 3, + SWAP_CLAIM = 4, + VALIDATOR_DEFINITION = 16, + IBC_ACTION = 17, + PROPOSAL_SUBMIT = 18, + PROPOSAL_WITHDRAW = 19, + VALIDATOR_VOTE = 20, + DELEGATOR_VOTE = 21, + PROPOSAL_DEPOSIT_CLAIM = 22, + WITHDRAWAL = 23, + POSITION_OPEN = 30, + POSITION_CLOSE = 31, + POSITION_WITHDRAW = 32, + POSITION_REWARD_CLAIM = 34, + DELEGATE = 40, + UNDELEGATE = 41, + UNDELEGATE_CLAIM = 42, + DAO_SPEND = 50, + DAO_OUTPUT = 51, + DAO_DEPOSIT = 52, + } + +} + +export class CluePlan extends jspb.Message { + + hasAddress(): boolean; + clearAddress(): void; + getAddress(): penumbra_core_keys_v1alpha1_keys_pb.Address | undefined; + setAddress(value?: penumbra_core_keys_v1alpha1_keys_pb.Address): CluePlan; + getRseed(): Uint8Array | string; + getRseed_asU8(): Uint8Array; + getRseed_asB64(): string; + setRseed(value: Uint8Array | string): CluePlan; + getPrecisionBits(): number; + setPrecisionBits(value: number): CluePlan; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): CluePlan.AsObject; + static toObject(includeInstance: boolean, msg: CluePlan): CluePlan.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: CluePlan, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): CluePlan; + static deserializeBinaryFromReader(message: CluePlan, reader: jspb.BinaryReader): CluePlan; +} + +export namespace CluePlan { + export type AsObject = { + address?: penumbra_core_keys_v1alpha1_keys_pb.Address.AsObject, + rseed: Uint8Array | string, + precisionBits: number, + } +} + +export class MemoPlan extends jspb.Message { + + hasPlaintext(): boolean; + clearPlaintext(): void; + getPlaintext(): MemoPlaintext | undefined; + setPlaintext(value?: MemoPlaintext): MemoPlan; + getKey(): Uint8Array | string; + getKey_asU8(): Uint8Array; + getKey_asB64(): string; + setKey(value: Uint8Array | string): MemoPlan; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): MemoPlan.AsObject; + static toObject(includeInstance: boolean, msg: MemoPlan): MemoPlan.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: MemoPlan, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): MemoPlan; + static deserializeBinaryFromReader(message: MemoPlan, reader: jspb.BinaryReader): MemoPlan; +} + +export namespace MemoPlan { + export type AsObject = { + plaintext?: MemoPlaintext.AsObject, + key: Uint8Array | string, + } +} + +export class MemoCiphertext extends jspb.Message { + getInner(): Uint8Array | string; + getInner_asU8(): Uint8Array; + getInner_asB64(): string; + setInner(value: Uint8Array | string): MemoCiphertext; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): MemoCiphertext.AsObject; + static toObject(includeInstance: boolean, msg: MemoCiphertext): MemoCiphertext.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: MemoCiphertext, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): MemoCiphertext; + static deserializeBinaryFromReader(message: MemoCiphertext, reader: jspb.BinaryReader): MemoCiphertext; +} + +export namespace MemoCiphertext { + export type AsObject = { + inner: Uint8Array | string, + } +} + +export class MemoPlaintext extends jspb.Message { + + hasSender(): boolean; + clearSender(): void; + getSender(): penumbra_core_keys_v1alpha1_keys_pb.Address | undefined; + setSender(value?: penumbra_core_keys_v1alpha1_keys_pb.Address): MemoPlaintext; + getText(): string; + setText(value: string): MemoPlaintext; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): MemoPlaintext.AsObject; + static toObject(includeInstance: boolean, msg: MemoPlaintext): MemoPlaintext.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: MemoPlaintext, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): MemoPlaintext; + static deserializeBinaryFromReader(message: MemoPlaintext, reader: jspb.BinaryReader): MemoPlaintext; +} + +export namespace MemoPlaintext { + export type AsObject = { + sender?: penumbra_core_keys_v1alpha1_keys_pb.Address.AsObject, + text: string, + } +} + +export class MemoView extends jspb.Message { + + hasVisible(): boolean; + clearVisible(): void; + getVisible(): MemoView.Visible | undefined; + setVisible(value?: MemoView.Visible): MemoView; + + hasOpaque(): boolean; + clearOpaque(): void; + getOpaque(): MemoView.Opaque | undefined; + setOpaque(value?: MemoView.Opaque): MemoView; + + getMemoViewCase(): MemoView.MemoViewCase; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): MemoView.AsObject; + static toObject(includeInstance: boolean, msg: MemoView): MemoView.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: MemoView, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): MemoView; + static deserializeBinaryFromReader(message: MemoView, reader: jspb.BinaryReader): MemoView; +} + +export namespace MemoView { + export type AsObject = { + visible?: MemoView.Visible.AsObject, + opaque?: MemoView.Opaque.AsObject, + } + + + export class Visible extends jspb.Message { + + hasCiphertext(): boolean; + clearCiphertext(): void; + getCiphertext(): MemoCiphertext | undefined; + setCiphertext(value?: MemoCiphertext): Visible; + + hasPlaintext(): boolean; + clearPlaintext(): void; + getPlaintext(): MemoPlaintext | undefined; + setPlaintext(value?: MemoPlaintext): Visible; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Visible.AsObject; + static toObject(includeInstance: boolean, msg: Visible): Visible.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Visible, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Visible; + static deserializeBinaryFromReader(message: Visible, reader: jspb.BinaryReader): Visible; + } + + export namespace Visible { + export type AsObject = { + ciphertext?: MemoCiphertext.AsObject, + plaintext?: MemoPlaintext.AsObject, + } + } + + export class Opaque extends jspb.Message { + + hasCiphertext(): boolean; + clearCiphertext(): void; + getCiphertext(): MemoCiphertext | undefined; + setCiphertext(value?: MemoCiphertext): Opaque; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Opaque.AsObject; + static toObject(includeInstance: boolean, msg: Opaque): Opaque.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Opaque, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Opaque; + static deserializeBinaryFromReader(message: Opaque, reader: jspb.BinaryReader): Opaque; + } + + export namespace Opaque { + export type AsObject = { + ciphertext?: MemoCiphertext.AsObject, + } + } + + + export enum MemoViewCase { + MEMO_VIEW_NOT_SET = 0, + VISIBLE = 1, + OPAQUE = 2, + } + +} diff --git a/src/chains/penumbra/generated/penumbra/core/transaction/v1alpha1/transaction_pb.js b/src/chains/penumbra/generated/penumbra/core/transaction/v1alpha1/transaction_pb.js new file mode 100644 index 0000000000..576e6fb1ae --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/core/transaction/v1alpha1/transaction_pb.js @@ -0,0 +1,9287 @@ +// source: penumbra/core/transaction/v1alpha1/transaction.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = (function() { + if (this) { return this; } + if (typeof window !== 'undefined') { return window; } + if (typeof global !== 'undefined') { return global; } + if (typeof self !== 'undefined') { return self; } + return Function('return this')(); +}.call(null)); + +var penumbra_crypto_tct_v1alpha1_tct_pb = require('../../../../penumbra/crypto/tct/v1alpha1/tct_pb.js'); +goog.object.extend(proto, penumbra_crypto_tct_v1alpha1_tct_pb); +var penumbra_crypto_decaf377_fmd_v1alpha1_decaf377_fmd_pb = require('../../../../penumbra/crypto/decaf377_fmd/v1alpha1/decaf377_fmd_pb.js'); +goog.object.extend(proto, penumbra_crypto_decaf377_fmd_v1alpha1_decaf377_fmd_pb); +var penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb = require('../../../../penumbra/crypto/decaf377_rdsa/v1alpha1/decaf377_rdsa_pb.js'); +goog.object.extend(proto, penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb); +var penumbra_core_asset_v1alpha1_asset_pb = require('../../../../penumbra/core/asset/v1alpha1/asset_pb.js'); +goog.object.extend(proto, penumbra_core_asset_v1alpha1_asset_pb); +var penumbra_core_keys_v1alpha1_keys_pb = require('../../../../penumbra/core/keys/v1alpha1/keys_pb.js'); +goog.object.extend(proto, penumbra_core_keys_v1alpha1_keys_pb); +var penumbra_core_component_sct_v1alpha1_sct_pb = require('../../../../penumbra/core/component/sct/v1alpha1/sct_pb.js'); +goog.object.extend(proto, penumbra_core_component_sct_v1alpha1_sct_pb); +var penumbra_core_component_chain_v1alpha1_chain_pb = require('../../../../penumbra/core/component/chain/v1alpha1/chain_pb.js'); +goog.object.extend(proto, penumbra_core_component_chain_v1alpha1_chain_pb); +var penumbra_core_component_fee_v1alpha1_fee_pb = require('../../../../penumbra/core/component/fee/v1alpha1/fee_pb.js'); +goog.object.extend(proto, penumbra_core_component_fee_v1alpha1_fee_pb); +var penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb = require('../../../../penumbra/core/component/shielded_pool/v1alpha1/shielded_pool_pb.js'); +goog.object.extend(proto, penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb); +var penumbra_core_component_dex_v1alpha1_dex_pb = require('../../../../penumbra/core/component/dex/v1alpha1/dex_pb.js'); +goog.object.extend(proto, penumbra_core_component_dex_v1alpha1_dex_pb); +var penumbra_core_component_ibc_v1alpha1_ibc_pb = require('../../../../penumbra/core/component/ibc/v1alpha1/ibc_pb.js'); +goog.object.extend(proto, penumbra_core_component_ibc_v1alpha1_ibc_pb); +var penumbra_core_component_stake_v1alpha1_stake_pb = require('../../../../penumbra/core/component/stake/v1alpha1/stake_pb.js'); +goog.object.extend(proto, penumbra_core_component_stake_v1alpha1_stake_pb); +var penumbra_core_component_governance_v1alpha1_governance_pb = require('../../../../penumbra/core/component/governance/v1alpha1/governance_pb.js'); +goog.object.extend(proto, penumbra_core_component_governance_v1alpha1_governance_pb); +goog.exportSymbol('proto.penumbra.core.transaction.v1alpha1.Action', null, global); +goog.exportSymbol('proto.penumbra.core.transaction.v1alpha1.Action.ActionCase', null, global); +goog.exportSymbol('proto.penumbra.core.transaction.v1alpha1.ActionPlan', null, global); +goog.exportSymbol('proto.penumbra.core.transaction.v1alpha1.ActionPlan.ActionCase', null, global); +goog.exportSymbol('proto.penumbra.core.transaction.v1alpha1.ActionView', null, global); +goog.exportSymbol('proto.penumbra.core.transaction.v1alpha1.ActionView.ActionViewCase', null, global); +goog.exportSymbol('proto.penumbra.core.transaction.v1alpha1.AuthorizationData', null, global); +goog.exportSymbol('proto.penumbra.core.transaction.v1alpha1.CluePlan', null, global); +goog.exportSymbol('proto.penumbra.core.transaction.v1alpha1.DetectionData', null, global); +goog.exportSymbol('proto.penumbra.core.transaction.v1alpha1.Id', null, global); +goog.exportSymbol('proto.penumbra.core.transaction.v1alpha1.MemoCiphertext', null, global); +goog.exportSymbol('proto.penumbra.core.transaction.v1alpha1.MemoData', null, global); +goog.exportSymbol('proto.penumbra.core.transaction.v1alpha1.MemoPlaintext', null, global); +goog.exportSymbol('proto.penumbra.core.transaction.v1alpha1.MemoPlan', null, global); +goog.exportSymbol('proto.penumbra.core.transaction.v1alpha1.MemoView', null, global); +goog.exportSymbol('proto.penumbra.core.transaction.v1alpha1.MemoView.MemoViewCase', null, global); +goog.exportSymbol('proto.penumbra.core.transaction.v1alpha1.MemoView.Opaque', null, global); +goog.exportSymbol('proto.penumbra.core.transaction.v1alpha1.MemoView.Visible', null, global); +goog.exportSymbol('proto.penumbra.core.transaction.v1alpha1.NullifierWithNote', null, global); +goog.exportSymbol('proto.penumbra.core.transaction.v1alpha1.PayloadKeyWithCommitment', null, global); +goog.exportSymbol('proto.penumbra.core.transaction.v1alpha1.Transaction', null, global); +goog.exportSymbol('proto.penumbra.core.transaction.v1alpha1.TransactionBody', null, global); +goog.exportSymbol('proto.penumbra.core.transaction.v1alpha1.TransactionBodyView', null, global); +goog.exportSymbol('proto.penumbra.core.transaction.v1alpha1.TransactionParameters', null, global); +goog.exportSymbol('proto.penumbra.core.transaction.v1alpha1.TransactionPerspective', null, global); +goog.exportSymbol('proto.penumbra.core.transaction.v1alpha1.TransactionPlan', null, global); +goog.exportSymbol('proto.penumbra.core.transaction.v1alpha1.TransactionView', null, global); +goog.exportSymbol('proto.penumbra.core.transaction.v1alpha1.WitnessData', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.transaction.v1alpha1.Transaction = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.transaction.v1alpha1.Transaction, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.transaction.v1alpha1.Transaction.displayName = 'proto.penumbra.core.transaction.v1alpha1.Transaction'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.transaction.v1alpha1.Id = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.transaction.v1alpha1.Id, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.transaction.v1alpha1.Id.displayName = 'proto.penumbra.core.transaction.v1alpha1.Id'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.transaction.v1alpha1.TransactionBody = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.penumbra.core.transaction.v1alpha1.TransactionBody.repeatedFields_, null); +}; +goog.inherits(proto.penumbra.core.transaction.v1alpha1.TransactionBody, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.transaction.v1alpha1.TransactionBody.displayName = 'proto.penumbra.core.transaction.v1alpha1.TransactionBody'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.transaction.v1alpha1.MemoData = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.transaction.v1alpha1.MemoData, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.transaction.v1alpha1.MemoData.displayName = 'proto.penumbra.core.transaction.v1alpha1.MemoData'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.transaction.v1alpha1.TransactionParameters = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.transaction.v1alpha1.TransactionParameters, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.transaction.v1alpha1.TransactionParameters.displayName = 'proto.penumbra.core.transaction.v1alpha1.TransactionParameters'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.transaction.v1alpha1.DetectionData = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.penumbra.core.transaction.v1alpha1.DetectionData.repeatedFields_, null); +}; +goog.inherits(proto.penumbra.core.transaction.v1alpha1.DetectionData, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.transaction.v1alpha1.DetectionData.displayName = 'proto.penumbra.core.transaction.v1alpha1.DetectionData'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.transaction.v1alpha1.Action = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.penumbra.core.transaction.v1alpha1.Action.oneofGroups_); +}; +goog.inherits(proto.penumbra.core.transaction.v1alpha1.Action, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.transaction.v1alpha1.Action.displayName = 'proto.penumbra.core.transaction.v1alpha1.Action'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.transaction.v1alpha1.TransactionPerspective = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.penumbra.core.transaction.v1alpha1.TransactionPerspective.repeatedFields_, null); +}; +goog.inherits(proto.penumbra.core.transaction.v1alpha1.TransactionPerspective, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.transaction.v1alpha1.TransactionPerspective.displayName = 'proto.penumbra.core.transaction.v1alpha1.TransactionPerspective'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.transaction.v1alpha1.PayloadKeyWithCommitment = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.transaction.v1alpha1.PayloadKeyWithCommitment, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.transaction.v1alpha1.PayloadKeyWithCommitment.displayName = 'proto.penumbra.core.transaction.v1alpha1.PayloadKeyWithCommitment'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.transaction.v1alpha1.NullifierWithNote = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.transaction.v1alpha1.NullifierWithNote, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.transaction.v1alpha1.NullifierWithNote.displayName = 'proto.penumbra.core.transaction.v1alpha1.NullifierWithNote'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.transaction.v1alpha1.TransactionView = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.transaction.v1alpha1.TransactionView, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.transaction.v1alpha1.TransactionView.displayName = 'proto.penumbra.core.transaction.v1alpha1.TransactionView'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.transaction.v1alpha1.TransactionBodyView = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.penumbra.core.transaction.v1alpha1.TransactionBodyView.repeatedFields_, null); +}; +goog.inherits(proto.penumbra.core.transaction.v1alpha1.TransactionBodyView, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.transaction.v1alpha1.TransactionBodyView.displayName = 'proto.penumbra.core.transaction.v1alpha1.TransactionBodyView'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.transaction.v1alpha1.ActionView = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.penumbra.core.transaction.v1alpha1.ActionView.oneofGroups_); +}; +goog.inherits(proto.penumbra.core.transaction.v1alpha1.ActionView, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.transaction.v1alpha1.ActionView.displayName = 'proto.penumbra.core.transaction.v1alpha1.ActionView'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.transaction.v1alpha1.AuthorizationData = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.penumbra.core.transaction.v1alpha1.AuthorizationData.repeatedFields_, null); +}; +goog.inherits(proto.penumbra.core.transaction.v1alpha1.AuthorizationData, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.transaction.v1alpha1.AuthorizationData.displayName = 'proto.penumbra.core.transaction.v1alpha1.AuthorizationData'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.transaction.v1alpha1.WitnessData = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.penumbra.core.transaction.v1alpha1.WitnessData.repeatedFields_, null); +}; +goog.inherits(proto.penumbra.core.transaction.v1alpha1.WitnessData, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.transaction.v1alpha1.WitnessData.displayName = 'proto.penumbra.core.transaction.v1alpha1.WitnessData'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.transaction.v1alpha1.TransactionPlan = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.penumbra.core.transaction.v1alpha1.TransactionPlan.repeatedFields_, null); +}; +goog.inherits(proto.penumbra.core.transaction.v1alpha1.TransactionPlan, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.transaction.v1alpha1.TransactionPlan.displayName = 'proto.penumbra.core.transaction.v1alpha1.TransactionPlan'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.penumbra.core.transaction.v1alpha1.ActionPlan.oneofGroups_); +}; +goog.inherits(proto.penumbra.core.transaction.v1alpha1.ActionPlan, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.transaction.v1alpha1.ActionPlan.displayName = 'proto.penumbra.core.transaction.v1alpha1.ActionPlan'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.transaction.v1alpha1.CluePlan = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.transaction.v1alpha1.CluePlan, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.transaction.v1alpha1.CluePlan.displayName = 'proto.penumbra.core.transaction.v1alpha1.CluePlan'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.transaction.v1alpha1.MemoPlan = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.transaction.v1alpha1.MemoPlan, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.transaction.v1alpha1.MemoPlan.displayName = 'proto.penumbra.core.transaction.v1alpha1.MemoPlan'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.transaction.v1alpha1.MemoCiphertext = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.transaction.v1alpha1.MemoCiphertext, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.transaction.v1alpha1.MemoCiphertext.displayName = 'proto.penumbra.core.transaction.v1alpha1.MemoCiphertext'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.transaction.v1alpha1.MemoPlaintext = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.transaction.v1alpha1.MemoPlaintext, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.transaction.v1alpha1.MemoPlaintext.displayName = 'proto.penumbra.core.transaction.v1alpha1.MemoPlaintext'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.transaction.v1alpha1.MemoView = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.penumbra.core.transaction.v1alpha1.MemoView.oneofGroups_); +}; +goog.inherits(proto.penumbra.core.transaction.v1alpha1.MemoView, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.transaction.v1alpha1.MemoView.displayName = 'proto.penumbra.core.transaction.v1alpha1.MemoView'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.transaction.v1alpha1.MemoView.Visible = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.transaction.v1alpha1.MemoView.Visible, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.transaction.v1alpha1.MemoView.Visible.displayName = 'proto.penumbra.core.transaction.v1alpha1.MemoView.Visible'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.core.transaction.v1alpha1.MemoView.Opaque = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.core.transaction.v1alpha1.MemoView.Opaque, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.core.transaction.v1alpha1.MemoView.Opaque.displayName = 'proto.penumbra.core.transaction.v1alpha1.MemoView.Opaque'; +} + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.transaction.v1alpha1.Transaction.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.transaction.v1alpha1.Transaction.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.transaction.v1alpha1.Transaction} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.transaction.v1alpha1.Transaction.toObject = function(includeInstance, msg) { + var f, obj = { + body: (f = msg.getBody()) && proto.penumbra.core.transaction.v1alpha1.TransactionBody.toObject(includeInstance, f), + bindingSig: msg.getBindingSig_asB64(), + anchor: (f = msg.getAnchor()) && penumbra_crypto_tct_v1alpha1_tct_pb.MerkleRoot.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.transaction.v1alpha1.Transaction} + */ +proto.penumbra.core.transaction.v1alpha1.Transaction.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.transaction.v1alpha1.Transaction; + return proto.penumbra.core.transaction.v1alpha1.Transaction.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.transaction.v1alpha1.Transaction} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.transaction.v1alpha1.Transaction} + */ +proto.penumbra.core.transaction.v1alpha1.Transaction.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.transaction.v1alpha1.TransactionBody; + reader.readMessage(value,proto.penumbra.core.transaction.v1alpha1.TransactionBody.deserializeBinaryFromReader); + msg.setBody(value); + break; + case 2: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setBindingSig(value); + break; + case 3: + var value = new penumbra_crypto_tct_v1alpha1_tct_pb.MerkleRoot; + reader.readMessage(value,penumbra_crypto_tct_v1alpha1_tct_pb.MerkleRoot.deserializeBinaryFromReader); + msg.setAnchor(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.transaction.v1alpha1.Transaction.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.transaction.v1alpha1.Transaction.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.transaction.v1alpha1.Transaction} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.transaction.v1alpha1.Transaction.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getBody(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.transaction.v1alpha1.TransactionBody.serializeBinaryToWriter + ); + } + f = message.getBindingSig_asU8(); + if (f.length > 0) { + writer.writeBytes( + 2, + f + ); + } + f = message.getAnchor(); + if (f != null) { + writer.writeMessage( + 3, + f, + penumbra_crypto_tct_v1alpha1_tct_pb.MerkleRoot.serializeBinaryToWriter + ); + } +}; + + +/** + * optional TransactionBody body = 1; + * @return {?proto.penumbra.core.transaction.v1alpha1.TransactionBody} + */ +proto.penumbra.core.transaction.v1alpha1.Transaction.prototype.getBody = function() { + return /** @type{?proto.penumbra.core.transaction.v1alpha1.TransactionBody} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.transaction.v1alpha1.TransactionBody, 1)); +}; + + +/** + * @param {?proto.penumbra.core.transaction.v1alpha1.TransactionBody|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.Transaction} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.Transaction.prototype.setBody = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.Transaction} returns this + */ +proto.penumbra.core.transaction.v1alpha1.Transaction.prototype.clearBody = function() { + return this.setBody(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.Transaction.prototype.hasBody = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional bytes binding_sig = 2; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.transaction.v1alpha1.Transaction.prototype.getBindingSig = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * optional bytes binding_sig = 2; + * This is a type-conversion wrapper around `getBindingSig()` + * @return {string} + */ +proto.penumbra.core.transaction.v1alpha1.Transaction.prototype.getBindingSig_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getBindingSig())); +}; + + +/** + * optional bytes binding_sig = 2; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getBindingSig()` + * @return {!Uint8Array} + */ +proto.penumbra.core.transaction.v1alpha1.Transaction.prototype.getBindingSig_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getBindingSig())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.transaction.v1alpha1.Transaction} returns this + */ +proto.penumbra.core.transaction.v1alpha1.Transaction.prototype.setBindingSig = function(value) { + return jspb.Message.setProto3BytesField(this, 2, value); +}; + + +/** + * optional penumbra.crypto.tct.v1alpha1.MerkleRoot anchor = 3; + * @return {?proto.penumbra.crypto.tct.v1alpha1.MerkleRoot} + */ +proto.penumbra.core.transaction.v1alpha1.Transaction.prototype.getAnchor = function() { + return /** @type{?proto.penumbra.crypto.tct.v1alpha1.MerkleRoot} */ ( + jspb.Message.getWrapperField(this, penumbra_crypto_tct_v1alpha1_tct_pb.MerkleRoot, 3)); +}; + + +/** + * @param {?proto.penumbra.crypto.tct.v1alpha1.MerkleRoot|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.Transaction} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.Transaction.prototype.setAnchor = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.Transaction} returns this + */ +proto.penumbra.core.transaction.v1alpha1.Transaction.prototype.clearAnchor = function() { + return this.setAnchor(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.Transaction.prototype.hasAnchor = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.transaction.v1alpha1.Id.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.transaction.v1alpha1.Id.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.transaction.v1alpha1.Id} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.transaction.v1alpha1.Id.toObject = function(includeInstance, msg) { + var f, obj = { + hash: msg.getHash_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.transaction.v1alpha1.Id} + */ +proto.penumbra.core.transaction.v1alpha1.Id.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.transaction.v1alpha1.Id; + return proto.penumbra.core.transaction.v1alpha1.Id.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.transaction.v1alpha1.Id} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.transaction.v1alpha1.Id} + */ +proto.penumbra.core.transaction.v1alpha1.Id.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setHash(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.transaction.v1alpha1.Id.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.transaction.v1alpha1.Id.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.transaction.v1alpha1.Id} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.transaction.v1alpha1.Id.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getHash_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } +}; + + +/** + * optional bytes hash = 1; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.transaction.v1alpha1.Id.prototype.getHash = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes hash = 1; + * This is a type-conversion wrapper around `getHash()` + * @return {string} + */ +proto.penumbra.core.transaction.v1alpha1.Id.prototype.getHash_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getHash())); +}; + + +/** + * optional bytes hash = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getHash()` + * @return {!Uint8Array} + */ +proto.penumbra.core.transaction.v1alpha1.Id.prototype.getHash_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getHash())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.transaction.v1alpha1.Id} returns this + */ +proto.penumbra.core.transaction.v1alpha1.Id.prototype.setHash = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.penumbra.core.transaction.v1alpha1.TransactionBody.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionBody.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.transaction.v1alpha1.TransactionBody.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.transaction.v1alpha1.TransactionBody} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.transaction.v1alpha1.TransactionBody.toObject = function(includeInstance, msg) { + var f, obj = { + actionsList: jspb.Message.toObjectList(msg.getActionsList(), + proto.penumbra.core.transaction.v1alpha1.Action.toObject, includeInstance), + transactionParameters: (f = msg.getTransactionParameters()) && proto.penumbra.core.transaction.v1alpha1.TransactionParameters.toObject(includeInstance, f), + fee: (f = msg.getFee()) && penumbra_core_component_fee_v1alpha1_fee_pb.Fee.toObject(includeInstance, f), + detectionData: (f = msg.getDetectionData()) && proto.penumbra.core.transaction.v1alpha1.DetectionData.toObject(includeInstance, f), + memoData: (f = msg.getMemoData()) && proto.penumbra.core.transaction.v1alpha1.MemoData.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionBody} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionBody.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.transaction.v1alpha1.TransactionBody; + return proto.penumbra.core.transaction.v1alpha1.TransactionBody.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.transaction.v1alpha1.TransactionBody} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionBody} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionBody.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.transaction.v1alpha1.Action; + reader.readMessage(value,proto.penumbra.core.transaction.v1alpha1.Action.deserializeBinaryFromReader); + msg.addActions(value); + break; + case 2: + var value = new proto.penumbra.core.transaction.v1alpha1.TransactionParameters; + reader.readMessage(value,proto.penumbra.core.transaction.v1alpha1.TransactionParameters.deserializeBinaryFromReader); + msg.setTransactionParameters(value); + break; + case 3: + var value = new penumbra_core_component_fee_v1alpha1_fee_pb.Fee; + reader.readMessage(value,penumbra_core_component_fee_v1alpha1_fee_pb.Fee.deserializeBinaryFromReader); + msg.setFee(value); + break; + case 4: + var value = new proto.penumbra.core.transaction.v1alpha1.DetectionData; + reader.readMessage(value,proto.penumbra.core.transaction.v1alpha1.DetectionData.deserializeBinaryFromReader); + msg.setDetectionData(value); + break; + case 5: + var value = new proto.penumbra.core.transaction.v1alpha1.MemoData; + reader.readMessage(value,proto.penumbra.core.transaction.v1alpha1.MemoData.deserializeBinaryFromReader); + msg.setMemoData(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionBody.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.transaction.v1alpha1.TransactionBody.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.transaction.v1alpha1.TransactionBody} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.transaction.v1alpha1.TransactionBody.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getActionsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + proto.penumbra.core.transaction.v1alpha1.Action.serializeBinaryToWriter + ); + } + f = message.getTransactionParameters(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.penumbra.core.transaction.v1alpha1.TransactionParameters.serializeBinaryToWriter + ); + } + f = message.getFee(); + if (f != null) { + writer.writeMessage( + 3, + f, + penumbra_core_component_fee_v1alpha1_fee_pb.Fee.serializeBinaryToWriter + ); + } + f = message.getDetectionData(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.penumbra.core.transaction.v1alpha1.DetectionData.serializeBinaryToWriter + ); + } + f = message.getMemoData(); + if (f != null) { + writer.writeMessage( + 5, + f, + proto.penumbra.core.transaction.v1alpha1.MemoData.serializeBinaryToWriter + ); + } +}; + + +/** + * repeated Action actions = 1; + * @return {!Array} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionBody.prototype.getActionsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.penumbra.core.transaction.v1alpha1.Action, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionBody} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.TransactionBody.prototype.setActionsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.penumbra.core.transaction.v1alpha1.Action=} opt_value + * @param {number=} opt_index + * @return {!proto.penumbra.core.transaction.v1alpha1.Action} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionBody.prototype.addActions = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.penumbra.core.transaction.v1alpha1.Action, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionBody} returns this + */ +proto.penumbra.core.transaction.v1alpha1.TransactionBody.prototype.clearActionsList = function() { + return this.setActionsList([]); +}; + + +/** + * optional TransactionParameters transaction_parameters = 2; + * @return {?proto.penumbra.core.transaction.v1alpha1.TransactionParameters} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionBody.prototype.getTransactionParameters = function() { + return /** @type{?proto.penumbra.core.transaction.v1alpha1.TransactionParameters} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.transaction.v1alpha1.TransactionParameters, 2)); +}; + + +/** + * @param {?proto.penumbra.core.transaction.v1alpha1.TransactionParameters|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionBody} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.TransactionBody.prototype.setTransactionParameters = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionBody} returns this + */ +proto.penumbra.core.transaction.v1alpha1.TransactionBody.prototype.clearTransactionParameters = function() { + return this.setTransactionParameters(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionBody.prototype.hasTransactionParameters = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional penumbra.core.component.fee.v1alpha1.Fee fee = 3; + * @return {?proto.penumbra.core.component.fee.v1alpha1.Fee} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionBody.prototype.getFee = function() { + return /** @type{?proto.penumbra.core.component.fee.v1alpha1.Fee} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_fee_v1alpha1_fee_pb.Fee, 3)); +}; + + +/** + * @param {?proto.penumbra.core.component.fee.v1alpha1.Fee|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionBody} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.TransactionBody.prototype.setFee = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionBody} returns this + */ +proto.penumbra.core.transaction.v1alpha1.TransactionBody.prototype.clearFee = function() { + return this.setFee(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionBody.prototype.hasFee = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional DetectionData detection_data = 4; + * @return {?proto.penumbra.core.transaction.v1alpha1.DetectionData} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionBody.prototype.getDetectionData = function() { + return /** @type{?proto.penumbra.core.transaction.v1alpha1.DetectionData} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.transaction.v1alpha1.DetectionData, 4)); +}; + + +/** + * @param {?proto.penumbra.core.transaction.v1alpha1.DetectionData|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionBody} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.TransactionBody.prototype.setDetectionData = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionBody} returns this + */ +proto.penumbra.core.transaction.v1alpha1.TransactionBody.prototype.clearDetectionData = function() { + return this.setDetectionData(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionBody.prototype.hasDetectionData = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional MemoData memo_data = 5; + * @return {?proto.penumbra.core.transaction.v1alpha1.MemoData} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionBody.prototype.getMemoData = function() { + return /** @type{?proto.penumbra.core.transaction.v1alpha1.MemoData} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.transaction.v1alpha1.MemoData, 5)); +}; + + +/** + * @param {?proto.penumbra.core.transaction.v1alpha1.MemoData|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionBody} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.TransactionBody.prototype.setMemoData = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionBody} returns this + */ +proto.penumbra.core.transaction.v1alpha1.TransactionBody.prototype.clearMemoData = function() { + return this.setMemoData(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionBody.prototype.hasMemoData = function() { + return jspb.Message.getField(this, 5) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.transaction.v1alpha1.MemoData.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.transaction.v1alpha1.MemoData.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.transaction.v1alpha1.MemoData} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.transaction.v1alpha1.MemoData.toObject = function(includeInstance, msg) { + var f, obj = { + encryptedMemo: msg.getEncryptedMemo_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.transaction.v1alpha1.MemoData} + */ +proto.penumbra.core.transaction.v1alpha1.MemoData.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.transaction.v1alpha1.MemoData; + return proto.penumbra.core.transaction.v1alpha1.MemoData.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.transaction.v1alpha1.MemoData} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.transaction.v1alpha1.MemoData} + */ +proto.penumbra.core.transaction.v1alpha1.MemoData.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setEncryptedMemo(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.transaction.v1alpha1.MemoData.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.transaction.v1alpha1.MemoData.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.transaction.v1alpha1.MemoData} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.transaction.v1alpha1.MemoData.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getEncryptedMemo_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } +}; + + +/** + * optional bytes encrypted_memo = 1; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.transaction.v1alpha1.MemoData.prototype.getEncryptedMemo = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes encrypted_memo = 1; + * This is a type-conversion wrapper around `getEncryptedMemo()` + * @return {string} + */ +proto.penumbra.core.transaction.v1alpha1.MemoData.prototype.getEncryptedMemo_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getEncryptedMemo())); +}; + + +/** + * optional bytes encrypted_memo = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getEncryptedMemo()` + * @return {!Uint8Array} + */ +proto.penumbra.core.transaction.v1alpha1.MemoData.prototype.getEncryptedMemo_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getEncryptedMemo())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.transaction.v1alpha1.MemoData} returns this + */ +proto.penumbra.core.transaction.v1alpha1.MemoData.prototype.setEncryptedMemo = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionParameters.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.transaction.v1alpha1.TransactionParameters.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.transaction.v1alpha1.TransactionParameters} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.transaction.v1alpha1.TransactionParameters.toObject = function(includeInstance, msg) { + var f, obj = { + expiryHeight: jspb.Message.getFieldWithDefault(msg, 1, 0), + chainId: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionParameters} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionParameters.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.transaction.v1alpha1.TransactionParameters; + return proto.penumbra.core.transaction.v1alpha1.TransactionParameters.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.transaction.v1alpha1.TransactionParameters} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionParameters} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionParameters.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setExpiryHeight(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setChainId(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionParameters.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.transaction.v1alpha1.TransactionParameters.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.transaction.v1alpha1.TransactionParameters} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.transaction.v1alpha1.TransactionParameters.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getExpiryHeight(); + if (f !== 0) { + writer.writeUint64( + 1, + f + ); + } + f = message.getChainId(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional uint64 expiry_height = 1; + * @return {number} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionParameters.prototype.getExpiryHeight = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionParameters} returns this + */ +proto.penumbra.core.transaction.v1alpha1.TransactionParameters.prototype.setExpiryHeight = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional string chain_id = 2; + * @return {string} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionParameters.prototype.getChainId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionParameters} returns this + */ +proto.penumbra.core.transaction.v1alpha1.TransactionParameters.prototype.setChainId = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.penumbra.core.transaction.v1alpha1.DetectionData.repeatedFields_ = [4]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.transaction.v1alpha1.DetectionData.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.transaction.v1alpha1.DetectionData.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.transaction.v1alpha1.DetectionData} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.transaction.v1alpha1.DetectionData.toObject = function(includeInstance, msg) { + var f, obj = { + fmdCluesList: jspb.Message.toObjectList(msg.getFmdCluesList(), + penumbra_crypto_decaf377_fmd_v1alpha1_decaf377_fmd_pb.Clue.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.transaction.v1alpha1.DetectionData} + */ +proto.penumbra.core.transaction.v1alpha1.DetectionData.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.transaction.v1alpha1.DetectionData; + return proto.penumbra.core.transaction.v1alpha1.DetectionData.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.transaction.v1alpha1.DetectionData} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.transaction.v1alpha1.DetectionData} + */ +proto.penumbra.core.transaction.v1alpha1.DetectionData.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 4: + var value = new penumbra_crypto_decaf377_fmd_v1alpha1_decaf377_fmd_pb.Clue; + reader.readMessage(value,penumbra_crypto_decaf377_fmd_v1alpha1_decaf377_fmd_pb.Clue.deserializeBinaryFromReader); + msg.addFmdClues(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.transaction.v1alpha1.DetectionData.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.transaction.v1alpha1.DetectionData.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.transaction.v1alpha1.DetectionData} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.transaction.v1alpha1.DetectionData.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getFmdCluesList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 4, + f, + penumbra_crypto_decaf377_fmd_v1alpha1_decaf377_fmd_pb.Clue.serializeBinaryToWriter + ); + } +}; + + +/** + * repeated penumbra.crypto.decaf377_fmd.v1alpha1.Clue fmd_clues = 4; + * @return {!Array} + */ +proto.penumbra.core.transaction.v1alpha1.DetectionData.prototype.getFmdCluesList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, penumbra_crypto_decaf377_fmd_v1alpha1_decaf377_fmd_pb.Clue, 4)); +}; + + +/** + * @param {!Array} value + * @return {!proto.penumbra.core.transaction.v1alpha1.DetectionData} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.DetectionData.prototype.setFmdCluesList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 4, value); +}; + + +/** + * @param {!proto.penumbra.crypto.decaf377_fmd.v1alpha1.Clue=} opt_value + * @param {number=} opt_index + * @return {!proto.penumbra.crypto.decaf377_fmd.v1alpha1.Clue} + */ +proto.penumbra.core.transaction.v1alpha1.DetectionData.prototype.addFmdClues = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.penumbra.crypto.decaf377_fmd.v1alpha1.Clue, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.penumbra.core.transaction.v1alpha1.DetectionData} returns this + */ +proto.penumbra.core.transaction.v1alpha1.DetectionData.prototype.clearFmdCluesList = function() { + return this.setFmdCluesList([]); +}; + + + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.penumbra.core.transaction.v1alpha1.Action.oneofGroups_ = [[1,2,3,4,16,17,18,19,20,21,22,30,31,32,34,40,41,42,50,51,52,200]]; + +/** + * @enum {number} + */ +proto.penumbra.core.transaction.v1alpha1.Action.ActionCase = { + ACTION_NOT_SET: 0, + SPEND: 1, + OUTPUT: 2, + SWAP: 3, + SWAP_CLAIM: 4, + VALIDATOR_DEFINITION: 16, + IBC_ACTION: 17, + PROPOSAL_SUBMIT: 18, + PROPOSAL_WITHDRAW: 19, + VALIDATOR_VOTE: 20, + DELEGATOR_VOTE: 21, + PROPOSAL_DEPOSIT_CLAIM: 22, + POSITION_OPEN: 30, + POSITION_CLOSE: 31, + POSITION_WITHDRAW: 32, + POSITION_REWARD_CLAIM: 34, + DELEGATE: 40, + UNDELEGATE: 41, + UNDELEGATE_CLAIM: 42, + DAO_SPEND: 50, + DAO_OUTPUT: 51, + DAO_DEPOSIT: 52, + ICS20_WITHDRAWAL: 200 +}; + +/** + * @return {proto.penumbra.core.transaction.v1alpha1.Action.ActionCase} + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.getActionCase = function() { + return /** @type {proto.penumbra.core.transaction.v1alpha1.Action.ActionCase} */(jspb.Message.computeOneofCase(this, proto.penumbra.core.transaction.v1alpha1.Action.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.transaction.v1alpha1.Action.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.transaction.v1alpha1.Action} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.transaction.v1alpha1.Action.toObject = function(includeInstance, msg) { + var f, obj = { + spend: (f = msg.getSpend()) && penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.Spend.toObject(includeInstance, f), + output: (f = msg.getOutput()) && penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.Output.toObject(includeInstance, f), + swap: (f = msg.getSwap()) && penumbra_core_component_dex_v1alpha1_dex_pb.Swap.toObject(includeInstance, f), + swapClaim: (f = msg.getSwapClaim()) && penumbra_core_component_dex_v1alpha1_dex_pb.SwapClaim.toObject(includeInstance, f), + validatorDefinition: (f = msg.getValidatorDefinition()) && penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorDefinition.toObject(includeInstance, f), + ibcAction: (f = msg.getIbcAction()) && penumbra_core_component_ibc_v1alpha1_ibc_pb.IbcAction.toObject(includeInstance, f), + proposalSubmit: (f = msg.getProposalSubmit()) && penumbra_core_component_governance_v1alpha1_governance_pb.ProposalSubmit.toObject(includeInstance, f), + proposalWithdraw: (f = msg.getProposalWithdraw()) && penumbra_core_component_governance_v1alpha1_governance_pb.ProposalWithdraw.toObject(includeInstance, f), + validatorVote: (f = msg.getValidatorVote()) && penumbra_core_component_governance_v1alpha1_governance_pb.ValidatorVote.toObject(includeInstance, f), + delegatorVote: (f = msg.getDelegatorVote()) && penumbra_core_component_governance_v1alpha1_governance_pb.DelegatorVote.toObject(includeInstance, f), + proposalDepositClaim: (f = msg.getProposalDepositClaim()) && penumbra_core_component_governance_v1alpha1_governance_pb.ProposalDepositClaim.toObject(includeInstance, f), + positionOpen: (f = msg.getPositionOpen()) && penumbra_core_component_dex_v1alpha1_dex_pb.PositionOpen.toObject(includeInstance, f), + positionClose: (f = msg.getPositionClose()) && penumbra_core_component_dex_v1alpha1_dex_pb.PositionClose.toObject(includeInstance, f), + positionWithdraw: (f = msg.getPositionWithdraw()) && penumbra_core_component_dex_v1alpha1_dex_pb.PositionWithdraw.toObject(includeInstance, f), + positionRewardClaim: (f = msg.getPositionRewardClaim()) && penumbra_core_component_dex_v1alpha1_dex_pb.PositionRewardClaim.toObject(includeInstance, f), + delegate: (f = msg.getDelegate()) && penumbra_core_component_stake_v1alpha1_stake_pb.Delegate.toObject(includeInstance, f), + undelegate: (f = msg.getUndelegate()) && penumbra_core_component_stake_v1alpha1_stake_pb.Undelegate.toObject(includeInstance, f), + undelegateClaim: (f = msg.getUndelegateClaim()) && penumbra_core_component_stake_v1alpha1_stake_pb.UndelegateClaim.toObject(includeInstance, f), + daoSpend: (f = msg.getDaoSpend()) && penumbra_core_component_governance_v1alpha1_governance_pb.DaoSpend.toObject(includeInstance, f), + daoOutput: (f = msg.getDaoOutput()) && penumbra_core_component_governance_v1alpha1_governance_pb.DaoOutput.toObject(includeInstance, f), + daoDeposit: (f = msg.getDaoDeposit()) && penumbra_core_component_governance_v1alpha1_governance_pb.DaoDeposit.toObject(includeInstance, f), + ics20Withdrawal: (f = msg.getIcs20Withdrawal()) && penumbra_core_component_ibc_v1alpha1_ibc_pb.Ics20Withdrawal.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.transaction.v1alpha1.Action} + */ +proto.penumbra.core.transaction.v1alpha1.Action.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.transaction.v1alpha1.Action; + return proto.penumbra.core.transaction.v1alpha1.Action.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.transaction.v1alpha1.Action} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.transaction.v1alpha1.Action} + */ +proto.penumbra.core.transaction.v1alpha1.Action.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.Spend; + reader.readMessage(value,penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.Spend.deserializeBinaryFromReader); + msg.setSpend(value); + break; + case 2: + var value = new penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.Output; + reader.readMessage(value,penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.Output.deserializeBinaryFromReader); + msg.setOutput(value); + break; + case 3: + var value = new penumbra_core_component_dex_v1alpha1_dex_pb.Swap; + reader.readMessage(value,penumbra_core_component_dex_v1alpha1_dex_pb.Swap.deserializeBinaryFromReader); + msg.setSwap(value); + break; + case 4: + var value = new penumbra_core_component_dex_v1alpha1_dex_pb.SwapClaim; + reader.readMessage(value,penumbra_core_component_dex_v1alpha1_dex_pb.SwapClaim.deserializeBinaryFromReader); + msg.setSwapClaim(value); + break; + case 16: + var value = new penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorDefinition; + reader.readMessage(value,penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorDefinition.deserializeBinaryFromReader); + msg.setValidatorDefinition(value); + break; + case 17: + var value = new penumbra_core_component_ibc_v1alpha1_ibc_pb.IbcAction; + reader.readMessage(value,penumbra_core_component_ibc_v1alpha1_ibc_pb.IbcAction.deserializeBinaryFromReader); + msg.setIbcAction(value); + break; + case 18: + var value = new penumbra_core_component_governance_v1alpha1_governance_pb.ProposalSubmit; + reader.readMessage(value,penumbra_core_component_governance_v1alpha1_governance_pb.ProposalSubmit.deserializeBinaryFromReader); + msg.setProposalSubmit(value); + break; + case 19: + var value = new penumbra_core_component_governance_v1alpha1_governance_pb.ProposalWithdraw; + reader.readMessage(value,penumbra_core_component_governance_v1alpha1_governance_pb.ProposalWithdraw.deserializeBinaryFromReader); + msg.setProposalWithdraw(value); + break; + case 20: + var value = new penumbra_core_component_governance_v1alpha1_governance_pb.ValidatorVote; + reader.readMessage(value,penumbra_core_component_governance_v1alpha1_governance_pb.ValidatorVote.deserializeBinaryFromReader); + msg.setValidatorVote(value); + break; + case 21: + var value = new penumbra_core_component_governance_v1alpha1_governance_pb.DelegatorVote; + reader.readMessage(value,penumbra_core_component_governance_v1alpha1_governance_pb.DelegatorVote.deserializeBinaryFromReader); + msg.setDelegatorVote(value); + break; + case 22: + var value = new penumbra_core_component_governance_v1alpha1_governance_pb.ProposalDepositClaim; + reader.readMessage(value,penumbra_core_component_governance_v1alpha1_governance_pb.ProposalDepositClaim.deserializeBinaryFromReader); + msg.setProposalDepositClaim(value); + break; + case 30: + var value = new penumbra_core_component_dex_v1alpha1_dex_pb.PositionOpen; + reader.readMessage(value,penumbra_core_component_dex_v1alpha1_dex_pb.PositionOpen.deserializeBinaryFromReader); + msg.setPositionOpen(value); + break; + case 31: + var value = new penumbra_core_component_dex_v1alpha1_dex_pb.PositionClose; + reader.readMessage(value,penumbra_core_component_dex_v1alpha1_dex_pb.PositionClose.deserializeBinaryFromReader); + msg.setPositionClose(value); + break; + case 32: + var value = new penumbra_core_component_dex_v1alpha1_dex_pb.PositionWithdraw; + reader.readMessage(value,penumbra_core_component_dex_v1alpha1_dex_pb.PositionWithdraw.deserializeBinaryFromReader); + msg.setPositionWithdraw(value); + break; + case 34: + var value = new penumbra_core_component_dex_v1alpha1_dex_pb.PositionRewardClaim; + reader.readMessage(value,penumbra_core_component_dex_v1alpha1_dex_pb.PositionRewardClaim.deserializeBinaryFromReader); + msg.setPositionRewardClaim(value); + break; + case 40: + var value = new penumbra_core_component_stake_v1alpha1_stake_pb.Delegate; + reader.readMessage(value,penumbra_core_component_stake_v1alpha1_stake_pb.Delegate.deserializeBinaryFromReader); + msg.setDelegate(value); + break; + case 41: + var value = new penumbra_core_component_stake_v1alpha1_stake_pb.Undelegate; + reader.readMessage(value,penumbra_core_component_stake_v1alpha1_stake_pb.Undelegate.deserializeBinaryFromReader); + msg.setUndelegate(value); + break; + case 42: + var value = new penumbra_core_component_stake_v1alpha1_stake_pb.UndelegateClaim; + reader.readMessage(value,penumbra_core_component_stake_v1alpha1_stake_pb.UndelegateClaim.deserializeBinaryFromReader); + msg.setUndelegateClaim(value); + break; + case 50: + var value = new penumbra_core_component_governance_v1alpha1_governance_pb.DaoSpend; + reader.readMessage(value,penumbra_core_component_governance_v1alpha1_governance_pb.DaoSpend.deserializeBinaryFromReader); + msg.setDaoSpend(value); + break; + case 51: + var value = new penumbra_core_component_governance_v1alpha1_governance_pb.DaoOutput; + reader.readMessage(value,penumbra_core_component_governance_v1alpha1_governance_pb.DaoOutput.deserializeBinaryFromReader); + msg.setDaoOutput(value); + break; + case 52: + var value = new penumbra_core_component_governance_v1alpha1_governance_pb.DaoDeposit; + reader.readMessage(value,penumbra_core_component_governance_v1alpha1_governance_pb.DaoDeposit.deserializeBinaryFromReader); + msg.setDaoDeposit(value); + break; + case 200: + var value = new penumbra_core_component_ibc_v1alpha1_ibc_pb.Ics20Withdrawal; + reader.readMessage(value,penumbra_core_component_ibc_v1alpha1_ibc_pb.Ics20Withdrawal.deserializeBinaryFromReader); + msg.setIcs20Withdrawal(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.transaction.v1alpha1.Action.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.transaction.v1alpha1.Action} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.transaction.v1alpha1.Action.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSpend(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.Spend.serializeBinaryToWriter + ); + } + f = message.getOutput(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.Output.serializeBinaryToWriter + ); + } + f = message.getSwap(); + if (f != null) { + writer.writeMessage( + 3, + f, + penumbra_core_component_dex_v1alpha1_dex_pb.Swap.serializeBinaryToWriter + ); + } + f = message.getSwapClaim(); + if (f != null) { + writer.writeMessage( + 4, + f, + penumbra_core_component_dex_v1alpha1_dex_pb.SwapClaim.serializeBinaryToWriter + ); + } + f = message.getValidatorDefinition(); + if (f != null) { + writer.writeMessage( + 16, + f, + penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorDefinition.serializeBinaryToWriter + ); + } + f = message.getIbcAction(); + if (f != null) { + writer.writeMessage( + 17, + f, + penumbra_core_component_ibc_v1alpha1_ibc_pb.IbcAction.serializeBinaryToWriter + ); + } + f = message.getProposalSubmit(); + if (f != null) { + writer.writeMessage( + 18, + f, + penumbra_core_component_governance_v1alpha1_governance_pb.ProposalSubmit.serializeBinaryToWriter + ); + } + f = message.getProposalWithdraw(); + if (f != null) { + writer.writeMessage( + 19, + f, + penumbra_core_component_governance_v1alpha1_governance_pb.ProposalWithdraw.serializeBinaryToWriter + ); + } + f = message.getValidatorVote(); + if (f != null) { + writer.writeMessage( + 20, + f, + penumbra_core_component_governance_v1alpha1_governance_pb.ValidatorVote.serializeBinaryToWriter + ); + } + f = message.getDelegatorVote(); + if (f != null) { + writer.writeMessage( + 21, + f, + penumbra_core_component_governance_v1alpha1_governance_pb.DelegatorVote.serializeBinaryToWriter + ); + } + f = message.getProposalDepositClaim(); + if (f != null) { + writer.writeMessage( + 22, + f, + penumbra_core_component_governance_v1alpha1_governance_pb.ProposalDepositClaim.serializeBinaryToWriter + ); + } + f = message.getPositionOpen(); + if (f != null) { + writer.writeMessage( + 30, + f, + penumbra_core_component_dex_v1alpha1_dex_pb.PositionOpen.serializeBinaryToWriter + ); + } + f = message.getPositionClose(); + if (f != null) { + writer.writeMessage( + 31, + f, + penumbra_core_component_dex_v1alpha1_dex_pb.PositionClose.serializeBinaryToWriter + ); + } + f = message.getPositionWithdraw(); + if (f != null) { + writer.writeMessage( + 32, + f, + penumbra_core_component_dex_v1alpha1_dex_pb.PositionWithdraw.serializeBinaryToWriter + ); + } + f = message.getPositionRewardClaim(); + if (f != null) { + writer.writeMessage( + 34, + f, + penumbra_core_component_dex_v1alpha1_dex_pb.PositionRewardClaim.serializeBinaryToWriter + ); + } + f = message.getDelegate(); + if (f != null) { + writer.writeMessage( + 40, + f, + penumbra_core_component_stake_v1alpha1_stake_pb.Delegate.serializeBinaryToWriter + ); + } + f = message.getUndelegate(); + if (f != null) { + writer.writeMessage( + 41, + f, + penumbra_core_component_stake_v1alpha1_stake_pb.Undelegate.serializeBinaryToWriter + ); + } + f = message.getUndelegateClaim(); + if (f != null) { + writer.writeMessage( + 42, + f, + penumbra_core_component_stake_v1alpha1_stake_pb.UndelegateClaim.serializeBinaryToWriter + ); + } + f = message.getDaoSpend(); + if (f != null) { + writer.writeMessage( + 50, + f, + penumbra_core_component_governance_v1alpha1_governance_pb.DaoSpend.serializeBinaryToWriter + ); + } + f = message.getDaoOutput(); + if (f != null) { + writer.writeMessage( + 51, + f, + penumbra_core_component_governance_v1alpha1_governance_pb.DaoOutput.serializeBinaryToWriter + ); + } + f = message.getDaoDeposit(); + if (f != null) { + writer.writeMessage( + 52, + f, + penumbra_core_component_governance_v1alpha1_governance_pb.DaoDeposit.serializeBinaryToWriter + ); + } + f = message.getIcs20Withdrawal(); + if (f != null) { + writer.writeMessage( + 200, + f, + penumbra_core_component_ibc_v1alpha1_ibc_pb.Ics20Withdrawal.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.component.shielded_pool.v1alpha1.Spend spend = 1; + * @return {?proto.penumbra.core.component.shielded_pool.v1alpha1.Spend} + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.getSpend = function() { + return /** @type{?proto.penumbra.core.component.shielded_pool.v1alpha1.Spend} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.Spend, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.shielded_pool.v1alpha1.Spend|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.Action} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.setSpend = function(value) { + return jspb.Message.setOneofWrapperField(this, 1, proto.penumbra.core.transaction.v1alpha1.Action.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.Action} returns this + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.clearSpend = function() { + return this.setSpend(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.hasSpend = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional penumbra.core.component.shielded_pool.v1alpha1.Output output = 2; + * @return {?proto.penumbra.core.component.shielded_pool.v1alpha1.Output} + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.getOutput = function() { + return /** @type{?proto.penumbra.core.component.shielded_pool.v1alpha1.Output} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.Output, 2)); +}; + + +/** + * @param {?proto.penumbra.core.component.shielded_pool.v1alpha1.Output|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.Action} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.setOutput = function(value) { + return jspb.Message.setOneofWrapperField(this, 2, proto.penumbra.core.transaction.v1alpha1.Action.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.Action} returns this + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.clearOutput = function() { + return this.setOutput(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.hasOutput = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional penumbra.core.component.dex.v1alpha1.Swap swap = 3; + * @return {?proto.penumbra.core.component.dex.v1alpha1.Swap} + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.getSwap = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.Swap} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_dex_v1alpha1_dex_pb.Swap, 3)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.Swap|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.Action} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.setSwap = function(value) { + return jspb.Message.setOneofWrapperField(this, 3, proto.penumbra.core.transaction.v1alpha1.Action.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.Action} returns this + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.clearSwap = function() { + return this.setSwap(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.hasSwap = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional penumbra.core.component.dex.v1alpha1.SwapClaim swap_claim = 4; + * @return {?proto.penumbra.core.component.dex.v1alpha1.SwapClaim} + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.getSwapClaim = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.SwapClaim} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_dex_v1alpha1_dex_pb.SwapClaim, 4)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.SwapClaim|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.Action} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.setSwapClaim = function(value) { + return jspb.Message.setOneofWrapperField(this, 4, proto.penumbra.core.transaction.v1alpha1.Action.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.Action} returns this + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.clearSwapClaim = function() { + return this.setSwapClaim(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.hasSwapClaim = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional penumbra.core.component.stake.v1alpha1.ValidatorDefinition validator_definition = 16; + * @return {?proto.penumbra.core.component.stake.v1alpha1.ValidatorDefinition} + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.getValidatorDefinition = function() { + return /** @type{?proto.penumbra.core.component.stake.v1alpha1.ValidatorDefinition} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorDefinition, 16)); +}; + + +/** + * @param {?proto.penumbra.core.component.stake.v1alpha1.ValidatorDefinition|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.Action} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.setValidatorDefinition = function(value) { + return jspb.Message.setOneofWrapperField(this, 16, proto.penumbra.core.transaction.v1alpha1.Action.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.Action} returns this + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.clearValidatorDefinition = function() { + return this.setValidatorDefinition(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.hasValidatorDefinition = function() { + return jspb.Message.getField(this, 16) != null; +}; + + +/** + * optional penumbra.core.component.ibc.v1alpha1.IbcAction ibc_action = 17; + * @return {?proto.penumbra.core.component.ibc.v1alpha1.IbcAction} + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.getIbcAction = function() { + return /** @type{?proto.penumbra.core.component.ibc.v1alpha1.IbcAction} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_ibc_v1alpha1_ibc_pb.IbcAction, 17)); +}; + + +/** + * @param {?proto.penumbra.core.component.ibc.v1alpha1.IbcAction|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.Action} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.setIbcAction = function(value) { + return jspb.Message.setOneofWrapperField(this, 17, proto.penumbra.core.transaction.v1alpha1.Action.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.Action} returns this + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.clearIbcAction = function() { + return this.setIbcAction(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.hasIbcAction = function() { + return jspb.Message.getField(this, 17) != null; +}; + + +/** + * optional penumbra.core.component.governance.v1alpha1.ProposalSubmit proposal_submit = 18; + * @return {?proto.penumbra.core.component.governance.v1alpha1.ProposalSubmit} + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.getProposalSubmit = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.ProposalSubmit} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_governance_v1alpha1_governance_pb.ProposalSubmit, 18)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.ProposalSubmit|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.Action} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.setProposalSubmit = function(value) { + return jspb.Message.setOneofWrapperField(this, 18, proto.penumbra.core.transaction.v1alpha1.Action.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.Action} returns this + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.clearProposalSubmit = function() { + return this.setProposalSubmit(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.hasProposalSubmit = function() { + return jspb.Message.getField(this, 18) != null; +}; + + +/** + * optional penumbra.core.component.governance.v1alpha1.ProposalWithdraw proposal_withdraw = 19; + * @return {?proto.penumbra.core.component.governance.v1alpha1.ProposalWithdraw} + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.getProposalWithdraw = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.ProposalWithdraw} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_governance_v1alpha1_governance_pb.ProposalWithdraw, 19)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.ProposalWithdraw|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.Action} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.setProposalWithdraw = function(value) { + return jspb.Message.setOneofWrapperField(this, 19, proto.penumbra.core.transaction.v1alpha1.Action.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.Action} returns this + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.clearProposalWithdraw = function() { + return this.setProposalWithdraw(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.hasProposalWithdraw = function() { + return jspb.Message.getField(this, 19) != null; +}; + + +/** + * optional penumbra.core.component.governance.v1alpha1.ValidatorVote validator_vote = 20; + * @return {?proto.penumbra.core.component.governance.v1alpha1.ValidatorVote} + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.getValidatorVote = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.ValidatorVote} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_governance_v1alpha1_governance_pb.ValidatorVote, 20)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.ValidatorVote|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.Action} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.setValidatorVote = function(value) { + return jspb.Message.setOneofWrapperField(this, 20, proto.penumbra.core.transaction.v1alpha1.Action.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.Action} returns this + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.clearValidatorVote = function() { + return this.setValidatorVote(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.hasValidatorVote = function() { + return jspb.Message.getField(this, 20) != null; +}; + + +/** + * optional penumbra.core.component.governance.v1alpha1.DelegatorVote delegator_vote = 21; + * @return {?proto.penumbra.core.component.governance.v1alpha1.DelegatorVote} + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.getDelegatorVote = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.DelegatorVote} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_governance_v1alpha1_governance_pb.DelegatorVote, 21)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.DelegatorVote|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.Action} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.setDelegatorVote = function(value) { + return jspb.Message.setOneofWrapperField(this, 21, proto.penumbra.core.transaction.v1alpha1.Action.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.Action} returns this + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.clearDelegatorVote = function() { + return this.setDelegatorVote(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.hasDelegatorVote = function() { + return jspb.Message.getField(this, 21) != null; +}; + + +/** + * optional penumbra.core.component.governance.v1alpha1.ProposalDepositClaim proposal_deposit_claim = 22; + * @return {?proto.penumbra.core.component.governance.v1alpha1.ProposalDepositClaim} + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.getProposalDepositClaim = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.ProposalDepositClaim} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_governance_v1alpha1_governance_pb.ProposalDepositClaim, 22)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.ProposalDepositClaim|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.Action} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.setProposalDepositClaim = function(value) { + return jspb.Message.setOneofWrapperField(this, 22, proto.penumbra.core.transaction.v1alpha1.Action.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.Action} returns this + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.clearProposalDepositClaim = function() { + return this.setProposalDepositClaim(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.hasProposalDepositClaim = function() { + return jspb.Message.getField(this, 22) != null; +}; + + +/** + * optional penumbra.core.component.dex.v1alpha1.PositionOpen position_open = 30; + * @return {?proto.penumbra.core.component.dex.v1alpha1.PositionOpen} + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.getPositionOpen = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.PositionOpen} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_dex_v1alpha1_dex_pb.PositionOpen, 30)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.PositionOpen|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.Action} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.setPositionOpen = function(value) { + return jspb.Message.setOneofWrapperField(this, 30, proto.penumbra.core.transaction.v1alpha1.Action.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.Action} returns this + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.clearPositionOpen = function() { + return this.setPositionOpen(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.hasPositionOpen = function() { + return jspb.Message.getField(this, 30) != null; +}; + + +/** + * optional penumbra.core.component.dex.v1alpha1.PositionClose position_close = 31; + * @return {?proto.penumbra.core.component.dex.v1alpha1.PositionClose} + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.getPositionClose = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.PositionClose} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_dex_v1alpha1_dex_pb.PositionClose, 31)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.PositionClose|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.Action} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.setPositionClose = function(value) { + return jspb.Message.setOneofWrapperField(this, 31, proto.penumbra.core.transaction.v1alpha1.Action.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.Action} returns this + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.clearPositionClose = function() { + return this.setPositionClose(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.hasPositionClose = function() { + return jspb.Message.getField(this, 31) != null; +}; + + +/** + * optional penumbra.core.component.dex.v1alpha1.PositionWithdraw position_withdraw = 32; + * @return {?proto.penumbra.core.component.dex.v1alpha1.PositionWithdraw} + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.getPositionWithdraw = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.PositionWithdraw} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_dex_v1alpha1_dex_pb.PositionWithdraw, 32)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.PositionWithdraw|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.Action} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.setPositionWithdraw = function(value) { + return jspb.Message.setOneofWrapperField(this, 32, proto.penumbra.core.transaction.v1alpha1.Action.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.Action} returns this + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.clearPositionWithdraw = function() { + return this.setPositionWithdraw(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.hasPositionWithdraw = function() { + return jspb.Message.getField(this, 32) != null; +}; + + +/** + * optional penumbra.core.component.dex.v1alpha1.PositionRewardClaim position_reward_claim = 34; + * @return {?proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaim} + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.getPositionRewardClaim = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaim} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_dex_v1alpha1_dex_pb.PositionRewardClaim, 34)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaim|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.Action} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.setPositionRewardClaim = function(value) { + return jspb.Message.setOneofWrapperField(this, 34, proto.penumbra.core.transaction.v1alpha1.Action.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.Action} returns this + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.clearPositionRewardClaim = function() { + return this.setPositionRewardClaim(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.hasPositionRewardClaim = function() { + return jspb.Message.getField(this, 34) != null; +}; + + +/** + * optional penumbra.core.component.stake.v1alpha1.Delegate delegate = 40; + * @return {?proto.penumbra.core.component.stake.v1alpha1.Delegate} + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.getDelegate = function() { + return /** @type{?proto.penumbra.core.component.stake.v1alpha1.Delegate} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_stake_v1alpha1_stake_pb.Delegate, 40)); +}; + + +/** + * @param {?proto.penumbra.core.component.stake.v1alpha1.Delegate|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.Action} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.setDelegate = function(value) { + return jspb.Message.setOneofWrapperField(this, 40, proto.penumbra.core.transaction.v1alpha1.Action.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.Action} returns this + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.clearDelegate = function() { + return this.setDelegate(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.hasDelegate = function() { + return jspb.Message.getField(this, 40) != null; +}; + + +/** + * optional penumbra.core.component.stake.v1alpha1.Undelegate undelegate = 41; + * @return {?proto.penumbra.core.component.stake.v1alpha1.Undelegate} + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.getUndelegate = function() { + return /** @type{?proto.penumbra.core.component.stake.v1alpha1.Undelegate} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_stake_v1alpha1_stake_pb.Undelegate, 41)); +}; + + +/** + * @param {?proto.penumbra.core.component.stake.v1alpha1.Undelegate|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.Action} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.setUndelegate = function(value) { + return jspb.Message.setOneofWrapperField(this, 41, proto.penumbra.core.transaction.v1alpha1.Action.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.Action} returns this + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.clearUndelegate = function() { + return this.setUndelegate(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.hasUndelegate = function() { + return jspb.Message.getField(this, 41) != null; +}; + + +/** + * optional penumbra.core.component.stake.v1alpha1.UndelegateClaim undelegate_claim = 42; + * @return {?proto.penumbra.core.component.stake.v1alpha1.UndelegateClaim} + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.getUndelegateClaim = function() { + return /** @type{?proto.penumbra.core.component.stake.v1alpha1.UndelegateClaim} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_stake_v1alpha1_stake_pb.UndelegateClaim, 42)); +}; + + +/** + * @param {?proto.penumbra.core.component.stake.v1alpha1.UndelegateClaim|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.Action} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.setUndelegateClaim = function(value) { + return jspb.Message.setOneofWrapperField(this, 42, proto.penumbra.core.transaction.v1alpha1.Action.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.Action} returns this + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.clearUndelegateClaim = function() { + return this.setUndelegateClaim(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.hasUndelegateClaim = function() { + return jspb.Message.getField(this, 42) != null; +}; + + +/** + * optional penumbra.core.component.governance.v1alpha1.DaoSpend dao_spend = 50; + * @return {?proto.penumbra.core.component.governance.v1alpha1.DaoSpend} + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.getDaoSpend = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.DaoSpend} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_governance_v1alpha1_governance_pb.DaoSpend, 50)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.DaoSpend|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.Action} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.setDaoSpend = function(value) { + return jspb.Message.setOneofWrapperField(this, 50, proto.penumbra.core.transaction.v1alpha1.Action.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.Action} returns this + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.clearDaoSpend = function() { + return this.setDaoSpend(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.hasDaoSpend = function() { + return jspb.Message.getField(this, 50) != null; +}; + + +/** + * optional penumbra.core.component.governance.v1alpha1.DaoOutput dao_output = 51; + * @return {?proto.penumbra.core.component.governance.v1alpha1.DaoOutput} + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.getDaoOutput = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.DaoOutput} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_governance_v1alpha1_governance_pb.DaoOutput, 51)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.DaoOutput|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.Action} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.setDaoOutput = function(value) { + return jspb.Message.setOneofWrapperField(this, 51, proto.penumbra.core.transaction.v1alpha1.Action.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.Action} returns this + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.clearDaoOutput = function() { + return this.setDaoOutput(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.hasDaoOutput = function() { + return jspb.Message.getField(this, 51) != null; +}; + + +/** + * optional penumbra.core.component.governance.v1alpha1.DaoDeposit dao_deposit = 52; + * @return {?proto.penumbra.core.component.governance.v1alpha1.DaoDeposit} + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.getDaoDeposit = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.DaoDeposit} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_governance_v1alpha1_governance_pb.DaoDeposit, 52)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.DaoDeposit|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.Action} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.setDaoDeposit = function(value) { + return jspb.Message.setOneofWrapperField(this, 52, proto.penumbra.core.transaction.v1alpha1.Action.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.Action} returns this + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.clearDaoDeposit = function() { + return this.setDaoDeposit(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.hasDaoDeposit = function() { + return jspb.Message.getField(this, 52) != null; +}; + + +/** + * optional penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal ics20_withdrawal = 200; + * @return {?proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal} + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.getIcs20Withdrawal = function() { + return /** @type{?proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_ibc_v1alpha1_ibc_pb.Ics20Withdrawal, 200)); +}; + + +/** + * @param {?proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.Action} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.setIcs20Withdrawal = function(value) { + return jspb.Message.setOneofWrapperField(this, 200, proto.penumbra.core.transaction.v1alpha1.Action.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.Action} returns this + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.clearIcs20Withdrawal = function() { + return this.setIcs20Withdrawal(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.Action.prototype.hasIcs20Withdrawal = function() { + return jspb.Message.getField(this, 200) != null; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.penumbra.core.transaction.v1alpha1.TransactionPerspective.repeatedFields_ = [1,2,3,4,5]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionPerspective.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.transaction.v1alpha1.TransactionPerspective.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.transaction.v1alpha1.TransactionPerspective} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.transaction.v1alpha1.TransactionPerspective.toObject = function(includeInstance, msg) { + var f, obj = { + payloadKeysList: jspb.Message.toObjectList(msg.getPayloadKeysList(), + proto.penumbra.core.transaction.v1alpha1.PayloadKeyWithCommitment.toObject, includeInstance), + spendNullifiersList: jspb.Message.toObjectList(msg.getSpendNullifiersList(), + proto.penumbra.core.transaction.v1alpha1.NullifierWithNote.toObject, includeInstance), + adviceNotesList: jspb.Message.toObjectList(msg.getAdviceNotesList(), + penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.Note.toObject, includeInstance), + addressViewsList: jspb.Message.toObjectList(msg.getAddressViewsList(), + penumbra_core_keys_v1alpha1_keys_pb.AddressView.toObject, includeInstance), + denomsList: jspb.Message.toObjectList(msg.getDenomsList(), + penumbra_core_asset_v1alpha1_asset_pb.DenomMetadata.toObject, includeInstance), + transactionId: (f = msg.getTransactionId()) && proto.penumbra.core.transaction.v1alpha1.Id.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionPerspective} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionPerspective.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.transaction.v1alpha1.TransactionPerspective; + return proto.penumbra.core.transaction.v1alpha1.TransactionPerspective.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.transaction.v1alpha1.TransactionPerspective} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionPerspective} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionPerspective.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.transaction.v1alpha1.PayloadKeyWithCommitment; + reader.readMessage(value,proto.penumbra.core.transaction.v1alpha1.PayloadKeyWithCommitment.deserializeBinaryFromReader); + msg.addPayloadKeys(value); + break; + case 2: + var value = new proto.penumbra.core.transaction.v1alpha1.NullifierWithNote; + reader.readMessage(value,proto.penumbra.core.transaction.v1alpha1.NullifierWithNote.deserializeBinaryFromReader); + msg.addSpendNullifiers(value); + break; + case 3: + var value = new penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.Note; + reader.readMessage(value,penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.Note.deserializeBinaryFromReader); + msg.addAdviceNotes(value); + break; + case 4: + var value = new penumbra_core_keys_v1alpha1_keys_pb.AddressView; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.AddressView.deserializeBinaryFromReader); + msg.addAddressViews(value); + break; + case 5: + var value = new penumbra_core_asset_v1alpha1_asset_pb.DenomMetadata; + reader.readMessage(value,penumbra_core_asset_v1alpha1_asset_pb.DenomMetadata.deserializeBinaryFromReader); + msg.addDenoms(value); + break; + case 6: + var value = new proto.penumbra.core.transaction.v1alpha1.Id; + reader.readMessage(value,proto.penumbra.core.transaction.v1alpha1.Id.deserializeBinaryFromReader); + msg.setTransactionId(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionPerspective.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.transaction.v1alpha1.TransactionPerspective.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.transaction.v1alpha1.TransactionPerspective} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.transaction.v1alpha1.TransactionPerspective.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getPayloadKeysList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + proto.penumbra.core.transaction.v1alpha1.PayloadKeyWithCommitment.serializeBinaryToWriter + ); + } + f = message.getSpendNullifiersList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 2, + f, + proto.penumbra.core.transaction.v1alpha1.NullifierWithNote.serializeBinaryToWriter + ); + } + f = message.getAdviceNotesList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 3, + f, + penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.Note.serializeBinaryToWriter + ); + } + f = message.getAddressViewsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 4, + f, + penumbra_core_keys_v1alpha1_keys_pb.AddressView.serializeBinaryToWriter + ); + } + f = message.getDenomsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 5, + f, + penumbra_core_asset_v1alpha1_asset_pb.DenomMetadata.serializeBinaryToWriter + ); + } + f = message.getTransactionId(); + if (f != null) { + writer.writeMessage( + 6, + f, + proto.penumbra.core.transaction.v1alpha1.Id.serializeBinaryToWriter + ); + } +}; + + +/** + * repeated PayloadKeyWithCommitment payload_keys = 1; + * @return {!Array} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionPerspective.prototype.getPayloadKeysList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.penumbra.core.transaction.v1alpha1.PayloadKeyWithCommitment, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionPerspective} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.TransactionPerspective.prototype.setPayloadKeysList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.penumbra.core.transaction.v1alpha1.PayloadKeyWithCommitment=} opt_value + * @param {number=} opt_index + * @return {!proto.penumbra.core.transaction.v1alpha1.PayloadKeyWithCommitment} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionPerspective.prototype.addPayloadKeys = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.penumbra.core.transaction.v1alpha1.PayloadKeyWithCommitment, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionPerspective} returns this + */ +proto.penumbra.core.transaction.v1alpha1.TransactionPerspective.prototype.clearPayloadKeysList = function() { + return this.setPayloadKeysList([]); +}; + + +/** + * repeated NullifierWithNote spend_nullifiers = 2; + * @return {!Array} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionPerspective.prototype.getSpendNullifiersList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.penumbra.core.transaction.v1alpha1.NullifierWithNote, 2)); +}; + + +/** + * @param {!Array} value + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionPerspective} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.TransactionPerspective.prototype.setSpendNullifiersList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 2, value); +}; + + +/** + * @param {!proto.penumbra.core.transaction.v1alpha1.NullifierWithNote=} opt_value + * @param {number=} opt_index + * @return {!proto.penumbra.core.transaction.v1alpha1.NullifierWithNote} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionPerspective.prototype.addSpendNullifiers = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.penumbra.core.transaction.v1alpha1.NullifierWithNote, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionPerspective} returns this + */ +proto.penumbra.core.transaction.v1alpha1.TransactionPerspective.prototype.clearSpendNullifiersList = function() { + return this.setSpendNullifiersList([]); +}; + + +/** + * repeated penumbra.core.component.shielded_pool.v1alpha1.Note advice_notes = 3; + * @return {!Array} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionPerspective.prototype.getAdviceNotesList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.Note, 3)); +}; + + +/** + * @param {!Array} value + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionPerspective} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.TransactionPerspective.prototype.setAdviceNotesList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 3, value); +}; + + +/** + * @param {!proto.penumbra.core.component.shielded_pool.v1alpha1.Note=} opt_value + * @param {number=} opt_index + * @return {!proto.penumbra.core.component.shielded_pool.v1alpha1.Note} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionPerspective.prototype.addAdviceNotes = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.penumbra.core.component.shielded_pool.v1alpha1.Note, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionPerspective} returns this + */ +proto.penumbra.core.transaction.v1alpha1.TransactionPerspective.prototype.clearAdviceNotesList = function() { + return this.setAdviceNotesList([]); +}; + + +/** + * repeated penumbra.core.keys.v1alpha1.AddressView address_views = 4; + * @return {!Array} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionPerspective.prototype.getAddressViewsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.AddressView, 4)); +}; + + +/** + * @param {!Array} value + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionPerspective} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.TransactionPerspective.prototype.setAddressViewsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 4, value); +}; + + +/** + * @param {!proto.penumbra.core.keys.v1alpha1.AddressView=} opt_value + * @param {number=} opt_index + * @return {!proto.penumbra.core.keys.v1alpha1.AddressView} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionPerspective.prototype.addAddressViews = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.penumbra.core.keys.v1alpha1.AddressView, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionPerspective} returns this + */ +proto.penumbra.core.transaction.v1alpha1.TransactionPerspective.prototype.clearAddressViewsList = function() { + return this.setAddressViewsList([]); +}; + + +/** + * repeated penumbra.core.asset.v1alpha1.DenomMetadata denoms = 5; + * @return {!Array} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionPerspective.prototype.getDenomsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, penumbra_core_asset_v1alpha1_asset_pb.DenomMetadata, 5)); +}; + + +/** + * @param {!Array} value + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionPerspective} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.TransactionPerspective.prototype.setDenomsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 5, value); +}; + + +/** + * @param {!proto.penumbra.core.asset.v1alpha1.DenomMetadata=} opt_value + * @param {number=} opt_index + * @return {!proto.penumbra.core.asset.v1alpha1.DenomMetadata} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionPerspective.prototype.addDenoms = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.penumbra.core.asset.v1alpha1.DenomMetadata, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionPerspective} returns this + */ +proto.penumbra.core.transaction.v1alpha1.TransactionPerspective.prototype.clearDenomsList = function() { + return this.setDenomsList([]); +}; + + +/** + * optional Id transaction_id = 6; + * @return {?proto.penumbra.core.transaction.v1alpha1.Id} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionPerspective.prototype.getTransactionId = function() { + return /** @type{?proto.penumbra.core.transaction.v1alpha1.Id} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.transaction.v1alpha1.Id, 6)); +}; + + +/** + * @param {?proto.penumbra.core.transaction.v1alpha1.Id|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionPerspective} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.TransactionPerspective.prototype.setTransactionId = function(value) { + return jspb.Message.setWrapperField(this, 6, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionPerspective} returns this + */ +proto.penumbra.core.transaction.v1alpha1.TransactionPerspective.prototype.clearTransactionId = function() { + return this.setTransactionId(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionPerspective.prototype.hasTransactionId = function() { + return jspb.Message.getField(this, 6) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.transaction.v1alpha1.PayloadKeyWithCommitment.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.transaction.v1alpha1.PayloadKeyWithCommitment.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.transaction.v1alpha1.PayloadKeyWithCommitment} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.transaction.v1alpha1.PayloadKeyWithCommitment.toObject = function(includeInstance, msg) { + var f, obj = { + payloadKey: (f = msg.getPayloadKey()) && penumbra_core_keys_v1alpha1_keys_pb.PayloadKey.toObject(includeInstance, f), + commitment: (f = msg.getCommitment()) && penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.transaction.v1alpha1.PayloadKeyWithCommitment} + */ +proto.penumbra.core.transaction.v1alpha1.PayloadKeyWithCommitment.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.transaction.v1alpha1.PayloadKeyWithCommitment; + return proto.penumbra.core.transaction.v1alpha1.PayloadKeyWithCommitment.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.transaction.v1alpha1.PayloadKeyWithCommitment} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.transaction.v1alpha1.PayloadKeyWithCommitment} + */ +proto.penumbra.core.transaction.v1alpha1.PayloadKeyWithCommitment.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_keys_v1alpha1_keys_pb.PayloadKey; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.PayloadKey.deserializeBinaryFromReader); + msg.setPayloadKey(value); + break; + case 2: + var value = new penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment; + reader.readMessage(value,penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.deserializeBinaryFromReader); + msg.setCommitment(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.transaction.v1alpha1.PayloadKeyWithCommitment.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.transaction.v1alpha1.PayloadKeyWithCommitment.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.transaction.v1alpha1.PayloadKeyWithCommitment} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.transaction.v1alpha1.PayloadKeyWithCommitment.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getPayloadKey(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_keys_v1alpha1_keys_pb.PayloadKey.serializeBinaryToWriter + ); + } + f = message.getCommitment(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.keys.v1alpha1.PayloadKey payload_key = 1; + * @return {?proto.penumbra.core.keys.v1alpha1.PayloadKey} + */ +proto.penumbra.core.transaction.v1alpha1.PayloadKeyWithCommitment.prototype.getPayloadKey = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.PayloadKey} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.PayloadKey, 1)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.PayloadKey|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.PayloadKeyWithCommitment} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.PayloadKeyWithCommitment.prototype.setPayloadKey = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.PayloadKeyWithCommitment} returns this + */ +proto.penumbra.core.transaction.v1alpha1.PayloadKeyWithCommitment.prototype.clearPayloadKey = function() { + return this.setPayloadKey(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.PayloadKeyWithCommitment.prototype.hasPayloadKey = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional penumbra.crypto.tct.v1alpha1.StateCommitment commitment = 2; + * @return {?proto.penumbra.crypto.tct.v1alpha1.StateCommitment} + */ +proto.penumbra.core.transaction.v1alpha1.PayloadKeyWithCommitment.prototype.getCommitment = function() { + return /** @type{?proto.penumbra.crypto.tct.v1alpha1.StateCommitment} */ ( + jspb.Message.getWrapperField(this, penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment, 2)); +}; + + +/** + * @param {?proto.penumbra.crypto.tct.v1alpha1.StateCommitment|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.PayloadKeyWithCommitment} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.PayloadKeyWithCommitment.prototype.setCommitment = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.PayloadKeyWithCommitment} returns this + */ +proto.penumbra.core.transaction.v1alpha1.PayloadKeyWithCommitment.prototype.clearCommitment = function() { + return this.setCommitment(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.PayloadKeyWithCommitment.prototype.hasCommitment = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.transaction.v1alpha1.NullifierWithNote.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.transaction.v1alpha1.NullifierWithNote.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.transaction.v1alpha1.NullifierWithNote} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.transaction.v1alpha1.NullifierWithNote.toObject = function(includeInstance, msg) { + var f, obj = { + nullifier: (f = msg.getNullifier()) && penumbra_core_component_sct_v1alpha1_sct_pb.Nullifier.toObject(includeInstance, f), + note: (f = msg.getNote()) && penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.Note.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.transaction.v1alpha1.NullifierWithNote} + */ +proto.penumbra.core.transaction.v1alpha1.NullifierWithNote.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.transaction.v1alpha1.NullifierWithNote; + return proto.penumbra.core.transaction.v1alpha1.NullifierWithNote.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.transaction.v1alpha1.NullifierWithNote} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.transaction.v1alpha1.NullifierWithNote} + */ +proto.penumbra.core.transaction.v1alpha1.NullifierWithNote.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_component_sct_v1alpha1_sct_pb.Nullifier; + reader.readMessage(value,penumbra_core_component_sct_v1alpha1_sct_pb.Nullifier.deserializeBinaryFromReader); + msg.setNullifier(value); + break; + case 2: + var value = new penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.Note; + reader.readMessage(value,penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.Note.deserializeBinaryFromReader); + msg.setNote(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.transaction.v1alpha1.NullifierWithNote.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.transaction.v1alpha1.NullifierWithNote.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.transaction.v1alpha1.NullifierWithNote} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.transaction.v1alpha1.NullifierWithNote.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getNullifier(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_component_sct_v1alpha1_sct_pb.Nullifier.serializeBinaryToWriter + ); + } + f = message.getNote(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.Note.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.component.sct.v1alpha1.Nullifier nullifier = 1; + * @return {?proto.penumbra.core.component.sct.v1alpha1.Nullifier} + */ +proto.penumbra.core.transaction.v1alpha1.NullifierWithNote.prototype.getNullifier = function() { + return /** @type{?proto.penumbra.core.component.sct.v1alpha1.Nullifier} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_sct_v1alpha1_sct_pb.Nullifier, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.sct.v1alpha1.Nullifier|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.NullifierWithNote} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.NullifierWithNote.prototype.setNullifier = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.NullifierWithNote} returns this + */ +proto.penumbra.core.transaction.v1alpha1.NullifierWithNote.prototype.clearNullifier = function() { + return this.setNullifier(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.NullifierWithNote.prototype.hasNullifier = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional penumbra.core.component.shielded_pool.v1alpha1.Note note = 2; + * @return {?proto.penumbra.core.component.shielded_pool.v1alpha1.Note} + */ +proto.penumbra.core.transaction.v1alpha1.NullifierWithNote.prototype.getNote = function() { + return /** @type{?proto.penumbra.core.component.shielded_pool.v1alpha1.Note} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.Note, 2)); +}; + + +/** + * @param {?proto.penumbra.core.component.shielded_pool.v1alpha1.Note|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.NullifierWithNote} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.NullifierWithNote.prototype.setNote = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.NullifierWithNote} returns this + */ +proto.penumbra.core.transaction.v1alpha1.NullifierWithNote.prototype.clearNote = function() { + return this.setNote(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.NullifierWithNote.prototype.hasNote = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionView.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.transaction.v1alpha1.TransactionView.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.transaction.v1alpha1.TransactionView} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.transaction.v1alpha1.TransactionView.toObject = function(includeInstance, msg) { + var f, obj = { + bodyView: (f = msg.getBodyView()) && proto.penumbra.core.transaction.v1alpha1.TransactionBodyView.toObject(includeInstance, f), + bindingSig: msg.getBindingSig_asB64(), + anchor: (f = msg.getAnchor()) && penumbra_crypto_tct_v1alpha1_tct_pb.MerkleRoot.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionView} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionView.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.transaction.v1alpha1.TransactionView; + return proto.penumbra.core.transaction.v1alpha1.TransactionView.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.transaction.v1alpha1.TransactionView} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionView} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionView.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.transaction.v1alpha1.TransactionBodyView; + reader.readMessage(value,proto.penumbra.core.transaction.v1alpha1.TransactionBodyView.deserializeBinaryFromReader); + msg.setBodyView(value); + break; + case 2: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setBindingSig(value); + break; + case 3: + var value = new penumbra_crypto_tct_v1alpha1_tct_pb.MerkleRoot; + reader.readMessage(value,penumbra_crypto_tct_v1alpha1_tct_pb.MerkleRoot.deserializeBinaryFromReader); + msg.setAnchor(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionView.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.transaction.v1alpha1.TransactionView.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.transaction.v1alpha1.TransactionView} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.transaction.v1alpha1.TransactionView.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getBodyView(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.transaction.v1alpha1.TransactionBodyView.serializeBinaryToWriter + ); + } + f = message.getBindingSig_asU8(); + if (f.length > 0) { + writer.writeBytes( + 2, + f + ); + } + f = message.getAnchor(); + if (f != null) { + writer.writeMessage( + 3, + f, + penumbra_crypto_tct_v1alpha1_tct_pb.MerkleRoot.serializeBinaryToWriter + ); + } +}; + + +/** + * optional TransactionBodyView body_view = 1; + * @return {?proto.penumbra.core.transaction.v1alpha1.TransactionBodyView} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionView.prototype.getBodyView = function() { + return /** @type{?proto.penumbra.core.transaction.v1alpha1.TransactionBodyView} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.transaction.v1alpha1.TransactionBodyView, 1)); +}; + + +/** + * @param {?proto.penumbra.core.transaction.v1alpha1.TransactionBodyView|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionView} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.TransactionView.prototype.setBodyView = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionView} returns this + */ +proto.penumbra.core.transaction.v1alpha1.TransactionView.prototype.clearBodyView = function() { + return this.setBodyView(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionView.prototype.hasBodyView = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional bytes binding_sig = 2; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionView.prototype.getBindingSig = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * optional bytes binding_sig = 2; + * This is a type-conversion wrapper around `getBindingSig()` + * @return {string} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionView.prototype.getBindingSig_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getBindingSig())); +}; + + +/** + * optional bytes binding_sig = 2; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getBindingSig()` + * @return {!Uint8Array} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionView.prototype.getBindingSig_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getBindingSig())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionView} returns this + */ +proto.penumbra.core.transaction.v1alpha1.TransactionView.prototype.setBindingSig = function(value) { + return jspb.Message.setProto3BytesField(this, 2, value); +}; + + +/** + * optional penumbra.crypto.tct.v1alpha1.MerkleRoot anchor = 3; + * @return {?proto.penumbra.crypto.tct.v1alpha1.MerkleRoot} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionView.prototype.getAnchor = function() { + return /** @type{?proto.penumbra.crypto.tct.v1alpha1.MerkleRoot} */ ( + jspb.Message.getWrapperField(this, penumbra_crypto_tct_v1alpha1_tct_pb.MerkleRoot, 3)); +}; + + +/** + * @param {?proto.penumbra.crypto.tct.v1alpha1.MerkleRoot|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionView} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.TransactionView.prototype.setAnchor = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionView} returns this + */ +proto.penumbra.core.transaction.v1alpha1.TransactionView.prototype.clearAnchor = function() { + return this.setAnchor(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionView.prototype.hasAnchor = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.penumbra.core.transaction.v1alpha1.TransactionBodyView.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionBodyView.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.transaction.v1alpha1.TransactionBodyView.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.transaction.v1alpha1.TransactionBodyView} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.transaction.v1alpha1.TransactionBodyView.toObject = function(includeInstance, msg) { + var f, obj = { + actionViewsList: jspb.Message.toObjectList(msg.getActionViewsList(), + proto.penumbra.core.transaction.v1alpha1.ActionView.toObject, includeInstance), + transactionParameters: (f = msg.getTransactionParameters()) && proto.penumbra.core.transaction.v1alpha1.TransactionParameters.toObject(includeInstance, f), + fee: (f = msg.getFee()) && penumbra_core_component_fee_v1alpha1_fee_pb.Fee.toObject(includeInstance, f), + detectionData: (f = msg.getDetectionData()) && proto.penumbra.core.transaction.v1alpha1.DetectionData.toObject(includeInstance, f), + memoView: (f = msg.getMemoView()) && proto.penumbra.core.transaction.v1alpha1.MemoView.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionBodyView} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionBodyView.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.transaction.v1alpha1.TransactionBodyView; + return proto.penumbra.core.transaction.v1alpha1.TransactionBodyView.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.transaction.v1alpha1.TransactionBodyView} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionBodyView} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionBodyView.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.transaction.v1alpha1.ActionView; + reader.readMessage(value,proto.penumbra.core.transaction.v1alpha1.ActionView.deserializeBinaryFromReader); + msg.addActionViews(value); + break; + case 2: + var value = new proto.penumbra.core.transaction.v1alpha1.TransactionParameters; + reader.readMessage(value,proto.penumbra.core.transaction.v1alpha1.TransactionParameters.deserializeBinaryFromReader); + msg.setTransactionParameters(value); + break; + case 3: + var value = new penumbra_core_component_fee_v1alpha1_fee_pb.Fee; + reader.readMessage(value,penumbra_core_component_fee_v1alpha1_fee_pb.Fee.deserializeBinaryFromReader); + msg.setFee(value); + break; + case 4: + var value = new proto.penumbra.core.transaction.v1alpha1.DetectionData; + reader.readMessage(value,proto.penumbra.core.transaction.v1alpha1.DetectionData.deserializeBinaryFromReader); + msg.setDetectionData(value); + break; + case 5: + var value = new proto.penumbra.core.transaction.v1alpha1.MemoView; + reader.readMessage(value,proto.penumbra.core.transaction.v1alpha1.MemoView.deserializeBinaryFromReader); + msg.setMemoView(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionBodyView.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.transaction.v1alpha1.TransactionBodyView.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.transaction.v1alpha1.TransactionBodyView} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.transaction.v1alpha1.TransactionBodyView.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getActionViewsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + proto.penumbra.core.transaction.v1alpha1.ActionView.serializeBinaryToWriter + ); + } + f = message.getTransactionParameters(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.penumbra.core.transaction.v1alpha1.TransactionParameters.serializeBinaryToWriter + ); + } + f = message.getFee(); + if (f != null) { + writer.writeMessage( + 3, + f, + penumbra_core_component_fee_v1alpha1_fee_pb.Fee.serializeBinaryToWriter + ); + } + f = message.getDetectionData(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.penumbra.core.transaction.v1alpha1.DetectionData.serializeBinaryToWriter + ); + } + f = message.getMemoView(); + if (f != null) { + writer.writeMessage( + 5, + f, + proto.penumbra.core.transaction.v1alpha1.MemoView.serializeBinaryToWriter + ); + } +}; + + +/** + * repeated ActionView action_views = 1; + * @return {!Array} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionBodyView.prototype.getActionViewsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.penumbra.core.transaction.v1alpha1.ActionView, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionBodyView} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.TransactionBodyView.prototype.setActionViewsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.penumbra.core.transaction.v1alpha1.ActionView=} opt_value + * @param {number=} opt_index + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionView} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionBodyView.prototype.addActionViews = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.penumbra.core.transaction.v1alpha1.ActionView, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionBodyView} returns this + */ +proto.penumbra.core.transaction.v1alpha1.TransactionBodyView.prototype.clearActionViewsList = function() { + return this.setActionViewsList([]); +}; + + +/** + * optional TransactionParameters transaction_parameters = 2; + * @return {?proto.penumbra.core.transaction.v1alpha1.TransactionParameters} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionBodyView.prototype.getTransactionParameters = function() { + return /** @type{?proto.penumbra.core.transaction.v1alpha1.TransactionParameters} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.transaction.v1alpha1.TransactionParameters, 2)); +}; + + +/** + * @param {?proto.penumbra.core.transaction.v1alpha1.TransactionParameters|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionBodyView} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.TransactionBodyView.prototype.setTransactionParameters = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionBodyView} returns this + */ +proto.penumbra.core.transaction.v1alpha1.TransactionBodyView.prototype.clearTransactionParameters = function() { + return this.setTransactionParameters(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionBodyView.prototype.hasTransactionParameters = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional penumbra.core.component.fee.v1alpha1.Fee fee = 3; + * @return {?proto.penumbra.core.component.fee.v1alpha1.Fee} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionBodyView.prototype.getFee = function() { + return /** @type{?proto.penumbra.core.component.fee.v1alpha1.Fee} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_fee_v1alpha1_fee_pb.Fee, 3)); +}; + + +/** + * @param {?proto.penumbra.core.component.fee.v1alpha1.Fee|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionBodyView} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.TransactionBodyView.prototype.setFee = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionBodyView} returns this + */ +proto.penumbra.core.transaction.v1alpha1.TransactionBodyView.prototype.clearFee = function() { + return this.setFee(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionBodyView.prototype.hasFee = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional DetectionData detection_data = 4; + * @return {?proto.penumbra.core.transaction.v1alpha1.DetectionData} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionBodyView.prototype.getDetectionData = function() { + return /** @type{?proto.penumbra.core.transaction.v1alpha1.DetectionData} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.transaction.v1alpha1.DetectionData, 4)); +}; + + +/** + * @param {?proto.penumbra.core.transaction.v1alpha1.DetectionData|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionBodyView} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.TransactionBodyView.prototype.setDetectionData = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionBodyView} returns this + */ +proto.penumbra.core.transaction.v1alpha1.TransactionBodyView.prototype.clearDetectionData = function() { + return this.setDetectionData(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionBodyView.prototype.hasDetectionData = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional MemoView memo_view = 5; + * @return {?proto.penumbra.core.transaction.v1alpha1.MemoView} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionBodyView.prototype.getMemoView = function() { + return /** @type{?proto.penumbra.core.transaction.v1alpha1.MemoView} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.transaction.v1alpha1.MemoView, 5)); +}; + + +/** + * @param {?proto.penumbra.core.transaction.v1alpha1.MemoView|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionBodyView} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.TransactionBodyView.prototype.setMemoView = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionBodyView} returns this + */ +proto.penumbra.core.transaction.v1alpha1.TransactionBodyView.prototype.clearMemoView = function() { + return this.setMemoView(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionBodyView.prototype.hasMemoView = function() { + return jspb.Message.getField(this, 5) != null; +}; + + + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.oneofGroups_ = [[1,2,3,4,16,17,18,19,20,21,22,30,31,32,34,41,42,50,51,52,43,200]]; + +/** + * @enum {number} + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.ActionViewCase = { + ACTION_VIEW_NOT_SET: 0, + SPEND: 1, + OUTPUT: 2, + SWAP: 3, + SWAP_CLAIM: 4, + VALIDATOR_DEFINITION: 16, + IBC_ACTION: 17, + PROPOSAL_SUBMIT: 18, + PROPOSAL_WITHDRAW: 19, + VALIDATOR_VOTE: 20, + DELEGATOR_VOTE: 21, + PROPOSAL_DEPOSIT_CLAIM: 22, + POSITION_OPEN: 30, + POSITION_CLOSE: 31, + POSITION_WITHDRAW: 32, + POSITION_REWARD_CLAIM: 34, + DELEGATE: 41, + UNDELEGATE: 42, + DAO_SPEND: 50, + DAO_OUTPUT: 51, + DAO_DEPOSIT: 52, + UNDELEGATE_CLAIM: 43, + ICS20_WITHDRAWAL: 200 +}; + +/** + * @return {proto.penumbra.core.transaction.v1alpha1.ActionView.ActionViewCase} + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.getActionViewCase = function() { + return /** @type {proto.penumbra.core.transaction.v1alpha1.ActionView.ActionViewCase} */(jspb.Message.computeOneofCase(this, proto.penumbra.core.transaction.v1alpha1.ActionView.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.transaction.v1alpha1.ActionView.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.transaction.v1alpha1.ActionView} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.toObject = function(includeInstance, msg) { + var f, obj = { + spend: (f = msg.getSpend()) && penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.SpendView.toObject(includeInstance, f), + output: (f = msg.getOutput()) && penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.OutputView.toObject(includeInstance, f), + swap: (f = msg.getSwap()) && penumbra_core_component_dex_v1alpha1_dex_pb.SwapView.toObject(includeInstance, f), + swapClaim: (f = msg.getSwapClaim()) && penumbra_core_component_dex_v1alpha1_dex_pb.SwapClaimView.toObject(includeInstance, f), + validatorDefinition: (f = msg.getValidatorDefinition()) && penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorDefinition.toObject(includeInstance, f), + ibcAction: (f = msg.getIbcAction()) && penumbra_core_component_ibc_v1alpha1_ibc_pb.IbcAction.toObject(includeInstance, f), + proposalSubmit: (f = msg.getProposalSubmit()) && penumbra_core_component_governance_v1alpha1_governance_pb.ProposalSubmit.toObject(includeInstance, f), + proposalWithdraw: (f = msg.getProposalWithdraw()) && penumbra_core_component_governance_v1alpha1_governance_pb.ProposalWithdraw.toObject(includeInstance, f), + validatorVote: (f = msg.getValidatorVote()) && penumbra_core_component_governance_v1alpha1_governance_pb.ValidatorVote.toObject(includeInstance, f), + delegatorVote: (f = msg.getDelegatorVote()) && penumbra_core_component_governance_v1alpha1_governance_pb.DelegatorVoteView.toObject(includeInstance, f), + proposalDepositClaim: (f = msg.getProposalDepositClaim()) && penumbra_core_component_governance_v1alpha1_governance_pb.ProposalDepositClaim.toObject(includeInstance, f), + positionOpen: (f = msg.getPositionOpen()) && penumbra_core_component_dex_v1alpha1_dex_pb.PositionOpen.toObject(includeInstance, f), + positionClose: (f = msg.getPositionClose()) && penumbra_core_component_dex_v1alpha1_dex_pb.PositionClose.toObject(includeInstance, f), + positionWithdraw: (f = msg.getPositionWithdraw()) && penumbra_core_component_dex_v1alpha1_dex_pb.PositionWithdraw.toObject(includeInstance, f), + positionRewardClaim: (f = msg.getPositionRewardClaim()) && penumbra_core_component_dex_v1alpha1_dex_pb.PositionRewardClaim.toObject(includeInstance, f), + delegate: (f = msg.getDelegate()) && penumbra_core_component_stake_v1alpha1_stake_pb.Delegate.toObject(includeInstance, f), + undelegate: (f = msg.getUndelegate()) && penumbra_core_component_stake_v1alpha1_stake_pb.Undelegate.toObject(includeInstance, f), + daoSpend: (f = msg.getDaoSpend()) && penumbra_core_component_governance_v1alpha1_governance_pb.DaoSpend.toObject(includeInstance, f), + daoOutput: (f = msg.getDaoOutput()) && penumbra_core_component_governance_v1alpha1_governance_pb.DaoOutput.toObject(includeInstance, f), + daoDeposit: (f = msg.getDaoDeposit()) && penumbra_core_component_governance_v1alpha1_governance_pb.DaoDeposit.toObject(includeInstance, f), + undelegateClaim: (f = msg.getUndelegateClaim()) && penumbra_core_component_stake_v1alpha1_stake_pb.UndelegateClaim.toObject(includeInstance, f), + ics20Withdrawal: (f = msg.getIcs20Withdrawal()) && penumbra_core_component_ibc_v1alpha1_ibc_pb.Ics20Withdrawal.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionView} + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.transaction.v1alpha1.ActionView; + return proto.penumbra.core.transaction.v1alpha1.ActionView.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.transaction.v1alpha1.ActionView} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionView} + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.SpendView; + reader.readMessage(value,penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.SpendView.deserializeBinaryFromReader); + msg.setSpend(value); + break; + case 2: + var value = new penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.OutputView; + reader.readMessage(value,penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.OutputView.deserializeBinaryFromReader); + msg.setOutput(value); + break; + case 3: + var value = new penumbra_core_component_dex_v1alpha1_dex_pb.SwapView; + reader.readMessage(value,penumbra_core_component_dex_v1alpha1_dex_pb.SwapView.deserializeBinaryFromReader); + msg.setSwap(value); + break; + case 4: + var value = new penumbra_core_component_dex_v1alpha1_dex_pb.SwapClaimView; + reader.readMessage(value,penumbra_core_component_dex_v1alpha1_dex_pb.SwapClaimView.deserializeBinaryFromReader); + msg.setSwapClaim(value); + break; + case 16: + var value = new penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorDefinition; + reader.readMessage(value,penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorDefinition.deserializeBinaryFromReader); + msg.setValidatorDefinition(value); + break; + case 17: + var value = new penumbra_core_component_ibc_v1alpha1_ibc_pb.IbcAction; + reader.readMessage(value,penumbra_core_component_ibc_v1alpha1_ibc_pb.IbcAction.deserializeBinaryFromReader); + msg.setIbcAction(value); + break; + case 18: + var value = new penumbra_core_component_governance_v1alpha1_governance_pb.ProposalSubmit; + reader.readMessage(value,penumbra_core_component_governance_v1alpha1_governance_pb.ProposalSubmit.deserializeBinaryFromReader); + msg.setProposalSubmit(value); + break; + case 19: + var value = new penumbra_core_component_governance_v1alpha1_governance_pb.ProposalWithdraw; + reader.readMessage(value,penumbra_core_component_governance_v1alpha1_governance_pb.ProposalWithdraw.deserializeBinaryFromReader); + msg.setProposalWithdraw(value); + break; + case 20: + var value = new penumbra_core_component_governance_v1alpha1_governance_pb.ValidatorVote; + reader.readMessage(value,penumbra_core_component_governance_v1alpha1_governance_pb.ValidatorVote.deserializeBinaryFromReader); + msg.setValidatorVote(value); + break; + case 21: + var value = new penumbra_core_component_governance_v1alpha1_governance_pb.DelegatorVoteView; + reader.readMessage(value,penumbra_core_component_governance_v1alpha1_governance_pb.DelegatorVoteView.deserializeBinaryFromReader); + msg.setDelegatorVote(value); + break; + case 22: + var value = new penumbra_core_component_governance_v1alpha1_governance_pb.ProposalDepositClaim; + reader.readMessage(value,penumbra_core_component_governance_v1alpha1_governance_pb.ProposalDepositClaim.deserializeBinaryFromReader); + msg.setProposalDepositClaim(value); + break; + case 30: + var value = new penumbra_core_component_dex_v1alpha1_dex_pb.PositionOpen; + reader.readMessage(value,penumbra_core_component_dex_v1alpha1_dex_pb.PositionOpen.deserializeBinaryFromReader); + msg.setPositionOpen(value); + break; + case 31: + var value = new penumbra_core_component_dex_v1alpha1_dex_pb.PositionClose; + reader.readMessage(value,penumbra_core_component_dex_v1alpha1_dex_pb.PositionClose.deserializeBinaryFromReader); + msg.setPositionClose(value); + break; + case 32: + var value = new penumbra_core_component_dex_v1alpha1_dex_pb.PositionWithdraw; + reader.readMessage(value,penumbra_core_component_dex_v1alpha1_dex_pb.PositionWithdraw.deserializeBinaryFromReader); + msg.setPositionWithdraw(value); + break; + case 34: + var value = new penumbra_core_component_dex_v1alpha1_dex_pb.PositionRewardClaim; + reader.readMessage(value,penumbra_core_component_dex_v1alpha1_dex_pb.PositionRewardClaim.deserializeBinaryFromReader); + msg.setPositionRewardClaim(value); + break; + case 41: + var value = new penumbra_core_component_stake_v1alpha1_stake_pb.Delegate; + reader.readMessage(value,penumbra_core_component_stake_v1alpha1_stake_pb.Delegate.deserializeBinaryFromReader); + msg.setDelegate(value); + break; + case 42: + var value = new penumbra_core_component_stake_v1alpha1_stake_pb.Undelegate; + reader.readMessage(value,penumbra_core_component_stake_v1alpha1_stake_pb.Undelegate.deserializeBinaryFromReader); + msg.setUndelegate(value); + break; + case 50: + var value = new penumbra_core_component_governance_v1alpha1_governance_pb.DaoSpend; + reader.readMessage(value,penumbra_core_component_governance_v1alpha1_governance_pb.DaoSpend.deserializeBinaryFromReader); + msg.setDaoSpend(value); + break; + case 51: + var value = new penumbra_core_component_governance_v1alpha1_governance_pb.DaoOutput; + reader.readMessage(value,penumbra_core_component_governance_v1alpha1_governance_pb.DaoOutput.deserializeBinaryFromReader); + msg.setDaoOutput(value); + break; + case 52: + var value = new penumbra_core_component_governance_v1alpha1_governance_pb.DaoDeposit; + reader.readMessage(value,penumbra_core_component_governance_v1alpha1_governance_pb.DaoDeposit.deserializeBinaryFromReader); + msg.setDaoDeposit(value); + break; + case 43: + var value = new penumbra_core_component_stake_v1alpha1_stake_pb.UndelegateClaim; + reader.readMessage(value,penumbra_core_component_stake_v1alpha1_stake_pb.UndelegateClaim.deserializeBinaryFromReader); + msg.setUndelegateClaim(value); + break; + case 200: + var value = new penumbra_core_component_ibc_v1alpha1_ibc_pb.Ics20Withdrawal; + reader.readMessage(value,penumbra_core_component_ibc_v1alpha1_ibc_pb.Ics20Withdrawal.deserializeBinaryFromReader); + msg.setIcs20Withdrawal(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.transaction.v1alpha1.ActionView.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.transaction.v1alpha1.ActionView} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSpend(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.SpendView.serializeBinaryToWriter + ); + } + f = message.getOutput(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.OutputView.serializeBinaryToWriter + ); + } + f = message.getSwap(); + if (f != null) { + writer.writeMessage( + 3, + f, + penumbra_core_component_dex_v1alpha1_dex_pb.SwapView.serializeBinaryToWriter + ); + } + f = message.getSwapClaim(); + if (f != null) { + writer.writeMessage( + 4, + f, + penumbra_core_component_dex_v1alpha1_dex_pb.SwapClaimView.serializeBinaryToWriter + ); + } + f = message.getValidatorDefinition(); + if (f != null) { + writer.writeMessage( + 16, + f, + penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorDefinition.serializeBinaryToWriter + ); + } + f = message.getIbcAction(); + if (f != null) { + writer.writeMessage( + 17, + f, + penumbra_core_component_ibc_v1alpha1_ibc_pb.IbcAction.serializeBinaryToWriter + ); + } + f = message.getProposalSubmit(); + if (f != null) { + writer.writeMessage( + 18, + f, + penumbra_core_component_governance_v1alpha1_governance_pb.ProposalSubmit.serializeBinaryToWriter + ); + } + f = message.getProposalWithdraw(); + if (f != null) { + writer.writeMessage( + 19, + f, + penumbra_core_component_governance_v1alpha1_governance_pb.ProposalWithdraw.serializeBinaryToWriter + ); + } + f = message.getValidatorVote(); + if (f != null) { + writer.writeMessage( + 20, + f, + penumbra_core_component_governance_v1alpha1_governance_pb.ValidatorVote.serializeBinaryToWriter + ); + } + f = message.getDelegatorVote(); + if (f != null) { + writer.writeMessage( + 21, + f, + penumbra_core_component_governance_v1alpha1_governance_pb.DelegatorVoteView.serializeBinaryToWriter + ); + } + f = message.getProposalDepositClaim(); + if (f != null) { + writer.writeMessage( + 22, + f, + penumbra_core_component_governance_v1alpha1_governance_pb.ProposalDepositClaim.serializeBinaryToWriter + ); + } + f = message.getPositionOpen(); + if (f != null) { + writer.writeMessage( + 30, + f, + penumbra_core_component_dex_v1alpha1_dex_pb.PositionOpen.serializeBinaryToWriter + ); + } + f = message.getPositionClose(); + if (f != null) { + writer.writeMessage( + 31, + f, + penumbra_core_component_dex_v1alpha1_dex_pb.PositionClose.serializeBinaryToWriter + ); + } + f = message.getPositionWithdraw(); + if (f != null) { + writer.writeMessage( + 32, + f, + penumbra_core_component_dex_v1alpha1_dex_pb.PositionWithdraw.serializeBinaryToWriter + ); + } + f = message.getPositionRewardClaim(); + if (f != null) { + writer.writeMessage( + 34, + f, + penumbra_core_component_dex_v1alpha1_dex_pb.PositionRewardClaim.serializeBinaryToWriter + ); + } + f = message.getDelegate(); + if (f != null) { + writer.writeMessage( + 41, + f, + penumbra_core_component_stake_v1alpha1_stake_pb.Delegate.serializeBinaryToWriter + ); + } + f = message.getUndelegate(); + if (f != null) { + writer.writeMessage( + 42, + f, + penumbra_core_component_stake_v1alpha1_stake_pb.Undelegate.serializeBinaryToWriter + ); + } + f = message.getDaoSpend(); + if (f != null) { + writer.writeMessage( + 50, + f, + penumbra_core_component_governance_v1alpha1_governance_pb.DaoSpend.serializeBinaryToWriter + ); + } + f = message.getDaoOutput(); + if (f != null) { + writer.writeMessage( + 51, + f, + penumbra_core_component_governance_v1alpha1_governance_pb.DaoOutput.serializeBinaryToWriter + ); + } + f = message.getDaoDeposit(); + if (f != null) { + writer.writeMessage( + 52, + f, + penumbra_core_component_governance_v1alpha1_governance_pb.DaoDeposit.serializeBinaryToWriter + ); + } + f = message.getUndelegateClaim(); + if (f != null) { + writer.writeMessage( + 43, + f, + penumbra_core_component_stake_v1alpha1_stake_pb.UndelegateClaim.serializeBinaryToWriter + ); + } + f = message.getIcs20Withdrawal(); + if (f != null) { + writer.writeMessage( + 200, + f, + penumbra_core_component_ibc_v1alpha1_ibc_pb.Ics20Withdrawal.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.component.shielded_pool.v1alpha1.SpendView spend = 1; + * @return {?proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView} + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.getSpend = function() { + return /** @type{?proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.SpendView, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.shielded_pool.v1alpha1.SpendView|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionView} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.setSpend = function(value) { + return jspb.Message.setOneofWrapperField(this, 1, proto.penumbra.core.transaction.v1alpha1.ActionView.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionView} returns this + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.clearSpend = function() { + return this.setSpend(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.hasSpend = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional penumbra.core.component.shielded_pool.v1alpha1.OutputView output = 2; + * @return {?proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView} + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.getOutput = function() { + return /** @type{?proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.OutputView, 2)); +}; + + +/** + * @param {?proto.penumbra.core.component.shielded_pool.v1alpha1.OutputView|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionView} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.setOutput = function(value) { + return jspb.Message.setOneofWrapperField(this, 2, proto.penumbra.core.transaction.v1alpha1.ActionView.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionView} returns this + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.clearOutput = function() { + return this.setOutput(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.hasOutput = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional penumbra.core.component.dex.v1alpha1.SwapView swap = 3; + * @return {?proto.penumbra.core.component.dex.v1alpha1.SwapView} + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.getSwap = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.SwapView} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_dex_v1alpha1_dex_pb.SwapView, 3)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.SwapView|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionView} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.setSwap = function(value) { + return jspb.Message.setOneofWrapperField(this, 3, proto.penumbra.core.transaction.v1alpha1.ActionView.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionView} returns this + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.clearSwap = function() { + return this.setSwap(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.hasSwap = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional penumbra.core.component.dex.v1alpha1.SwapClaimView swap_claim = 4; + * @return {?proto.penumbra.core.component.dex.v1alpha1.SwapClaimView} + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.getSwapClaim = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.SwapClaimView} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_dex_v1alpha1_dex_pb.SwapClaimView, 4)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.SwapClaimView|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionView} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.setSwapClaim = function(value) { + return jspb.Message.setOneofWrapperField(this, 4, proto.penumbra.core.transaction.v1alpha1.ActionView.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionView} returns this + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.clearSwapClaim = function() { + return this.setSwapClaim(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.hasSwapClaim = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional penumbra.core.component.stake.v1alpha1.ValidatorDefinition validator_definition = 16; + * @return {?proto.penumbra.core.component.stake.v1alpha1.ValidatorDefinition} + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.getValidatorDefinition = function() { + return /** @type{?proto.penumbra.core.component.stake.v1alpha1.ValidatorDefinition} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorDefinition, 16)); +}; + + +/** + * @param {?proto.penumbra.core.component.stake.v1alpha1.ValidatorDefinition|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionView} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.setValidatorDefinition = function(value) { + return jspb.Message.setOneofWrapperField(this, 16, proto.penumbra.core.transaction.v1alpha1.ActionView.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionView} returns this + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.clearValidatorDefinition = function() { + return this.setValidatorDefinition(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.hasValidatorDefinition = function() { + return jspb.Message.getField(this, 16) != null; +}; + + +/** + * optional penumbra.core.component.ibc.v1alpha1.IbcAction ibc_action = 17; + * @return {?proto.penumbra.core.component.ibc.v1alpha1.IbcAction} + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.getIbcAction = function() { + return /** @type{?proto.penumbra.core.component.ibc.v1alpha1.IbcAction} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_ibc_v1alpha1_ibc_pb.IbcAction, 17)); +}; + + +/** + * @param {?proto.penumbra.core.component.ibc.v1alpha1.IbcAction|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionView} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.setIbcAction = function(value) { + return jspb.Message.setOneofWrapperField(this, 17, proto.penumbra.core.transaction.v1alpha1.ActionView.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionView} returns this + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.clearIbcAction = function() { + return this.setIbcAction(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.hasIbcAction = function() { + return jspb.Message.getField(this, 17) != null; +}; + + +/** + * optional penumbra.core.component.governance.v1alpha1.ProposalSubmit proposal_submit = 18; + * @return {?proto.penumbra.core.component.governance.v1alpha1.ProposalSubmit} + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.getProposalSubmit = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.ProposalSubmit} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_governance_v1alpha1_governance_pb.ProposalSubmit, 18)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.ProposalSubmit|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionView} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.setProposalSubmit = function(value) { + return jspb.Message.setOneofWrapperField(this, 18, proto.penumbra.core.transaction.v1alpha1.ActionView.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionView} returns this + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.clearProposalSubmit = function() { + return this.setProposalSubmit(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.hasProposalSubmit = function() { + return jspb.Message.getField(this, 18) != null; +}; + + +/** + * optional penumbra.core.component.governance.v1alpha1.ProposalWithdraw proposal_withdraw = 19; + * @return {?proto.penumbra.core.component.governance.v1alpha1.ProposalWithdraw} + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.getProposalWithdraw = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.ProposalWithdraw} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_governance_v1alpha1_governance_pb.ProposalWithdraw, 19)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.ProposalWithdraw|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionView} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.setProposalWithdraw = function(value) { + return jspb.Message.setOneofWrapperField(this, 19, proto.penumbra.core.transaction.v1alpha1.ActionView.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionView} returns this + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.clearProposalWithdraw = function() { + return this.setProposalWithdraw(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.hasProposalWithdraw = function() { + return jspb.Message.getField(this, 19) != null; +}; + + +/** + * optional penumbra.core.component.governance.v1alpha1.ValidatorVote validator_vote = 20; + * @return {?proto.penumbra.core.component.governance.v1alpha1.ValidatorVote} + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.getValidatorVote = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.ValidatorVote} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_governance_v1alpha1_governance_pb.ValidatorVote, 20)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.ValidatorVote|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionView} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.setValidatorVote = function(value) { + return jspb.Message.setOneofWrapperField(this, 20, proto.penumbra.core.transaction.v1alpha1.ActionView.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionView} returns this + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.clearValidatorVote = function() { + return this.setValidatorVote(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.hasValidatorVote = function() { + return jspb.Message.getField(this, 20) != null; +}; + + +/** + * optional penumbra.core.component.governance.v1alpha1.DelegatorVoteView delegator_vote = 21; + * @return {?proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView} + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.getDelegatorVote = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_governance_v1alpha1_governance_pb.DelegatorVoteView, 21)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.DelegatorVoteView|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionView} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.setDelegatorVote = function(value) { + return jspb.Message.setOneofWrapperField(this, 21, proto.penumbra.core.transaction.v1alpha1.ActionView.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionView} returns this + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.clearDelegatorVote = function() { + return this.setDelegatorVote(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.hasDelegatorVote = function() { + return jspb.Message.getField(this, 21) != null; +}; + + +/** + * optional penumbra.core.component.governance.v1alpha1.ProposalDepositClaim proposal_deposit_claim = 22; + * @return {?proto.penumbra.core.component.governance.v1alpha1.ProposalDepositClaim} + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.getProposalDepositClaim = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.ProposalDepositClaim} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_governance_v1alpha1_governance_pb.ProposalDepositClaim, 22)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.ProposalDepositClaim|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionView} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.setProposalDepositClaim = function(value) { + return jspb.Message.setOneofWrapperField(this, 22, proto.penumbra.core.transaction.v1alpha1.ActionView.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionView} returns this + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.clearProposalDepositClaim = function() { + return this.setProposalDepositClaim(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.hasProposalDepositClaim = function() { + return jspb.Message.getField(this, 22) != null; +}; + + +/** + * optional penumbra.core.component.dex.v1alpha1.PositionOpen position_open = 30; + * @return {?proto.penumbra.core.component.dex.v1alpha1.PositionOpen} + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.getPositionOpen = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.PositionOpen} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_dex_v1alpha1_dex_pb.PositionOpen, 30)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.PositionOpen|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionView} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.setPositionOpen = function(value) { + return jspb.Message.setOneofWrapperField(this, 30, proto.penumbra.core.transaction.v1alpha1.ActionView.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionView} returns this + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.clearPositionOpen = function() { + return this.setPositionOpen(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.hasPositionOpen = function() { + return jspb.Message.getField(this, 30) != null; +}; + + +/** + * optional penumbra.core.component.dex.v1alpha1.PositionClose position_close = 31; + * @return {?proto.penumbra.core.component.dex.v1alpha1.PositionClose} + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.getPositionClose = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.PositionClose} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_dex_v1alpha1_dex_pb.PositionClose, 31)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.PositionClose|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionView} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.setPositionClose = function(value) { + return jspb.Message.setOneofWrapperField(this, 31, proto.penumbra.core.transaction.v1alpha1.ActionView.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionView} returns this + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.clearPositionClose = function() { + return this.setPositionClose(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.hasPositionClose = function() { + return jspb.Message.getField(this, 31) != null; +}; + + +/** + * optional penumbra.core.component.dex.v1alpha1.PositionWithdraw position_withdraw = 32; + * @return {?proto.penumbra.core.component.dex.v1alpha1.PositionWithdraw} + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.getPositionWithdraw = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.PositionWithdraw} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_dex_v1alpha1_dex_pb.PositionWithdraw, 32)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.PositionWithdraw|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionView} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.setPositionWithdraw = function(value) { + return jspb.Message.setOneofWrapperField(this, 32, proto.penumbra.core.transaction.v1alpha1.ActionView.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionView} returns this + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.clearPositionWithdraw = function() { + return this.setPositionWithdraw(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.hasPositionWithdraw = function() { + return jspb.Message.getField(this, 32) != null; +}; + + +/** + * optional penumbra.core.component.dex.v1alpha1.PositionRewardClaim position_reward_claim = 34; + * @return {?proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaim} + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.getPositionRewardClaim = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaim} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_dex_v1alpha1_dex_pb.PositionRewardClaim, 34)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaim|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionView} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.setPositionRewardClaim = function(value) { + return jspb.Message.setOneofWrapperField(this, 34, proto.penumbra.core.transaction.v1alpha1.ActionView.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionView} returns this + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.clearPositionRewardClaim = function() { + return this.setPositionRewardClaim(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.hasPositionRewardClaim = function() { + return jspb.Message.getField(this, 34) != null; +}; + + +/** + * optional penumbra.core.component.stake.v1alpha1.Delegate delegate = 41; + * @return {?proto.penumbra.core.component.stake.v1alpha1.Delegate} + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.getDelegate = function() { + return /** @type{?proto.penumbra.core.component.stake.v1alpha1.Delegate} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_stake_v1alpha1_stake_pb.Delegate, 41)); +}; + + +/** + * @param {?proto.penumbra.core.component.stake.v1alpha1.Delegate|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionView} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.setDelegate = function(value) { + return jspb.Message.setOneofWrapperField(this, 41, proto.penumbra.core.transaction.v1alpha1.ActionView.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionView} returns this + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.clearDelegate = function() { + return this.setDelegate(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.hasDelegate = function() { + return jspb.Message.getField(this, 41) != null; +}; + + +/** + * optional penumbra.core.component.stake.v1alpha1.Undelegate undelegate = 42; + * @return {?proto.penumbra.core.component.stake.v1alpha1.Undelegate} + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.getUndelegate = function() { + return /** @type{?proto.penumbra.core.component.stake.v1alpha1.Undelegate} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_stake_v1alpha1_stake_pb.Undelegate, 42)); +}; + + +/** + * @param {?proto.penumbra.core.component.stake.v1alpha1.Undelegate|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionView} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.setUndelegate = function(value) { + return jspb.Message.setOneofWrapperField(this, 42, proto.penumbra.core.transaction.v1alpha1.ActionView.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionView} returns this + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.clearUndelegate = function() { + return this.setUndelegate(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.hasUndelegate = function() { + return jspb.Message.getField(this, 42) != null; +}; + + +/** + * optional penumbra.core.component.governance.v1alpha1.DaoSpend dao_spend = 50; + * @return {?proto.penumbra.core.component.governance.v1alpha1.DaoSpend} + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.getDaoSpend = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.DaoSpend} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_governance_v1alpha1_governance_pb.DaoSpend, 50)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.DaoSpend|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionView} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.setDaoSpend = function(value) { + return jspb.Message.setOneofWrapperField(this, 50, proto.penumbra.core.transaction.v1alpha1.ActionView.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionView} returns this + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.clearDaoSpend = function() { + return this.setDaoSpend(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.hasDaoSpend = function() { + return jspb.Message.getField(this, 50) != null; +}; + + +/** + * optional penumbra.core.component.governance.v1alpha1.DaoOutput dao_output = 51; + * @return {?proto.penumbra.core.component.governance.v1alpha1.DaoOutput} + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.getDaoOutput = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.DaoOutput} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_governance_v1alpha1_governance_pb.DaoOutput, 51)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.DaoOutput|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionView} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.setDaoOutput = function(value) { + return jspb.Message.setOneofWrapperField(this, 51, proto.penumbra.core.transaction.v1alpha1.ActionView.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionView} returns this + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.clearDaoOutput = function() { + return this.setDaoOutput(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.hasDaoOutput = function() { + return jspb.Message.getField(this, 51) != null; +}; + + +/** + * optional penumbra.core.component.governance.v1alpha1.DaoDeposit dao_deposit = 52; + * @return {?proto.penumbra.core.component.governance.v1alpha1.DaoDeposit} + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.getDaoDeposit = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.DaoDeposit} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_governance_v1alpha1_governance_pb.DaoDeposit, 52)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.DaoDeposit|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionView} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.setDaoDeposit = function(value) { + return jspb.Message.setOneofWrapperField(this, 52, proto.penumbra.core.transaction.v1alpha1.ActionView.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionView} returns this + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.clearDaoDeposit = function() { + return this.setDaoDeposit(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.hasDaoDeposit = function() { + return jspb.Message.getField(this, 52) != null; +}; + + +/** + * optional penumbra.core.component.stake.v1alpha1.UndelegateClaim undelegate_claim = 43; + * @return {?proto.penumbra.core.component.stake.v1alpha1.UndelegateClaim} + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.getUndelegateClaim = function() { + return /** @type{?proto.penumbra.core.component.stake.v1alpha1.UndelegateClaim} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_stake_v1alpha1_stake_pb.UndelegateClaim, 43)); +}; + + +/** + * @param {?proto.penumbra.core.component.stake.v1alpha1.UndelegateClaim|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionView} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.setUndelegateClaim = function(value) { + return jspb.Message.setOneofWrapperField(this, 43, proto.penumbra.core.transaction.v1alpha1.ActionView.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionView} returns this + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.clearUndelegateClaim = function() { + return this.setUndelegateClaim(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.hasUndelegateClaim = function() { + return jspb.Message.getField(this, 43) != null; +}; + + +/** + * optional penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal ics20_withdrawal = 200; + * @return {?proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal} + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.getIcs20Withdrawal = function() { + return /** @type{?proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_ibc_v1alpha1_ibc_pb.Ics20Withdrawal, 200)); +}; + + +/** + * @param {?proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionView} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.setIcs20Withdrawal = function(value) { + return jspb.Message.setOneofWrapperField(this, 200, proto.penumbra.core.transaction.v1alpha1.ActionView.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionView} returns this + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.clearIcs20Withdrawal = function() { + return this.setIcs20Withdrawal(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.ActionView.prototype.hasIcs20Withdrawal = function() { + return jspb.Message.getField(this, 200) != null; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.penumbra.core.transaction.v1alpha1.AuthorizationData.repeatedFields_ = [2,3]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.transaction.v1alpha1.AuthorizationData.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.transaction.v1alpha1.AuthorizationData.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.transaction.v1alpha1.AuthorizationData} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.transaction.v1alpha1.AuthorizationData.toObject = function(includeInstance, msg) { + var f, obj = { + effectHash: (f = msg.getEffectHash()) && penumbra_core_component_chain_v1alpha1_chain_pb.EffectHash.toObject(includeInstance, f), + spendAuthsList: jspb.Message.toObjectList(msg.getSpendAuthsList(), + penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb.SpendAuthSignature.toObject, includeInstance), + delegatorVoteAuthsList: jspb.Message.toObjectList(msg.getDelegatorVoteAuthsList(), + penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb.SpendAuthSignature.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.transaction.v1alpha1.AuthorizationData} + */ +proto.penumbra.core.transaction.v1alpha1.AuthorizationData.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.transaction.v1alpha1.AuthorizationData; + return proto.penumbra.core.transaction.v1alpha1.AuthorizationData.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.transaction.v1alpha1.AuthorizationData} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.transaction.v1alpha1.AuthorizationData} + */ +proto.penumbra.core.transaction.v1alpha1.AuthorizationData.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_component_chain_v1alpha1_chain_pb.EffectHash; + reader.readMessage(value,penumbra_core_component_chain_v1alpha1_chain_pb.EffectHash.deserializeBinaryFromReader); + msg.setEffectHash(value); + break; + case 2: + var value = new penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb.SpendAuthSignature; + reader.readMessage(value,penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb.SpendAuthSignature.deserializeBinaryFromReader); + msg.addSpendAuths(value); + break; + case 3: + var value = new penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb.SpendAuthSignature; + reader.readMessage(value,penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb.SpendAuthSignature.deserializeBinaryFromReader); + msg.addDelegatorVoteAuths(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.transaction.v1alpha1.AuthorizationData.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.transaction.v1alpha1.AuthorizationData.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.transaction.v1alpha1.AuthorizationData} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.transaction.v1alpha1.AuthorizationData.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getEffectHash(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_component_chain_v1alpha1_chain_pb.EffectHash.serializeBinaryToWriter + ); + } + f = message.getSpendAuthsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 2, + f, + penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb.SpendAuthSignature.serializeBinaryToWriter + ); + } + f = message.getDelegatorVoteAuthsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 3, + f, + penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb.SpendAuthSignature.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.component.chain.v1alpha1.EffectHash effect_hash = 1; + * @return {?proto.penumbra.core.component.chain.v1alpha1.EffectHash} + */ +proto.penumbra.core.transaction.v1alpha1.AuthorizationData.prototype.getEffectHash = function() { + return /** @type{?proto.penumbra.core.component.chain.v1alpha1.EffectHash} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_chain_v1alpha1_chain_pb.EffectHash, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.chain.v1alpha1.EffectHash|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.AuthorizationData} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.AuthorizationData.prototype.setEffectHash = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.AuthorizationData} returns this + */ +proto.penumbra.core.transaction.v1alpha1.AuthorizationData.prototype.clearEffectHash = function() { + return this.setEffectHash(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.AuthorizationData.prototype.hasEffectHash = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * repeated penumbra.crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature spend_auths = 2; + * @return {!Array} + */ +proto.penumbra.core.transaction.v1alpha1.AuthorizationData.prototype.getSpendAuthsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb.SpendAuthSignature, 2)); +}; + + +/** + * @param {!Array} value + * @return {!proto.penumbra.core.transaction.v1alpha1.AuthorizationData} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.AuthorizationData.prototype.setSpendAuthsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 2, value); +}; + + +/** + * @param {!proto.penumbra.crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature=} opt_value + * @param {number=} opt_index + * @return {!proto.penumbra.crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature} + */ +proto.penumbra.core.transaction.v1alpha1.AuthorizationData.prototype.addSpendAuths = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.penumbra.crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.penumbra.core.transaction.v1alpha1.AuthorizationData} returns this + */ +proto.penumbra.core.transaction.v1alpha1.AuthorizationData.prototype.clearSpendAuthsList = function() { + return this.setSpendAuthsList([]); +}; + + +/** + * repeated penumbra.crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature delegator_vote_auths = 3; + * @return {!Array} + */ +proto.penumbra.core.transaction.v1alpha1.AuthorizationData.prototype.getDelegatorVoteAuthsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, penumbra_crypto_decaf377_rdsa_v1alpha1_decaf377_rdsa_pb.SpendAuthSignature, 3)); +}; + + +/** + * @param {!Array} value + * @return {!proto.penumbra.core.transaction.v1alpha1.AuthorizationData} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.AuthorizationData.prototype.setDelegatorVoteAuthsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 3, value); +}; + + +/** + * @param {!proto.penumbra.crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature=} opt_value + * @param {number=} opt_index + * @return {!proto.penumbra.crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature} + */ +proto.penumbra.core.transaction.v1alpha1.AuthorizationData.prototype.addDelegatorVoteAuths = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.penumbra.crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.penumbra.core.transaction.v1alpha1.AuthorizationData} returns this + */ +proto.penumbra.core.transaction.v1alpha1.AuthorizationData.prototype.clearDelegatorVoteAuthsList = function() { + return this.setDelegatorVoteAuthsList([]); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.penumbra.core.transaction.v1alpha1.WitnessData.repeatedFields_ = [2]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.transaction.v1alpha1.WitnessData.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.transaction.v1alpha1.WitnessData.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.transaction.v1alpha1.WitnessData} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.transaction.v1alpha1.WitnessData.toObject = function(includeInstance, msg) { + var f, obj = { + anchor: (f = msg.getAnchor()) && penumbra_crypto_tct_v1alpha1_tct_pb.MerkleRoot.toObject(includeInstance, f), + stateCommitmentProofsList: jspb.Message.toObjectList(msg.getStateCommitmentProofsList(), + penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitmentProof.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.transaction.v1alpha1.WitnessData} + */ +proto.penumbra.core.transaction.v1alpha1.WitnessData.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.transaction.v1alpha1.WitnessData; + return proto.penumbra.core.transaction.v1alpha1.WitnessData.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.transaction.v1alpha1.WitnessData} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.transaction.v1alpha1.WitnessData} + */ +proto.penumbra.core.transaction.v1alpha1.WitnessData.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_crypto_tct_v1alpha1_tct_pb.MerkleRoot; + reader.readMessage(value,penumbra_crypto_tct_v1alpha1_tct_pb.MerkleRoot.deserializeBinaryFromReader); + msg.setAnchor(value); + break; + case 2: + var value = new penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitmentProof; + reader.readMessage(value,penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitmentProof.deserializeBinaryFromReader); + msg.addStateCommitmentProofs(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.transaction.v1alpha1.WitnessData.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.transaction.v1alpha1.WitnessData.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.transaction.v1alpha1.WitnessData} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.transaction.v1alpha1.WitnessData.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getAnchor(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_crypto_tct_v1alpha1_tct_pb.MerkleRoot.serializeBinaryToWriter + ); + } + f = message.getStateCommitmentProofsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 2, + f, + penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitmentProof.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.crypto.tct.v1alpha1.MerkleRoot anchor = 1; + * @return {?proto.penumbra.crypto.tct.v1alpha1.MerkleRoot} + */ +proto.penumbra.core.transaction.v1alpha1.WitnessData.prototype.getAnchor = function() { + return /** @type{?proto.penumbra.crypto.tct.v1alpha1.MerkleRoot} */ ( + jspb.Message.getWrapperField(this, penumbra_crypto_tct_v1alpha1_tct_pb.MerkleRoot, 1)); +}; + + +/** + * @param {?proto.penumbra.crypto.tct.v1alpha1.MerkleRoot|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.WitnessData} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.WitnessData.prototype.setAnchor = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.WitnessData} returns this + */ +proto.penumbra.core.transaction.v1alpha1.WitnessData.prototype.clearAnchor = function() { + return this.setAnchor(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.WitnessData.prototype.hasAnchor = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * repeated penumbra.crypto.tct.v1alpha1.StateCommitmentProof state_commitment_proofs = 2; + * @return {!Array} + */ +proto.penumbra.core.transaction.v1alpha1.WitnessData.prototype.getStateCommitmentProofsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitmentProof, 2)); +}; + + +/** + * @param {!Array} value + * @return {!proto.penumbra.core.transaction.v1alpha1.WitnessData} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.WitnessData.prototype.setStateCommitmentProofsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 2, value); +}; + + +/** + * @param {!proto.penumbra.crypto.tct.v1alpha1.StateCommitmentProof=} opt_value + * @param {number=} opt_index + * @return {!proto.penumbra.crypto.tct.v1alpha1.StateCommitmentProof} + */ +proto.penumbra.core.transaction.v1alpha1.WitnessData.prototype.addStateCommitmentProofs = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.penumbra.crypto.tct.v1alpha1.StateCommitmentProof, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.penumbra.core.transaction.v1alpha1.WitnessData} returns this + */ +proto.penumbra.core.transaction.v1alpha1.WitnessData.prototype.clearStateCommitmentProofsList = function() { + return this.setStateCommitmentProofsList([]); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.penumbra.core.transaction.v1alpha1.TransactionPlan.repeatedFields_ = [1,5]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionPlan.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.transaction.v1alpha1.TransactionPlan.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.transaction.v1alpha1.TransactionPlan} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.transaction.v1alpha1.TransactionPlan.toObject = function(includeInstance, msg) { + var f, obj = { + actionsList: jspb.Message.toObjectList(msg.getActionsList(), + proto.penumbra.core.transaction.v1alpha1.ActionPlan.toObject, includeInstance), + expiryHeight: jspb.Message.getFieldWithDefault(msg, 2, 0), + chainId: jspb.Message.getFieldWithDefault(msg, 3, ""), + fee: (f = msg.getFee()) && penumbra_core_component_fee_v1alpha1_fee_pb.Fee.toObject(includeInstance, f), + cluePlansList: jspb.Message.toObjectList(msg.getCluePlansList(), + proto.penumbra.core.transaction.v1alpha1.CluePlan.toObject, includeInstance), + memoPlan: (f = msg.getMemoPlan()) && proto.penumbra.core.transaction.v1alpha1.MemoPlan.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionPlan} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionPlan.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.transaction.v1alpha1.TransactionPlan; + return proto.penumbra.core.transaction.v1alpha1.TransactionPlan.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.transaction.v1alpha1.TransactionPlan} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionPlan} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionPlan.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.transaction.v1alpha1.ActionPlan; + reader.readMessage(value,proto.penumbra.core.transaction.v1alpha1.ActionPlan.deserializeBinaryFromReader); + msg.addActions(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint64()); + msg.setExpiryHeight(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setChainId(value); + break; + case 4: + var value = new penumbra_core_component_fee_v1alpha1_fee_pb.Fee; + reader.readMessage(value,penumbra_core_component_fee_v1alpha1_fee_pb.Fee.deserializeBinaryFromReader); + msg.setFee(value); + break; + case 5: + var value = new proto.penumbra.core.transaction.v1alpha1.CluePlan; + reader.readMessage(value,proto.penumbra.core.transaction.v1alpha1.CluePlan.deserializeBinaryFromReader); + msg.addCluePlans(value); + break; + case 6: + var value = new proto.penumbra.core.transaction.v1alpha1.MemoPlan; + reader.readMessage(value,proto.penumbra.core.transaction.v1alpha1.MemoPlan.deserializeBinaryFromReader); + msg.setMemoPlan(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionPlan.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.transaction.v1alpha1.TransactionPlan.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.transaction.v1alpha1.TransactionPlan} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.transaction.v1alpha1.TransactionPlan.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getActionsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + proto.penumbra.core.transaction.v1alpha1.ActionPlan.serializeBinaryToWriter + ); + } + f = message.getExpiryHeight(); + if (f !== 0) { + writer.writeUint64( + 2, + f + ); + } + f = message.getChainId(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getFee(); + if (f != null) { + writer.writeMessage( + 4, + f, + penumbra_core_component_fee_v1alpha1_fee_pb.Fee.serializeBinaryToWriter + ); + } + f = message.getCluePlansList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 5, + f, + proto.penumbra.core.transaction.v1alpha1.CluePlan.serializeBinaryToWriter + ); + } + f = message.getMemoPlan(); + if (f != null) { + writer.writeMessage( + 6, + f, + proto.penumbra.core.transaction.v1alpha1.MemoPlan.serializeBinaryToWriter + ); + } +}; + + +/** + * repeated ActionPlan actions = 1; + * @return {!Array} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionPlan.prototype.getActionsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.penumbra.core.transaction.v1alpha1.ActionPlan, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionPlan} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.TransactionPlan.prototype.setActionsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.penumbra.core.transaction.v1alpha1.ActionPlan=} opt_value + * @param {number=} opt_index + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionPlan} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionPlan.prototype.addActions = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.penumbra.core.transaction.v1alpha1.ActionPlan, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionPlan} returns this + */ +proto.penumbra.core.transaction.v1alpha1.TransactionPlan.prototype.clearActionsList = function() { + return this.setActionsList([]); +}; + + +/** + * optional uint64 expiry_height = 2; + * @return {number} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionPlan.prototype.getExpiryHeight = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionPlan} returns this + */ +proto.penumbra.core.transaction.v1alpha1.TransactionPlan.prototype.setExpiryHeight = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + +/** + * optional string chain_id = 3; + * @return {string} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionPlan.prototype.getChainId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionPlan} returns this + */ +proto.penumbra.core.transaction.v1alpha1.TransactionPlan.prototype.setChainId = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional penumbra.core.component.fee.v1alpha1.Fee fee = 4; + * @return {?proto.penumbra.core.component.fee.v1alpha1.Fee} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionPlan.prototype.getFee = function() { + return /** @type{?proto.penumbra.core.component.fee.v1alpha1.Fee} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_fee_v1alpha1_fee_pb.Fee, 4)); +}; + + +/** + * @param {?proto.penumbra.core.component.fee.v1alpha1.Fee|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionPlan} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.TransactionPlan.prototype.setFee = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionPlan} returns this + */ +proto.penumbra.core.transaction.v1alpha1.TransactionPlan.prototype.clearFee = function() { + return this.setFee(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionPlan.prototype.hasFee = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * repeated CluePlan clue_plans = 5; + * @return {!Array} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionPlan.prototype.getCluePlansList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.penumbra.core.transaction.v1alpha1.CluePlan, 5)); +}; + + +/** + * @param {!Array} value + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionPlan} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.TransactionPlan.prototype.setCluePlansList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 5, value); +}; + + +/** + * @param {!proto.penumbra.core.transaction.v1alpha1.CluePlan=} opt_value + * @param {number=} opt_index + * @return {!proto.penumbra.core.transaction.v1alpha1.CluePlan} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionPlan.prototype.addCluePlans = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.penumbra.core.transaction.v1alpha1.CluePlan, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionPlan} returns this + */ +proto.penumbra.core.transaction.v1alpha1.TransactionPlan.prototype.clearCluePlansList = function() { + return this.setCluePlansList([]); +}; + + +/** + * optional MemoPlan memo_plan = 6; + * @return {?proto.penumbra.core.transaction.v1alpha1.MemoPlan} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionPlan.prototype.getMemoPlan = function() { + return /** @type{?proto.penumbra.core.transaction.v1alpha1.MemoPlan} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.transaction.v1alpha1.MemoPlan, 6)); +}; + + +/** + * @param {?proto.penumbra.core.transaction.v1alpha1.MemoPlan|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionPlan} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.TransactionPlan.prototype.setMemoPlan = function(value) { + return jspb.Message.setWrapperField(this, 6, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.TransactionPlan} returns this + */ +proto.penumbra.core.transaction.v1alpha1.TransactionPlan.prototype.clearMemoPlan = function() { + return this.setMemoPlan(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.TransactionPlan.prototype.hasMemoPlan = function() { + return jspb.Message.getField(this, 6) != null; +}; + + + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.oneofGroups_ = [[1,2,3,4,16,17,18,19,20,21,22,23,30,31,32,34,40,41,42,50,51,52]]; + +/** + * @enum {number} + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.ActionCase = { + ACTION_NOT_SET: 0, + SPEND: 1, + OUTPUT: 2, + SWAP: 3, + SWAP_CLAIM: 4, + VALIDATOR_DEFINITION: 16, + IBC_ACTION: 17, + PROPOSAL_SUBMIT: 18, + PROPOSAL_WITHDRAW: 19, + VALIDATOR_VOTE: 20, + DELEGATOR_VOTE: 21, + PROPOSAL_DEPOSIT_CLAIM: 22, + WITHDRAWAL: 23, + POSITION_OPEN: 30, + POSITION_CLOSE: 31, + POSITION_WITHDRAW: 32, + POSITION_REWARD_CLAIM: 34, + DELEGATE: 40, + UNDELEGATE: 41, + UNDELEGATE_CLAIM: 42, + DAO_SPEND: 50, + DAO_OUTPUT: 51, + DAO_DEPOSIT: 52 +}; + +/** + * @return {proto.penumbra.core.transaction.v1alpha1.ActionPlan.ActionCase} + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.getActionCase = function() { + return /** @type {proto.penumbra.core.transaction.v1alpha1.ActionPlan.ActionCase} */(jspb.Message.computeOneofCase(this, proto.penumbra.core.transaction.v1alpha1.ActionPlan.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.transaction.v1alpha1.ActionPlan.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.transaction.v1alpha1.ActionPlan} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.toObject = function(includeInstance, msg) { + var f, obj = { + spend: (f = msg.getSpend()) && penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.SpendPlan.toObject(includeInstance, f), + output: (f = msg.getOutput()) && penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.OutputPlan.toObject(includeInstance, f), + swap: (f = msg.getSwap()) && penumbra_core_component_dex_v1alpha1_dex_pb.SwapPlan.toObject(includeInstance, f), + swapClaim: (f = msg.getSwapClaim()) && penumbra_core_component_dex_v1alpha1_dex_pb.SwapClaimPlan.toObject(includeInstance, f), + validatorDefinition: (f = msg.getValidatorDefinition()) && penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorDefinition.toObject(includeInstance, f), + ibcAction: (f = msg.getIbcAction()) && penumbra_core_component_ibc_v1alpha1_ibc_pb.IbcAction.toObject(includeInstance, f), + proposalSubmit: (f = msg.getProposalSubmit()) && penumbra_core_component_governance_v1alpha1_governance_pb.ProposalSubmit.toObject(includeInstance, f), + proposalWithdraw: (f = msg.getProposalWithdraw()) && penumbra_core_component_governance_v1alpha1_governance_pb.ProposalWithdraw.toObject(includeInstance, f), + validatorVote: (f = msg.getValidatorVote()) && penumbra_core_component_governance_v1alpha1_governance_pb.ValidatorVote.toObject(includeInstance, f), + delegatorVote: (f = msg.getDelegatorVote()) && penumbra_core_component_governance_v1alpha1_governance_pb.DelegatorVotePlan.toObject(includeInstance, f), + proposalDepositClaim: (f = msg.getProposalDepositClaim()) && penumbra_core_component_governance_v1alpha1_governance_pb.ProposalDepositClaim.toObject(includeInstance, f), + withdrawal: (f = msg.getWithdrawal()) && penumbra_core_component_ibc_v1alpha1_ibc_pb.Ics20Withdrawal.toObject(includeInstance, f), + positionOpen: (f = msg.getPositionOpen()) && penumbra_core_component_dex_v1alpha1_dex_pb.PositionOpen.toObject(includeInstance, f), + positionClose: (f = msg.getPositionClose()) && penumbra_core_component_dex_v1alpha1_dex_pb.PositionClose.toObject(includeInstance, f), + positionWithdraw: (f = msg.getPositionWithdraw()) && penumbra_core_component_dex_v1alpha1_dex_pb.PositionWithdrawPlan.toObject(includeInstance, f), + positionRewardClaim: (f = msg.getPositionRewardClaim()) && penumbra_core_component_dex_v1alpha1_dex_pb.PositionRewardClaimPlan.toObject(includeInstance, f), + delegate: (f = msg.getDelegate()) && penumbra_core_component_stake_v1alpha1_stake_pb.Delegate.toObject(includeInstance, f), + undelegate: (f = msg.getUndelegate()) && penumbra_core_component_stake_v1alpha1_stake_pb.Undelegate.toObject(includeInstance, f), + undelegateClaim: (f = msg.getUndelegateClaim()) && penumbra_core_component_stake_v1alpha1_stake_pb.UndelegateClaimPlan.toObject(includeInstance, f), + daoSpend: (f = msg.getDaoSpend()) && penumbra_core_component_governance_v1alpha1_governance_pb.DaoSpend.toObject(includeInstance, f), + daoOutput: (f = msg.getDaoOutput()) && penumbra_core_component_governance_v1alpha1_governance_pb.DaoOutput.toObject(includeInstance, f), + daoDeposit: (f = msg.getDaoDeposit()) && penumbra_core_component_governance_v1alpha1_governance_pb.DaoDeposit.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionPlan} + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.transaction.v1alpha1.ActionPlan; + return proto.penumbra.core.transaction.v1alpha1.ActionPlan.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.transaction.v1alpha1.ActionPlan} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionPlan} + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.SpendPlan; + reader.readMessage(value,penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.SpendPlan.deserializeBinaryFromReader); + msg.setSpend(value); + break; + case 2: + var value = new penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.OutputPlan; + reader.readMessage(value,penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.OutputPlan.deserializeBinaryFromReader); + msg.setOutput(value); + break; + case 3: + var value = new penumbra_core_component_dex_v1alpha1_dex_pb.SwapPlan; + reader.readMessage(value,penumbra_core_component_dex_v1alpha1_dex_pb.SwapPlan.deserializeBinaryFromReader); + msg.setSwap(value); + break; + case 4: + var value = new penumbra_core_component_dex_v1alpha1_dex_pb.SwapClaimPlan; + reader.readMessage(value,penumbra_core_component_dex_v1alpha1_dex_pb.SwapClaimPlan.deserializeBinaryFromReader); + msg.setSwapClaim(value); + break; + case 16: + var value = new penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorDefinition; + reader.readMessage(value,penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorDefinition.deserializeBinaryFromReader); + msg.setValidatorDefinition(value); + break; + case 17: + var value = new penumbra_core_component_ibc_v1alpha1_ibc_pb.IbcAction; + reader.readMessage(value,penumbra_core_component_ibc_v1alpha1_ibc_pb.IbcAction.deserializeBinaryFromReader); + msg.setIbcAction(value); + break; + case 18: + var value = new penumbra_core_component_governance_v1alpha1_governance_pb.ProposalSubmit; + reader.readMessage(value,penumbra_core_component_governance_v1alpha1_governance_pb.ProposalSubmit.deserializeBinaryFromReader); + msg.setProposalSubmit(value); + break; + case 19: + var value = new penumbra_core_component_governance_v1alpha1_governance_pb.ProposalWithdraw; + reader.readMessage(value,penumbra_core_component_governance_v1alpha1_governance_pb.ProposalWithdraw.deserializeBinaryFromReader); + msg.setProposalWithdraw(value); + break; + case 20: + var value = new penumbra_core_component_governance_v1alpha1_governance_pb.ValidatorVote; + reader.readMessage(value,penumbra_core_component_governance_v1alpha1_governance_pb.ValidatorVote.deserializeBinaryFromReader); + msg.setValidatorVote(value); + break; + case 21: + var value = new penumbra_core_component_governance_v1alpha1_governance_pb.DelegatorVotePlan; + reader.readMessage(value,penumbra_core_component_governance_v1alpha1_governance_pb.DelegatorVotePlan.deserializeBinaryFromReader); + msg.setDelegatorVote(value); + break; + case 22: + var value = new penumbra_core_component_governance_v1alpha1_governance_pb.ProposalDepositClaim; + reader.readMessage(value,penumbra_core_component_governance_v1alpha1_governance_pb.ProposalDepositClaim.deserializeBinaryFromReader); + msg.setProposalDepositClaim(value); + break; + case 23: + var value = new penumbra_core_component_ibc_v1alpha1_ibc_pb.Ics20Withdrawal; + reader.readMessage(value,penumbra_core_component_ibc_v1alpha1_ibc_pb.Ics20Withdrawal.deserializeBinaryFromReader); + msg.setWithdrawal(value); + break; + case 30: + var value = new penumbra_core_component_dex_v1alpha1_dex_pb.PositionOpen; + reader.readMessage(value,penumbra_core_component_dex_v1alpha1_dex_pb.PositionOpen.deserializeBinaryFromReader); + msg.setPositionOpen(value); + break; + case 31: + var value = new penumbra_core_component_dex_v1alpha1_dex_pb.PositionClose; + reader.readMessage(value,penumbra_core_component_dex_v1alpha1_dex_pb.PositionClose.deserializeBinaryFromReader); + msg.setPositionClose(value); + break; + case 32: + var value = new penumbra_core_component_dex_v1alpha1_dex_pb.PositionWithdrawPlan; + reader.readMessage(value,penumbra_core_component_dex_v1alpha1_dex_pb.PositionWithdrawPlan.deserializeBinaryFromReader); + msg.setPositionWithdraw(value); + break; + case 34: + var value = new penumbra_core_component_dex_v1alpha1_dex_pb.PositionRewardClaimPlan; + reader.readMessage(value,penumbra_core_component_dex_v1alpha1_dex_pb.PositionRewardClaimPlan.deserializeBinaryFromReader); + msg.setPositionRewardClaim(value); + break; + case 40: + var value = new penumbra_core_component_stake_v1alpha1_stake_pb.Delegate; + reader.readMessage(value,penumbra_core_component_stake_v1alpha1_stake_pb.Delegate.deserializeBinaryFromReader); + msg.setDelegate(value); + break; + case 41: + var value = new penumbra_core_component_stake_v1alpha1_stake_pb.Undelegate; + reader.readMessage(value,penumbra_core_component_stake_v1alpha1_stake_pb.Undelegate.deserializeBinaryFromReader); + msg.setUndelegate(value); + break; + case 42: + var value = new penumbra_core_component_stake_v1alpha1_stake_pb.UndelegateClaimPlan; + reader.readMessage(value,penumbra_core_component_stake_v1alpha1_stake_pb.UndelegateClaimPlan.deserializeBinaryFromReader); + msg.setUndelegateClaim(value); + break; + case 50: + var value = new penumbra_core_component_governance_v1alpha1_governance_pb.DaoSpend; + reader.readMessage(value,penumbra_core_component_governance_v1alpha1_governance_pb.DaoSpend.deserializeBinaryFromReader); + msg.setDaoSpend(value); + break; + case 51: + var value = new penumbra_core_component_governance_v1alpha1_governance_pb.DaoOutput; + reader.readMessage(value,penumbra_core_component_governance_v1alpha1_governance_pb.DaoOutput.deserializeBinaryFromReader); + msg.setDaoOutput(value); + break; + case 52: + var value = new penumbra_core_component_governance_v1alpha1_governance_pb.DaoDeposit; + reader.readMessage(value,penumbra_core_component_governance_v1alpha1_governance_pb.DaoDeposit.deserializeBinaryFromReader); + msg.setDaoDeposit(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.transaction.v1alpha1.ActionPlan.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.transaction.v1alpha1.ActionPlan} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSpend(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.SpendPlan.serializeBinaryToWriter + ); + } + f = message.getOutput(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.OutputPlan.serializeBinaryToWriter + ); + } + f = message.getSwap(); + if (f != null) { + writer.writeMessage( + 3, + f, + penumbra_core_component_dex_v1alpha1_dex_pb.SwapPlan.serializeBinaryToWriter + ); + } + f = message.getSwapClaim(); + if (f != null) { + writer.writeMessage( + 4, + f, + penumbra_core_component_dex_v1alpha1_dex_pb.SwapClaimPlan.serializeBinaryToWriter + ); + } + f = message.getValidatorDefinition(); + if (f != null) { + writer.writeMessage( + 16, + f, + penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorDefinition.serializeBinaryToWriter + ); + } + f = message.getIbcAction(); + if (f != null) { + writer.writeMessage( + 17, + f, + penumbra_core_component_ibc_v1alpha1_ibc_pb.IbcAction.serializeBinaryToWriter + ); + } + f = message.getProposalSubmit(); + if (f != null) { + writer.writeMessage( + 18, + f, + penumbra_core_component_governance_v1alpha1_governance_pb.ProposalSubmit.serializeBinaryToWriter + ); + } + f = message.getProposalWithdraw(); + if (f != null) { + writer.writeMessage( + 19, + f, + penumbra_core_component_governance_v1alpha1_governance_pb.ProposalWithdraw.serializeBinaryToWriter + ); + } + f = message.getValidatorVote(); + if (f != null) { + writer.writeMessage( + 20, + f, + penumbra_core_component_governance_v1alpha1_governance_pb.ValidatorVote.serializeBinaryToWriter + ); + } + f = message.getDelegatorVote(); + if (f != null) { + writer.writeMessage( + 21, + f, + penumbra_core_component_governance_v1alpha1_governance_pb.DelegatorVotePlan.serializeBinaryToWriter + ); + } + f = message.getProposalDepositClaim(); + if (f != null) { + writer.writeMessage( + 22, + f, + penumbra_core_component_governance_v1alpha1_governance_pb.ProposalDepositClaim.serializeBinaryToWriter + ); + } + f = message.getWithdrawal(); + if (f != null) { + writer.writeMessage( + 23, + f, + penumbra_core_component_ibc_v1alpha1_ibc_pb.Ics20Withdrawal.serializeBinaryToWriter + ); + } + f = message.getPositionOpen(); + if (f != null) { + writer.writeMessage( + 30, + f, + penumbra_core_component_dex_v1alpha1_dex_pb.PositionOpen.serializeBinaryToWriter + ); + } + f = message.getPositionClose(); + if (f != null) { + writer.writeMessage( + 31, + f, + penumbra_core_component_dex_v1alpha1_dex_pb.PositionClose.serializeBinaryToWriter + ); + } + f = message.getPositionWithdraw(); + if (f != null) { + writer.writeMessage( + 32, + f, + penumbra_core_component_dex_v1alpha1_dex_pb.PositionWithdrawPlan.serializeBinaryToWriter + ); + } + f = message.getPositionRewardClaim(); + if (f != null) { + writer.writeMessage( + 34, + f, + penumbra_core_component_dex_v1alpha1_dex_pb.PositionRewardClaimPlan.serializeBinaryToWriter + ); + } + f = message.getDelegate(); + if (f != null) { + writer.writeMessage( + 40, + f, + penumbra_core_component_stake_v1alpha1_stake_pb.Delegate.serializeBinaryToWriter + ); + } + f = message.getUndelegate(); + if (f != null) { + writer.writeMessage( + 41, + f, + penumbra_core_component_stake_v1alpha1_stake_pb.Undelegate.serializeBinaryToWriter + ); + } + f = message.getUndelegateClaim(); + if (f != null) { + writer.writeMessage( + 42, + f, + penumbra_core_component_stake_v1alpha1_stake_pb.UndelegateClaimPlan.serializeBinaryToWriter + ); + } + f = message.getDaoSpend(); + if (f != null) { + writer.writeMessage( + 50, + f, + penumbra_core_component_governance_v1alpha1_governance_pb.DaoSpend.serializeBinaryToWriter + ); + } + f = message.getDaoOutput(); + if (f != null) { + writer.writeMessage( + 51, + f, + penumbra_core_component_governance_v1alpha1_governance_pb.DaoOutput.serializeBinaryToWriter + ); + } + f = message.getDaoDeposit(); + if (f != null) { + writer.writeMessage( + 52, + f, + penumbra_core_component_governance_v1alpha1_governance_pb.DaoDeposit.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.component.shielded_pool.v1alpha1.SpendPlan spend = 1; + * @return {?proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan} + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.getSpend = function() { + return /** @type{?proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.SpendPlan, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.shielded_pool.v1alpha1.SpendPlan|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionPlan} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.setSpend = function(value) { + return jspb.Message.setOneofWrapperField(this, 1, proto.penumbra.core.transaction.v1alpha1.ActionPlan.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionPlan} returns this + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.clearSpend = function() { + return this.setSpend(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.hasSpend = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional penumbra.core.component.shielded_pool.v1alpha1.OutputPlan output = 2; + * @return {?proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan} + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.getOutput = function() { + return /** @type{?proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.OutputPlan, 2)); +}; + + +/** + * @param {?proto.penumbra.core.component.shielded_pool.v1alpha1.OutputPlan|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionPlan} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.setOutput = function(value) { + return jspb.Message.setOneofWrapperField(this, 2, proto.penumbra.core.transaction.v1alpha1.ActionPlan.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionPlan} returns this + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.clearOutput = function() { + return this.setOutput(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.hasOutput = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional penumbra.core.component.dex.v1alpha1.SwapPlan swap = 3; + * @return {?proto.penumbra.core.component.dex.v1alpha1.SwapPlan} + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.getSwap = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.SwapPlan} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_dex_v1alpha1_dex_pb.SwapPlan, 3)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.SwapPlan|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionPlan} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.setSwap = function(value) { + return jspb.Message.setOneofWrapperField(this, 3, proto.penumbra.core.transaction.v1alpha1.ActionPlan.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionPlan} returns this + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.clearSwap = function() { + return this.setSwap(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.hasSwap = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional penumbra.core.component.dex.v1alpha1.SwapClaimPlan swap_claim = 4; + * @return {?proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan} + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.getSwapClaim = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_dex_v1alpha1_dex_pb.SwapClaimPlan, 4)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.SwapClaimPlan|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionPlan} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.setSwapClaim = function(value) { + return jspb.Message.setOneofWrapperField(this, 4, proto.penumbra.core.transaction.v1alpha1.ActionPlan.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionPlan} returns this + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.clearSwapClaim = function() { + return this.setSwapClaim(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.hasSwapClaim = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional penumbra.core.component.stake.v1alpha1.ValidatorDefinition validator_definition = 16; + * @return {?proto.penumbra.core.component.stake.v1alpha1.ValidatorDefinition} + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.getValidatorDefinition = function() { + return /** @type{?proto.penumbra.core.component.stake.v1alpha1.ValidatorDefinition} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_stake_v1alpha1_stake_pb.ValidatorDefinition, 16)); +}; + + +/** + * @param {?proto.penumbra.core.component.stake.v1alpha1.ValidatorDefinition|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionPlan} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.setValidatorDefinition = function(value) { + return jspb.Message.setOneofWrapperField(this, 16, proto.penumbra.core.transaction.v1alpha1.ActionPlan.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionPlan} returns this + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.clearValidatorDefinition = function() { + return this.setValidatorDefinition(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.hasValidatorDefinition = function() { + return jspb.Message.getField(this, 16) != null; +}; + + +/** + * optional penumbra.core.component.ibc.v1alpha1.IbcAction ibc_action = 17; + * @return {?proto.penumbra.core.component.ibc.v1alpha1.IbcAction} + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.getIbcAction = function() { + return /** @type{?proto.penumbra.core.component.ibc.v1alpha1.IbcAction} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_ibc_v1alpha1_ibc_pb.IbcAction, 17)); +}; + + +/** + * @param {?proto.penumbra.core.component.ibc.v1alpha1.IbcAction|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionPlan} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.setIbcAction = function(value) { + return jspb.Message.setOneofWrapperField(this, 17, proto.penumbra.core.transaction.v1alpha1.ActionPlan.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionPlan} returns this + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.clearIbcAction = function() { + return this.setIbcAction(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.hasIbcAction = function() { + return jspb.Message.getField(this, 17) != null; +}; + + +/** + * optional penumbra.core.component.governance.v1alpha1.ProposalSubmit proposal_submit = 18; + * @return {?proto.penumbra.core.component.governance.v1alpha1.ProposalSubmit} + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.getProposalSubmit = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.ProposalSubmit} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_governance_v1alpha1_governance_pb.ProposalSubmit, 18)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.ProposalSubmit|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionPlan} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.setProposalSubmit = function(value) { + return jspb.Message.setOneofWrapperField(this, 18, proto.penumbra.core.transaction.v1alpha1.ActionPlan.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionPlan} returns this + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.clearProposalSubmit = function() { + return this.setProposalSubmit(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.hasProposalSubmit = function() { + return jspb.Message.getField(this, 18) != null; +}; + + +/** + * optional penumbra.core.component.governance.v1alpha1.ProposalWithdraw proposal_withdraw = 19; + * @return {?proto.penumbra.core.component.governance.v1alpha1.ProposalWithdraw} + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.getProposalWithdraw = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.ProposalWithdraw} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_governance_v1alpha1_governance_pb.ProposalWithdraw, 19)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.ProposalWithdraw|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionPlan} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.setProposalWithdraw = function(value) { + return jspb.Message.setOneofWrapperField(this, 19, proto.penumbra.core.transaction.v1alpha1.ActionPlan.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionPlan} returns this + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.clearProposalWithdraw = function() { + return this.setProposalWithdraw(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.hasProposalWithdraw = function() { + return jspb.Message.getField(this, 19) != null; +}; + + +/** + * optional penumbra.core.component.governance.v1alpha1.ValidatorVote validator_vote = 20; + * @return {?proto.penumbra.core.component.governance.v1alpha1.ValidatorVote} + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.getValidatorVote = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.ValidatorVote} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_governance_v1alpha1_governance_pb.ValidatorVote, 20)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.ValidatorVote|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionPlan} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.setValidatorVote = function(value) { + return jspb.Message.setOneofWrapperField(this, 20, proto.penumbra.core.transaction.v1alpha1.ActionPlan.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionPlan} returns this + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.clearValidatorVote = function() { + return this.setValidatorVote(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.hasValidatorVote = function() { + return jspb.Message.getField(this, 20) != null; +}; + + +/** + * optional penumbra.core.component.governance.v1alpha1.DelegatorVotePlan delegator_vote = 21; + * @return {?proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan} + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.getDelegatorVote = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_governance_v1alpha1_governance_pb.DelegatorVotePlan, 21)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.DelegatorVotePlan|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionPlan} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.setDelegatorVote = function(value) { + return jspb.Message.setOneofWrapperField(this, 21, proto.penumbra.core.transaction.v1alpha1.ActionPlan.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionPlan} returns this + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.clearDelegatorVote = function() { + return this.setDelegatorVote(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.hasDelegatorVote = function() { + return jspb.Message.getField(this, 21) != null; +}; + + +/** + * optional penumbra.core.component.governance.v1alpha1.ProposalDepositClaim proposal_deposit_claim = 22; + * @return {?proto.penumbra.core.component.governance.v1alpha1.ProposalDepositClaim} + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.getProposalDepositClaim = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.ProposalDepositClaim} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_governance_v1alpha1_governance_pb.ProposalDepositClaim, 22)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.ProposalDepositClaim|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionPlan} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.setProposalDepositClaim = function(value) { + return jspb.Message.setOneofWrapperField(this, 22, proto.penumbra.core.transaction.v1alpha1.ActionPlan.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionPlan} returns this + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.clearProposalDepositClaim = function() { + return this.setProposalDepositClaim(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.hasProposalDepositClaim = function() { + return jspb.Message.getField(this, 22) != null; +}; + + +/** + * optional penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal withdrawal = 23; + * @return {?proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal} + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.getWithdrawal = function() { + return /** @type{?proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_ibc_v1alpha1_ibc_pb.Ics20Withdrawal, 23)); +}; + + +/** + * @param {?proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionPlan} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.setWithdrawal = function(value) { + return jspb.Message.setOneofWrapperField(this, 23, proto.penumbra.core.transaction.v1alpha1.ActionPlan.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionPlan} returns this + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.clearWithdrawal = function() { + return this.setWithdrawal(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.hasWithdrawal = function() { + return jspb.Message.getField(this, 23) != null; +}; + + +/** + * optional penumbra.core.component.dex.v1alpha1.PositionOpen position_open = 30; + * @return {?proto.penumbra.core.component.dex.v1alpha1.PositionOpen} + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.getPositionOpen = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.PositionOpen} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_dex_v1alpha1_dex_pb.PositionOpen, 30)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.PositionOpen|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionPlan} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.setPositionOpen = function(value) { + return jspb.Message.setOneofWrapperField(this, 30, proto.penumbra.core.transaction.v1alpha1.ActionPlan.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionPlan} returns this + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.clearPositionOpen = function() { + return this.setPositionOpen(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.hasPositionOpen = function() { + return jspb.Message.getField(this, 30) != null; +}; + + +/** + * optional penumbra.core.component.dex.v1alpha1.PositionClose position_close = 31; + * @return {?proto.penumbra.core.component.dex.v1alpha1.PositionClose} + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.getPositionClose = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.PositionClose} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_dex_v1alpha1_dex_pb.PositionClose, 31)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.PositionClose|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionPlan} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.setPositionClose = function(value) { + return jspb.Message.setOneofWrapperField(this, 31, proto.penumbra.core.transaction.v1alpha1.ActionPlan.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionPlan} returns this + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.clearPositionClose = function() { + return this.setPositionClose(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.hasPositionClose = function() { + return jspb.Message.getField(this, 31) != null; +}; + + +/** + * optional penumbra.core.component.dex.v1alpha1.PositionWithdrawPlan position_withdraw = 32; + * @return {?proto.penumbra.core.component.dex.v1alpha1.PositionWithdrawPlan} + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.getPositionWithdraw = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.PositionWithdrawPlan} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_dex_v1alpha1_dex_pb.PositionWithdrawPlan, 32)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.PositionWithdrawPlan|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionPlan} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.setPositionWithdraw = function(value) { + return jspb.Message.setOneofWrapperField(this, 32, proto.penumbra.core.transaction.v1alpha1.ActionPlan.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionPlan} returns this + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.clearPositionWithdraw = function() { + return this.setPositionWithdraw(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.hasPositionWithdraw = function() { + return jspb.Message.getField(this, 32) != null; +}; + + +/** + * optional penumbra.core.component.dex.v1alpha1.PositionRewardClaimPlan position_reward_claim = 34; + * @return {?proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaimPlan} + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.getPositionRewardClaim = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaimPlan} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_dex_v1alpha1_dex_pb.PositionRewardClaimPlan, 34)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.PositionRewardClaimPlan|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionPlan} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.setPositionRewardClaim = function(value) { + return jspb.Message.setOneofWrapperField(this, 34, proto.penumbra.core.transaction.v1alpha1.ActionPlan.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionPlan} returns this + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.clearPositionRewardClaim = function() { + return this.setPositionRewardClaim(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.hasPositionRewardClaim = function() { + return jspb.Message.getField(this, 34) != null; +}; + + +/** + * optional penumbra.core.component.stake.v1alpha1.Delegate delegate = 40; + * @return {?proto.penumbra.core.component.stake.v1alpha1.Delegate} + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.getDelegate = function() { + return /** @type{?proto.penumbra.core.component.stake.v1alpha1.Delegate} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_stake_v1alpha1_stake_pb.Delegate, 40)); +}; + + +/** + * @param {?proto.penumbra.core.component.stake.v1alpha1.Delegate|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionPlan} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.setDelegate = function(value) { + return jspb.Message.setOneofWrapperField(this, 40, proto.penumbra.core.transaction.v1alpha1.ActionPlan.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionPlan} returns this + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.clearDelegate = function() { + return this.setDelegate(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.hasDelegate = function() { + return jspb.Message.getField(this, 40) != null; +}; + + +/** + * optional penumbra.core.component.stake.v1alpha1.Undelegate undelegate = 41; + * @return {?proto.penumbra.core.component.stake.v1alpha1.Undelegate} + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.getUndelegate = function() { + return /** @type{?proto.penumbra.core.component.stake.v1alpha1.Undelegate} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_stake_v1alpha1_stake_pb.Undelegate, 41)); +}; + + +/** + * @param {?proto.penumbra.core.component.stake.v1alpha1.Undelegate|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionPlan} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.setUndelegate = function(value) { + return jspb.Message.setOneofWrapperField(this, 41, proto.penumbra.core.transaction.v1alpha1.ActionPlan.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionPlan} returns this + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.clearUndelegate = function() { + return this.setUndelegate(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.hasUndelegate = function() { + return jspb.Message.getField(this, 41) != null; +}; + + +/** + * optional penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan undelegate_claim = 42; + * @return {?proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan} + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.getUndelegateClaim = function() { + return /** @type{?proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_stake_v1alpha1_stake_pb.UndelegateClaimPlan, 42)); +}; + + +/** + * @param {?proto.penumbra.core.component.stake.v1alpha1.UndelegateClaimPlan|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionPlan} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.setUndelegateClaim = function(value) { + return jspb.Message.setOneofWrapperField(this, 42, proto.penumbra.core.transaction.v1alpha1.ActionPlan.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionPlan} returns this + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.clearUndelegateClaim = function() { + return this.setUndelegateClaim(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.hasUndelegateClaim = function() { + return jspb.Message.getField(this, 42) != null; +}; + + +/** + * optional penumbra.core.component.governance.v1alpha1.DaoSpend dao_spend = 50; + * @return {?proto.penumbra.core.component.governance.v1alpha1.DaoSpend} + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.getDaoSpend = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.DaoSpend} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_governance_v1alpha1_governance_pb.DaoSpend, 50)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.DaoSpend|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionPlan} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.setDaoSpend = function(value) { + return jspb.Message.setOneofWrapperField(this, 50, proto.penumbra.core.transaction.v1alpha1.ActionPlan.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionPlan} returns this + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.clearDaoSpend = function() { + return this.setDaoSpend(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.hasDaoSpend = function() { + return jspb.Message.getField(this, 50) != null; +}; + + +/** + * optional penumbra.core.component.governance.v1alpha1.DaoOutput dao_output = 51; + * @return {?proto.penumbra.core.component.governance.v1alpha1.DaoOutput} + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.getDaoOutput = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.DaoOutput} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_governance_v1alpha1_governance_pb.DaoOutput, 51)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.DaoOutput|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionPlan} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.setDaoOutput = function(value) { + return jspb.Message.setOneofWrapperField(this, 51, proto.penumbra.core.transaction.v1alpha1.ActionPlan.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionPlan} returns this + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.clearDaoOutput = function() { + return this.setDaoOutput(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.hasDaoOutput = function() { + return jspb.Message.getField(this, 51) != null; +}; + + +/** + * optional penumbra.core.component.governance.v1alpha1.DaoDeposit dao_deposit = 52; + * @return {?proto.penumbra.core.component.governance.v1alpha1.DaoDeposit} + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.getDaoDeposit = function() { + return /** @type{?proto.penumbra.core.component.governance.v1alpha1.DaoDeposit} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_governance_v1alpha1_governance_pb.DaoDeposit, 52)); +}; + + +/** + * @param {?proto.penumbra.core.component.governance.v1alpha1.DaoDeposit|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionPlan} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.setDaoDeposit = function(value) { + return jspb.Message.setOneofWrapperField(this, 52, proto.penumbra.core.transaction.v1alpha1.ActionPlan.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.ActionPlan} returns this + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.clearDaoDeposit = function() { + return this.setDaoDeposit(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.ActionPlan.prototype.hasDaoDeposit = function() { + return jspb.Message.getField(this, 52) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.transaction.v1alpha1.CluePlan.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.transaction.v1alpha1.CluePlan.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.transaction.v1alpha1.CluePlan} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.transaction.v1alpha1.CluePlan.toObject = function(includeInstance, msg) { + var f, obj = { + address: (f = msg.getAddress()) && penumbra_core_keys_v1alpha1_keys_pb.Address.toObject(includeInstance, f), + rseed: msg.getRseed_asB64(), + precisionBits: jspb.Message.getFieldWithDefault(msg, 3, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.transaction.v1alpha1.CluePlan} + */ +proto.penumbra.core.transaction.v1alpha1.CluePlan.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.transaction.v1alpha1.CluePlan; + return proto.penumbra.core.transaction.v1alpha1.CluePlan.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.transaction.v1alpha1.CluePlan} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.transaction.v1alpha1.CluePlan} + */ +proto.penumbra.core.transaction.v1alpha1.CluePlan.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_keys_v1alpha1_keys_pb.Address; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.Address.deserializeBinaryFromReader); + msg.setAddress(value); + break; + case 2: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setRseed(value); + break; + case 3: + var value = /** @type {number} */ (reader.readUint64()); + msg.setPrecisionBits(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.transaction.v1alpha1.CluePlan.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.transaction.v1alpha1.CluePlan.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.transaction.v1alpha1.CluePlan} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.transaction.v1alpha1.CluePlan.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getAddress(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_keys_v1alpha1_keys_pb.Address.serializeBinaryToWriter + ); + } + f = message.getRseed_asU8(); + if (f.length > 0) { + writer.writeBytes( + 2, + f + ); + } + f = message.getPrecisionBits(); + if (f !== 0) { + writer.writeUint64( + 3, + f + ); + } +}; + + +/** + * optional penumbra.core.keys.v1alpha1.Address address = 1; + * @return {?proto.penumbra.core.keys.v1alpha1.Address} + */ +proto.penumbra.core.transaction.v1alpha1.CluePlan.prototype.getAddress = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.Address} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.Address, 1)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.Address|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.CluePlan} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.CluePlan.prototype.setAddress = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.CluePlan} returns this + */ +proto.penumbra.core.transaction.v1alpha1.CluePlan.prototype.clearAddress = function() { + return this.setAddress(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.CluePlan.prototype.hasAddress = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional bytes rseed = 2; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.transaction.v1alpha1.CluePlan.prototype.getRseed = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * optional bytes rseed = 2; + * This is a type-conversion wrapper around `getRseed()` + * @return {string} + */ +proto.penumbra.core.transaction.v1alpha1.CluePlan.prototype.getRseed_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getRseed())); +}; + + +/** + * optional bytes rseed = 2; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getRseed()` + * @return {!Uint8Array} + */ +proto.penumbra.core.transaction.v1alpha1.CluePlan.prototype.getRseed_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getRseed())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.transaction.v1alpha1.CluePlan} returns this + */ +proto.penumbra.core.transaction.v1alpha1.CluePlan.prototype.setRseed = function(value) { + return jspb.Message.setProto3BytesField(this, 2, value); +}; + + +/** + * optional uint64 precision_bits = 3; + * @return {number} + */ +proto.penumbra.core.transaction.v1alpha1.CluePlan.prototype.getPrecisionBits = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.core.transaction.v1alpha1.CluePlan} returns this + */ +proto.penumbra.core.transaction.v1alpha1.CluePlan.prototype.setPrecisionBits = function(value) { + return jspb.Message.setProto3IntField(this, 3, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.transaction.v1alpha1.MemoPlan.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.transaction.v1alpha1.MemoPlan.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.transaction.v1alpha1.MemoPlan} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.transaction.v1alpha1.MemoPlan.toObject = function(includeInstance, msg) { + var f, obj = { + plaintext: (f = msg.getPlaintext()) && proto.penumbra.core.transaction.v1alpha1.MemoPlaintext.toObject(includeInstance, f), + key: msg.getKey_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.transaction.v1alpha1.MemoPlan} + */ +proto.penumbra.core.transaction.v1alpha1.MemoPlan.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.transaction.v1alpha1.MemoPlan; + return proto.penumbra.core.transaction.v1alpha1.MemoPlan.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.transaction.v1alpha1.MemoPlan} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.transaction.v1alpha1.MemoPlan} + */ +proto.penumbra.core.transaction.v1alpha1.MemoPlan.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.transaction.v1alpha1.MemoPlaintext; + reader.readMessage(value,proto.penumbra.core.transaction.v1alpha1.MemoPlaintext.deserializeBinaryFromReader); + msg.setPlaintext(value); + break; + case 2: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setKey(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.transaction.v1alpha1.MemoPlan.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.transaction.v1alpha1.MemoPlan.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.transaction.v1alpha1.MemoPlan} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.transaction.v1alpha1.MemoPlan.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getPlaintext(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.transaction.v1alpha1.MemoPlaintext.serializeBinaryToWriter + ); + } + f = message.getKey_asU8(); + if (f.length > 0) { + writer.writeBytes( + 2, + f + ); + } +}; + + +/** + * optional MemoPlaintext plaintext = 1; + * @return {?proto.penumbra.core.transaction.v1alpha1.MemoPlaintext} + */ +proto.penumbra.core.transaction.v1alpha1.MemoPlan.prototype.getPlaintext = function() { + return /** @type{?proto.penumbra.core.transaction.v1alpha1.MemoPlaintext} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.transaction.v1alpha1.MemoPlaintext, 1)); +}; + + +/** + * @param {?proto.penumbra.core.transaction.v1alpha1.MemoPlaintext|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.MemoPlan} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.MemoPlan.prototype.setPlaintext = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.MemoPlan} returns this + */ +proto.penumbra.core.transaction.v1alpha1.MemoPlan.prototype.clearPlaintext = function() { + return this.setPlaintext(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.MemoPlan.prototype.hasPlaintext = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional bytes key = 2; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.transaction.v1alpha1.MemoPlan.prototype.getKey = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * optional bytes key = 2; + * This is a type-conversion wrapper around `getKey()` + * @return {string} + */ +proto.penumbra.core.transaction.v1alpha1.MemoPlan.prototype.getKey_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getKey())); +}; + + +/** + * optional bytes key = 2; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getKey()` + * @return {!Uint8Array} + */ +proto.penumbra.core.transaction.v1alpha1.MemoPlan.prototype.getKey_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getKey())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.transaction.v1alpha1.MemoPlan} returns this + */ +proto.penumbra.core.transaction.v1alpha1.MemoPlan.prototype.setKey = function(value) { + return jspb.Message.setProto3BytesField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.transaction.v1alpha1.MemoCiphertext.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.transaction.v1alpha1.MemoCiphertext.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.transaction.v1alpha1.MemoCiphertext} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.transaction.v1alpha1.MemoCiphertext.toObject = function(includeInstance, msg) { + var f, obj = { + inner: msg.getInner_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.transaction.v1alpha1.MemoCiphertext} + */ +proto.penumbra.core.transaction.v1alpha1.MemoCiphertext.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.transaction.v1alpha1.MemoCiphertext; + return proto.penumbra.core.transaction.v1alpha1.MemoCiphertext.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.transaction.v1alpha1.MemoCiphertext} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.transaction.v1alpha1.MemoCiphertext} + */ +proto.penumbra.core.transaction.v1alpha1.MemoCiphertext.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setInner(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.transaction.v1alpha1.MemoCiphertext.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.transaction.v1alpha1.MemoCiphertext.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.transaction.v1alpha1.MemoCiphertext} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.transaction.v1alpha1.MemoCiphertext.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInner_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } +}; + + +/** + * optional bytes inner = 1; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.core.transaction.v1alpha1.MemoCiphertext.prototype.getInner = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes inner = 1; + * This is a type-conversion wrapper around `getInner()` + * @return {string} + */ +proto.penumbra.core.transaction.v1alpha1.MemoCiphertext.prototype.getInner_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getInner())); +}; + + +/** + * optional bytes inner = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getInner()` + * @return {!Uint8Array} + */ +proto.penumbra.core.transaction.v1alpha1.MemoCiphertext.prototype.getInner_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getInner())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.core.transaction.v1alpha1.MemoCiphertext} returns this + */ +proto.penumbra.core.transaction.v1alpha1.MemoCiphertext.prototype.setInner = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.transaction.v1alpha1.MemoPlaintext.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.transaction.v1alpha1.MemoPlaintext.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.transaction.v1alpha1.MemoPlaintext} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.transaction.v1alpha1.MemoPlaintext.toObject = function(includeInstance, msg) { + var f, obj = { + sender: (f = msg.getSender()) && penumbra_core_keys_v1alpha1_keys_pb.Address.toObject(includeInstance, f), + text: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.transaction.v1alpha1.MemoPlaintext} + */ +proto.penumbra.core.transaction.v1alpha1.MemoPlaintext.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.transaction.v1alpha1.MemoPlaintext; + return proto.penumbra.core.transaction.v1alpha1.MemoPlaintext.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.transaction.v1alpha1.MemoPlaintext} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.transaction.v1alpha1.MemoPlaintext} + */ +proto.penumbra.core.transaction.v1alpha1.MemoPlaintext.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_keys_v1alpha1_keys_pb.Address; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.Address.deserializeBinaryFromReader); + msg.setSender(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setText(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.transaction.v1alpha1.MemoPlaintext.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.transaction.v1alpha1.MemoPlaintext.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.transaction.v1alpha1.MemoPlaintext} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.transaction.v1alpha1.MemoPlaintext.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSender(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_keys_v1alpha1_keys_pb.Address.serializeBinaryToWriter + ); + } + f = message.getText(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional penumbra.core.keys.v1alpha1.Address sender = 1; + * @return {?proto.penumbra.core.keys.v1alpha1.Address} + */ +proto.penumbra.core.transaction.v1alpha1.MemoPlaintext.prototype.getSender = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.Address} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.Address, 1)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.Address|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.MemoPlaintext} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.MemoPlaintext.prototype.setSender = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.MemoPlaintext} returns this + */ +proto.penumbra.core.transaction.v1alpha1.MemoPlaintext.prototype.clearSender = function() { + return this.setSender(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.MemoPlaintext.prototype.hasSender = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional string text = 2; + * @return {string} + */ +proto.penumbra.core.transaction.v1alpha1.MemoPlaintext.prototype.getText = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.core.transaction.v1alpha1.MemoPlaintext} returns this + */ +proto.penumbra.core.transaction.v1alpha1.MemoPlaintext.prototype.setText = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.penumbra.core.transaction.v1alpha1.MemoView.oneofGroups_ = [[1,2]]; + +/** + * @enum {number} + */ +proto.penumbra.core.transaction.v1alpha1.MemoView.MemoViewCase = { + MEMO_VIEW_NOT_SET: 0, + VISIBLE: 1, + OPAQUE: 2 +}; + +/** + * @return {proto.penumbra.core.transaction.v1alpha1.MemoView.MemoViewCase} + */ +proto.penumbra.core.transaction.v1alpha1.MemoView.prototype.getMemoViewCase = function() { + return /** @type {proto.penumbra.core.transaction.v1alpha1.MemoView.MemoViewCase} */(jspb.Message.computeOneofCase(this, proto.penumbra.core.transaction.v1alpha1.MemoView.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.transaction.v1alpha1.MemoView.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.transaction.v1alpha1.MemoView.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.transaction.v1alpha1.MemoView} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.transaction.v1alpha1.MemoView.toObject = function(includeInstance, msg) { + var f, obj = { + visible: (f = msg.getVisible()) && proto.penumbra.core.transaction.v1alpha1.MemoView.Visible.toObject(includeInstance, f), + opaque: (f = msg.getOpaque()) && proto.penumbra.core.transaction.v1alpha1.MemoView.Opaque.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.transaction.v1alpha1.MemoView} + */ +proto.penumbra.core.transaction.v1alpha1.MemoView.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.transaction.v1alpha1.MemoView; + return proto.penumbra.core.transaction.v1alpha1.MemoView.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.transaction.v1alpha1.MemoView} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.transaction.v1alpha1.MemoView} + */ +proto.penumbra.core.transaction.v1alpha1.MemoView.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.transaction.v1alpha1.MemoView.Visible; + reader.readMessage(value,proto.penumbra.core.transaction.v1alpha1.MemoView.Visible.deserializeBinaryFromReader); + msg.setVisible(value); + break; + case 2: + var value = new proto.penumbra.core.transaction.v1alpha1.MemoView.Opaque; + reader.readMessage(value,proto.penumbra.core.transaction.v1alpha1.MemoView.Opaque.deserializeBinaryFromReader); + msg.setOpaque(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.transaction.v1alpha1.MemoView.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.transaction.v1alpha1.MemoView.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.transaction.v1alpha1.MemoView} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.transaction.v1alpha1.MemoView.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getVisible(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.transaction.v1alpha1.MemoView.Visible.serializeBinaryToWriter + ); + } + f = message.getOpaque(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.penumbra.core.transaction.v1alpha1.MemoView.Opaque.serializeBinaryToWriter + ); + } +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.transaction.v1alpha1.MemoView.Visible.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.transaction.v1alpha1.MemoView.Visible.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.transaction.v1alpha1.MemoView.Visible} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.transaction.v1alpha1.MemoView.Visible.toObject = function(includeInstance, msg) { + var f, obj = { + ciphertext: (f = msg.getCiphertext()) && proto.penumbra.core.transaction.v1alpha1.MemoCiphertext.toObject(includeInstance, f), + plaintext: (f = msg.getPlaintext()) && proto.penumbra.core.transaction.v1alpha1.MemoPlaintext.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.transaction.v1alpha1.MemoView.Visible} + */ +proto.penumbra.core.transaction.v1alpha1.MemoView.Visible.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.transaction.v1alpha1.MemoView.Visible; + return proto.penumbra.core.transaction.v1alpha1.MemoView.Visible.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.transaction.v1alpha1.MemoView.Visible} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.transaction.v1alpha1.MemoView.Visible} + */ +proto.penumbra.core.transaction.v1alpha1.MemoView.Visible.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.transaction.v1alpha1.MemoCiphertext; + reader.readMessage(value,proto.penumbra.core.transaction.v1alpha1.MemoCiphertext.deserializeBinaryFromReader); + msg.setCiphertext(value); + break; + case 2: + var value = new proto.penumbra.core.transaction.v1alpha1.MemoPlaintext; + reader.readMessage(value,proto.penumbra.core.transaction.v1alpha1.MemoPlaintext.deserializeBinaryFromReader); + msg.setPlaintext(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.transaction.v1alpha1.MemoView.Visible.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.transaction.v1alpha1.MemoView.Visible.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.transaction.v1alpha1.MemoView.Visible} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.transaction.v1alpha1.MemoView.Visible.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getCiphertext(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.transaction.v1alpha1.MemoCiphertext.serializeBinaryToWriter + ); + } + f = message.getPlaintext(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.penumbra.core.transaction.v1alpha1.MemoPlaintext.serializeBinaryToWriter + ); + } +}; + + +/** + * optional MemoCiphertext ciphertext = 1; + * @return {?proto.penumbra.core.transaction.v1alpha1.MemoCiphertext} + */ +proto.penumbra.core.transaction.v1alpha1.MemoView.Visible.prototype.getCiphertext = function() { + return /** @type{?proto.penumbra.core.transaction.v1alpha1.MemoCiphertext} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.transaction.v1alpha1.MemoCiphertext, 1)); +}; + + +/** + * @param {?proto.penumbra.core.transaction.v1alpha1.MemoCiphertext|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.MemoView.Visible} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.MemoView.Visible.prototype.setCiphertext = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.MemoView.Visible} returns this + */ +proto.penumbra.core.transaction.v1alpha1.MemoView.Visible.prototype.clearCiphertext = function() { + return this.setCiphertext(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.MemoView.Visible.prototype.hasCiphertext = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional MemoPlaintext plaintext = 2; + * @return {?proto.penumbra.core.transaction.v1alpha1.MemoPlaintext} + */ +proto.penumbra.core.transaction.v1alpha1.MemoView.Visible.prototype.getPlaintext = function() { + return /** @type{?proto.penumbra.core.transaction.v1alpha1.MemoPlaintext} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.transaction.v1alpha1.MemoPlaintext, 2)); +}; + + +/** + * @param {?proto.penumbra.core.transaction.v1alpha1.MemoPlaintext|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.MemoView.Visible} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.MemoView.Visible.prototype.setPlaintext = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.MemoView.Visible} returns this + */ +proto.penumbra.core.transaction.v1alpha1.MemoView.Visible.prototype.clearPlaintext = function() { + return this.setPlaintext(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.MemoView.Visible.prototype.hasPlaintext = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.core.transaction.v1alpha1.MemoView.Opaque.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.core.transaction.v1alpha1.MemoView.Opaque.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.core.transaction.v1alpha1.MemoView.Opaque} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.transaction.v1alpha1.MemoView.Opaque.toObject = function(includeInstance, msg) { + var f, obj = { + ciphertext: (f = msg.getCiphertext()) && proto.penumbra.core.transaction.v1alpha1.MemoCiphertext.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.core.transaction.v1alpha1.MemoView.Opaque} + */ +proto.penumbra.core.transaction.v1alpha1.MemoView.Opaque.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.core.transaction.v1alpha1.MemoView.Opaque; + return proto.penumbra.core.transaction.v1alpha1.MemoView.Opaque.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.core.transaction.v1alpha1.MemoView.Opaque} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.core.transaction.v1alpha1.MemoView.Opaque} + */ +proto.penumbra.core.transaction.v1alpha1.MemoView.Opaque.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.core.transaction.v1alpha1.MemoCiphertext; + reader.readMessage(value,proto.penumbra.core.transaction.v1alpha1.MemoCiphertext.deserializeBinaryFromReader); + msg.setCiphertext(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.core.transaction.v1alpha1.MemoView.Opaque.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.core.transaction.v1alpha1.MemoView.Opaque.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.core.transaction.v1alpha1.MemoView.Opaque} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.core.transaction.v1alpha1.MemoView.Opaque.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getCiphertext(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.core.transaction.v1alpha1.MemoCiphertext.serializeBinaryToWriter + ); + } +}; + + +/** + * optional MemoCiphertext ciphertext = 1; + * @return {?proto.penumbra.core.transaction.v1alpha1.MemoCiphertext} + */ +proto.penumbra.core.transaction.v1alpha1.MemoView.Opaque.prototype.getCiphertext = function() { + return /** @type{?proto.penumbra.core.transaction.v1alpha1.MemoCiphertext} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.transaction.v1alpha1.MemoCiphertext, 1)); +}; + + +/** + * @param {?proto.penumbra.core.transaction.v1alpha1.MemoCiphertext|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.MemoView.Opaque} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.MemoView.Opaque.prototype.setCiphertext = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.MemoView.Opaque} returns this + */ +proto.penumbra.core.transaction.v1alpha1.MemoView.Opaque.prototype.clearCiphertext = function() { + return this.setCiphertext(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.MemoView.Opaque.prototype.hasCiphertext = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional Visible visible = 1; + * @return {?proto.penumbra.core.transaction.v1alpha1.MemoView.Visible} + */ +proto.penumbra.core.transaction.v1alpha1.MemoView.prototype.getVisible = function() { + return /** @type{?proto.penumbra.core.transaction.v1alpha1.MemoView.Visible} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.transaction.v1alpha1.MemoView.Visible, 1)); +}; + + +/** + * @param {?proto.penumbra.core.transaction.v1alpha1.MemoView.Visible|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.MemoView} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.MemoView.prototype.setVisible = function(value) { + return jspb.Message.setOneofWrapperField(this, 1, proto.penumbra.core.transaction.v1alpha1.MemoView.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.MemoView} returns this + */ +proto.penumbra.core.transaction.v1alpha1.MemoView.prototype.clearVisible = function() { + return this.setVisible(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.MemoView.prototype.hasVisible = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional Opaque opaque = 2; + * @return {?proto.penumbra.core.transaction.v1alpha1.MemoView.Opaque} + */ +proto.penumbra.core.transaction.v1alpha1.MemoView.prototype.getOpaque = function() { + return /** @type{?proto.penumbra.core.transaction.v1alpha1.MemoView.Opaque} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.core.transaction.v1alpha1.MemoView.Opaque, 2)); +}; + + +/** + * @param {?proto.penumbra.core.transaction.v1alpha1.MemoView.Opaque|undefined} value + * @return {!proto.penumbra.core.transaction.v1alpha1.MemoView} returns this +*/ +proto.penumbra.core.transaction.v1alpha1.MemoView.prototype.setOpaque = function(value) { + return jspb.Message.setOneofWrapperField(this, 2, proto.penumbra.core.transaction.v1alpha1.MemoView.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.core.transaction.v1alpha1.MemoView} returns this + */ +proto.penumbra.core.transaction.v1alpha1.MemoView.prototype.clearOpaque = function() { + return this.setOpaque(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.core.transaction.v1alpha1.MemoView.prototype.hasOpaque = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +goog.object.extend(exports, proto.penumbra.core.transaction.v1alpha1); diff --git a/src/chains/penumbra/generated/penumbra/crypto/decaf377_fmd/v1alpha1/decaf377_fmd_grpc_pb.js b/src/chains/penumbra/generated/penumbra/crypto/decaf377_fmd/v1alpha1/decaf377_fmd_grpc_pb.js new file mode 100644 index 0000000000..97b3a2461d --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/crypto/decaf377_fmd/v1alpha1/decaf377_fmd_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/src/chains/penumbra/generated/penumbra/crypto/decaf377_fmd/v1alpha1/decaf377_fmd_pb.d.ts b/src/chains/penumbra/generated/penumbra/crypto/decaf377_fmd/v1alpha1/decaf377_fmd_pb.d.ts new file mode 100644 index 0000000000..9994887081 --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/crypto/decaf377_fmd/v1alpha1/decaf377_fmd_pb.d.ts @@ -0,0 +1,29 @@ +// package: penumbra.crypto.decaf377_fmd.v1alpha1 +// file: penumbra/crypto/decaf377_fmd/v1alpha1/decaf377_fmd.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; + +export class Clue extends jspb.Message { + getInner(): Uint8Array | string; + getInner_asU8(): Uint8Array; + getInner_asB64(): string; + setInner(value: Uint8Array | string): Clue; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Clue.AsObject; + static toObject(includeInstance: boolean, msg: Clue): Clue.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Clue, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Clue; + static deserializeBinaryFromReader(message: Clue, reader: jspb.BinaryReader): Clue; +} + +export namespace Clue { + export type AsObject = { + inner: Uint8Array | string, + } +} diff --git a/src/chains/penumbra/generated/penumbra/crypto/decaf377_fmd/v1alpha1/decaf377_fmd_pb.js b/src/chains/penumbra/generated/penumbra/crypto/decaf377_fmd/v1alpha1/decaf377_fmd_pb.js new file mode 100644 index 0000000000..e820b64b1b --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/crypto/decaf377_fmd/v1alpha1/decaf377_fmd_pb.js @@ -0,0 +1,200 @@ +// source: penumbra/crypto/decaf377_fmd/v1alpha1/decaf377_fmd.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = (function() { + if (this) { return this; } + if (typeof window !== 'undefined') { return window; } + if (typeof global !== 'undefined') { return global; } + if (typeof self !== 'undefined') { return self; } + return Function('return this')(); +}.call(null)); + +goog.exportSymbol('proto.penumbra.crypto.decaf377_fmd.v1alpha1.Clue', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.crypto.decaf377_fmd.v1alpha1.Clue = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.crypto.decaf377_fmd.v1alpha1.Clue, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.crypto.decaf377_fmd.v1alpha1.Clue.displayName = 'proto.penumbra.crypto.decaf377_fmd.v1alpha1.Clue'; +} + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.crypto.decaf377_fmd.v1alpha1.Clue.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.crypto.decaf377_fmd.v1alpha1.Clue.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.crypto.decaf377_fmd.v1alpha1.Clue} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.crypto.decaf377_fmd.v1alpha1.Clue.toObject = function(includeInstance, msg) { + var f, obj = { + inner: msg.getInner_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.crypto.decaf377_fmd.v1alpha1.Clue} + */ +proto.penumbra.crypto.decaf377_fmd.v1alpha1.Clue.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.crypto.decaf377_fmd.v1alpha1.Clue; + return proto.penumbra.crypto.decaf377_fmd.v1alpha1.Clue.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.crypto.decaf377_fmd.v1alpha1.Clue} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.crypto.decaf377_fmd.v1alpha1.Clue} + */ +proto.penumbra.crypto.decaf377_fmd.v1alpha1.Clue.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setInner(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.crypto.decaf377_fmd.v1alpha1.Clue.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.crypto.decaf377_fmd.v1alpha1.Clue.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.crypto.decaf377_fmd.v1alpha1.Clue} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.crypto.decaf377_fmd.v1alpha1.Clue.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInner_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } +}; + + +/** + * optional bytes inner = 1; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.crypto.decaf377_fmd.v1alpha1.Clue.prototype.getInner = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes inner = 1; + * This is a type-conversion wrapper around `getInner()` + * @return {string} + */ +proto.penumbra.crypto.decaf377_fmd.v1alpha1.Clue.prototype.getInner_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getInner())); +}; + + +/** + * optional bytes inner = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getInner()` + * @return {!Uint8Array} + */ +proto.penumbra.crypto.decaf377_fmd.v1alpha1.Clue.prototype.getInner_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getInner())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.crypto.decaf377_fmd.v1alpha1.Clue} returns this + */ +proto.penumbra.crypto.decaf377_fmd.v1alpha1.Clue.prototype.setInner = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + +goog.object.extend(exports, proto.penumbra.crypto.decaf377_fmd.v1alpha1); diff --git a/src/chains/penumbra/generated/penumbra/crypto/decaf377_rdsa/v1alpha1/decaf377_rdsa_grpc_pb.js b/src/chains/penumbra/generated/penumbra/crypto/decaf377_rdsa/v1alpha1/decaf377_rdsa_grpc_pb.js new file mode 100644 index 0000000000..97b3a2461d --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/crypto/decaf377_rdsa/v1alpha1/decaf377_rdsa_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/src/chains/penumbra/generated/penumbra/crypto/decaf377_rdsa/v1alpha1/decaf377_rdsa_pb.d.ts b/src/chains/penumbra/generated/penumbra/crypto/decaf377_rdsa/v1alpha1/decaf377_rdsa_pb.d.ts new file mode 100644 index 0000000000..a06f146aa5 --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/crypto/decaf377_rdsa/v1alpha1/decaf377_rdsa_pb.d.ts @@ -0,0 +1,51 @@ +// package: penumbra.crypto.decaf377_rdsa.v1alpha1 +// file: penumbra/crypto/decaf377_rdsa/v1alpha1/decaf377_rdsa.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; + +export class SpendAuthSignature extends jspb.Message { + getInner(): Uint8Array | string; + getInner_asU8(): Uint8Array; + getInner_asB64(): string; + setInner(value: Uint8Array | string): SpendAuthSignature; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SpendAuthSignature.AsObject; + static toObject(includeInstance: boolean, msg: SpendAuthSignature): SpendAuthSignature.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SpendAuthSignature, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SpendAuthSignature; + static deserializeBinaryFromReader(message: SpendAuthSignature, reader: jspb.BinaryReader): SpendAuthSignature; +} + +export namespace SpendAuthSignature { + export type AsObject = { + inner: Uint8Array | string, + } +} + +export class BindingSignature extends jspb.Message { + getInner(): Uint8Array | string; + getInner_asU8(): Uint8Array; + getInner_asB64(): string; + setInner(value: Uint8Array | string): BindingSignature; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): BindingSignature.AsObject; + static toObject(includeInstance: boolean, msg: BindingSignature): BindingSignature.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: BindingSignature, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): BindingSignature; + static deserializeBinaryFromReader(message: BindingSignature, reader: jspb.BinaryReader): BindingSignature; +} + +export namespace BindingSignature { + export type AsObject = { + inner: Uint8Array | string, + } +} diff --git a/src/chains/penumbra/generated/penumbra/crypto/decaf377_rdsa/v1alpha1/decaf377_rdsa_pb.js b/src/chains/penumbra/generated/penumbra/crypto/decaf377_rdsa/v1alpha1/decaf377_rdsa_pb.js new file mode 100644 index 0000000000..38ce0ee327 --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/crypto/decaf377_rdsa/v1alpha1/decaf377_rdsa_pb.js @@ -0,0 +1,376 @@ +// source: penumbra/crypto/decaf377_rdsa/v1alpha1/decaf377_rdsa.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = (function() { + if (this) { return this; } + if (typeof window !== 'undefined') { return window; } + if (typeof global !== 'undefined') { return global; } + if (typeof self !== 'undefined') { return self; } + return Function('return this')(); +}.call(null)); + +goog.exportSymbol('proto.penumbra.crypto.decaf377_rdsa.v1alpha1.BindingSignature', null, global); +goog.exportSymbol('proto.penumbra.crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature.displayName = 'proto.penumbra.crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.crypto.decaf377_rdsa.v1alpha1.BindingSignature = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.crypto.decaf377_rdsa.v1alpha1.BindingSignature, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.crypto.decaf377_rdsa.v1alpha1.BindingSignature.displayName = 'proto.penumbra.crypto.decaf377_rdsa.v1alpha1.BindingSignature'; +} + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature.toObject = function(includeInstance, msg) { + var f, obj = { + inner: msg.getInner_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature} + */ +proto.penumbra.crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature; + return proto.penumbra.crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature} + */ +proto.penumbra.crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setInner(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInner_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } +}; + + +/** + * optional bytes inner = 1; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature.prototype.getInner = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes inner = 1; + * This is a type-conversion wrapper around `getInner()` + * @return {string} + */ +proto.penumbra.crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature.prototype.getInner_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getInner())); +}; + + +/** + * optional bytes inner = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getInner()` + * @return {!Uint8Array} + */ +proto.penumbra.crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature.prototype.getInner_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getInner())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature} returns this + */ +proto.penumbra.crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature.prototype.setInner = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.crypto.decaf377_rdsa.v1alpha1.BindingSignature.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.crypto.decaf377_rdsa.v1alpha1.BindingSignature.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.crypto.decaf377_rdsa.v1alpha1.BindingSignature} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.crypto.decaf377_rdsa.v1alpha1.BindingSignature.toObject = function(includeInstance, msg) { + var f, obj = { + inner: msg.getInner_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.crypto.decaf377_rdsa.v1alpha1.BindingSignature} + */ +proto.penumbra.crypto.decaf377_rdsa.v1alpha1.BindingSignature.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.crypto.decaf377_rdsa.v1alpha1.BindingSignature; + return proto.penumbra.crypto.decaf377_rdsa.v1alpha1.BindingSignature.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.crypto.decaf377_rdsa.v1alpha1.BindingSignature} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.crypto.decaf377_rdsa.v1alpha1.BindingSignature} + */ +proto.penumbra.crypto.decaf377_rdsa.v1alpha1.BindingSignature.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setInner(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.crypto.decaf377_rdsa.v1alpha1.BindingSignature.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.crypto.decaf377_rdsa.v1alpha1.BindingSignature.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.crypto.decaf377_rdsa.v1alpha1.BindingSignature} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.crypto.decaf377_rdsa.v1alpha1.BindingSignature.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInner_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } +}; + + +/** + * optional bytes inner = 1; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.crypto.decaf377_rdsa.v1alpha1.BindingSignature.prototype.getInner = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes inner = 1; + * This is a type-conversion wrapper around `getInner()` + * @return {string} + */ +proto.penumbra.crypto.decaf377_rdsa.v1alpha1.BindingSignature.prototype.getInner_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getInner())); +}; + + +/** + * optional bytes inner = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getInner()` + * @return {!Uint8Array} + */ +proto.penumbra.crypto.decaf377_rdsa.v1alpha1.BindingSignature.prototype.getInner_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getInner())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.crypto.decaf377_rdsa.v1alpha1.BindingSignature} returns this + */ +proto.penumbra.crypto.decaf377_rdsa.v1alpha1.BindingSignature.prototype.setInner = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + +goog.object.extend(exports, proto.penumbra.crypto.decaf377_rdsa.v1alpha1); diff --git a/src/chains/penumbra/generated/penumbra/crypto/tct/v1alpha1/tct_grpc_pb.js b/src/chains/penumbra/generated/penumbra/crypto/tct/v1alpha1/tct_grpc_pb.js new file mode 100644 index 0000000000..97b3a2461d --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/crypto/tct/v1alpha1/tct_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/src/chains/penumbra/generated/penumbra/crypto/tct/v1alpha1/tct_pb.d.ts b/src/chains/penumbra/generated/penumbra/crypto/tct/v1alpha1/tct_pb.d.ts new file mode 100644 index 0000000000..921d0d0981 --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/crypto/tct/v1alpha1/tct_pb.d.ts @@ -0,0 +1,114 @@ +// package: penumbra.crypto.tct.v1alpha1 +// file: penumbra/crypto/tct/v1alpha1/tct.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; + +export class StateCommitment extends jspb.Message { + getInner(): Uint8Array | string; + getInner_asU8(): Uint8Array; + getInner_asB64(): string; + setInner(value: Uint8Array | string): StateCommitment; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): StateCommitment.AsObject; + static toObject(includeInstance: boolean, msg: StateCommitment): StateCommitment.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: StateCommitment, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): StateCommitment; + static deserializeBinaryFromReader(message: StateCommitment, reader: jspb.BinaryReader): StateCommitment; +} + +export namespace StateCommitment { + export type AsObject = { + inner: Uint8Array | string, + } +} + +export class MerkleRoot extends jspb.Message { + getInner(): Uint8Array | string; + getInner_asU8(): Uint8Array; + getInner_asB64(): string; + setInner(value: Uint8Array | string): MerkleRoot; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): MerkleRoot.AsObject; + static toObject(includeInstance: boolean, msg: MerkleRoot): MerkleRoot.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: MerkleRoot, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): MerkleRoot; + static deserializeBinaryFromReader(message: MerkleRoot, reader: jspb.BinaryReader): MerkleRoot; +} + +export namespace MerkleRoot { + export type AsObject = { + inner: Uint8Array | string, + } +} + +export class StateCommitmentProof extends jspb.Message { + + hasNoteCommitment(): boolean; + clearNoteCommitment(): void; + getNoteCommitment(): StateCommitment | undefined; + setNoteCommitment(value?: StateCommitment): StateCommitmentProof; + getPosition(): number; + setPosition(value: number): StateCommitmentProof; + clearAuthPathList(): void; + getAuthPathList(): Array; + setAuthPathList(value: Array): StateCommitmentProof; + addAuthPath(value?: MerklePathChunk, index?: number): MerklePathChunk; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): StateCommitmentProof.AsObject; + static toObject(includeInstance: boolean, msg: StateCommitmentProof): StateCommitmentProof.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: StateCommitmentProof, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): StateCommitmentProof; + static deserializeBinaryFromReader(message: StateCommitmentProof, reader: jspb.BinaryReader): StateCommitmentProof; +} + +export namespace StateCommitmentProof { + export type AsObject = { + noteCommitment?: StateCommitment.AsObject, + position: number, + authPathList: Array, + } +} + +export class MerklePathChunk extends jspb.Message { + getSibling1(): Uint8Array | string; + getSibling1_asU8(): Uint8Array; + getSibling1_asB64(): string; + setSibling1(value: Uint8Array | string): MerklePathChunk; + getSibling2(): Uint8Array | string; + getSibling2_asU8(): Uint8Array; + getSibling2_asB64(): string; + setSibling2(value: Uint8Array | string): MerklePathChunk; + getSibling3(): Uint8Array | string; + getSibling3_asU8(): Uint8Array; + getSibling3_asB64(): string; + setSibling3(value: Uint8Array | string): MerklePathChunk; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): MerklePathChunk.AsObject; + static toObject(includeInstance: boolean, msg: MerklePathChunk): MerklePathChunk.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: MerklePathChunk, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): MerklePathChunk; + static deserializeBinaryFromReader(message: MerklePathChunk, reader: jspb.BinaryReader): MerklePathChunk; +} + +export namespace MerklePathChunk { + export type AsObject = { + sibling1: Uint8Array | string, + sibling2: Uint8Array | string, + sibling3: Uint8Array | string, + } +} diff --git a/src/chains/penumbra/generated/penumbra/crypto/tct/v1alpha1/tct_pb.js b/src/chains/penumbra/generated/penumbra/crypto/tct/v1alpha1/tct_pb.js new file mode 100644 index 0000000000..3add41b849 --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/crypto/tct/v1alpha1/tct_pb.js @@ -0,0 +1,923 @@ +// source: penumbra/crypto/tct/v1alpha1/tct.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = (function() { + if (this) { return this; } + if (typeof window !== 'undefined') { return window; } + if (typeof global !== 'undefined') { return global; } + if (typeof self !== 'undefined') { return self; } + return Function('return this')(); +}.call(null)); + +goog.exportSymbol('proto.penumbra.crypto.tct.v1alpha1.MerklePathChunk', null, global); +goog.exportSymbol('proto.penumbra.crypto.tct.v1alpha1.MerkleRoot', null, global); +goog.exportSymbol('proto.penumbra.crypto.tct.v1alpha1.StateCommitment', null, global); +goog.exportSymbol('proto.penumbra.crypto.tct.v1alpha1.StateCommitmentProof', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.crypto.tct.v1alpha1.StateCommitment = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.crypto.tct.v1alpha1.StateCommitment, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.crypto.tct.v1alpha1.StateCommitment.displayName = 'proto.penumbra.crypto.tct.v1alpha1.StateCommitment'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.crypto.tct.v1alpha1.MerkleRoot = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.crypto.tct.v1alpha1.MerkleRoot, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.crypto.tct.v1alpha1.MerkleRoot.displayName = 'proto.penumbra.crypto.tct.v1alpha1.MerkleRoot'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.crypto.tct.v1alpha1.StateCommitmentProof = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.penumbra.crypto.tct.v1alpha1.StateCommitmentProof.repeatedFields_, null); +}; +goog.inherits(proto.penumbra.crypto.tct.v1alpha1.StateCommitmentProof, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.crypto.tct.v1alpha1.StateCommitmentProof.displayName = 'proto.penumbra.crypto.tct.v1alpha1.StateCommitmentProof'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.crypto.tct.v1alpha1.MerklePathChunk = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.crypto.tct.v1alpha1.MerklePathChunk, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.crypto.tct.v1alpha1.MerklePathChunk.displayName = 'proto.penumbra.crypto.tct.v1alpha1.MerklePathChunk'; +} + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.crypto.tct.v1alpha1.StateCommitment.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.crypto.tct.v1alpha1.StateCommitment.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.crypto.tct.v1alpha1.StateCommitment} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.crypto.tct.v1alpha1.StateCommitment.toObject = function(includeInstance, msg) { + var f, obj = { + inner: msg.getInner_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.crypto.tct.v1alpha1.StateCommitment} + */ +proto.penumbra.crypto.tct.v1alpha1.StateCommitment.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.crypto.tct.v1alpha1.StateCommitment; + return proto.penumbra.crypto.tct.v1alpha1.StateCommitment.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.crypto.tct.v1alpha1.StateCommitment} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.crypto.tct.v1alpha1.StateCommitment} + */ +proto.penumbra.crypto.tct.v1alpha1.StateCommitment.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setInner(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.crypto.tct.v1alpha1.StateCommitment.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.crypto.tct.v1alpha1.StateCommitment.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.crypto.tct.v1alpha1.StateCommitment} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.crypto.tct.v1alpha1.StateCommitment.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInner_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } +}; + + +/** + * optional bytes inner = 1; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.crypto.tct.v1alpha1.StateCommitment.prototype.getInner = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes inner = 1; + * This is a type-conversion wrapper around `getInner()` + * @return {string} + */ +proto.penumbra.crypto.tct.v1alpha1.StateCommitment.prototype.getInner_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getInner())); +}; + + +/** + * optional bytes inner = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getInner()` + * @return {!Uint8Array} + */ +proto.penumbra.crypto.tct.v1alpha1.StateCommitment.prototype.getInner_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getInner())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.crypto.tct.v1alpha1.StateCommitment} returns this + */ +proto.penumbra.crypto.tct.v1alpha1.StateCommitment.prototype.setInner = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.crypto.tct.v1alpha1.MerkleRoot.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.crypto.tct.v1alpha1.MerkleRoot.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.crypto.tct.v1alpha1.MerkleRoot} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.crypto.tct.v1alpha1.MerkleRoot.toObject = function(includeInstance, msg) { + var f, obj = { + inner: msg.getInner_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.crypto.tct.v1alpha1.MerkleRoot} + */ +proto.penumbra.crypto.tct.v1alpha1.MerkleRoot.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.crypto.tct.v1alpha1.MerkleRoot; + return proto.penumbra.crypto.tct.v1alpha1.MerkleRoot.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.crypto.tct.v1alpha1.MerkleRoot} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.crypto.tct.v1alpha1.MerkleRoot} + */ +proto.penumbra.crypto.tct.v1alpha1.MerkleRoot.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setInner(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.crypto.tct.v1alpha1.MerkleRoot.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.crypto.tct.v1alpha1.MerkleRoot.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.crypto.tct.v1alpha1.MerkleRoot} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.crypto.tct.v1alpha1.MerkleRoot.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInner_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } +}; + + +/** + * optional bytes inner = 1; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.crypto.tct.v1alpha1.MerkleRoot.prototype.getInner = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes inner = 1; + * This is a type-conversion wrapper around `getInner()` + * @return {string} + */ +proto.penumbra.crypto.tct.v1alpha1.MerkleRoot.prototype.getInner_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getInner())); +}; + + +/** + * optional bytes inner = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getInner()` + * @return {!Uint8Array} + */ +proto.penumbra.crypto.tct.v1alpha1.MerkleRoot.prototype.getInner_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getInner())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.crypto.tct.v1alpha1.MerkleRoot} returns this + */ +proto.penumbra.crypto.tct.v1alpha1.MerkleRoot.prototype.setInner = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.penumbra.crypto.tct.v1alpha1.StateCommitmentProof.repeatedFields_ = [3]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.crypto.tct.v1alpha1.StateCommitmentProof.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.crypto.tct.v1alpha1.StateCommitmentProof.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.crypto.tct.v1alpha1.StateCommitmentProof} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.crypto.tct.v1alpha1.StateCommitmentProof.toObject = function(includeInstance, msg) { + var f, obj = { + noteCommitment: (f = msg.getNoteCommitment()) && proto.penumbra.crypto.tct.v1alpha1.StateCommitment.toObject(includeInstance, f), + position: jspb.Message.getFieldWithDefault(msg, 2, 0), + authPathList: jspb.Message.toObjectList(msg.getAuthPathList(), + proto.penumbra.crypto.tct.v1alpha1.MerklePathChunk.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.crypto.tct.v1alpha1.StateCommitmentProof} + */ +proto.penumbra.crypto.tct.v1alpha1.StateCommitmentProof.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.crypto.tct.v1alpha1.StateCommitmentProof; + return proto.penumbra.crypto.tct.v1alpha1.StateCommitmentProof.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.crypto.tct.v1alpha1.StateCommitmentProof} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.crypto.tct.v1alpha1.StateCommitmentProof} + */ +proto.penumbra.crypto.tct.v1alpha1.StateCommitmentProof.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.crypto.tct.v1alpha1.StateCommitment; + reader.readMessage(value,proto.penumbra.crypto.tct.v1alpha1.StateCommitment.deserializeBinaryFromReader); + msg.setNoteCommitment(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint64()); + msg.setPosition(value); + break; + case 3: + var value = new proto.penumbra.crypto.tct.v1alpha1.MerklePathChunk; + reader.readMessage(value,proto.penumbra.crypto.tct.v1alpha1.MerklePathChunk.deserializeBinaryFromReader); + msg.addAuthPath(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.crypto.tct.v1alpha1.StateCommitmentProof.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.crypto.tct.v1alpha1.StateCommitmentProof.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.crypto.tct.v1alpha1.StateCommitmentProof} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.crypto.tct.v1alpha1.StateCommitmentProof.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getNoteCommitment(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.crypto.tct.v1alpha1.StateCommitment.serializeBinaryToWriter + ); + } + f = message.getPosition(); + if (f !== 0) { + writer.writeUint64( + 2, + f + ); + } + f = message.getAuthPathList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 3, + f, + proto.penumbra.crypto.tct.v1alpha1.MerklePathChunk.serializeBinaryToWriter + ); + } +}; + + +/** + * optional StateCommitment note_commitment = 1; + * @return {?proto.penumbra.crypto.tct.v1alpha1.StateCommitment} + */ +proto.penumbra.crypto.tct.v1alpha1.StateCommitmentProof.prototype.getNoteCommitment = function() { + return /** @type{?proto.penumbra.crypto.tct.v1alpha1.StateCommitment} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.crypto.tct.v1alpha1.StateCommitment, 1)); +}; + + +/** + * @param {?proto.penumbra.crypto.tct.v1alpha1.StateCommitment|undefined} value + * @return {!proto.penumbra.crypto.tct.v1alpha1.StateCommitmentProof} returns this +*/ +proto.penumbra.crypto.tct.v1alpha1.StateCommitmentProof.prototype.setNoteCommitment = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.crypto.tct.v1alpha1.StateCommitmentProof} returns this + */ +proto.penumbra.crypto.tct.v1alpha1.StateCommitmentProof.prototype.clearNoteCommitment = function() { + return this.setNoteCommitment(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.crypto.tct.v1alpha1.StateCommitmentProof.prototype.hasNoteCommitment = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional uint64 position = 2; + * @return {number} + */ +proto.penumbra.crypto.tct.v1alpha1.StateCommitmentProof.prototype.getPosition = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.crypto.tct.v1alpha1.StateCommitmentProof} returns this + */ +proto.penumbra.crypto.tct.v1alpha1.StateCommitmentProof.prototype.setPosition = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + +/** + * repeated MerklePathChunk auth_path = 3; + * @return {!Array} + */ +proto.penumbra.crypto.tct.v1alpha1.StateCommitmentProof.prototype.getAuthPathList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.penumbra.crypto.tct.v1alpha1.MerklePathChunk, 3)); +}; + + +/** + * @param {!Array} value + * @return {!proto.penumbra.crypto.tct.v1alpha1.StateCommitmentProof} returns this +*/ +proto.penumbra.crypto.tct.v1alpha1.StateCommitmentProof.prototype.setAuthPathList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 3, value); +}; + + +/** + * @param {!proto.penumbra.crypto.tct.v1alpha1.MerklePathChunk=} opt_value + * @param {number=} opt_index + * @return {!proto.penumbra.crypto.tct.v1alpha1.MerklePathChunk} + */ +proto.penumbra.crypto.tct.v1alpha1.StateCommitmentProof.prototype.addAuthPath = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.penumbra.crypto.tct.v1alpha1.MerklePathChunk, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.penumbra.crypto.tct.v1alpha1.StateCommitmentProof} returns this + */ +proto.penumbra.crypto.tct.v1alpha1.StateCommitmentProof.prototype.clearAuthPathList = function() { + return this.setAuthPathList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.crypto.tct.v1alpha1.MerklePathChunk.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.crypto.tct.v1alpha1.MerklePathChunk.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.crypto.tct.v1alpha1.MerklePathChunk} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.crypto.tct.v1alpha1.MerklePathChunk.toObject = function(includeInstance, msg) { + var f, obj = { + sibling1: msg.getSibling1_asB64(), + sibling2: msg.getSibling2_asB64(), + sibling3: msg.getSibling3_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.crypto.tct.v1alpha1.MerklePathChunk} + */ +proto.penumbra.crypto.tct.v1alpha1.MerklePathChunk.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.crypto.tct.v1alpha1.MerklePathChunk; + return proto.penumbra.crypto.tct.v1alpha1.MerklePathChunk.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.crypto.tct.v1alpha1.MerklePathChunk} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.crypto.tct.v1alpha1.MerklePathChunk} + */ +proto.penumbra.crypto.tct.v1alpha1.MerklePathChunk.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setSibling1(value); + break; + case 2: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setSibling2(value); + break; + case 3: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setSibling3(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.crypto.tct.v1alpha1.MerklePathChunk.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.crypto.tct.v1alpha1.MerklePathChunk.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.crypto.tct.v1alpha1.MerklePathChunk} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.crypto.tct.v1alpha1.MerklePathChunk.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSibling1_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } + f = message.getSibling2_asU8(); + if (f.length > 0) { + writer.writeBytes( + 2, + f + ); + } + f = message.getSibling3_asU8(); + if (f.length > 0) { + writer.writeBytes( + 3, + f + ); + } +}; + + +/** + * optional bytes sibling_1 = 1; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.crypto.tct.v1alpha1.MerklePathChunk.prototype.getSibling1 = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes sibling_1 = 1; + * This is a type-conversion wrapper around `getSibling1()` + * @return {string} + */ +proto.penumbra.crypto.tct.v1alpha1.MerklePathChunk.prototype.getSibling1_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getSibling1())); +}; + + +/** + * optional bytes sibling_1 = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getSibling1()` + * @return {!Uint8Array} + */ +proto.penumbra.crypto.tct.v1alpha1.MerklePathChunk.prototype.getSibling1_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getSibling1())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.crypto.tct.v1alpha1.MerklePathChunk} returns this + */ +proto.penumbra.crypto.tct.v1alpha1.MerklePathChunk.prototype.setSibling1 = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + +/** + * optional bytes sibling_2 = 2; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.crypto.tct.v1alpha1.MerklePathChunk.prototype.getSibling2 = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * optional bytes sibling_2 = 2; + * This is a type-conversion wrapper around `getSibling2()` + * @return {string} + */ +proto.penumbra.crypto.tct.v1alpha1.MerklePathChunk.prototype.getSibling2_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getSibling2())); +}; + + +/** + * optional bytes sibling_2 = 2; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getSibling2()` + * @return {!Uint8Array} + */ +proto.penumbra.crypto.tct.v1alpha1.MerklePathChunk.prototype.getSibling2_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getSibling2())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.crypto.tct.v1alpha1.MerklePathChunk} returns this + */ +proto.penumbra.crypto.tct.v1alpha1.MerklePathChunk.prototype.setSibling2 = function(value) { + return jspb.Message.setProto3BytesField(this, 2, value); +}; + + +/** + * optional bytes sibling_3 = 3; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.crypto.tct.v1alpha1.MerklePathChunk.prototype.getSibling3 = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * optional bytes sibling_3 = 3; + * This is a type-conversion wrapper around `getSibling3()` + * @return {string} + */ +proto.penumbra.crypto.tct.v1alpha1.MerklePathChunk.prototype.getSibling3_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getSibling3())); +}; + + +/** + * optional bytes sibling_3 = 3; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getSibling3()` + * @return {!Uint8Array} + */ +proto.penumbra.crypto.tct.v1alpha1.MerklePathChunk.prototype.getSibling3_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getSibling3())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.crypto.tct.v1alpha1.MerklePathChunk} returns this + */ +proto.penumbra.crypto.tct.v1alpha1.MerklePathChunk.prototype.setSibling3 = function(value) { + return jspb.Message.setProto3BytesField(this, 3, value); +}; + + +goog.object.extend(exports, proto.penumbra.crypto.tct.v1alpha1); diff --git a/src/chains/penumbra/generated/penumbra/custody/v1alpha1/custody_grpc_pb.d.ts b/src/chains/penumbra/generated/penumbra/custody/v1alpha1/custody_grpc_pb.d.ts new file mode 100644 index 0000000000..43d4065bc4 --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/custody/v1alpha1/custody_grpc_pb.d.ts @@ -0,0 +1,43 @@ +// package: penumbra.custody.v1alpha1 +// file: penumbra/custody/v1alpha1/custody.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as grpc from "grpc"; +import * as penumbra_custody_v1alpha1_custody_pb from "../../../penumbra/custody/v1alpha1/custody_pb"; +import * as penumbra_core_keys_v1alpha1_keys_pb from "../../../penumbra/core/keys/v1alpha1/keys_pb"; +import * as penumbra_core_transaction_v1alpha1_transaction_pb from "../../../penumbra/core/transaction/v1alpha1/transaction_pb"; + +interface ICustodyProtocolServiceService extends grpc.ServiceDefinition { + authorize: ICustodyProtocolServiceService_IAuthorize; +} + +interface ICustodyProtocolServiceService_IAuthorize extends grpc.MethodDefinition { + path: "/penumbra.custody.v1alpha1.CustodyProtocolService/Authorize"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} + +export const CustodyProtocolServiceService: ICustodyProtocolServiceService; + +export interface ICustodyProtocolServiceServer { + authorize: grpc.handleUnaryCall; +} + +export interface ICustodyProtocolServiceClient { + authorize(request: penumbra_custody_v1alpha1_custody_pb.AuthorizeRequest, callback: (error: grpc.ServiceError | null, response: penumbra_custody_v1alpha1_custody_pb.AuthorizeResponse) => void): grpc.ClientUnaryCall; + authorize(request: penumbra_custody_v1alpha1_custody_pb.AuthorizeRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_custody_v1alpha1_custody_pb.AuthorizeResponse) => void): grpc.ClientUnaryCall; + authorize(request: penumbra_custody_v1alpha1_custody_pb.AuthorizeRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_custody_v1alpha1_custody_pb.AuthorizeResponse) => void): grpc.ClientUnaryCall; +} + +export class CustodyProtocolServiceClient extends grpc.Client implements ICustodyProtocolServiceClient { + constructor(address: string, credentials: grpc.ChannelCredentials, options?: object); + public authorize(request: penumbra_custody_v1alpha1_custody_pb.AuthorizeRequest, callback: (error: grpc.ServiceError | null, response: penumbra_custody_v1alpha1_custody_pb.AuthorizeResponse) => void): grpc.ClientUnaryCall; + public authorize(request: penumbra_custody_v1alpha1_custody_pb.AuthorizeRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_custody_v1alpha1_custody_pb.AuthorizeResponse) => void): grpc.ClientUnaryCall; + public authorize(request: penumbra_custody_v1alpha1_custody_pb.AuthorizeRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_custody_v1alpha1_custody_pb.AuthorizeResponse) => void): grpc.ClientUnaryCall; +} diff --git a/src/chains/penumbra/generated/penumbra/custody/v1alpha1/custody_grpc_pb.js b/src/chains/penumbra/generated/penumbra/custody/v1alpha1/custody_grpc_pb.js new file mode 100644 index 0000000000..2b5a69a9f0 --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/custody/v1alpha1/custody_grpc_pb.js @@ -0,0 +1,58 @@ +// GENERATED CODE -- DO NOT EDIT! + +'use strict'; +var grpc = require('@grpc/grpc-js'); +var penumbra_custody_v1alpha1_custody_pb = require('../../../penumbra/custody/v1alpha1/custody_pb.js'); +var penumbra_core_keys_v1alpha1_keys_pb = require('../../../penumbra/core/keys/v1alpha1/keys_pb.js'); +var penumbra_core_transaction_v1alpha1_transaction_pb = require('../../../penumbra/core/transaction/v1alpha1/transaction_pb.js'); + +function serialize_penumbra_custody_v1alpha1_AuthorizeRequest(arg) { + if (!(arg instanceof penumbra_custody_v1alpha1_custody_pb.AuthorizeRequest)) { + throw new Error('Expected argument of type penumbra.custody.v1alpha1.AuthorizeRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_custody_v1alpha1_AuthorizeRequest(buffer_arg) { + return penumbra_custody_v1alpha1_custody_pb.AuthorizeRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_custody_v1alpha1_AuthorizeResponse(arg) { + if (!(arg instanceof penumbra_custody_v1alpha1_custody_pb.AuthorizeResponse)) { + throw new Error('Expected argument of type penumbra.custody.v1alpha1.AuthorizeResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_custody_v1alpha1_AuthorizeResponse(buffer_arg) { + return penumbra_custody_v1alpha1_custody_pb.AuthorizeResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + + +// The custody protocol is used by a wallet client to request authorization for +// a transaction they've constructed. +// +// Modeling transaction authorization as an asynchronous RPC call encourages +// software to be written in a way that has a compatible data flow with a "soft +// HSM", threshold signing, a hardware wallet, etc. +// +// The custody protocol does not trust the client to authorize spends, so +// custody requests must contain sufficient information for the custodian to +// understand the transaction and determine whether or not it should be +// authorized. +var CustodyProtocolServiceService = exports.CustodyProtocolServiceService = { + // Requests authorization of the transaction with the given description. +authorize: { + path: '/penumbra.custody.v1alpha1.CustodyProtocolService/Authorize', + requestStream: false, + responseStream: false, + requestType: penumbra_custody_v1alpha1_custody_pb.AuthorizeRequest, + responseType: penumbra_custody_v1alpha1_custody_pb.AuthorizeResponse, + requestSerialize: serialize_penumbra_custody_v1alpha1_AuthorizeRequest, + requestDeserialize: deserialize_penumbra_custody_v1alpha1_AuthorizeRequest, + responseSerialize: serialize_penumbra_custody_v1alpha1_AuthorizeResponse, + responseDeserialize: deserialize_penumbra_custody_v1alpha1_AuthorizeResponse, + }, +}; + +exports.CustodyProtocolServiceClient = grpc.makeGenericClientConstructor(CustodyProtocolServiceService); diff --git a/src/chains/penumbra/generated/penumbra/custody/v1alpha1/custody_pb.d.ts b/src/chains/penumbra/generated/penumbra/custody/v1alpha1/custody_pb.d.ts new file mode 100644 index 0000000000..2fa206d550 --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/custody/v1alpha1/custody_pb.d.ts @@ -0,0 +1,126 @@ +// package: penumbra.custody.v1alpha1 +// file: penumbra/custody/v1alpha1/custody.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as penumbra_core_keys_v1alpha1_keys_pb from "../../../penumbra/core/keys/v1alpha1/keys_pb"; +import * as penumbra_core_transaction_v1alpha1_transaction_pb from "../../../penumbra/core/transaction/v1alpha1/transaction_pb"; + +export class AuthorizeRequest extends jspb.Message { + + hasPlan(): boolean; + clearPlan(): void; + getPlan(): penumbra_core_transaction_v1alpha1_transaction_pb.TransactionPlan | undefined; + setPlan(value?: penumbra_core_transaction_v1alpha1_transaction_pb.TransactionPlan): AuthorizeRequest; + + hasWalletId(): boolean; + clearWalletId(): void; + getWalletId(): penumbra_core_keys_v1alpha1_keys_pb.WalletId | undefined; + setWalletId(value?: penumbra_core_keys_v1alpha1_keys_pb.WalletId): AuthorizeRequest; + clearPreAuthorizationsList(): void; + getPreAuthorizationsList(): Array; + setPreAuthorizationsList(value: Array): AuthorizeRequest; + addPreAuthorizations(value?: PreAuthorization, index?: number): PreAuthorization; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): AuthorizeRequest.AsObject; + static toObject(includeInstance: boolean, msg: AuthorizeRequest): AuthorizeRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: AuthorizeRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): AuthorizeRequest; + static deserializeBinaryFromReader(message: AuthorizeRequest, reader: jspb.BinaryReader): AuthorizeRequest; +} + +export namespace AuthorizeRequest { + export type AsObject = { + plan?: penumbra_core_transaction_v1alpha1_transaction_pb.TransactionPlan.AsObject, + walletId?: penumbra_core_keys_v1alpha1_keys_pb.WalletId.AsObject, + preAuthorizationsList: Array, + } +} + +export class AuthorizeResponse extends jspb.Message { + + hasData(): boolean; + clearData(): void; + getData(): penumbra_core_transaction_v1alpha1_transaction_pb.AuthorizationData | undefined; + setData(value?: penumbra_core_transaction_v1alpha1_transaction_pb.AuthorizationData): AuthorizeResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): AuthorizeResponse.AsObject; + static toObject(includeInstance: boolean, msg: AuthorizeResponse): AuthorizeResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: AuthorizeResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): AuthorizeResponse; + static deserializeBinaryFromReader(message: AuthorizeResponse, reader: jspb.BinaryReader): AuthorizeResponse; +} + +export namespace AuthorizeResponse { + export type AsObject = { + data?: penumbra_core_transaction_v1alpha1_transaction_pb.AuthorizationData.AsObject, + } +} + +export class PreAuthorization extends jspb.Message { + + hasEd25519(): boolean; + clearEd25519(): void; + getEd25519(): PreAuthorization.Ed25519 | undefined; + setEd25519(value?: PreAuthorization.Ed25519): PreAuthorization; + + getPreAuthorizationCase(): PreAuthorization.PreAuthorizationCase; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): PreAuthorization.AsObject; + static toObject(includeInstance: boolean, msg: PreAuthorization): PreAuthorization.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: PreAuthorization, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): PreAuthorization; + static deserializeBinaryFromReader(message: PreAuthorization, reader: jspb.BinaryReader): PreAuthorization; +} + +export namespace PreAuthorization { + export type AsObject = { + ed25519?: PreAuthorization.Ed25519.AsObject, + } + + + export class Ed25519 extends jspb.Message { + getVk(): Uint8Array | string; + getVk_asU8(): Uint8Array; + getVk_asB64(): string; + setVk(value: Uint8Array | string): Ed25519; + getSig(): Uint8Array | string; + getSig_asU8(): Uint8Array; + getSig_asB64(): string; + setSig(value: Uint8Array | string): Ed25519; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Ed25519.AsObject; + static toObject(includeInstance: boolean, msg: Ed25519): Ed25519.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Ed25519, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Ed25519; + static deserializeBinaryFromReader(message: Ed25519, reader: jspb.BinaryReader): Ed25519; + } + + export namespace Ed25519 { + export type AsObject = { + vk: Uint8Array | string, + sig: Uint8Array | string, + } + } + + + export enum PreAuthorizationCase { + PRE_AUTHORIZATION_NOT_SET = 0, + ED25519 = 1, + } + +} diff --git a/src/chains/penumbra/generated/penumbra/custody/v1alpha1/custody_pb.js b/src/chains/penumbra/generated/penumbra/custody/v1alpha1/custody_pb.js new file mode 100644 index 0000000000..e3039b6a31 --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/custody/v1alpha1/custody_pb.js @@ -0,0 +1,914 @@ +// source: penumbra/custody/v1alpha1/custody.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = (function() { + if (this) { return this; } + if (typeof window !== 'undefined') { return window; } + if (typeof global !== 'undefined') { return global; } + if (typeof self !== 'undefined') { return self; } + return Function('return this')(); +}.call(null)); + +var penumbra_core_keys_v1alpha1_keys_pb = require('../../../penumbra/core/keys/v1alpha1/keys_pb.js'); +goog.object.extend(proto, penumbra_core_keys_v1alpha1_keys_pb); +var penumbra_core_transaction_v1alpha1_transaction_pb = require('../../../penumbra/core/transaction/v1alpha1/transaction_pb.js'); +goog.object.extend(proto, penumbra_core_transaction_v1alpha1_transaction_pb); +goog.exportSymbol('proto.penumbra.custody.v1alpha1.AuthorizeRequest', null, global); +goog.exportSymbol('proto.penumbra.custody.v1alpha1.AuthorizeResponse', null, global); +goog.exportSymbol('proto.penumbra.custody.v1alpha1.PreAuthorization', null, global); +goog.exportSymbol('proto.penumbra.custody.v1alpha1.PreAuthorization.Ed25519', null, global); +goog.exportSymbol('proto.penumbra.custody.v1alpha1.PreAuthorization.PreAuthorizationCase', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.custody.v1alpha1.AuthorizeRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.penumbra.custody.v1alpha1.AuthorizeRequest.repeatedFields_, null); +}; +goog.inherits(proto.penumbra.custody.v1alpha1.AuthorizeRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.custody.v1alpha1.AuthorizeRequest.displayName = 'proto.penumbra.custody.v1alpha1.AuthorizeRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.custody.v1alpha1.AuthorizeResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.custody.v1alpha1.AuthorizeResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.custody.v1alpha1.AuthorizeResponse.displayName = 'proto.penumbra.custody.v1alpha1.AuthorizeResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.custody.v1alpha1.PreAuthorization = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.penumbra.custody.v1alpha1.PreAuthorization.oneofGroups_); +}; +goog.inherits(proto.penumbra.custody.v1alpha1.PreAuthorization, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.custody.v1alpha1.PreAuthorization.displayName = 'proto.penumbra.custody.v1alpha1.PreAuthorization'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.custody.v1alpha1.PreAuthorization.Ed25519 = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.custody.v1alpha1.PreAuthorization.Ed25519, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.custody.v1alpha1.PreAuthorization.Ed25519.displayName = 'proto.penumbra.custody.v1alpha1.PreAuthorization.Ed25519'; +} + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.penumbra.custody.v1alpha1.AuthorizeRequest.repeatedFields_ = [3]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.custody.v1alpha1.AuthorizeRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.custody.v1alpha1.AuthorizeRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.custody.v1alpha1.AuthorizeRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.custody.v1alpha1.AuthorizeRequest.toObject = function(includeInstance, msg) { + var f, obj = { + plan: (f = msg.getPlan()) && penumbra_core_transaction_v1alpha1_transaction_pb.TransactionPlan.toObject(includeInstance, f), + walletId: (f = msg.getWalletId()) && penumbra_core_keys_v1alpha1_keys_pb.WalletId.toObject(includeInstance, f), + preAuthorizationsList: jspb.Message.toObjectList(msg.getPreAuthorizationsList(), + proto.penumbra.custody.v1alpha1.PreAuthorization.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.custody.v1alpha1.AuthorizeRequest} + */ +proto.penumbra.custody.v1alpha1.AuthorizeRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.custody.v1alpha1.AuthorizeRequest; + return proto.penumbra.custody.v1alpha1.AuthorizeRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.custody.v1alpha1.AuthorizeRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.custody.v1alpha1.AuthorizeRequest} + */ +proto.penumbra.custody.v1alpha1.AuthorizeRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_transaction_v1alpha1_transaction_pb.TransactionPlan; + reader.readMessage(value,penumbra_core_transaction_v1alpha1_transaction_pb.TransactionPlan.deserializeBinaryFromReader); + msg.setPlan(value); + break; + case 2: + var value = new penumbra_core_keys_v1alpha1_keys_pb.WalletId; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.WalletId.deserializeBinaryFromReader); + msg.setWalletId(value); + break; + case 3: + var value = new proto.penumbra.custody.v1alpha1.PreAuthorization; + reader.readMessage(value,proto.penumbra.custody.v1alpha1.PreAuthorization.deserializeBinaryFromReader); + msg.addPreAuthorizations(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.custody.v1alpha1.AuthorizeRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.custody.v1alpha1.AuthorizeRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.custody.v1alpha1.AuthorizeRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.custody.v1alpha1.AuthorizeRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getPlan(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_transaction_v1alpha1_transaction_pb.TransactionPlan.serializeBinaryToWriter + ); + } + f = message.getWalletId(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_keys_v1alpha1_keys_pb.WalletId.serializeBinaryToWriter + ); + } + f = message.getPreAuthorizationsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 3, + f, + proto.penumbra.custody.v1alpha1.PreAuthorization.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.transaction.v1alpha1.TransactionPlan plan = 1; + * @return {?proto.penumbra.core.transaction.v1alpha1.TransactionPlan} + */ +proto.penumbra.custody.v1alpha1.AuthorizeRequest.prototype.getPlan = function() { + return /** @type{?proto.penumbra.core.transaction.v1alpha1.TransactionPlan} */ ( + jspb.Message.getWrapperField(this, penumbra_core_transaction_v1alpha1_transaction_pb.TransactionPlan, 1)); +}; + + +/** + * @param {?proto.penumbra.core.transaction.v1alpha1.TransactionPlan|undefined} value + * @return {!proto.penumbra.custody.v1alpha1.AuthorizeRequest} returns this +*/ +proto.penumbra.custody.v1alpha1.AuthorizeRequest.prototype.setPlan = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.custody.v1alpha1.AuthorizeRequest} returns this + */ +proto.penumbra.custody.v1alpha1.AuthorizeRequest.prototype.clearPlan = function() { + return this.setPlan(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.custody.v1alpha1.AuthorizeRequest.prototype.hasPlan = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional penumbra.core.keys.v1alpha1.WalletId wallet_id = 2; + * @return {?proto.penumbra.core.keys.v1alpha1.WalletId} + */ +proto.penumbra.custody.v1alpha1.AuthorizeRequest.prototype.getWalletId = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.WalletId} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.WalletId, 2)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.WalletId|undefined} value + * @return {!proto.penumbra.custody.v1alpha1.AuthorizeRequest} returns this +*/ +proto.penumbra.custody.v1alpha1.AuthorizeRequest.prototype.setWalletId = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.custody.v1alpha1.AuthorizeRequest} returns this + */ +proto.penumbra.custody.v1alpha1.AuthorizeRequest.prototype.clearWalletId = function() { + return this.setWalletId(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.custody.v1alpha1.AuthorizeRequest.prototype.hasWalletId = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * repeated PreAuthorization pre_authorizations = 3; + * @return {!Array} + */ +proto.penumbra.custody.v1alpha1.AuthorizeRequest.prototype.getPreAuthorizationsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.penumbra.custody.v1alpha1.PreAuthorization, 3)); +}; + + +/** + * @param {!Array} value + * @return {!proto.penumbra.custody.v1alpha1.AuthorizeRequest} returns this +*/ +proto.penumbra.custody.v1alpha1.AuthorizeRequest.prototype.setPreAuthorizationsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 3, value); +}; + + +/** + * @param {!proto.penumbra.custody.v1alpha1.PreAuthorization=} opt_value + * @param {number=} opt_index + * @return {!proto.penumbra.custody.v1alpha1.PreAuthorization} + */ +proto.penumbra.custody.v1alpha1.AuthorizeRequest.prototype.addPreAuthorizations = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.penumbra.custody.v1alpha1.PreAuthorization, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.penumbra.custody.v1alpha1.AuthorizeRequest} returns this + */ +proto.penumbra.custody.v1alpha1.AuthorizeRequest.prototype.clearPreAuthorizationsList = function() { + return this.setPreAuthorizationsList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.custody.v1alpha1.AuthorizeResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.custody.v1alpha1.AuthorizeResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.custody.v1alpha1.AuthorizeResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.custody.v1alpha1.AuthorizeResponse.toObject = function(includeInstance, msg) { + var f, obj = { + data: (f = msg.getData()) && penumbra_core_transaction_v1alpha1_transaction_pb.AuthorizationData.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.custody.v1alpha1.AuthorizeResponse} + */ +proto.penumbra.custody.v1alpha1.AuthorizeResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.custody.v1alpha1.AuthorizeResponse; + return proto.penumbra.custody.v1alpha1.AuthorizeResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.custody.v1alpha1.AuthorizeResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.custody.v1alpha1.AuthorizeResponse} + */ +proto.penumbra.custody.v1alpha1.AuthorizeResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_transaction_v1alpha1_transaction_pb.AuthorizationData; + reader.readMessage(value,penumbra_core_transaction_v1alpha1_transaction_pb.AuthorizationData.deserializeBinaryFromReader); + msg.setData(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.custody.v1alpha1.AuthorizeResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.custody.v1alpha1.AuthorizeResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.custody.v1alpha1.AuthorizeResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.custody.v1alpha1.AuthorizeResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getData(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_transaction_v1alpha1_transaction_pb.AuthorizationData.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.transaction.v1alpha1.AuthorizationData data = 1; + * @return {?proto.penumbra.core.transaction.v1alpha1.AuthorizationData} + */ +proto.penumbra.custody.v1alpha1.AuthorizeResponse.prototype.getData = function() { + return /** @type{?proto.penumbra.core.transaction.v1alpha1.AuthorizationData} */ ( + jspb.Message.getWrapperField(this, penumbra_core_transaction_v1alpha1_transaction_pb.AuthorizationData, 1)); +}; + + +/** + * @param {?proto.penumbra.core.transaction.v1alpha1.AuthorizationData|undefined} value + * @return {!proto.penumbra.custody.v1alpha1.AuthorizeResponse} returns this +*/ +proto.penumbra.custody.v1alpha1.AuthorizeResponse.prototype.setData = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.custody.v1alpha1.AuthorizeResponse} returns this + */ +proto.penumbra.custody.v1alpha1.AuthorizeResponse.prototype.clearData = function() { + return this.setData(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.custody.v1alpha1.AuthorizeResponse.prototype.hasData = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.penumbra.custody.v1alpha1.PreAuthorization.oneofGroups_ = [[1]]; + +/** + * @enum {number} + */ +proto.penumbra.custody.v1alpha1.PreAuthorization.PreAuthorizationCase = { + PRE_AUTHORIZATION_NOT_SET: 0, + ED25519: 1 +}; + +/** + * @return {proto.penumbra.custody.v1alpha1.PreAuthorization.PreAuthorizationCase} + */ +proto.penumbra.custody.v1alpha1.PreAuthorization.prototype.getPreAuthorizationCase = function() { + return /** @type {proto.penumbra.custody.v1alpha1.PreAuthorization.PreAuthorizationCase} */(jspb.Message.computeOneofCase(this, proto.penumbra.custody.v1alpha1.PreAuthorization.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.custody.v1alpha1.PreAuthorization.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.custody.v1alpha1.PreAuthorization.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.custody.v1alpha1.PreAuthorization} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.custody.v1alpha1.PreAuthorization.toObject = function(includeInstance, msg) { + var f, obj = { + ed25519: (f = msg.getEd25519()) && proto.penumbra.custody.v1alpha1.PreAuthorization.Ed25519.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.custody.v1alpha1.PreAuthorization} + */ +proto.penumbra.custody.v1alpha1.PreAuthorization.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.custody.v1alpha1.PreAuthorization; + return proto.penumbra.custody.v1alpha1.PreAuthorization.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.custody.v1alpha1.PreAuthorization} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.custody.v1alpha1.PreAuthorization} + */ +proto.penumbra.custody.v1alpha1.PreAuthorization.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.custody.v1alpha1.PreAuthorization.Ed25519; + reader.readMessage(value,proto.penumbra.custody.v1alpha1.PreAuthorization.Ed25519.deserializeBinaryFromReader); + msg.setEd25519(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.custody.v1alpha1.PreAuthorization.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.custody.v1alpha1.PreAuthorization.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.custody.v1alpha1.PreAuthorization} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.custody.v1alpha1.PreAuthorization.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getEd25519(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.custody.v1alpha1.PreAuthorization.Ed25519.serializeBinaryToWriter + ); + } +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.custody.v1alpha1.PreAuthorization.Ed25519.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.custody.v1alpha1.PreAuthorization.Ed25519.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.custody.v1alpha1.PreAuthorization.Ed25519} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.custody.v1alpha1.PreAuthorization.Ed25519.toObject = function(includeInstance, msg) { + var f, obj = { + vk: msg.getVk_asB64(), + sig: msg.getSig_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.custody.v1alpha1.PreAuthorization.Ed25519} + */ +proto.penumbra.custody.v1alpha1.PreAuthorization.Ed25519.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.custody.v1alpha1.PreAuthorization.Ed25519; + return proto.penumbra.custody.v1alpha1.PreAuthorization.Ed25519.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.custody.v1alpha1.PreAuthorization.Ed25519} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.custody.v1alpha1.PreAuthorization.Ed25519} + */ +proto.penumbra.custody.v1alpha1.PreAuthorization.Ed25519.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setVk(value); + break; + case 2: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setSig(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.custody.v1alpha1.PreAuthorization.Ed25519.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.custody.v1alpha1.PreAuthorization.Ed25519.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.custody.v1alpha1.PreAuthorization.Ed25519} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.custody.v1alpha1.PreAuthorization.Ed25519.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getVk_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } + f = message.getSig_asU8(); + if (f.length > 0) { + writer.writeBytes( + 2, + f + ); + } +}; + + +/** + * optional bytes vk = 1; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.custody.v1alpha1.PreAuthorization.Ed25519.prototype.getVk = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes vk = 1; + * This is a type-conversion wrapper around `getVk()` + * @return {string} + */ +proto.penumbra.custody.v1alpha1.PreAuthorization.Ed25519.prototype.getVk_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getVk())); +}; + + +/** + * optional bytes vk = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getVk()` + * @return {!Uint8Array} + */ +proto.penumbra.custody.v1alpha1.PreAuthorization.Ed25519.prototype.getVk_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getVk())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.custody.v1alpha1.PreAuthorization.Ed25519} returns this + */ +proto.penumbra.custody.v1alpha1.PreAuthorization.Ed25519.prototype.setVk = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + +/** + * optional bytes sig = 2; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.custody.v1alpha1.PreAuthorization.Ed25519.prototype.getSig = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * optional bytes sig = 2; + * This is a type-conversion wrapper around `getSig()` + * @return {string} + */ +proto.penumbra.custody.v1alpha1.PreAuthorization.Ed25519.prototype.getSig_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getSig())); +}; + + +/** + * optional bytes sig = 2; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getSig()` + * @return {!Uint8Array} + */ +proto.penumbra.custody.v1alpha1.PreAuthorization.Ed25519.prototype.getSig_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getSig())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.custody.v1alpha1.PreAuthorization.Ed25519} returns this + */ +proto.penumbra.custody.v1alpha1.PreAuthorization.Ed25519.prototype.setSig = function(value) { + return jspb.Message.setProto3BytesField(this, 2, value); +}; + + +/** + * optional Ed25519 ed25519 = 1; + * @return {?proto.penumbra.custody.v1alpha1.PreAuthorization.Ed25519} + */ +proto.penumbra.custody.v1alpha1.PreAuthorization.prototype.getEd25519 = function() { + return /** @type{?proto.penumbra.custody.v1alpha1.PreAuthorization.Ed25519} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.custody.v1alpha1.PreAuthorization.Ed25519, 1)); +}; + + +/** + * @param {?proto.penumbra.custody.v1alpha1.PreAuthorization.Ed25519|undefined} value + * @return {!proto.penumbra.custody.v1alpha1.PreAuthorization} returns this +*/ +proto.penumbra.custody.v1alpha1.PreAuthorization.prototype.setEd25519 = function(value) { + return jspb.Message.setOneofWrapperField(this, 1, proto.penumbra.custody.v1alpha1.PreAuthorization.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.custody.v1alpha1.PreAuthorization} returns this + */ +proto.penumbra.custody.v1alpha1.PreAuthorization.prototype.clearEd25519 = function() { + return this.setEd25519(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.custody.v1alpha1.PreAuthorization.prototype.hasEd25519 = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +goog.object.extend(exports, proto.penumbra.custody.v1alpha1); diff --git a/src/chains/penumbra/generated/penumbra/storage/v1alpha1/storage_grpc_pb.js b/src/chains/penumbra/generated/penumbra/storage/v1alpha1/storage_grpc_pb.js new file mode 100644 index 0000000000..97b3a2461d --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/storage/v1alpha1/storage_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/src/chains/penumbra/generated/penumbra/storage/v1alpha1/storage_pb.d.ts b/src/chains/penumbra/generated/penumbra/storage/v1alpha1/storage_pb.d.ts new file mode 100644 index 0000000000..076f048c9d --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/storage/v1alpha1/storage_pb.d.ts @@ -0,0 +1,7 @@ +// package: penumbra.storage.v1alpha1 +// file: penumbra/storage/v1alpha1/storage.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; diff --git a/src/chains/penumbra/generated/penumbra/storage/v1alpha1/storage_pb.js b/src/chains/penumbra/generated/penumbra/storage/v1alpha1/storage_pb.js new file mode 100644 index 0000000000..588c9de730 --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/storage/v1alpha1/storage_pb.js @@ -0,0 +1,23 @@ +// source: penumbra/storage/v1alpha1/storage.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = (function() { + if (this) { return this; } + if (typeof window !== 'undefined') { return window; } + if (typeof global !== 'undefined') { return global; } + if (typeof self !== 'undefined') { return self; } + return Function('return this')(); +}.call(null)); + diff --git a/src/chains/penumbra/generated/penumbra/tools/summoning/v1alpha1/summoning_grpc_pb.d.ts b/src/chains/penumbra/generated/penumbra/tools/summoning/v1alpha1/summoning_grpc_pb.d.ts new file mode 100644 index 0000000000..84eb8a0237 --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/tools/summoning/v1alpha1/summoning_grpc_pb.d.ts @@ -0,0 +1,42 @@ +// package: penumbra.tools.summoning.v1alpha1 +// file: penumbra/tools/summoning/v1alpha1/summoning.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as grpc from "grpc"; +import * as penumbra_tools_summoning_v1alpha1_summoning_pb from "../../../../penumbra/tools/summoning/v1alpha1/summoning_pb"; +import * as penumbra_core_keys_v1alpha1_keys_pb from "../../../../penumbra/core/keys/v1alpha1/keys_pb"; +import * as penumbra_core_num_v1alpha1_num_pb from "../../../../penumbra/core/num/v1alpha1/num_pb"; + +interface ICeremonyCoordinatorServiceService extends grpc.ServiceDefinition { + participate: ICeremonyCoordinatorServiceService_IParticipate; +} + +interface ICeremonyCoordinatorServiceService_IParticipate extends grpc.MethodDefinition { + path: "/penumbra.tools.summoning.v1alpha1.CeremonyCoordinatorService/Participate"; + requestStream: true; + responseStream: true; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} + +export const CeremonyCoordinatorServiceService: ICeremonyCoordinatorServiceService; + +export interface ICeremonyCoordinatorServiceServer { + participate: grpc.handleBidiStreamingCall; +} + +export interface ICeremonyCoordinatorServiceClient { + participate(): grpc.ClientDuplexStream; + participate(options: Partial): grpc.ClientDuplexStream; + participate(metadata: grpc.Metadata, options?: Partial): grpc.ClientDuplexStream; +} + +export class CeremonyCoordinatorServiceClient extends grpc.Client implements ICeremonyCoordinatorServiceClient { + constructor(address: string, credentials: grpc.ChannelCredentials, options?: object); + public participate(options?: Partial): grpc.ClientDuplexStream; + public participate(metadata?: grpc.Metadata, options?: Partial): grpc.ClientDuplexStream; +} diff --git a/src/chains/penumbra/generated/penumbra/tools/summoning/v1alpha1/summoning_grpc_pb.js b/src/chains/penumbra/generated/penumbra/tools/summoning/v1alpha1/summoning_grpc_pb.js new file mode 100644 index 0000000000..e0db6b46d0 --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/tools/summoning/v1alpha1/summoning_grpc_pb.js @@ -0,0 +1,58 @@ +// GENERATED CODE -- DO NOT EDIT! + +'use strict'; +var grpc = require('@grpc/grpc-js'); +var penumbra_tools_summoning_v1alpha1_summoning_pb = require('../../../../penumbra/tools/summoning/v1alpha1/summoning_pb.js'); +var penumbra_core_keys_v1alpha1_keys_pb = require('../../../../penumbra/core/keys/v1alpha1/keys_pb.js'); +var penumbra_core_num_v1alpha1_num_pb = require('../../../../penumbra/core/num/v1alpha1/num_pb.js'); + +function serialize_penumbra_tools_summoning_v1alpha1_ParticipateRequest(arg) { + if (!(arg instanceof penumbra_tools_summoning_v1alpha1_summoning_pb.ParticipateRequest)) { + throw new Error('Expected argument of type penumbra.tools.summoning.v1alpha1.ParticipateRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_tools_summoning_v1alpha1_ParticipateRequest(buffer_arg) { + return penumbra_tools_summoning_v1alpha1_summoning_pb.ParticipateRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_tools_summoning_v1alpha1_ParticipateResponse(arg) { + if (!(arg instanceof penumbra_tools_summoning_v1alpha1_summoning_pb.ParticipateResponse)) { + throw new Error('Expected argument of type penumbra.tools.summoning.v1alpha1.ParticipateResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_tools_summoning_v1alpha1_ParticipateResponse(buffer_arg) { + return penumbra_tools_summoning_v1alpha1_summoning_pb.ParticipateResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + + +// Runs a Phase 2 MPC ceremony with dynamic slot allocation. +var CeremonyCoordinatorServiceService = exports.CeremonyCoordinatorServiceService = { + // The protocol used to participate in the ceremony. +// +// The message flow is +// ``` +// Client Server +// Identify ===========> +// <=========== Position (repeated) +// <=========== ContributeNow +// Contribution ===========> +// <=========== Confirm +// ``` +participate: { + path: '/penumbra.tools.summoning.v1alpha1.CeremonyCoordinatorService/Participate', + requestStream: true, + responseStream: true, + requestType: penumbra_tools_summoning_v1alpha1_summoning_pb.ParticipateRequest, + responseType: penumbra_tools_summoning_v1alpha1_summoning_pb.ParticipateResponse, + requestSerialize: serialize_penumbra_tools_summoning_v1alpha1_ParticipateRequest, + requestDeserialize: deserialize_penumbra_tools_summoning_v1alpha1_ParticipateRequest, + responseSerialize: serialize_penumbra_tools_summoning_v1alpha1_ParticipateResponse, + responseDeserialize: deserialize_penumbra_tools_summoning_v1alpha1_ParticipateResponse, + }, +}; + +exports.CeremonyCoordinatorServiceClient = grpc.makeGenericClientConstructor(CeremonyCoordinatorServiceService); diff --git a/src/chains/penumbra/generated/penumbra/tools/summoning/v1alpha1/summoning_pb.d.ts b/src/chains/penumbra/generated/penumbra/tools/summoning/v1alpha1/summoning_pb.d.ts new file mode 100644 index 0000000000..66fa391fb6 --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/tools/summoning/v1alpha1/summoning_pb.d.ts @@ -0,0 +1,388 @@ +// package: penumbra.tools.summoning.v1alpha1 +// file: penumbra/tools/summoning/v1alpha1/summoning.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as penumbra_core_keys_v1alpha1_keys_pb from "../../../../penumbra/core/keys/v1alpha1/keys_pb"; +import * as penumbra_core_num_v1alpha1_num_pb from "../../../../penumbra/core/num/v1alpha1/num_pb"; + +export class ParticipateRequest extends jspb.Message { + + hasIdentify(): boolean; + clearIdentify(): void; + getIdentify(): ParticipateRequest.Identify | undefined; + setIdentify(value?: ParticipateRequest.Identify): ParticipateRequest; + + hasContribution(): boolean; + clearContribution(): void; + getContribution(): ParticipateRequest.Contribution | undefined; + setContribution(value?: ParticipateRequest.Contribution): ParticipateRequest; + + getMsgCase(): ParticipateRequest.MsgCase; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ParticipateRequest.AsObject; + static toObject(includeInstance: boolean, msg: ParticipateRequest): ParticipateRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ParticipateRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ParticipateRequest; + static deserializeBinaryFromReader(message: ParticipateRequest, reader: jspb.BinaryReader): ParticipateRequest; +} + +export namespace ParticipateRequest { + export type AsObject = { + identify?: ParticipateRequest.Identify.AsObject, + contribution?: ParticipateRequest.Contribution.AsObject, + } + + + export class Identify extends jspb.Message { + + hasAddress(): boolean; + clearAddress(): void; + getAddress(): penumbra_core_keys_v1alpha1_keys_pb.Address | undefined; + setAddress(value?: penumbra_core_keys_v1alpha1_keys_pb.Address): Identify; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Identify.AsObject; + static toObject(includeInstance: boolean, msg: Identify): Identify.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Identify, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Identify; + static deserializeBinaryFromReader(message: Identify, reader: jspb.BinaryReader): Identify; + } + + export namespace Identify { + export type AsObject = { + address?: penumbra_core_keys_v1alpha1_keys_pb.Address.AsObject, + } + } + + export class Contribution extends jspb.Message { + + hasUpdated(): boolean; + clearUpdated(): void; + getUpdated(): CeremonyCrs | undefined; + setUpdated(value?: CeremonyCrs): Contribution; + + hasUpdateProofs(): boolean; + clearUpdateProofs(): void; + getUpdateProofs(): CeremonyLinkingProof | undefined; + setUpdateProofs(value?: CeremonyLinkingProof): Contribution; + + hasParentHashes(): boolean; + clearParentHashes(): void; + getParentHashes(): CeremonyParentHashes | undefined; + setParentHashes(value?: CeremonyParentHashes): Contribution; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Contribution.AsObject; + static toObject(includeInstance: boolean, msg: Contribution): Contribution.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Contribution, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Contribution; + static deserializeBinaryFromReader(message: Contribution, reader: jspb.BinaryReader): Contribution; + } + + export namespace Contribution { + export type AsObject = { + updated?: CeremonyCrs.AsObject, + updateProofs?: CeremonyLinkingProof.AsObject, + parentHashes?: CeremonyParentHashes.AsObject, + } + } + + + export enum MsgCase { + MSG_NOT_SET = 0, + IDENTIFY = 1, + CONTRIBUTION = 2, + } + +} + +export class CeremonyCrs extends jspb.Message { + getSpend(): Uint8Array | string; + getSpend_asU8(): Uint8Array; + getSpend_asB64(): string; + setSpend(value: Uint8Array | string): CeremonyCrs; + getOutput(): Uint8Array | string; + getOutput_asU8(): Uint8Array; + getOutput_asB64(): string; + setOutput(value: Uint8Array | string): CeremonyCrs; + getDelegatorVote(): Uint8Array | string; + getDelegatorVote_asU8(): Uint8Array; + getDelegatorVote_asB64(): string; + setDelegatorVote(value: Uint8Array | string): CeremonyCrs; + getUndelegateClaim(): Uint8Array | string; + getUndelegateClaim_asU8(): Uint8Array; + getUndelegateClaim_asB64(): string; + setUndelegateClaim(value: Uint8Array | string): CeremonyCrs; + getSwap(): Uint8Array | string; + getSwap_asU8(): Uint8Array; + getSwap_asB64(): string; + setSwap(value: Uint8Array | string): CeremonyCrs; + getSwapClaim(): Uint8Array | string; + getSwapClaim_asU8(): Uint8Array; + getSwapClaim_asB64(): string; + setSwapClaim(value: Uint8Array | string): CeremonyCrs; + getNulliferDerivationCrs(): Uint8Array | string; + getNulliferDerivationCrs_asU8(): Uint8Array; + getNulliferDerivationCrs_asB64(): string; + setNulliferDerivationCrs(value: Uint8Array | string): CeremonyCrs; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): CeremonyCrs.AsObject; + static toObject(includeInstance: boolean, msg: CeremonyCrs): CeremonyCrs.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: CeremonyCrs, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): CeremonyCrs; + static deserializeBinaryFromReader(message: CeremonyCrs, reader: jspb.BinaryReader): CeremonyCrs; +} + +export namespace CeremonyCrs { + export type AsObject = { + spend: Uint8Array | string, + output: Uint8Array | string, + delegatorVote: Uint8Array | string, + undelegateClaim: Uint8Array | string, + swap: Uint8Array | string, + swapClaim: Uint8Array | string, + nulliferDerivationCrs: Uint8Array | string, + } +} + +export class CeremonyLinkingProof extends jspb.Message { + getSpend(): Uint8Array | string; + getSpend_asU8(): Uint8Array; + getSpend_asB64(): string; + setSpend(value: Uint8Array | string): CeremonyLinkingProof; + getOutput(): Uint8Array | string; + getOutput_asU8(): Uint8Array; + getOutput_asB64(): string; + setOutput(value: Uint8Array | string): CeremonyLinkingProof; + getDelegatorVote(): Uint8Array | string; + getDelegatorVote_asU8(): Uint8Array; + getDelegatorVote_asB64(): string; + setDelegatorVote(value: Uint8Array | string): CeremonyLinkingProof; + getUndelegateClaim(): Uint8Array | string; + getUndelegateClaim_asU8(): Uint8Array; + getUndelegateClaim_asB64(): string; + setUndelegateClaim(value: Uint8Array | string): CeremonyLinkingProof; + getSwap(): Uint8Array | string; + getSwap_asU8(): Uint8Array; + getSwap_asB64(): string; + setSwap(value: Uint8Array | string): CeremonyLinkingProof; + getSwapClaim(): Uint8Array | string; + getSwapClaim_asU8(): Uint8Array; + getSwapClaim_asB64(): string; + setSwapClaim(value: Uint8Array | string): CeremonyLinkingProof; + getNulliferDerivationCrs(): Uint8Array | string; + getNulliferDerivationCrs_asU8(): Uint8Array; + getNulliferDerivationCrs_asB64(): string; + setNulliferDerivationCrs(value: Uint8Array | string): CeremonyLinkingProof; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): CeremonyLinkingProof.AsObject; + static toObject(includeInstance: boolean, msg: CeremonyLinkingProof): CeremonyLinkingProof.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: CeremonyLinkingProof, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): CeremonyLinkingProof; + static deserializeBinaryFromReader(message: CeremonyLinkingProof, reader: jspb.BinaryReader): CeremonyLinkingProof; +} + +export namespace CeremonyLinkingProof { + export type AsObject = { + spend: Uint8Array | string, + output: Uint8Array | string, + delegatorVote: Uint8Array | string, + undelegateClaim: Uint8Array | string, + swap: Uint8Array | string, + swapClaim: Uint8Array | string, + nulliferDerivationCrs: Uint8Array | string, + } +} + +export class CeremonyParentHashes extends jspb.Message { + getSpend(): Uint8Array | string; + getSpend_asU8(): Uint8Array; + getSpend_asB64(): string; + setSpend(value: Uint8Array | string): CeremonyParentHashes; + getOutput(): Uint8Array | string; + getOutput_asU8(): Uint8Array; + getOutput_asB64(): string; + setOutput(value: Uint8Array | string): CeremonyParentHashes; + getDelegatorVote(): Uint8Array | string; + getDelegatorVote_asU8(): Uint8Array; + getDelegatorVote_asB64(): string; + setDelegatorVote(value: Uint8Array | string): CeremonyParentHashes; + getUndelegateClaim(): Uint8Array | string; + getUndelegateClaim_asU8(): Uint8Array; + getUndelegateClaim_asB64(): string; + setUndelegateClaim(value: Uint8Array | string): CeremonyParentHashes; + getSwap(): Uint8Array | string; + getSwap_asU8(): Uint8Array; + getSwap_asB64(): string; + setSwap(value: Uint8Array | string): CeremonyParentHashes; + getSwapClaim(): Uint8Array | string; + getSwapClaim_asU8(): Uint8Array; + getSwapClaim_asB64(): string; + setSwapClaim(value: Uint8Array | string): CeremonyParentHashes; + getNulliferDerivationCrs(): Uint8Array | string; + getNulliferDerivationCrs_asU8(): Uint8Array; + getNulliferDerivationCrs_asB64(): string; + setNulliferDerivationCrs(value: Uint8Array | string): CeremonyParentHashes; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): CeremonyParentHashes.AsObject; + static toObject(includeInstance: boolean, msg: CeremonyParentHashes): CeremonyParentHashes.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: CeremonyParentHashes, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): CeremonyParentHashes; + static deserializeBinaryFromReader(message: CeremonyParentHashes, reader: jspb.BinaryReader): CeremonyParentHashes; +} + +export namespace CeremonyParentHashes { + export type AsObject = { + spend: Uint8Array | string, + output: Uint8Array | string, + delegatorVote: Uint8Array | string, + undelegateClaim: Uint8Array | string, + swap: Uint8Array | string, + swapClaim: Uint8Array | string, + nulliferDerivationCrs: Uint8Array | string, + } +} + +export class ParticipateResponse extends jspb.Message { + + hasPosition(): boolean; + clearPosition(): void; + getPosition(): ParticipateResponse.Position | undefined; + setPosition(value?: ParticipateResponse.Position): ParticipateResponse; + + hasContributeNow(): boolean; + clearContributeNow(): void; + getContributeNow(): ParticipateResponse.ContributeNow | undefined; + setContributeNow(value?: ParticipateResponse.ContributeNow): ParticipateResponse; + + hasConfirm(): boolean; + clearConfirm(): void; + getConfirm(): ParticipateResponse.Confirm | undefined; + setConfirm(value?: ParticipateResponse.Confirm): ParticipateResponse; + + getMsgCase(): ParticipateResponse.MsgCase; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ParticipateResponse.AsObject; + static toObject(includeInstance: boolean, msg: ParticipateResponse): ParticipateResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ParticipateResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ParticipateResponse; + static deserializeBinaryFromReader(message: ParticipateResponse, reader: jspb.BinaryReader): ParticipateResponse; +} + +export namespace ParticipateResponse { + export type AsObject = { + position?: ParticipateResponse.Position.AsObject, + contributeNow?: ParticipateResponse.ContributeNow.AsObject, + confirm?: ParticipateResponse.Confirm.AsObject, + } + + + export class Position extends jspb.Message { + getPosition(): number; + setPosition(value: number): Position; + getConnectedParticipants(): number; + setConnectedParticipants(value: number): Position; + + hasLastSlotBid(): boolean; + clearLastSlotBid(): void; + getLastSlotBid(): penumbra_core_num_v1alpha1_num_pb.Amount | undefined; + setLastSlotBid(value?: penumbra_core_num_v1alpha1_num_pb.Amount): Position; + + hasYourBid(): boolean; + clearYourBid(): void; + getYourBid(): penumbra_core_num_v1alpha1_num_pb.Amount | undefined; + setYourBid(value?: penumbra_core_num_v1alpha1_num_pb.Amount): Position; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Position.AsObject; + static toObject(includeInstance: boolean, msg: Position): Position.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Position, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Position; + static deserializeBinaryFromReader(message: Position, reader: jspb.BinaryReader): Position; + } + + export namespace Position { + export type AsObject = { + position: number, + connectedParticipants: number, + lastSlotBid?: penumbra_core_num_v1alpha1_num_pb.Amount.AsObject, + yourBid?: penumbra_core_num_v1alpha1_num_pb.Amount.AsObject, + } + } + + export class ContributeNow extends jspb.Message { + + hasParent(): boolean; + clearParent(): void; + getParent(): CeremonyCrs | undefined; + setParent(value?: CeremonyCrs): ContributeNow; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ContributeNow.AsObject; + static toObject(includeInstance: boolean, msg: ContributeNow): ContributeNow.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ContributeNow, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ContributeNow; + static deserializeBinaryFromReader(message: ContributeNow, reader: jspb.BinaryReader): ContributeNow; + } + + export namespace ContributeNow { + export type AsObject = { + parent?: CeremonyCrs.AsObject, + } + } + + export class Confirm extends jspb.Message { + getSlot(): number; + setSlot(value: number): Confirm; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Confirm.AsObject; + static toObject(includeInstance: boolean, msg: Confirm): Confirm.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Confirm, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Confirm; + static deserializeBinaryFromReader(message: Confirm, reader: jspb.BinaryReader): Confirm; + } + + export namespace Confirm { + export type AsObject = { + slot: number, + } + } + + + export enum MsgCase { + MSG_NOT_SET = 0, + POSITION = 1, + CONTRIBUTE_NOW = 2, + CONFIRM = 3, + } + +} diff --git a/src/chains/penumbra/generated/penumbra/tools/summoning/v1alpha1/summoning_pb.js b/src/chains/penumbra/generated/penumbra/tools/summoning/v1alpha1/summoning_pb.js new file mode 100644 index 0000000000..9299cc0a27 --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/tools/summoning/v1alpha1/summoning_pb.js @@ -0,0 +1,3139 @@ +// source: penumbra/tools/summoning/v1alpha1/summoning.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = (function() { + if (this) { return this; } + if (typeof window !== 'undefined') { return window; } + if (typeof global !== 'undefined') { return global; } + if (typeof self !== 'undefined') { return self; } + return Function('return this')(); +}.call(null)); + +var penumbra_core_keys_v1alpha1_keys_pb = require('../../../../penumbra/core/keys/v1alpha1/keys_pb.js'); +goog.object.extend(proto, penumbra_core_keys_v1alpha1_keys_pb); +var penumbra_core_num_v1alpha1_num_pb = require('../../../../penumbra/core/num/v1alpha1/num_pb.js'); +goog.object.extend(proto, penumbra_core_num_v1alpha1_num_pb); +goog.exportSymbol('proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs', null, global); +goog.exportSymbol('proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof', null, global); +goog.exportSymbol('proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes', null, global); +goog.exportSymbol('proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest', null, global); +goog.exportSymbol('proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Contribution', null, global); +goog.exportSymbol('proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Identify', null, global); +goog.exportSymbol('proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.MsgCase', null, global); +goog.exportSymbol('proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse', null, global); +goog.exportSymbol('proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Confirm', null, global); +goog.exportSymbol('proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.ContributeNow', null, global); +goog.exportSymbol('proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.MsgCase', null, global); +goog.exportSymbol('proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Position', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.oneofGroups_); +}; +goog.inherits(proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.displayName = 'proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Identify = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Identify, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Identify.displayName = 'proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Identify'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Contribution = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Contribution, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Contribution.displayName = 'proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Contribution'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs.displayName = 'proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof.displayName = 'proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes.displayName = 'proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.oneofGroups_); +}; +goog.inherits(proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.displayName = 'proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Position = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Position, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Position.displayName = 'proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Position'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.ContributeNow = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.ContributeNow, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.ContributeNow.displayName = 'proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.ContributeNow'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Confirm = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Confirm, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Confirm.displayName = 'proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Confirm'; +} + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.oneofGroups_ = [[1,2]]; + +/** + * @enum {number} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.MsgCase = { + MSG_NOT_SET: 0, + IDENTIFY: 1, + CONTRIBUTION: 2 +}; + +/** + * @return {proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.MsgCase} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.prototype.getMsgCase = function() { + return /** @type {proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.MsgCase} */(jspb.Message.computeOneofCase(this, proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.toObject = function(includeInstance, msg) { + var f, obj = { + identify: (f = msg.getIdentify()) && proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Identify.toObject(includeInstance, f), + contribution: (f = msg.getContribution()) && proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Contribution.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest; + return proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Identify; + reader.readMessage(value,proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Identify.deserializeBinaryFromReader); + msg.setIdentify(value); + break; + case 2: + var value = new proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Contribution; + reader.readMessage(value,proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Contribution.deserializeBinaryFromReader); + msg.setContribution(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getIdentify(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Identify.serializeBinaryToWriter + ); + } + f = message.getContribution(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Contribution.serializeBinaryToWriter + ); + } +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Identify.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Identify.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Identify} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Identify.toObject = function(includeInstance, msg) { + var f, obj = { + address: (f = msg.getAddress()) && penumbra_core_keys_v1alpha1_keys_pb.Address.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Identify} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Identify.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Identify; + return proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Identify.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Identify} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Identify} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Identify.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_keys_v1alpha1_keys_pb.Address; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.Address.deserializeBinaryFromReader); + msg.setAddress(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Identify.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Identify.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Identify} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Identify.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getAddress(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_keys_v1alpha1_keys_pb.Address.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.keys.v1alpha1.Address address = 1; + * @return {?proto.penumbra.core.keys.v1alpha1.Address} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Identify.prototype.getAddress = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.Address} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.Address, 1)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.Address|undefined} value + * @return {!proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Identify} returns this +*/ +proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Identify.prototype.setAddress = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Identify} returns this + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Identify.prototype.clearAddress = function() { + return this.setAddress(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Identify.prototype.hasAddress = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Contribution.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Contribution.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Contribution} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Contribution.toObject = function(includeInstance, msg) { + var f, obj = { + updated: (f = msg.getUpdated()) && proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs.toObject(includeInstance, f), + updateProofs: (f = msg.getUpdateProofs()) && proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof.toObject(includeInstance, f), + parentHashes: (f = msg.getParentHashes()) && proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Contribution} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Contribution.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Contribution; + return proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Contribution.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Contribution} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Contribution} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Contribution.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs; + reader.readMessage(value,proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs.deserializeBinaryFromReader); + msg.setUpdated(value); + break; + case 2: + var value = new proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof; + reader.readMessage(value,proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof.deserializeBinaryFromReader); + msg.setUpdateProofs(value); + break; + case 3: + var value = new proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes; + reader.readMessage(value,proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes.deserializeBinaryFromReader); + msg.setParentHashes(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Contribution.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Contribution.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Contribution} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Contribution.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getUpdated(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs.serializeBinaryToWriter + ); + } + f = message.getUpdateProofs(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof.serializeBinaryToWriter + ); + } + f = message.getParentHashes(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes.serializeBinaryToWriter + ); + } +}; + + +/** + * optional CeremonyCrs updated = 1; + * @return {?proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Contribution.prototype.getUpdated = function() { + return /** @type{?proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs, 1)); +}; + + +/** + * @param {?proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs|undefined} value + * @return {!proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Contribution} returns this +*/ +proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Contribution.prototype.setUpdated = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Contribution} returns this + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Contribution.prototype.clearUpdated = function() { + return this.setUpdated(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Contribution.prototype.hasUpdated = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional CeremonyLinkingProof update_proofs = 2; + * @return {?proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Contribution.prototype.getUpdateProofs = function() { + return /** @type{?proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof, 2)); +}; + + +/** + * @param {?proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof|undefined} value + * @return {!proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Contribution} returns this +*/ +proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Contribution.prototype.setUpdateProofs = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Contribution} returns this + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Contribution.prototype.clearUpdateProofs = function() { + return this.setUpdateProofs(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Contribution.prototype.hasUpdateProofs = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional CeremonyParentHashes parent_hashes = 3; + * @return {?proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Contribution.prototype.getParentHashes = function() { + return /** @type{?proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes, 3)); +}; + + +/** + * @param {?proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes|undefined} value + * @return {!proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Contribution} returns this +*/ +proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Contribution.prototype.setParentHashes = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Contribution} returns this + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Contribution.prototype.clearParentHashes = function() { + return this.setParentHashes(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Contribution.prototype.hasParentHashes = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional Identify identify = 1; + * @return {?proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Identify} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.prototype.getIdentify = function() { + return /** @type{?proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Identify} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Identify, 1)); +}; + + +/** + * @param {?proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Identify|undefined} value + * @return {!proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest} returns this +*/ +proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.prototype.setIdentify = function(value) { + return jspb.Message.setOneofWrapperField(this, 1, proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest} returns this + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.prototype.clearIdentify = function() { + return this.setIdentify(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.prototype.hasIdentify = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional Contribution contribution = 2; + * @return {?proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Contribution} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.prototype.getContribution = function() { + return /** @type{?proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Contribution} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Contribution, 2)); +}; + + +/** + * @param {?proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.Contribution|undefined} value + * @return {!proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest} returns this +*/ +proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.prototype.setContribution = function(value) { + return jspb.Message.setOneofWrapperField(this, 2, proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest} returns this + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.prototype.clearContribution = function() { + return this.setContribution(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateRequest.prototype.hasContribution = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs.toObject = function(includeInstance, msg) { + var f, obj = { + spend: msg.getSpend_asB64(), + output: msg.getOutput_asB64(), + delegatorVote: msg.getDelegatorVote_asB64(), + undelegateClaim: msg.getUndelegateClaim_asB64(), + swap: msg.getSwap_asB64(), + swapClaim: msg.getSwapClaim_asB64(), + nulliferDerivationCrs: msg.getNulliferDerivationCrs_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs; + return proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 100: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setSpend(value); + break; + case 101: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setOutput(value); + break; + case 102: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setDelegatorVote(value); + break; + case 103: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setUndelegateClaim(value); + break; + case 104: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setSwap(value); + break; + case 105: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setSwapClaim(value); + break; + case 106: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setNulliferDerivationCrs(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSpend_asU8(); + if (f.length > 0) { + writer.writeBytes( + 100, + f + ); + } + f = message.getOutput_asU8(); + if (f.length > 0) { + writer.writeBytes( + 101, + f + ); + } + f = message.getDelegatorVote_asU8(); + if (f.length > 0) { + writer.writeBytes( + 102, + f + ); + } + f = message.getUndelegateClaim_asU8(); + if (f.length > 0) { + writer.writeBytes( + 103, + f + ); + } + f = message.getSwap_asU8(); + if (f.length > 0) { + writer.writeBytes( + 104, + f + ); + } + f = message.getSwapClaim_asU8(); + if (f.length > 0) { + writer.writeBytes( + 105, + f + ); + } + f = message.getNulliferDerivationCrs_asU8(); + if (f.length > 0) { + writer.writeBytes( + 106, + f + ); + } +}; + + +/** + * optional bytes spend = 100; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs.prototype.getSpend = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 100, "")); +}; + + +/** + * optional bytes spend = 100; + * This is a type-conversion wrapper around `getSpend()` + * @return {string} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs.prototype.getSpend_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getSpend())); +}; + + +/** + * optional bytes spend = 100; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getSpend()` + * @return {!Uint8Array} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs.prototype.getSpend_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getSpend())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs} returns this + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs.prototype.setSpend = function(value) { + return jspb.Message.setProto3BytesField(this, 100, value); +}; + + +/** + * optional bytes output = 101; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs.prototype.getOutput = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 101, "")); +}; + + +/** + * optional bytes output = 101; + * This is a type-conversion wrapper around `getOutput()` + * @return {string} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs.prototype.getOutput_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getOutput())); +}; + + +/** + * optional bytes output = 101; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getOutput()` + * @return {!Uint8Array} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs.prototype.getOutput_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getOutput())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs} returns this + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs.prototype.setOutput = function(value) { + return jspb.Message.setProto3BytesField(this, 101, value); +}; + + +/** + * optional bytes delegator_vote = 102; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs.prototype.getDelegatorVote = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 102, "")); +}; + + +/** + * optional bytes delegator_vote = 102; + * This is a type-conversion wrapper around `getDelegatorVote()` + * @return {string} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs.prototype.getDelegatorVote_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getDelegatorVote())); +}; + + +/** + * optional bytes delegator_vote = 102; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getDelegatorVote()` + * @return {!Uint8Array} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs.prototype.getDelegatorVote_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getDelegatorVote())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs} returns this + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs.prototype.setDelegatorVote = function(value) { + return jspb.Message.setProto3BytesField(this, 102, value); +}; + + +/** + * optional bytes undelegate_claim = 103; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs.prototype.getUndelegateClaim = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 103, "")); +}; + + +/** + * optional bytes undelegate_claim = 103; + * This is a type-conversion wrapper around `getUndelegateClaim()` + * @return {string} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs.prototype.getUndelegateClaim_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getUndelegateClaim())); +}; + + +/** + * optional bytes undelegate_claim = 103; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getUndelegateClaim()` + * @return {!Uint8Array} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs.prototype.getUndelegateClaim_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getUndelegateClaim())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs} returns this + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs.prototype.setUndelegateClaim = function(value) { + return jspb.Message.setProto3BytesField(this, 103, value); +}; + + +/** + * optional bytes swap = 104; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs.prototype.getSwap = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 104, "")); +}; + + +/** + * optional bytes swap = 104; + * This is a type-conversion wrapper around `getSwap()` + * @return {string} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs.prototype.getSwap_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getSwap())); +}; + + +/** + * optional bytes swap = 104; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getSwap()` + * @return {!Uint8Array} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs.prototype.getSwap_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getSwap())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs} returns this + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs.prototype.setSwap = function(value) { + return jspb.Message.setProto3BytesField(this, 104, value); +}; + + +/** + * optional bytes swap_claim = 105; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs.prototype.getSwapClaim = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 105, "")); +}; + + +/** + * optional bytes swap_claim = 105; + * This is a type-conversion wrapper around `getSwapClaim()` + * @return {string} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs.prototype.getSwapClaim_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getSwapClaim())); +}; + + +/** + * optional bytes swap_claim = 105; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getSwapClaim()` + * @return {!Uint8Array} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs.prototype.getSwapClaim_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getSwapClaim())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs} returns this + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs.prototype.setSwapClaim = function(value) { + return jspb.Message.setProto3BytesField(this, 105, value); +}; + + +/** + * optional bytes nullifer_derivation_crs = 106; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs.prototype.getNulliferDerivationCrs = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 106, "")); +}; + + +/** + * optional bytes nullifer_derivation_crs = 106; + * This is a type-conversion wrapper around `getNulliferDerivationCrs()` + * @return {string} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs.prototype.getNulliferDerivationCrs_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getNulliferDerivationCrs())); +}; + + +/** + * optional bytes nullifer_derivation_crs = 106; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getNulliferDerivationCrs()` + * @return {!Uint8Array} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs.prototype.getNulliferDerivationCrs_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getNulliferDerivationCrs())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs} returns this + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs.prototype.setNulliferDerivationCrs = function(value) { + return jspb.Message.setProto3BytesField(this, 106, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof.toObject = function(includeInstance, msg) { + var f, obj = { + spend: msg.getSpend_asB64(), + output: msg.getOutput_asB64(), + delegatorVote: msg.getDelegatorVote_asB64(), + undelegateClaim: msg.getUndelegateClaim_asB64(), + swap: msg.getSwap_asB64(), + swapClaim: msg.getSwapClaim_asB64(), + nulliferDerivationCrs: msg.getNulliferDerivationCrs_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof; + return proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 100: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setSpend(value); + break; + case 101: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setOutput(value); + break; + case 102: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setDelegatorVote(value); + break; + case 103: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setUndelegateClaim(value); + break; + case 104: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setSwap(value); + break; + case 105: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setSwapClaim(value); + break; + case 106: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setNulliferDerivationCrs(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSpend_asU8(); + if (f.length > 0) { + writer.writeBytes( + 100, + f + ); + } + f = message.getOutput_asU8(); + if (f.length > 0) { + writer.writeBytes( + 101, + f + ); + } + f = message.getDelegatorVote_asU8(); + if (f.length > 0) { + writer.writeBytes( + 102, + f + ); + } + f = message.getUndelegateClaim_asU8(); + if (f.length > 0) { + writer.writeBytes( + 103, + f + ); + } + f = message.getSwap_asU8(); + if (f.length > 0) { + writer.writeBytes( + 104, + f + ); + } + f = message.getSwapClaim_asU8(); + if (f.length > 0) { + writer.writeBytes( + 105, + f + ); + } + f = message.getNulliferDerivationCrs_asU8(); + if (f.length > 0) { + writer.writeBytes( + 106, + f + ); + } +}; + + +/** + * optional bytes spend = 100; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof.prototype.getSpend = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 100, "")); +}; + + +/** + * optional bytes spend = 100; + * This is a type-conversion wrapper around `getSpend()` + * @return {string} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof.prototype.getSpend_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getSpend())); +}; + + +/** + * optional bytes spend = 100; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getSpend()` + * @return {!Uint8Array} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof.prototype.getSpend_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getSpend())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof} returns this + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof.prototype.setSpend = function(value) { + return jspb.Message.setProto3BytesField(this, 100, value); +}; + + +/** + * optional bytes output = 101; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof.prototype.getOutput = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 101, "")); +}; + + +/** + * optional bytes output = 101; + * This is a type-conversion wrapper around `getOutput()` + * @return {string} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof.prototype.getOutput_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getOutput())); +}; + + +/** + * optional bytes output = 101; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getOutput()` + * @return {!Uint8Array} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof.prototype.getOutput_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getOutput())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof} returns this + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof.prototype.setOutput = function(value) { + return jspb.Message.setProto3BytesField(this, 101, value); +}; + + +/** + * optional bytes delegator_vote = 102; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof.prototype.getDelegatorVote = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 102, "")); +}; + + +/** + * optional bytes delegator_vote = 102; + * This is a type-conversion wrapper around `getDelegatorVote()` + * @return {string} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof.prototype.getDelegatorVote_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getDelegatorVote())); +}; + + +/** + * optional bytes delegator_vote = 102; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getDelegatorVote()` + * @return {!Uint8Array} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof.prototype.getDelegatorVote_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getDelegatorVote())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof} returns this + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof.prototype.setDelegatorVote = function(value) { + return jspb.Message.setProto3BytesField(this, 102, value); +}; + + +/** + * optional bytes undelegate_claim = 103; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof.prototype.getUndelegateClaim = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 103, "")); +}; + + +/** + * optional bytes undelegate_claim = 103; + * This is a type-conversion wrapper around `getUndelegateClaim()` + * @return {string} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof.prototype.getUndelegateClaim_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getUndelegateClaim())); +}; + + +/** + * optional bytes undelegate_claim = 103; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getUndelegateClaim()` + * @return {!Uint8Array} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof.prototype.getUndelegateClaim_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getUndelegateClaim())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof} returns this + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof.prototype.setUndelegateClaim = function(value) { + return jspb.Message.setProto3BytesField(this, 103, value); +}; + + +/** + * optional bytes swap = 104; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof.prototype.getSwap = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 104, "")); +}; + + +/** + * optional bytes swap = 104; + * This is a type-conversion wrapper around `getSwap()` + * @return {string} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof.prototype.getSwap_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getSwap())); +}; + + +/** + * optional bytes swap = 104; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getSwap()` + * @return {!Uint8Array} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof.prototype.getSwap_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getSwap())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof} returns this + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof.prototype.setSwap = function(value) { + return jspb.Message.setProto3BytesField(this, 104, value); +}; + + +/** + * optional bytes swap_claim = 105; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof.prototype.getSwapClaim = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 105, "")); +}; + + +/** + * optional bytes swap_claim = 105; + * This is a type-conversion wrapper around `getSwapClaim()` + * @return {string} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof.prototype.getSwapClaim_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getSwapClaim())); +}; + + +/** + * optional bytes swap_claim = 105; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getSwapClaim()` + * @return {!Uint8Array} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof.prototype.getSwapClaim_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getSwapClaim())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof} returns this + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof.prototype.setSwapClaim = function(value) { + return jspb.Message.setProto3BytesField(this, 105, value); +}; + + +/** + * optional bytes nullifer_derivation_crs = 106; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof.prototype.getNulliferDerivationCrs = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 106, "")); +}; + + +/** + * optional bytes nullifer_derivation_crs = 106; + * This is a type-conversion wrapper around `getNulliferDerivationCrs()` + * @return {string} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof.prototype.getNulliferDerivationCrs_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getNulliferDerivationCrs())); +}; + + +/** + * optional bytes nullifer_derivation_crs = 106; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getNulliferDerivationCrs()` + * @return {!Uint8Array} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof.prototype.getNulliferDerivationCrs_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getNulliferDerivationCrs())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof} returns this + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyLinkingProof.prototype.setNulliferDerivationCrs = function(value) { + return jspb.Message.setProto3BytesField(this, 106, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes.toObject = function(includeInstance, msg) { + var f, obj = { + spend: msg.getSpend_asB64(), + output: msg.getOutput_asB64(), + delegatorVote: msg.getDelegatorVote_asB64(), + undelegateClaim: msg.getUndelegateClaim_asB64(), + swap: msg.getSwap_asB64(), + swapClaim: msg.getSwapClaim_asB64(), + nulliferDerivationCrs: msg.getNulliferDerivationCrs_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes; + return proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 100: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setSpend(value); + break; + case 101: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setOutput(value); + break; + case 102: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setDelegatorVote(value); + break; + case 103: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setUndelegateClaim(value); + break; + case 104: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setSwap(value); + break; + case 105: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setSwapClaim(value); + break; + case 106: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setNulliferDerivationCrs(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSpend_asU8(); + if (f.length > 0) { + writer.writeBytes( + 100, + f + ); + } + f = message.getOutput_asU8(); + if (f.length > 0) { + writer.writeBytes( + 101, + f + ); + } + f = message.getDelegatorVote_asU8(); + if (f.length > 0) { + writer.writeBytes( + 102, + f + ); + } + f = message.getUndelegateClaim_asU8(); + if (f.length > 0) { + writer.writeBytes( + 103, + f + ); + } + f = message.getSwap_asU8(); + if (f.length > 0) { + writer.writeBytes( + 104, + f + ); + } + f = message.getSwapClaim_asU8(); + if (f.length > 0) { + writer.writeBytes( + 105, + f + ); + } + f = message.getNulliferDerivationCrs_asU8(); + if (f.length > 0) { + writer.writeBytes( + 106, + f + ); + } +}; + + +/** + * optional bytes spend = 100; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes.prototype.getSpend = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 100, "")); +}; + + +/** + * optional bytes spend = 100; + * This is a type-conversion wrapper around `getSpend()` + * @return {string} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes.prototype.getSpend_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getSpend())); +}; + + +/** + * optional bytes spend = 100; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getSpend()` + * @return {!Uint8Array} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes.prototype.getSpend_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getSpend())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes} returns this + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes.prototype.setSpend = function(value) { + return jspb.Message.setProto3BytesField(this, 100, value); +}; + + +/** + * optional bytes output = 101; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes.prototype.getOutput = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 101, "")); +}; + + +/** + * optional bytes output = 101; + * This is a type-conversion wrapper around `getOutput()` + * @return {string} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes.prototype.getOutput_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getOutput())); +}; + + +/** + * optional bytes output = 101; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getOutput()` + * @return {!Uint8Array} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes.prototype.getOutput_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getOutput())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes} returns this + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes.prototype.setOutput = function(value) { + return jspb.Message.setProto3BytesField(this, 101, value); +}; + + +/** + * optional bytes delegator_vote = 102; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes.prototype.getDelegatorVote = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 102, "")); +}; + + +/** + * optional bytes delegator_vote = 102; + * This is a type-conversion wrapper around `getDelegatorVote()` + * @return {string} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes.prototype.getDelegatorVote_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getDelegatorVote())); +}; + + +/** + * optional bytes delegator_vote = 102; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getDelegatorVote()` + * @return {!Uint8Array} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes.prototype.getDelegatorVote_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getDelegatorVote())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes} returns this + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes.prototype.setDelegatorVote = function(value) { + return jspb.Message.setProto3BytesField(this, 102, value); +}; + + +/** + * optional bytes undelegate_claim = 103; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes.prototype.getUndelegateClaim = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 103, "")); +}; + + +/** + * optional bytes undelegate_claim = 103; + * This is a type-conversion wrapper around `getUndelegateClaim()` + * @return {string} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes.prototype.getUndelegateClaim_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getUndelegateClaim())); +}; + + +/** + * optional bytes undelegate_claim = 103; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getUndelegateClaim()` + * @return {!Uint8Array} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes.prototype.getUndelegateClaim_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getUndelegateClaim())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes} returns this + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes.prototype.setUndelegateClaim = function(value) { + return jspb.Message.setProto3BytesField(this, 103, value); +}; + + +/** + * optional bytes swap = 104; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes.prototype.getSwap = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 104, "")); +}; + + +/** + * optional bytes swap = 104; + * This is a type-conversion wrapper around `getSwap()` + * @return {string} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes.prototype.getSwap_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getSwap())); +}; + + +/** + * optional bytes swap = 104; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getSwap()` + * @return {!Uint8Array} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes.prototype.getSwap_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getSwap())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes} returns this + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes.prototype.setSwap = function(value) { + return jspb.Message.setProto3BytesField(this, 104, value); +}; + + +/** + * optional bytes swap_claim = 105; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes.prototype.getSwapClaim = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 105, "")); +}; + + +/** + * optional bytes swap_claim = 105; + * This is a type-conversion wrapper around `getSwapClaim()` + * @return {string} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes.prototype.getSwapClaim_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getSwapClaim())); +}; + + +/** + * optional bytes swap_claim = 105; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getSwapClaim()` + * @return {!Uint8Array} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes.prototype.getSwapClaim_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getSwapClaim())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes} returns this + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes.prototype.setSwapClaim = function(value) { + return jspb.Message.setProto3BytesField(this, 105, value); +}; + + +/** + * optional bytes nullifer_derivation_crs = 106; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes.prototype.getNulliferDerivationCrs = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 106, "")); +}; + + +/** + * optional bytes nullifer_derivation_crs = 106; + * This is a type-conversion wrapper around `getNulliferDerivationCrs()` + * @return {string} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes.prototype.getNulliferDerivationCrs_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getNulliferDerivationCrs())); +}; + + +/** + * optional bytes nullifer_derivation_crs = 106; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getNulliferDerivationCrs()` + * @return {!Uint8Array} + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes.prototype.getNulliferDerivationCrs_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getNulliferDerivationCrs())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes} returns this + */ +proto.penumbra.tools.summoning.v1alpha1.CeremonyParentHashes.prototype.setNulliferDerivationCrs = function(value) { + return jspb.Message.setProto3BytesField(this, 106, value); +}; + + + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.oneofGroups_ = [[1,2,3]]; + +/** + * @enum {number} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.MsgCase = { + MSG_NOT_SET: 0, + POSITION: 1, + CONTRIBUTE_NOW: 2, + CONFIRM: 3 +}; + +/** + * @return {proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.MsgCase} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.prototype.getMsgCase = function() { + return /** @type {proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.MsgCase} */(jspb.Message.computeOneofCase(this, proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.toObject = function(includeInstance, msg) { + var f, obj = { + position: (f = msg.getPosition()) && proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Position.toObject(includeInstance, f), + contributeNow: (f = msg.getContributeNow()) && proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.ContributeNow.toObject(includeInstance, f), + confirm: (f = msg.getConfirm()) && proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Confirm.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse; + return proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Position; + reader.readMessage(value,proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Position.deserializeBinaryFromReader); + msg.setPosition(value); + break; + case 2: + var value = new proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.ContributeNow; + reader.readMessage(value,proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.ContributeNow.deserializeBinaryFromReader); + msg.setContributeNow(value); + break; + case 3: + var value = new proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Confirm; + reader.readMessage(value,proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Confirm.deserializeBinaryFromReader); + msg.setConfirm(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getPosition(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Position.serializeBinaryToWriter + ); + } + f = message.getContributeNow(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.ContributeNow.serializeBinaryToWriter + ); + } + f = message.getConfirm(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Confirm.serializeBinaryToWriter + ); + } +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Position.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Position.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Position} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Position.toObject = function(includeInstance, msg) { + var f, obj = { + position: jspb.Message.getFieldWithDefault(msg, 1, 0), + connectedParticipants: jspb.Message.getFieldWithDefault(msg, 2, 0), + lastSlotBid: (f = msg.getLastSlotBid()) && penumbra_core_num_v1alpha1_num_pb.Amount.toObject(includeInstance, f), + yourBid: (f = msg.getYourBid()) && penumbra_core_num_v1alpha1_num_pb.Amount.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Position} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Position.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Position; + return proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Position.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Position} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Position} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Position.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readUint32()); + msg.setPosition(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint32()); + msg.setConnectedParticipants(value); + break; + case 3: + var value = new penumbra_core_num_v1alpha1_num_pb.Amount; + reader.readMessage(value,penumbra_core_num_v1alpha1_num_pb.Amount.deserializeBinaryFromReader); + msg.setLastSlotBid(value); + break; + case 4: + var value = new penumbra_core_num_v1alpha1_num_pb.Amount; + reader.readMessage(value,penumbra_core_num_v1alpha1_num_pb.Amount.deserializeBinaryFromReader); + msg.setYourBid(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Position.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Position.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Position} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Position.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getPosition(); + if (f !== 0) { + writer.writeUint32( + 1, + f + ); + } + f = message.getConnectedParticipants(); + if (f !== 0) { + writer.writeUint32( + 2, + f + ); + } + f = message.getLastSlotBid(); + if (f != null) { + writer.writeMessage( + 3, + f, + penumbra_core_num_v1alpha1_num_pb.Amount.serializeBinaryToWriter + ); + } + f = message.getYourBid(); + if (f != null) { + writer.writeMessage( + 4, + f, + penumbra_core_num_v1alpha1_num_pb.Amount.serializeBinaryToWriter + ); + } +}; + + +/** + * optional uint32 position = 1; + * @return {number} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Position.prototype.getPosition = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Position} returns this + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Position.prototype.setPosition = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional uint32 connected_participants = 2; + * @return {number} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Position.prototype.getConnectedParticipants = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Position} returns this + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Position.prototype.setConnectedParticipants = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + +/** + * optional penumbra.core.num.v1alpha1.Amount last_slot_bid = 3; + * @return {?proto.penumbra.core.num.v1alpha1.Amount} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Position.prototype.getLastSlotBid = function() { + return /** @type{?proto.penumbra.core.num.v1alpha1.Amount} */ ( + jspb.Message.getWrapperField(this, penumbra_core_num_v1alpha1_num_pb.Amount, 3)); +}; + + +/** + * @param {?proto.penumbra.core.num.v1alpha1.Amount|undefined} value + * @return {!proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Position} returns this +*/ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Position.prototype.setLastSlotBid = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Position} returns this + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Position.prototype.clearLastSlotBid = function() { + return this.setLastSlotBid(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Position.prototype.hasLastSlotBid = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional penumbra.core.num.v1alpha1.Amount your_bid = 4; + * @return {?proto.penumbra.core.num.v1alpha1.Amount} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Position.prototype.getYourBid = function() { + return /** @type{?proto.penumbra.core.num.v1alpha1.Amount} */ ( + jspb.Message.getWrapperField(this, penumbra_core_num_v1alpha1_num_pb.Amount, 4)); +}; + + +/** + * @param {?proto.penumbra.core.num.v1alpha1.Amount|undefined} value + * @return {!proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Position} returns this +*/ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Position.prototype.setYourBid = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Position} returns this + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Position.prototype.clearYourBid = function() { + return this.setYourBid(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Position.prototype.hasYourBid = function() { + return jspb.Message.getField(this, 4) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.ContributeNow.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.ContributeNow.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.ContributeNow} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.ContributeNow.toObject = function(includeInstance, msg) { + var f, obj = { + parent: (f = msg.getParent()) && proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.ContributeNow} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.ContributeNow.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.ContributeNow; + return proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.ContributeNow.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.ContributeNow} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.ContributeNow} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.ContributeNow.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs; + reader.readMessage(value,proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs.deserializeBinaryFromReader); + msg.setParent(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.ContributeNow.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.ContributeNow.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.ContributeNow} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.ContributeNow.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getParent(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs.serializeBinaryToWriter + ); + } +}; + + +/** + * optional CeremonyCrs parent = 1; + * @return {?proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.ContributeNow.prototype.getParent = function() { + return /** @type{?proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs, 1)); +}; + + +/** + * @param {?proto.penumbra.tools.summoning.v1alpha1.CeremonyCrs|undefined} value + * @return {!proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.ContributeNow} returns this +*/ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.ContributeNow.prototype.setParent = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.ContributeNow} returns this + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.ContributeNow.prototype.clearParent = function() { + return this.setParent(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.ContributeNow.prototype.hasParent = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Confirm.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Confirm.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Confirm} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Confirm.toObject = function(includeInstance, msg) { + var f, obj = { + slot: jspb.Message.getFieldWithDefault(msg, 1, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Confirm} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Confirm.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Confirm; + return proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Confirm.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Confirm} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Confirm} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Confirm.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setSlot(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Confirm.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Confirm.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Confirm} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Confirm.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSlot(); + if (f !== 0) { + writer.writeUint64( + 1, + f + ); + } +}; + + +/** + * optional uint64 slot = 1; + * @return {number} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Confirm.prototype.getSlot = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Confirm} returns this + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Confirm.prototype.setSlot = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional Position position = 1; + * @return {?proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Position} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.prototype.getPosition = function() { + return /** @type{?proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Position} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Position, 1)); +}; + + +/** + * @param {?proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Position|undefined} value + * @return {!proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse} returns this +*/ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.prototype.setPosition = function(value) { + return jspb.Message.setOneofWrapperField(this, 1, proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse} returns this + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.prototype.clearPosition = function() { + return this.setPosition(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.prototype.hasPosition = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional ContributeNow contribute_now = 2; + * @return {?proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.ContributeNow} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.prototype.getContributeNow = function() { + return /** @type{?proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.ContributeNow} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.ContributeNow, 2)); +}; + + +/** + * @param {?proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.ContributeNow|undefined} value + * @return {!proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse} returns this +*/ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.prototype.setContributeNow = function(value) { + return jspb.Message.setOneofWrapperField(this, 2, proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse} returns this + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.prototype.clearContributeNow = function() { + return this.setContributeNow(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.prototype.hasContributeNow = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional Confirm confirm = 3; + * @return {?proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Confirm} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.prototype.getConfirm = function() { + return /** @type{?proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Confirm} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Confirm, 3)); +}; + + +/** + * @param {?proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.Confirm|undefined} value + * @return {!proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse} returns this +*/ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.prototype.setConfirm = function(value) { + return jspb.Message.setOneofWrapperField(this, 3, proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse} returns this + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.prototype.clearConfirm = function() { + return this.setConfirm(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.tools.summoning.v1alpha1.ParticipateResponse.prototype.hasConfirm = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +goog.object.extend(exports, proto.penumbra.tools.summoning.v1alpha1); diff --git a/src/chains/penumbra/generated/penumbra/util/tendermint_proxy/v1alpha1/tendermint_proxy_grpc_pb.d.ts b/src/chains/penumbra/generated/penumbra/util/tendermint_proxy/v1alpha1/tendermint_proxy_grpc_pb.d.ts new file mode 100644 index 0000000000..2c58caf8b6 --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/util/tendermint_proxy/v1alpha1/tendermint_proxy_grpc_pb.d.ts @@ -0,0 +1,132 @@ +// package: penumbra.util.tendermint_proxy.v1alpha1 +// file: penumbra/util/tendermint_proxy/v1alpha1/tendermint_proxy.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as grpc from "grpc"; +import * as penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb from "../../../../penumbra/util/tendermint_proxy/v1alpha1/tendermint_proxy_pb"; +import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb"; +import * as tendermint_crypto_proof_pb from "../../../../tendermint/crypto/proof_pb"; +import * as tendermint_p2p_types_pb from "../../../../tendermint/p2p/types_pb"; +import * as tendermint_types_block_pb from "../../../../tendermint/types/block_pb"; +import * as tendermint_types_types_pb from "../../../../tendermint/types/types_pb"; +import * as tendermint_types_validator_pb from "../../../../tendermint/types/validator_pb"; + +interface ITendermintProxyServiceService extends grpc.ServiceDefinition { + getStatus: ITendermintProxyServiceService_IGetStatus; + broadcastTxAsync: ITendermintProxyServiceService_IBroadcastTxAsync; + broadcastTxSync: ITendermintProxyServiceService_IBroadcastTxSync; + getTx: ITendermintProxyServiceService_IGetTx; + aBCIQuery: ITendermintProxyServiceService_IABCIQuery; + getBlockByHeight: ITendermintProxyServiceService_IGetBlockByHeight; +} + +interface ITendermintProxyServiceService_IGetStatus extends grpc.MethodDefinition { + path: "/penumbra.util.tendermint_proxy.v1alpha1.TendermintProxyService/GetStatus"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface ITendermintProxyServiceService_IBroadcastTxAsync extends grpc.MethodDefinition { + path: "/penumbra.util.tendermint_proxy.v1alpha1.TendermintProxyService/BroadcastTxAsync"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface ITendermintProxyServiceService_IBroadcastTxSync extends grpc.MethodDefinition { + path: "/penumbra.util.tendermint_proxy.v1alpha1.TendermintProxyService/BroadcastTxSync"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface ITendermintProxyServiceService_IGetTx extends grpc.MethodDefinition { + path: "/penumbra.util.tendermint_proxy.v1alpha1.TendermintProxyService/GetTx"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface ITendermintProxyServiceService_IABCIQuery extends grpc.MethodDefinition { + path: "/penumbra.util.tendermint_proxy.v1alpha1.TendermintProxyService/ABCIQuery"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface ITendermintProxyServiceService_IGetBlockByHeight extends grpc.MethodDefinition { + path: "/penumbra.util.tendermint_proxy.v1alpha1.TendermintProxyService/GetBlockByHeight"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} + +export const TendermintProxyServiceService: ITendermintProxyServiceService; + +export interface ITendermintProxyServiceServer { + getStatus: grpc.handleUnaryCall; + broadcastTxAsync: grpc.handleUnaryCall; + broadcastTxSync: grpc.handleUnaryCall; + getTx: grpc.handleUnaryCall; + aBCIQuery: grpc.handleUnaryCall; + getBlockByHeight: grpc.handleUnaryCall; +} + +export interface ITendermintProxyServiceClient { + getStatus(request: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetStatusRequest, callback: (error: grpc.ServiceError | null, response: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetStatusResponse) => void): grpc.ClientUnaryCall; + getStatus(request: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetStatusRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetStatusResponse) => void): grpc.ClientUnaryCall; + getStatus(request: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetStatusRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetStatusResponse) => void): grpc.ClientUnaryCall; + broadcastTxAsync(request: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.BroadcastTxAsyncRequest, callback: (error: grpc.ServiceError | null, response: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.BroadcastTxAsyncResponse) => void): grpc.ClientUnaryCall; + broadcastTxAsync(request: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.BroadcastTxAsyncRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.BroadcastTxAsyncResponse) => void): grpc.ClientUnaryCall; + broadcastTxAsync(request: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.BroadcastTxAsyncRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.BroadcastTxAsyncResponse) => void): grpc.ClientUnaryCall; + broadcastTxSync(request: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.BroadcastTxSyncRequest, callback: (error: grpc.ServiceError | null, response: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.BroadcastTxSyncResponse) => void): grpc.ClientUnaryCall; + broadcastTxSync(request: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.BroadcastTxSyncRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.BroadcastTxSyncResponse) => void): grpc.ClientUnaryCall; + broadcastTxSync(request: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.BroadcastTxSyncRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.BroadcastTxSyncResponse) => void): grpc.ClientUnaryCall; + getTx(request: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetTxRequest, callback: (error: grpc.ServiceError | null, response: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetTxResponse) => void): grpc.ClientUnaryCall; + getTx(request: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetTxRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetTxResponse) => void): grpc.ClientUnaryCall; + getTx(request: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetTxRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetTxResponse) => void): grpc.ClientUnaryCall; + aBCIQuery(request: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.ABCIQueryRequest, callback: (error: grpc.ServiceError | null, response: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.ABCIQueryResponse) => void): grpc.ClientUnaryCall; + aBCIQuery(request: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.ABCIQueryRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.ABCIQueryResponse) => void): grpc.ClientUnaryCall; + aBCIQuery(request: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.ABCIQueryRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.ABCIQueryResponse) => void): grpc.ClientUnaryCall; + getBlockByHeight(request: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetBlockByHeightRequest, callback: (error: grpc.ServiceError | null, response: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetBlockByHeightResponse) => void): grpc.ClientUnaryCall; + getBlockByHeight(request: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetBlockByHeightRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetBlockByHeightResponse) => void): grpc.ClientUnaryCall; + getBlockByHeight(request: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetBlockByHeightRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetBlockByHeightResponse) => void): grpc.ClientUnaryCall; +} + +export class TendermintProxyServiceClient extends grpc.Client implements ITendermintProxyServiceClient { + constructor(address: string, credentials: grpc.ChannelCredentials, options?: object); + public getStatus(request: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetStatusRequest, callback: (error: grpc.ServiceError | null, response: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetStatusResponse) => void): grpc.ClientUnaryCall; + public getStatus(request: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetStatusRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetStatusResponse) => void): grpc.ClientUnaryCall; + public getStatus(request: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetStatusRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetStatusResponse) => void): grpc.ClientUnaryCall; + public broadcastTxAsync(request: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.BroadcastTxAsyncRequest, callback: (error: grpc.ServiceError | null, response: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.BroadcastTxAsyncResponse) => void): grpc.ClientUnaryCall; + public broadcastTxAsync(request: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.BroadcastTxAsyncRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.BroadcastTxAsyncResponse) => void): grpc.ClientUnaryCall; + public broadcastTxAsync(request: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.BroadcastTxAsyncRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.BroadcastTxAsyncResponse) => void): grpc.ClientUnaryCall; + public broadcastTxSync(request: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.BroadcastTxSyncRequest, callback: (error: grpc.ServiceError | null, response: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.BroadcastTxSyncResponse) => void): grpc.ClientUnaryCall; + public broadcastTxSync(request: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.BroadcastTxSyncRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.BroadcastTxSyncResponse) => void): grpc.ClientUnaryCall; + public broadcastTxSync(request: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.BroadcastTxSyncRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.BroadcastTxSyncResponse) => void): grpc.ClientUnaryCall; + public getTx(request: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetTxRequest, callback: (error: grpc.ServiceError | null, response: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetTxResponse) => void): grpc.ClientUnaryCall; + public getTx(request: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetTxRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetTxResponse) => void): grpc.ClientUnaryCall; + public getTx(request: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetTxRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetTxResponse) => void): grpc.ClientUnaryCall; + public aBCIQuery(request: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.ABCIQueryRequest, callback: (error: grpc.ServiceError | null, response: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.ABCIQueryResponse) => void): grpc.ClientUnaryCall; + public aBCIQuery(request: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.ABCIQueryRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.ABCIQueryResponse) => void): grpc.ClientUnaryCall; + public aBCIQuery(request: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.ABCIQueryRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.ABCIQueryResponse) => void): grpc.ClientUnaryCall; + public getBlockByHeight(request: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetBlockByHeightRequest, callback: (error: grpc.ServiceError | null, response: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetBlockByHeightResponse) => void): grpc.ClientUnaryCall; + public getBlockByHeight(request: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetBlockByHeightRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetBlockByHeightResponse) => void): grpc.ClientUnaryCall; + public getBlockByHeight(request: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetBlockByHeightRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetBlockByHeightResponse) => void): grpc.ClientUnaryCall; +} diff --git a/src/chains/penumbra/generated/penumbra/util/tendermint_proxy/v1alpha1/tendermint_proxy_grpc_pb.js b/src/chains/penumbra/generated/penumbra/util/tendermint_proxy/v1alpha1/tendermint_proxy_grpc_pb.js new file mode 100644 index 0000000000..9f1db5d911 --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/util/tendermint_proxy/v1alpha1/tendermint_proxy_grpc_pb.js @@ -0,0 +1,224 @@ +// GENERATED CODE -- DO NOT EDIT! + +'use strict'; +var grpc = require('@grpc/grpc-js'); +var penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb = require('../../../../penumbra/util/tendermint_proxy/v1alpha1/tendermint_proxy_pb.js'); +var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js'); +var tendermint_crypto_proof_pb = require('../../../../tendermint/crypto/proof_pb.js'); +var tendermint_p2p_types_pb = require('../../../../tendermint/p2p/types_pb.js'); +var tendermint_types_block_pb = require('../../../../tendermint/types/block_pb.js'); +var tendermint_types_types_pb = require('../../../../tendermint/types/types_pb.js'); +var tendermint_types_validator_pb = require('../../../../tendermint/types/validator_pb.js'); + +function serialize_penumbra_util_tendermint_proxy_v1alpha1_ABCIQueryRequest(arg) { + if (!(arg instanceof penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.ABCIQueryRequest)) { + throw new Error('Expected argument of type penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_util_tendermint_proxy_v1alpha1_ABCIQueryRequest(buffer_arg) { + return penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.ABCIQueryRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_util_tendermint_proxy_v1alpha1_ABCIQueryResponse(arg) { + if (!(arg instanceof penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.ABCIQueryResponse)) { + throw new Error('Expected argument of type penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_util_tendermint_proxy_v1alpha1_ABCIQueryResponse(buffer_arg) { + return penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.ABCIQueryResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_util_tendermint_proxy_v1alpha1_BroadcastTxAsyncRequest(arg) { + if (!(arg instanceof penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.BroadcastTxAsyncRequest)) { + throw new Error('Expected argument of type penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_util_tendermint_proxy_v1alpha1_BroadcastTxAsyncRequest(buffer_arg) { + return penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.BroadcastTxAsyncRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_util_tendermint_proxy_v1alpha1_BroadcastTxAsyncResponse(arg) { + if (!(arg instanceof penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.BroadcastTxAsyncResponse)) { + throw new Error('Expected argument of type penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_util_tendermint_proxy_v1alpha1_BroadcastTxAsyncResponse(buffer_arg) { + return penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.BroadcastTxAsyncResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_util_tendermint_proxy_v1alpha1_BroadcastTxSyncRequest(arg) { + if (!(arg instanceof penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.BroadcastTxSyncRequest)) { + throw new Error('Expected argument of type penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_util_tendermint_proxy_v1alpha1_BroadcastTxSyncRequest(buffer_arg) { + return penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.BroadcastTxSyncRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_util_tendermint_proxy_v1alpha1_BroadcastTxSyncResponse(arg) { + if (!(arg instanceof penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.BroadcastTxSyncResponse)) { + throw new Error('Expected argument of type penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_util_tendermint_proxy_v1alpha1_BroadcastTxSyncResponse(buffer_arg) { + return penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.BroadcastTxSyncResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_util_tendermint_proxy_v1alpha1_GetBlockByHeightRequest(arg) { + if (!(arg instanceof penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetBlockByHeightRequest)) { + throw new Error('Expected argument of type penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_util_tendermint_proxy_v1alpha1_GetBlockByHeightRequest(buffer_arg) { + return penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetBlockByHeightRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_util_tendermint_proxy_v1alpha1_GetBlockByHeightResponse(arg) { + if (!(arg instanceof penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetBlockByHeightResponse)) { + throw new Error('Expected argument of type penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_util_tendermint_proxy_v1alpha1_GetBlockByHeightResponse(buffer_arg) { + return penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetBlockByHeightResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_util_tendermint_proxy_v1alpha1_GetStatusRequest(arg) { + if (!(arg instanceof penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetStatusRequest)) { + throw new Error('Expected argument of type penumbra.util.tendermint_proxy.v1alpha1.GetStatusRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_util_tendermint_proxy_v1alpha1_GetStatusRequest(buffer_arg) { + return penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetStatusRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_util_tendermint_proxy_v1alpha1_GetStatusResponse(arg) { + if (!(arg instanceof penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetStatusResponse)) { + throw new Error('Expected argument of type penumbra.util.tendermint_proxy.v1alpha1.GetStatusResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_util_tendermint_proxy_v1alpha1_GetStatusResponse(buffer_arg) { + return penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetStatusResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_util_tendermint_proxy_v1alpha1_GetTxRequest(arg) { + if (!(arg instanceof penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetTxRequest)) { + throw new Error('Expected argument of type penumbra.util.tendermint_proxy.v1alpha1.GetTxRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_util_tendermint_proxy_v1alpha1_GetTxRequest(buffer_arg) { + return penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetTxRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_util_tendermint_proxy_v1alpha1_GetTxResponse(arg) { + if (!(arg instanceof penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetTxResponse)) { + throw new Error('Expected argument of type penumbra.util.tendermint_proxy.v1alpha1.GetTxResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_util_tendermint_proxy_v1alpha1_GetTxResponse(buffer_arg) { + return penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetTxResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + + +// Defines the gRPC query service for proxying requests to an upstream Tendermint RPC. +var TendermintProxyServiceService = exports.TendermintProxyServiceService = { + // Status queries the current status. +getStatus: { + path: '/penumbra.util.tendermint_proxy.v1alpha1.TendermintProxyService/GetStatus', + requestStream: false, + responseStream: false, + requestType: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetStatusRequest, + responseType: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetStatusResponse, + requestSerialize: serialize_penumbra_util_tendermint_proxy_v1alpha1_GetStatusRequest, + requestDeserialize: deserialize_penumbra_util_tendermint_proxy_v1alpha1_GetStatusRequest, + responseSerialize: serialize_penumbra_util_tendermint_proxy_v1alpha1_GetStatusResponse, + responseDeserialize: deserialize_penumbra_util_tendermint_proxy_v1alpha1_GetStatusResponse, + }, + // Broadcast a transaction asynchronously. +broadcastTxAsync: { + path: '/penumbra.util.tendermint_proxy.v1alpha1.TendermintProxyService/BroadcastTxAsync', + requestStream: false, + responseStream: false, + requestType: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.BroadcastTxAsyncRequest, + responseType: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.BroadcastTxAsyncResponse, + requestSerialize: serialize_penumbra_util_tendermint_proxy_v1alpha1_BroadcastTxAsyncRequest, + requestDeserialize: deserialize_penumbra_util_tendermint_proxy_v1alpha1_BroadcastTxAsyncRequest, + responseSerialize: serialize_penumbra_util_tendermint_proxy_v1alpha1_BroadcastTxAsyncResponse, + responseDeserialize: deserialize_penumbra_util_tendermint_proxy_v1alpha1_BroadcastTxAsyncResponse, + }, + // Broadcast a transaction synchronously. +broadcastTxSync: { + path: '/penumbra.util.tendermint_proxy.v1alpha1.TendermintProxyService/BroadcastTxSync', + requestStream: false, + responseStream: false, + requestType: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.BroadcastTxSyncRequest, + responseType: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.BroadcastTxSyncResponse, + requestSerialize: serialize_penumbra_util_tendermint_proxy_v1alpha1_BroadcastTxSyncRequest, + requestDeserialize: deserialize_penumbra_util_tendermint_proxy_v1alpha1_BroadcastTxSyncRequest, + responseSerialize: serialize_penumbra_util_tendermint_proxy_v1alpha1_BroadcastTxSyncResponse, + responseDeserialize: deserialize_penumbra_util_tendermint_proxy_v1alpha1_BroadcastTxSyncResponse, + }, + // Fetch a transaction by hash. +getTx: { + path: '/penumbra.util.tendermint_proxy.v1alpha1.TendermintProxyService/GetTx', + requestStream: false, + responseStream: false, + requestType: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetTxRequest, + responseType: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetTxResponse, + requestSerialize: serialize_penumbra_util_tendermint_proxy_v1alpha1_GetTxRequest, + requestDeserialize: deserialize_penumbra_util_tendermint_proxy_v1alpha1_GetTxRequest, + responseSerialize: serialize_penumbra_util_tendermint_proxy_v1alpha1_GetTxResponse, + responseDeserialize: deserialize_penumbra_util_tendermint_proxy_v1alpha1_GetTxResponse, + }, + // ABCIQuery defines a query handler that supports ABCI queries directly to the +// application, bypassing Tendermint completely. The ABCI query must contain +// a valid and supported path, including app, custom, p2p, and store. +aBCIQuery: { + path: '/penumbra.util.tendermint_proxy.v1alpha1.TendermintProxyService/ABCIQuery', + requestStream: false, + responseStream: false, + requestType: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.ABCIQueryRequest, + responseType: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.ABCIQueryResponse, + requestSerialize: serialize_penumbra_util_tendermint_proxy_v1alpha1_ABCIQueryRequest, + requestDeserialize: deserialize_penumbra_util_tendermint_proxy_v1alpha1_ABCIQueryRequest, + responseSerialize: serialize_penumbra_util_tendermint_proxy_v1alpha1_ABCIQueryResponse, + responseDeserialize: deserialize_penumbra_util_tendermint_proxy_v1alpha1_ABCIQueryResponse, + }, + // GetBlockByHeight queries block for given height. +getBlockByHeight: { + path: '/penumbra.util.tendermint_proxy.v1alpha1.TendermintProxyService/GetBlockByHeight', + requestStream: false, + responseStream: false, + requestType: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetBlockByHeightRequest, + responseType: penumbra_util_tendermint_proxy_v1alpha1_tendermint_proxy_pb.GetBlockByHeightResponse, + requestSerialize: serialize_penumbra_util_tendermint_proxy_v1alpha1_GetBlockByHeightRequest, + requestDeserialize: deserialize_penumbra_util_tendermint_proxy_v1alpha1_GetBlockByHeightRequest, + responseSerialize: serialize_penumbra_util_tendermint_proxy_v1alpha1_GetBlockByHeightResponse, + responseDeserialize: deserialize_penumbra_util_tendermint_proxy_v1alpha1_GetBlockByHeightResponse, + }, +}; + +exports.TendermintProxyServiceClient = grpc.makeGenericClientConstructor(TendermintProxyServiceService); diff --git a/src/chains/penumbra/generated/penumbra/util/tendermint_proxy/v1alpha1/tendermint_proxy_pb.d.ts b/src/chains/penumbra/generated/penumbra/util/tendermint_proxy/v1alpha1/tendermint_proxy_pb.d.ts new file mode 100644 index 0000000000..f4db6d6f32 --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/util/tendermint_proxy/v1alpha1/tendermint_proxy_pb.d.ts @@ -0,0 +1,476 @@ +// package: penumbra.util.tendermint_proxy.v1alpha1 +// file: penumbra/util/tendermint_proxy/v1alpha1/tendermint_proxy.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb"; +import * as tendermint_crypto_proof_pb from "../../../../tendermint/crypto/proof_pb"; +import * as tendermint_p2p_types_pb from "../../../../tendermint/p2p/types_pb"; +import * as tendermint_types_block_pb from "../../../../tendermint/types/block_pb"; +import * as tendermint_types_types_pb from "../../../../tendermint/types/types_pb"; +import * as tendermint_types_validator_pb from "../../../../tendermint/types/validator_pb"; + +export class GetTxRequest extends jspb.Message { + getHash(): Uint8Array | string; + getHash_asU8(): Uint8Array; + getHash_asB64(): string; + setHash(value: Uint8Array | string): GetTxRequest; + getProve(): boolean; + setProve(value: boolean): GetTxRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GetTxRequest.AsObject; + static toObject(includeInstance: boolean, msg: GetTxRequest): GetTxRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: GetTxRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GetTxRequest; + static deserializeBinaryFromReader(message: GetTxRequest, reader: jspb.BinaryReader): GetTxRequest; +} + +export namespace GetTxRequest { + export type AsObject = { + hash: Uint8Array | string, + prove: boolean, + } +} + +export class GetTxResponse extends jspb.Message { + getHash(): Uint8Array | string; + getHash_asU8(): Uint8Array; + getHash_asB64(): string; + setHash(value: Uint8Array | string): GetTxResponse; + getHeight(): number; + setHeight(value: number): GetTxResponse; + getIndex(): number; + setIndex(value: number): GetTxResponse; + + hasTxResult(): boolean; + clearTxResult(): void; + getTxResult(): TxResult | undefined; + setTxResult(value?: TxResult): GetTxResponse; + getTx(): Uint8Array | string; + getTx_asU8(): Uint8Array; + getTx_asB64(): string; + setTx(value: Uint8Array | string): GetTxResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GetTxResponse.AsObject; + static toObject(includeInstance: boolean, msg: GetTxResponse): GetTxResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: GetTxResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GetTxResponse; + static deserializeBinaryFromReader(message: GetTxResponse, reader: jspb.BinaryReader): GetTxResponse; +} + +export namespace GetTxResponse { + export type AsObject = { + hash: Uint8Array | string, + height: number, + index: number, + txResult?: TxResult.AsObject, + tx: Uint8Array | string, + } +} + +export class TxResult extends jspb.Message { + getLog(): string; + setLog(value: string): TxResult; + getGasWanted(): number; + setGasWanted(value: number): TxResult; + getGasUsed(): number; + setGasUsed(value: number): TxResult; + clearTagsList(): void; + getTagsList(): Array; + setTagsList(value: Array): TxResult; + addTags(value?: Tag, index?: number): Tag; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): TxResult.AsObject; + static toObject(includeInstance: boolean, msg: TxResult): TxResult.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: TxResult, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): TxResult; + static deserializeBinaryFromReader(message: TxResult, reader: jspb.BinaryReader): TxResult; +} + +export namespace TxResult { + export type AsObject = { + log: string, + gasWanted: number, + gasUsed: number, + tagsList: Array, + } +} + +export class Tag extends jspb.Message { + getKey(): Uint8Array | string; + getKey_asU8(): Uint8Array; + getKey_asB64(): string; + setKey(value: Uint8Array | string): Tag; + getValue(): Uint8Array | string; + getValue_asU8(): Uint8Array; + getValue_asB64(): string; + setValue(value: Uint8Array | string): Tag; + getIndex(): boolean; + setIndex(value: boolean): Tag; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Tag.AsObject; + static toObject(includeInstance: boolean, msg: Tag): Tag.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Tag, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Tag; + static deserializeBinaryFromReader(message: Tag, reader: jspb.BinaryReader): Tag; +} + +export namespace Tag { + export type AsObject = { + key: Uint8Array | string, + value: Uint8Array | string, + index: boolean, + } +} + +export class BroadcastTxAsyncRequest extends jspb.Message { + getParams(): Uint8Array | string; + getParams_asU8(): Uint8Array; + getParams_asB64(): string; + setParams(value: Uint8Array | string): BroadcastTxAsyncRequest; + getReqId(): number; + setReqId(value: number): BroadcastTxAsyncRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): BroadcastTxAsyncRequest.AsObject; + static toObject(includeInstance: boolean, msg: BroadcastTxAsyncRequest): BroadcastTxAsyncRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: BroadcastTxAsyncRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): BroadcastTxAsyncRequest; + static deserializeBinaryFromReader(message: BroadcastTxAsyncRequest, reader: jspb.BinaryReader): BroadcastTxAsyncRequest; +} + +export namespace BroadcastTxAsyncRequest { + export type AsObject = { + params: Uint8Array | string, + reqId: number, + } +} + +export class BroadcastTxAsyncResponse extends jspb.Message { + getCode(): number; + setCode(value: number): BroadcastTxAsyncResponse; + getData(): Uint8Array | string; + getData_asU8(): Uint8Array; + getData_asB64(): string; + setData(value: Uint8Array | string): BroadcastTxAsyncResponse; + getLog(): string; + setLog(value: string): BroadcastTxAsyncResponse; + getHash(): Uint8Array | string; + getHash_asU8(): Uint8Array; + getHash_asB64(): string; + setHash(value: Uint8Array | string): BroadcastTxAsyncResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): BroadcastTxAsyncResponse.AsObject; + static toObject(includeInstance: boolean, msg: BroadcastTxAsyncResponse): BroadcastTxAsyncResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: BroadcastTxAsyncResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): BroadcastTxAsyncResponse; + static deserializeBinaryFromReader(message: BroadcastTxAsyncResponse, reader: jspb.BinaryReader): BroadcastTxAsyncResponse; +} + +export namespace BroadcastTxAsyncResponse { + export type AsObject = { + code: number, + data: Uint8Array | string, + log: string, + hash: Uint8Array | string, + } +} + +export class BroadcastTxSyncRequest extends jspb.Message { + getParams(): Uint8Array | string; + getParams_asU8(): Uint8Array; + getParams_asB64(): string; + setParams(value: Uint8Array | string): BroadcastTxSyncRequest; + getReqId(): number; + setReqId(value: number): BroadcastTxSyncRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): BroadcastTxSyncRequest.AsObject; + static toObject(includeInstance: boolean, msg: BroadcastTxSyncRequest): BroadcastTxSyncRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: BroadcastTxSyncRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): BroadcastTxSyncRequest; + static deserializeBinaryFromReader(message: BroadcastTxSyncRequest, reader: jspb.BinaryReader): BroadcastTxSyncRequest; +} + +export namespace BroadcastTxSyncRequest { + export type AsObject = { + params: Uint8Array | string, + reqId: number, + } +} + +export class BroadcastTxSyncResponse extends jspb.Message { + getCode(): number; + setCode(value: number): BroadcastTxSyncResponse; + getData(): Uint8Array | string; + getData_asU8(): Uint8Array; + getData_asB64(): string; + setData(value: Uint8Array | string): BroadcastTxSyncResponse; + getLog(): string; + setLog(value: string): BroadcastTxSyncResponse; + getHash(): Uint8Array | string; + getHash_asU8(): Uint8Array; + getHash_asB64(): string; + setHash(value: Uint8Array | string): BroadcastTxSyncResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): BroadcastTxSyncResponse.AsObject; + static toObject(includeInstance: boolean, msg: BroadcastTxSyncResponse): BroadcastTxSyncResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: BroadcastTxSyncResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): BroadcastTxSyncResponse; + static deserializeBinaryFromReader(message: BroadcastTxSyncResponse, reader: jspb.BinaryReader): BroadcastTxSyncResponse; +} + +export namespace BroadcastTxSyncResponse { + export type AsObject = { + code: number, + data: Uint8Array | string, + log: string, + hash: Uint8Array | string, + } +} + +export class GetStatusRequest extends jspb.Message { + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GetStatusRequest.AsObject; + static toObject(includeInstance: boolean, msg: GetStatusRequest): GetStatusRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: GetStatusRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GetStatusRequest; + static deserializeBinaryFromReader(message: GetStatusRequest, reader: jspb.BinaryReader): GetStatusRequest; +} + +export namespace GetStatusRequest { + export type AsObject = { + } +} + +export class GetStatusResponse extends jspb.Message { + + hasNodeInfo(): boolean; + clearNodeInfo(): void; + getNodeInfo(): tendermint_p2p_types_pb.DefaultNodeInfo | undefined; + setNodeInfo(value?: tendermint_p2p_types_pb.DefaultNodeInfo): GetStatusResponse; + + hasSyncInfo(): boolean; + clearSyncInfo(): void; + getSyncInfo(): SyncInfo | undefined; + setSyncInfo(value?: SyncInfo): GetStatusResponse; + + hasValidatorInfo(): boolean; + clearValidatorInfo(): void; + getValidatorInfo(): tendermint_types_validator_pb.Validator | undefined; + setValidatorInfo(value?: tendermint_types_validator_pb.Validator): GetStatusResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GetStatusResponse.AsObject; + static toObject(includeInstance: boolean, msg: GetStatusResponse): GetStatusResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: GetStatusResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GetStatusResponse; + static deserializeBinaryFromReader(message: GetStatusResponse, reader: jspb.BinaryReader): GetStatusResponse; +} + +export namespace GetStatusResponse { + export type AsObject = { + nodeInfo?: tendermint_p2p_types_pb.DefaultNodeInfo.AsObject, + syncInfo?: SyncInfo.AsObject, + validatorInfo?: tendermint_types_validator_pb.Validator.AsObject, + } +} + +export class SyncInfo extends jspb.Message { + getLatestBlockHash(): Uint8Array | string; + getLatestBlockHash_asU8(): Uint8Array; + getLatestBlockHash_asB64(): string; + setLatestBlockHash(value: Uint8Array | string): SyncInfo; + getLatestAppHash(): Uint8Array | string; + getLatestAppHash_asU8(): Uint8Array; + getLatestAppHash_asB64(): string; + setLatestAppHash(value: Uint8Array | string): SyncInfo; + getLatestBlockHeight(): number; + setLatestBlockHeight(value: number): SyncInfo; + + hasLatestBlockTime(): boolean; + clearLatestBlockTime(): void; + getLatestBlockTime(): google_protobuf_timestamp_pb.Timestamp | undefined; + setLatestBlockTime(value?: google_protobuf_timestamp_pb.Timestamp): SyncInfo; + getCatchingUp(): boolean; + setCatchingUp(value: boolean): SyncInfo; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SyncInfo.AsObject; + static toObject(includeInstance: boolean, msg: SyncInfo): SyncInfo.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SyncInfo, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SyncInfo; + static deserializeBinaryFromReader(message: SyncInfo, reader: jspb.BinaryReader): SyncInfo; +} + +export namespace SyncInfo { + export type AsObject = { + latestBlockHash: Uint8Array | string, + latestAppHash: Uint8Array | string, + latestBlockHeight: number, + latestBlockTime?: google_protobuf_timestamp_pb.Timestamp.AsObject, + catchingUp: boolean, + } +} + +export class ABCIQueryRequest extends jspb.Message { + getData(): Uint8Array | string; + getData_asU8(): Uint8Array; + getData_asB64(): string; + setData(value: Uint8Array | string): ABCIQueryRequest; + getPath(): string; + setPath(value: string): ABCIQueryRequest; + getHeight(): number; + setHeight(value: number): ABCIQueryRequest; + getProve(): boolean; + setProve(value: boolean): ABCIQueryRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ABCIQueryRequest.AsObject; + static toObject(includeInstance: boolean, msg: ABCIQueryRequest): ABCIQueryRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ABCIQueryRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ABCIQueryRequest; + static deserializeBinaryFromReader(message: ABCIQueryRequest, reader: jspb.BinaryReader): ABCIQueryRequest; +} + +export namespace ABCIQueryRequest { + export type AsObject = { + data: Uint8Array | string, + path: string, + height: number, + prove: boolean, + } +} + +export class ABCIQueryResponse extends jspb.Message { + getCode(): number; + setCode(value: number): ABCIQueryResponse; + getLog(): string; + setLog(value: string): ABCIQueryResponse; + getInfo(): string; + setInfo(value: string): ABCIQueryResponse; + getIndex(): number; + setIndex(value: number): ABCIQueryResponse; + getKey(): Uint8Array | string; + getKey_asU8(): Uint8Array; + getKey_asB64(): string; + setKey(value: Uint8Array | string): ABCIQueryResponse; + getValue(): Uint8Array | string; + getValue_asU8(): Uint8Array; + getValue_asB64(): string; + setValue(value: Uint8Array | string): ABCIQueryResponse; + + hasProofOps(): boolean; + clearProofOps(): void; + getProofOps(): tendermint_crypto_proof_pb.ProofOps | undefined; + setProofOps(value?: tendermint_crypto_proof_pb.ProofOps): ABCIQueryResponse; + getHeight(): number; + setHeight(value: number): ABCIQueryResponse; + getCodespace(): string; + setCodespace(value: string): ABCIQueryResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ABCIQueryResponse.AsObject; + static toObject(includeInstance: boolean, msg: ABCIQueryResponse): ABCIQueryResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ABCIQueryResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ABCIQueryResponse; + static deserializeBinaryFromReader(message: ABCIQueryResponse, reader: jspb.BinaryReader): ABCIQueryResponse; +} + +export namespace ABCIQueryResponse { + export type AsObject = { + code: number, + log: string, + info: string, + index: number, + key: Uint8Array | string, + value: Uint8Array | string, + proofOps?: tendermint_crypto_proof_pb.ProofOps.AsObject, + height: number, + codespace: string, + } +} + +export class GetBlockByHeightRequest extends jspb.Message { + getHeight(): number; + setHeight(value: number): GetBlockByHeightRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GetBlockByHeightRequest.AsObject; + static toObject(includeInstance: boolean, msg: GetBlockByHeightRequest): GetBlockByHeightRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: GetBlockByHeightRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GetBlockByHeightRequest; + static deserializeBinaryFromReader(message: GetBlockByHeightRequest, reader: jspb.BinaryReader): GetBlockByHeightRequest; +} + +export namespace GetBlockByHeightRequest { + export type AsObject = { + height: number, + } +} + +export class GetBlockByHeightResponse extends jspb.Message { + + hasBlockId(): boolean; + clearBlockId(): void; + getBlockId(): tendermint_types_types_pb.BlockID | undefined; + setBlockId(value?: tendermint_types_types_pb.BlockID): GetBlockByHeightResponse; + + hasBlock(): boolean; + clearBlock(): void; + getBlock(): tendermint_types_block_pb.Block | undefined; + setBlock(value?: tendermint_types_block_pb.Block): GetBlockByHeightResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GetBlockByHeightResponse.AsObject; + static toObject(includeInstance: boolean, msg: GetBlockByHeightResponse): GetBlockByHeightResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: GetBlockByHeightResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GetBlockByHeightResponse; + static deserializeBinaryFromReader(message: GetBlockByHeightResponse, reader: jspb.BinaryReader): GetBlockByHeightResponse; +} + +export namespace GetBlockByHeightResponse { + export type AsObject = { + blockId?: tendermint_types_types_pb.BlockID.AsObject, + block?: tendermint_types_block_pb.Block.AsObject, + } +} diff --git a/src/chains/penumbra/generated/penumbra/util/tendermint_proxy/v1alpha1/tendermint_proxy_pb.js b/src/chains/penumbra/generated/penumbra/util/tendermint_proxy/v1alpha1/tendermint_proxy_pb.js new file mode 100644 index 0000000000..790542851c --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/util/tendermint_proxy/v1alpha1/tendermint_proxy_pb.js @@ -0,0 +1,3949 @@ +// source: penumbra/util/tendermint_proxy/v1alpha1/tendermint_proxy.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = (function() { + if (this) { return this; } + if (typeof window !== 'undefined') { return window; } + if (typeof global !== 'undefined') { return global; } + if (typeof self !== 'undefined') { return self; } + return Function('return this')(); +}.call(null)); + +var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js'); +goog.object.extend(proto, google_protobuf_timestamp_pb); +var tendermint_crypto_proof_pb = require('../../../../tendermint/crypto/proof_pb.js'); +goog.object.extend(proto, tendermint_crypto_proof_pb); +var tendermint_p2p_types_pb = require('../../../../tendermint/p2p/types_pb.js'); +goog.object.extend(proto, tendermint_p2p_types_pb); +var tendermint_types_block_pb = require('../../../../tendermint/types/block_pb.js'); +goog.object.extend(proto, tendermint_types_block_pb); +var tendermint_types_types_pb = require('../../../../tendermint/types/types_pb.js'); +goog.object.extend(proto, tendermint_types_types_pb); +var tendermint_types_validator_pb = require('../../../../tendermint/types/validator_pb.js'); +goog.object.extend(proto, tendermint_types_validator_pb); +goog.exportSymbol('proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryRequest', null, global); +goog.exportSymbol('proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse', null, global); +goog.exportSymbol('proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncRequest', null, global); +goog.exportSymbol('proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncResponse', null, global); +goog.exportSymbol('proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncRequest', null, global); +goog.exportSymbol('proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncResponse', null, global); +goog.exportSymbol('proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightRequest', null, global); +goog.exportSymbol('proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightResponse', null, global); +goog.exportSymbol('proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusRequest', null, global); +goog.exportSymbol('proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusResponse', null, global); +goog.exportSymbol('proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxRequest', null, global); +goog.exportSymbol('proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxResponse', null, global); +goog.exportSymbol('proto.penumbra.util.tendermint_proxy.v1alpha1.SyncInfo', null, global); +goog.exportSymbol('proto.penumbra.util.tendermint_proxy.v1alpha1.Tag', null, global); +goog.exportSymbol('proto.penumbra.util.tendermint_proxy.v1alpha1.TxResult', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxRequest.displayName = 'proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxResponse.displayName = 'proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.TxResult = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.penumbra.util.tendermint_proxy.v1alpha1.TxResult.repeatedFields_, null); +}; +goog.inherits(proto.penumbra.util.tendermint_proxy.v1alpha1.TxResult, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.util.tendermint_proxy.v1alpha1.TxResult.displayName = 'proto.penumbra.util.tendermint_proxy.v1alpha1.TxResult'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.Tag = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.util.tendermint_proxy.v1alpha1.Tag, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.util.tendermint_proxy.v1alpha1.Tag.displayName = 'proto.penumbra.util.tendermint_proxy.v1alpha1.Tag'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncRequest.displayName = 'proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncResponse.displayName = 'proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncRequest.displayName = 'proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncResponse.displayName = 'proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusRequest.displayName = 'proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusResponse.displayName = 'proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.SyncInfo = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.util.tendermint_proxy.v1alpha1.SyncInfo, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.util.tendermint_proxy.v1alpha1.SyncInfo.displayName = 'proto.penumbra.util.tendermint_proxy.v1alpha1.SyncInfo'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryRequest.displayName = 'proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse.displayName = 'proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightRequest.displayName = 'proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightResponse.displayName = 'proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightResponse'; +} + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxRequest.toObject = function(includeInstance, msg) { + var f, obj = { + hash: msg.getHash_asB64(), + prove: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxRequest} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxRequest; + return proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxRequest} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setHash(value); + break; + case 2: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setProve(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getHash_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } + f = message.getProve(); + if (f) { + writer.writeBool( + 2, + f + ); + } +}; + + +/** + * optional bytes hash = 1; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxRequest.prototype.getHash = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes hash = 1; + * This is a type-conversion wrapper around `getHash()` + * @return {string} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxRequest.prototype.getHash_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getHash())); +}; + + +/** + * optional bytes hash = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getHash()` + * @return {!Uint8Array} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxRequest.prototype.getHash_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getHash())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxRequest} returns this + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxRequest.prototype.setHash = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + +/** + * optional bool prove = 2; + * @return {boolean} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxRequest.prototype.getProve = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxRequest} returns this + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxRequest.prototype.setProve = function(value) { + return jspb.Message.setProto3BooleanField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxResponse.toObject = function(includeInstance, msg) { + var f, obj = { + hash: msg.getHash_asB64(), + height: jspb.Message.getFieldWithDefault(msg, 2, 0), + index: jspb.Message.getFieldWithDefault(msg, 3, 0), + txResult: (f = msg.getTxResult()) && proto.penumbra.util.tendermint_proxy.v1alpha1.TxResult.toObject(includeInstance, f), + tx: msg.getTx_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxResponse} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxResponse; + return proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxResponse} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setHash(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint64()); + msg.setHeight(value); + break; + case 3: + var value = /** @type {number} */ (reader.readUint64()); + msg.setIndex(value); + break; + case 4: + var value = new proto.penumbra.util.tendermint_proxy.v1alpha1.TxResult; + reader.readMessage(value,proto.penumbra.util.tendermint_proxy.v1alpha1.TxResult.deserializeBinaryFromReader); + msg.setTxResult(value); + break; + case 5: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setTx(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getHash_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } + f = message.getHeight(); + if (f !== 0) { + writer.writeUint64( + 2, + f + ); + } + f = message.getIndex(); + if (f !== 0) { + writer.writeUint64( + 3, + f + ); + } + f = message.getTxResult(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.penumbra.util.tendermint_proxy.v1alpha1.TxResult.serializeBinaryToWriter + ); + } + f = message.getTx_asU8(); + if (f.length > 0) { + writer.writeBytes( + 5, + f + ); + } +}; + + +/** + * optional bytes hash = 1; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxResponse.prototype.getHash = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes hash = 1; + * This is a type-conversion wrapper around `getHash()` + * @return {string} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxResponse.prototype.getHash_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getHash())); +}; + + +/** + * optional bytes hash = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getHash()` + * @return {!Uint8Array} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxResponse.prototype.getHash_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getHash())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxResponse} returns this + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxResponse.prototype.setHash = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + +/** + * optional uint64 height = 2; + * @return {number} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxResponse.prototype.getHeight = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxResponse} returns this + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxResponse.prototype.setHeight = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + +/** + * optional uint64 index = 3; + * @return {number} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxResponse.prototype.getIndex = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxResponse} returns this + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxResponse.prototype.setIndex = function(value) { + return jspb.Message.setProto3IntField(this, 3, value); +}; + + +/** + * optional TxResult tx_result = 4; + * @return {?proto.penumbra.util.tendermint_proxy.v1alpha1.TxResult} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxResponse.prototype.getTxResult = function() { + return /** @type{?proto.penumbra.util.tendermint_proxy.v1alpha1.TxResult} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.util.tendermint_proxy.v1alpha1.TxResult, 4)); +}; + + +/** + * @param {?proto.penumbra.util.tendermint_proxy.v1alpha1.TxResult|undefined} value + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxResponse} returns this +*/ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxResponse.prototype.setTxResult = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxResponse} returns this + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxResponse.prototype.clearTxResult = function() { + return this.setTxResult(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxResponse.prototype.hasTxResult = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional bytes tx = 5; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxResponse.prototype.getTx = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * optional bytes tx = 5; + * This is a type-conversion wrapper around `getTx()` + * @return {string} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxResponse.prototype.getTx_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getTx())); +}; + + +/** + * optional bytes tx = 5; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getTx()` + * @return {!Uint8Array} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxResponse.prototype.getTx_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getTx())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxResponse} returns this + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetTxResponse.prototype.setTx = function(value) { + return jspb.Message.setProto3BytesField(this, 5, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.TxResult.repeatedFields_ = [4]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.TxResult.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.util.tendermint_proxy.v1alpha1.TxResult.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.util.tendermint_proxy.v1alpha1.TxResult} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.TxResult.toObject = function(includeInstance, msg) { + var f, obj = { + log: jspb.Message.getFieldWithDefault(msg, 1, ""), + gasWanted: jspb.Message.getFieldWithDefault(msg, 2, 0), + gasUsed: jspb.Message.getFieldWithDefault(msg, 3, 0), + tagsList: jspb.Message.toObjectList(msg.getTagsList(), + proto.penumbra.util.tendermint_proxy.v1alpha1.Tag.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.TxResult} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.TxResult.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.util.tendermint_proxy.v1alpha1.TxResult; + return proto.penumbra.util.tendermint_proxy.v1alpha1.TxResult.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.util.tendermint_proxy.v1alpha1.TxResult} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.TxResult} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.TxResult.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setLog(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint64()); + msg.setGasWanted(value); + break; + case 3: + var value = /** @type {number} */ (reader.readUint64()); + msg.setGasUsed(value); + break; + case 4: + var value = new proto.penumbra.util.tendermint_proxy.v1alpha1.Tag; + reader.readMessage(value,proto.penumbra.util.tendermint_proxy.v1alpha1.Tag.deserializeBinaryFromReader); + msg.addTags(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.TxResult.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.util.tendermint_proxy.v1alpha1.TxResult.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.util.tendermint_proxy.v1alpha1.TxResult} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.TxResult.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getLog(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getGasWanted(); + if (f !== 0) { + writer.writeUint64( + 2, + f + ); + } + f = message.getGasUsed(); + if (f !== 0) { + writer.writeUint64( + 3, + f + ); + } + f = message.getTagsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 4, + f, + proto.penumbra.util.tendermint_proxy.v1alpha1.Tag.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string log = 1; + * @return {string} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.TxResult.prototype.getLog = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.TxResult} returns this + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.TxResult.prototype.setLog = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional uint64 gas_wanted = 2; + * @return {number} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.TxResult.prototype.getGasWanted = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.TxResult} returns this + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.TxResult.prototype.setGasWanted = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + +/** + * optional uint64 gas_used = 3; + * @return {number} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.TxResult.prototype.getGasUsed = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.TxResult} returns this + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.TxResult.prototype.setGasUsed = function(value) { + return jspb.Message.setProto3IntField(this, 3, value); +}; + + +/** + * repeated Tag tags = 4; + * @return {!Array} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.TxResult.prototype.getTagsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.penumbra.util.tendermint_proxy.v1alpha1.Tag, 4)); +}; + + +/** + * @param {!Array} value + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.TxResult} returns this +*/ +proto.penumbra.util.tendermint_proxy.v1alpha1.TxResult.prototype.setTagsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 4, value); +}; + + +/** + * @param {!proto.penumbra.util.tendermint_proxy.v1alpha1.Tag=} opt_value + * @param {number=} opt_index + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.Tag} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.TxResult.prototype.addTags = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.penumbra.util.tendermint_proxy.v1alpha1.Tag, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.TxResult} returns this + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.TxResult.prototype.clearTagsList = function() { + return this.setTagsList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.Tag.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.util.tendermint_proxy.v1alpha1.Tag.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.util.tendermint_proxy.v1alpha1.Tag} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.Tag.toObject = function(includeInstance, msg) { + var f, obj = { + key: msg.getKey_asB64(), + value: msg.getValue_asB64(), + index: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.Tag} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.Tag.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.util.tendermint_proxy.v1alpha1.Tag; + return proto.penumbra.util.tendermint_proxy.v1alpha1.Tag.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.util.tendermint_proxy.v1alpha1.Tag} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.Tag} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.Tag.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setKey(value); + break; + case 2: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setValue(value); + break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setIndex(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.Tag.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.util.tendermint_proxy.v1alpha1.Tag.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.util.tendermint_proxy.v1alpha1.Tag} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.Tag.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getKey_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } + f = message.getValue_asU8(); + if (f.length > 0) { + writer.writeBytes( + 2, + f + ); + } + f = message.getIndex(); + if (f) { + writer.writeBool( + 3, + f + ); + } +}; + + +/** + * optional bytes key = 1; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.Tag.prototype.getKey = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes key = 1; + * This is a type-conversion wrapper around `getKey()` + * @return {string} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.Tag.prototype.getKey_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getKey())); +}; + + +/** + * optional bytes key = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getKey()` + * @return {!Uint8Array} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.Tag.prototype.getKey_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getKey())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.Tag} returns this + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.Tag.prototype.setKey = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + +/** + * optional bytes value = 2; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.Tag.prototype.getValue = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * optional bytes value = 2; + * This is a type-conversion wrapper around `getValue()` + * @return {string} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.Tag.prototype.getValue_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getValue())); +}; + + +/** + * optional bytes value = 2; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getValue()` + * @return {!Uint8Array} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.Tag.prototype.getValue_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getValue())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.Tag} returns this + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.Tag.prototype.setValue = function(value) { + return jspb.Message.setProto3BytesField(this, 2, value); +}; + + +/** + * optional bool index = 3; + * @return {boolean} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.Tag.prototype.getIndex = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.Tag} returns this + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.Tag.prototype.setIndex = function(value) { + return jspb.Message.setProto3BooleanField(this, 3, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncRequest.toObject = function(includeInstance, msg) { + var f, obj = { + params: msg.getParams_asB64(), + reqId: jspb.Message.getFieldWithDefault(msg, 2, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncRequest} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncRequest; + return proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncRequest} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setParams(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint64()); + msg.setReqId(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getParams_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } + f = message.getReqId(); + if (f !== 0) { + writer.writeUint64( + 2, + f + ); + } +}; + + +/** + * optional bytes params = 1; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncRequest.prototype.getParams = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes params = 1; + * This is a type-conversion wrapper around `getParams()` + * @return {string} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncRequest.prototype.getParams_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getParams())); +}; + + +/** + * optional bytes params = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getParams()` + * @return {!Uint8Array} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncRequest.prototype.getParams_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getParams())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncRequest} returns this + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncRequest.prototype.setParams = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + +/** + * optional uint64 req_id = 2; + * @return {number} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncRequest.prototype.getReqId = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncRequest} returns this + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncRequest.prototype.setReqId = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncResponse.toObject = function(includeInstance, msg) { + var f, obj = { + code: jspb.Message.getFieldWithDefault(msg, 1, 0), + data: msg.getData_asB64(), + log: jspb.Message.getFieldWithDefault(msg, 3, ""), + hash: msg.getHash_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncResponse} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncResponse; + return proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncResponse} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setCode(value); + break; + case 2: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setData(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setLog(value); + break; + case 4: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setHash(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getCode(); + if (f !== 0) { + writer.writeUint64( + 1, + f + ); + } + f = message.getData_asU8(); + if (f.length > 0) { + writer.writeBytes( + 2, + f + ); + } + f = message.getLog(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getHash_asU8(); + if (f.length > 0) { + writer.writeBytes( + 4, + f + ); + } +}; + + +/** + * optional uint64 code = 1; + * @return {number} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncResponse.prototype.getCode = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncResponse} returns this + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncResponse.prototype.setCode = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional bytes data = 2; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncResponse.prototype.getData = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * optional bytes data = 2; + * This is a type-conversion wrapper around `getData()` + * @return {string} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncResponse.prototype.getData_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getData())); +}; + + +/** + * optional bytes data = 2; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getData()` + * @return {!Uint8Array} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncResponse.prototype.getData_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getData())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncResponse} returns this + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncResponse.prototype.setData = function(value) { + return jspb.Message.setProto3BytesField(this, 2, value); +}; + + +/** + * optional string log = 3; + * @return {string} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncResponse.prototype.getLog = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncResponse} returns this + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncResponse.prototype.setLog = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional bytes hash = 4; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncResponse.prototype.getHash = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * optional bytes hash = 4; + * This is a type-conversion wrapper around `getHash()` + * @return {string} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncResponse.prototype.getHash_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getHash())); +}; + + +/** + * optional bytes hash = 4; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getHash()` + * @return {!Uint8Array} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncResponse.prototype.getHash_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getHash())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncResponse} returns this + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxAsyncResponse.prototype.setHash = function(value) { + return jspb.Message.setProto3BytesField(this, 4, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncRequest.toObject = function(includeInstance, msg) { + var f, obj = { + params: msg.getParams_asB64(), + reqId: jspb.Message.getFieldWithDefault(msg, 2, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncRequest} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncRequest; + return proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncRequest} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setParams(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint64()); + msg.setReqId(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getParams_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } + f = message.getReqId(); + if (f !== 0) { + writer.writeUint64( + 2, + f + ); + } +}; + + +/** + * optional bytes params = 1; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncRequest.prototype.getParams = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes params = 1; + * This is a type-conversion wrapper around `getParams()` + * @return {string} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncRequest.prototype.getParams_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getParams())); +}; + + +/** + * optional bytes params = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getParams()` + * @return {!Uint8Array} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncRequest.prototype.getParams_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getParams())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncRequest} returns this + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncRequest.prototype.setParams = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + +/** + * optional uint64 req_id = 2; + * @return {number} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncRequest.prototype.getReqId = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncRequest} returns this + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncRequest.prototype.setReqId = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncResponse.toObject = function(includeInstance, msg) { + var f, obj = { + code: jspb.Message.getFieldWithDefault(msg, 1, 0), + data: msg.getData_asB64(), + log: jspb.Message.getFieldWithDefault(msg, 3, ""), + hash: msg.getHash_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncResponse} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncResponse; + return proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncResponse} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setCode(value); + break; + case 2: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setData(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setLog(value); + break; + case 4: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setHash(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getCode(); + if (f !== 0) { + writer.writeUint64( + 1, + f + ); + } + f = message.getData_asU8(); + if (f.length > 0) { + writer.writeBytes( + 2, + f + ); + } + f = message.getLog(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getHash_asU8(); + if (f.length > 0) { + writer.writeBytes( + 4, + f + ); + } +}; + + +/** + * optional uint64 code = 1; + * @return {number} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncResponse.prototype.getCode = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncResponse} returns this + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncResponse.prototype.setCode = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional bytes data = 2; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncResponse.prototype.getData = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * optional bytes data = 2; + * This is a type-conversion wrapper around `getData()` + * @return {string} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncResponse.prototype.getData_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getData())); +}; + + +/** + * optional bytes data = 2; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getData()` + * @return {!Uint8Array} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncResponse.prototype.getData_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getData())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncResponse} returns this + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncResponse.prototype.setData = function(value) { + return jspb.Message.setProto3BytesField(this, 2, value); +}; + + +/** + * optional string log = 3; + * @return {string} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncResponse.prototype.getLog = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncResponse} returns this + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncResponse.prototype.setLog = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional bytes hash = 4; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncResponse.prototype.getHash = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * optional bytes hash = 4; + * This is a type-conversion wrapper around `getHash()` + * @return {string} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncResponse.prototype.getHash_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getHash())); +}; + + +/** + * optional bytes hash = 4; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getHash()` + * @return {!Uint8Array} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncResponse.prototype.getHash_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getHash())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncResponse} returns this + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.BroadcastTxSyncResponse.prototype.setHash = function(value) { + return jspb.Message.setProto3BytesField(this, 4, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusRequest.toObject = function(includeInstance, msg) { + var f, obj = { + + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusRequest} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusRequest; + return proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusRequest} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusResponse.toObject = function(includeInstance, msg) { + var f, obj = { + nodeInfo: (f = msg.getNodeInfo()) && tendermint_p2p_types_pb.DefaultNodeInfo.toObject(includeInstance, f), + syncInfo: (f = msg.getSyncInfo()) && proto.penumbra.util.tendermint_proxy.v1alpha1.SyncInfo.toObject(includeInstance, f), + validatorInfo: (f = msg.getValidatorInfo()) && tendermint_types_validator_pb.Validator.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusResponse} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusResponse; + return proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusResponse} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new tendermint_p2p_types_pb.DefaultNodeInfo; + reader.readMessage(value,tendermint_p2p_types_pb.DefaultNodeInfo.deserializeBinaryFromReader); + msg.setNodeInfo(value); + break; + case 2: + var value = new proto.penumbra.util.tendermint_proxy.v1alpha1.SyncInfo; + reader.readMessage(value,proto.penumbra.util.tendermint_proxy.v1alpha1.SyncInfo.deserializeBinaryFromReader); + msg.setSyncInfo(value); + break; + case 3: + var value = new tendermint_types_validator_pb.Validator; + reader.readMessage(value,tendermint_types_validator_pb.Validator.deserializeBinaryFromReader); + msg.setValidatorInfo(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getNodeInfo(); + if (f != null) { + writer.writeMessage( + 1, + f, + tendermint_p2p_types_pb.DefaultNodeInfo.serializeBinaryToWriter + ); + } + f = message.getSyncInfo(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.penumbra.util.tendermint_proxy.v1alpha1.SyncInfo.serializeBinaryToWriter + ); + } + f = message.getValidatorInfo(); + if (f != null) { + writer.writeMessage( + 3, + f, + tendermint_types_validator_pb.Validator.serializeBinaryToWriter + ); + } +}; + + +/** + * optional tendermint.p2p.DefaultNodeInfo node_info = 1; + * @return {?proto.tendermint.p2p.DefaultNodeInfo} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusResponse.prototype.getNodeInfo = function() { + return /** @type{?proto.tendermint.p2p.DefaultNodeInfo} */ ( + jspb.Message.getWrapperField(this, tendermint_p2p_types_pb.DefaultNodeInfo, 1)); +}; + + +/** + * @param {?proto.tendermint.p2p.DefaultNodeInfo|undefined} value + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusResponse} returns this +*/ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusResponse.prototype.setNodeInfo = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusResponse} returns this + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusResponse.prototype.clearNodeInfo = function() { + return this.setNodeInfo(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusResponse.prototype.hasNodeInfo = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional SyncInfo sync_info = 2; + * @return {?proto.penumbra.util.tendermint_proxy.v1alpha1.SyncInfo} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusResponse.prototype.getSyncInfo = function() { + return /** @type{?proto.penumbra.util.tendermint_proxy.v1alpha1.SyncInfo} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.util.tendermint_proxy.v1alpha1.SyncInfo, 2)); +}; + + +/** + * @param {?proto.penumbra.util.tendermint_proxy.v1alpha1.SyncInfo|undefined} value + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusResponse} returns this +*/ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusResponse.prototype.setSyncInfo = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusResponse} returns this + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusResponse.prototype.clearSyncInfo = function() { + return this.setSyncInfo(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusResponse.prototype.hasSyncInfo = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional tendermint.types.Validator validator_info = 3; + * @return {?proto.tendermint.types.Validator} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusResponse.prototype.getValidatorInfo = function() { + return /** @type{?proto.tendermint.types.Validator} */ ( + jspb.Message.getWrapperField(this, tendermint_types_validator_pb.Validator, 3)); +}; + + +/** + * @param {?proto.tendermint.types.Validator|undefined} value + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusResponse} returns this +*/ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusResponse.prototype.setValidatorInfo = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusResponse} returns this + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusResponse.prototype.clearValidatorInfo = function() { + return this.setValidatorInfo(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetStatusResponse.prototype.hasValidatorInfo = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.SyncInfo.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.util.tendermint_proxy.v1alpha1.SyncInfo.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.util.tendermint_proxy.v1alpha1.SyncInfo} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.SyncInfo.toObject = function(includeInstance, msg) { + var f, obj = { + latestBlockHash: msg.getLatestBlockHash_asB64(), + latestAppHash: msg.getLatestAppHash_asB64(), + latestBlockHeight: jspb.Message.getFieldWithDefault(msg, 3, 0), + latestBlockTime: (f = msg.getLatestBlockTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + catchingUp: jspb.Message.getBooleanFieldWithDefault(msg, 9, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.SyncInfo} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.SyncInfo.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.util.tendermint_proxy.v1alpha1.SyncInfo; + return proto.penumbra.util.tendermint_proxy.v1alpha1.SyncInfo.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.util.tendermint_proxy.v1alpha1.SyncInfo} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.SyncInfo} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.SyncInfo.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setLatestBlockHash(value); + break; + case 2: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setLatestAppHash(value); + break; + case 3: + var value = /** @type {number} */ (reader.readUint64()); + msg.setLatestBlockHeight(value); + break; + case 4: + var value = new google_protobuf_timestamp_pb.Timestamp; + reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); + msg.setLatestBlockTime(value); + break; + case 9: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCatchingUp(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.SyncInfo.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.util.tendermint_proxy.v1alpha1.SyncInfo.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.util.tendermint_proxy.v1alpha1.SyncInfo} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.SyncInfo.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getLatestBlockHash_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } + f = message.getLatestAppHash_asU8(); + if (f.length > 0) { + writer.writeBytes( + 2, + f + ); + } + f = message.getLatestBlockHeight(); + if (f !== 0) { + writer.writeUint64( + 3, + f + ); + } + f = message.getLatestBlockTime(); + if (f != null) { + writer.writeMessage( + 4, + f, + google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter + ); + } + f = message.getCatchingUp(); + if (f) { + writer.writeBool( + 9, + f + ); + } +}; + + +/** + * optional bytes latest_block_hash = 1; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.SyncInfo.prototype.getLatestBlockHash = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes latest_block_hash = 1; + * This is a type-conversion wrapper around `getLatestBlockHash()` + * @return {string} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.SyncInfo.prototype.getLatestBlockHash_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getLatestBlockHash())); +}; + + +/** + * optional bytes latest_block_hash = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getLatestBlockHash()` + * @return {!Uint8Array} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.SyncInfo.prototype.getLatestBlockHash_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getLatestBlockHash())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.SyncInfo} returns this + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.SyncInfo.prototype.setLatestBlockHash = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + +/** + * optional bytes latest_app_hash = 2; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.SyncInfo.prototype.getLatestAppHash = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * optional bytes latest_app_hash = 2; + * This is a type-conversion wrapper around `getLatestAppHash()` + * @return {string} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.SyncInfo.prototype.getLatestAppHash_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getLatestAppHash())); +}; + + +/** + * optional bytes latest_app_hash = 2; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getLatestAppHash()` + * @return {!Uint8Array} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.SyncInfo.prototype.getLatestAppHash_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getLatestAppHash())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.SyncInfo} returns this + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.SyncInfo.prototype.setLatestAppHash = function(value) { + return jspb.Message.setProto3BytesField(this, 2, value); +}; + + +/** + * optional uint64 latest_block_height = 3; + * @return {number} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.SyncInfo.prototype.getLatestBlockHeight = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.SyncInfo} returns this + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.SyncInfo.prototype.setLatestBlockHeight = function(value) { + return jspb.Message.setProto3IntField(this, 3, value); +}; + + +/** + * optional google.protobuf.Timestamp latest_block_time = 4; + * @return {?proto.google.protobuf.Timestamp} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.SyncInfo.prototype.getLatestBlockTime = function() { + return /** @type{?proto.google.protobuf.Timestamp} */ ( + jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4)); +}; + + +/** + * @param {?proto.google.protobuf.Timestamp|undefined} value + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.SyncInfo} returns this +*/ +proto.penumbra.util.tendermint_proxy.v1alpha1.SyncInfo.prototype.setLatestBlockTime = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.SyncInfo} returns this + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.SyncInfo.prototype.clearLatestBlockTime = function() { + return this.setLatestBlockTime(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.SyncInfo.prototype.hasLatestBlockTime = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional bool catching_up = 9; + * @return {boolean} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.SyncInfo.prototype.getCatchingUp = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 9, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.SyncInfo} returns this + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.SyncInfo.prototype.setCatchingUp = function(value) { + return jspb.Message.setProto3BooleanField(this, 9, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryRequest.toObject = function(includeInstance, msg) { + var f, obj = { + data: msg.getData_asB64(), + path: jspb.Message.getFieldWithDefault(msg, 2, ""), + height: jspb.Message.getFieldWithDefault(msg, 3, 0), + prove: jspb.Message.getBooleanFieldWithDefault(msg, 4, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryRequest} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryRequest; + return proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryRequest} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setData(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setPath(value); + break; + case 3: + var value = /** @type {number} */ (reader.readInt64()); + msg.setHeight(value); + break; + case 4: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setProve(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getData_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } + f = message.getPath(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getHeight(); + if (f !== 0) { + writer.writeInt64( + 3, + f + ); + } + f = message.getProve(); + if (f) { + writer.writeBool( + 4, + f + ); + } +}; + + +/** + * optional bytes data = 1; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryRequest.prototype.getData = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes data = 1; + * This is a type-conversion wrapper around `getData()` + * @return {string} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryRequest.prototype.getData_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getData())); +}; + + +/** + * optional bytes data = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getData()` + * @return {!Uint8Array} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryRequest.prototype.getData_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getData())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryRequest} returns this + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryRequest.prototype.setData = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + +/** + * optional string path = 2; + * @return {string} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryRequest.prototype.getPath = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryRequest} returns this + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryRequest.prototype.setPath = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional int64 height = 3; + * @return {number} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryRequest.prototype.getHeight = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryRequest} returns this + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryRequest.prototype.setHeight = function(value) { + return jspb.Message.setProto3IntField(this, 3, value); +}; + + +/** + * optional bool prove = 4; + * @return {boolean} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryRequest.prototype.getProve = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryRequest} returns this + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryRequest.prototype.setProve = function(value) { + return jspb.Message.setProto3BooleanField(this, 4, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse.toObject = function(includeInstance, msg) { + var f, obj = { + code: jspb.Message.getFieldWithDefault(msg, 1, 0), + log: jspb.Message.getFieldWithDefault(msg, 3, ""), + info: jspb.Message.getFieldWithDefault(msg, 4, ""), + index: jspb.Message.getFieldWithDefault(msg, 5, 0), + key: msg.getKey_asB64(), + value: msg.getValue_asB64(), + proofOps: (f = msg.getProofOps()) && tendermint_crypto_proof_pb.ProofOps.toObject(includeInstance, f), + height: jspb.Message.getFieldWithDefault(msg, 9, 0), + codespace: jspb.Message.getFieldWithDefault(msg, 10, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse; + return proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readUint32()); + msg.setCode(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setLog(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setInfo(value); + break; + case 5: + var value = /** @type {number} */ (reader.readInt64()); + msg.setIndex(value); + break; + case 6: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setKey(value); + break; + case 7: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setValue(value); + break; + case 8: + var value = new tendermint_crypto_proof_pb.ProofOps; + reader.readMessage(value,tendermint_crypto_proof_pb.ProofOps.deserializeBinaryFromReader); + msg.setProofOps(value); + break; + case 9: + var value = /** @type {number} */ (reader.readInt64()); + msg.setHeight(value); + break; + case 10: + var value = /** @type {string} */ (reader.readString()); + msg.setCodespace(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getCode(); + if (f !== 0) { + writer.writeUint32( + 1, + f + ); + } + f = message.getLog(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getInfo(); + if (f.length > 0) { + writer.writeString( + 4, + f + ); + } + f = message.getIndex(); + if (f !== 0) { + writer.writeInt64( + 5, + f + ); + } + f = message.getKey_asU8(); + if (f.length > 0) { + writer.writeBytes( + 6, + f + ); + } + f = message.getValue_asU8(); + if (f.length > 0) { + writer.writeBytes( + 7, + f + ); + } + f = message.getProofOps(); + if (f != null) { + writer.writeMessage( + 8, + f, + tendermint_crypto_proof_pb.ProofOps.serializeBinaryToWriter + ); + } + f = message.getHeight(); + if (f !== 0) { + writer.writeInt64( + 9, + f + ); + } + f = message.getCodespace(); + if (f.length > 0) { + writer.writeString( + 10, + f + ); + } +}; + + +/** + * optional uint32 code = 1; + * @return {number} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse.prototype.getCode = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse} returns this + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse.prototype.setCode = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional string log = 3; + * @return {string} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse.prototype.getLog = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse} returns this + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse.prototype.setLog = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string info = 4; + * @return {string} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse.prototype.getInfo = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse} returns this + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse.prototype.setInfo = function(value) { + return jspb.Message.setProto3StringField(this, 4, value); +}; + + +/** + * optional int64 index = 5; + * @return {number} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse.prototype.getIndex = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse} returns this + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse.prototype.setIndex = function(value) { + return jspb.Message.setProto3IntField(this, 5, value); +}; + + +/** + * optional bytes key = 6; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse.prototype.getKey = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * optional bytes key = 6; + * This is a type-conversion wrapper around `getKey()` + * @return {string} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse.prototype.getKey_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getKey())); +}; + + +/** + * optional bytes key = 6; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getKey()` + * @return {!Uint8Array} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse.prototype.getKey_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getKey())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse} returns this + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse.prototype.setKey = function(value) { + return jspb.Message.setProto3BytesField(this, 6, value); +}; + + +/** + * optional bytes value = 7; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse.prototype.getValue = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * optional bytes value = 7; + * This is a type-conversion wrapper around `getValue()` + * @return {string} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse.prototype.getValue_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getValue())); +}; + + +/** + * optional bytes value = 7; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getValue()` + * @return {!Uint8Array} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse.prototype.getValue_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getValue())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse} returns this + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse.prototype.setValue = function(value) { + return jspb.Message.setProto3BytesField(this, 7, value); +}; + + +/** + * optional tendermint.crypto.ProofOps proof_ops = 8; + * @return {?proto.tendermint.crypto.ProofOps} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse.prototype.getProofOps = function() { + return /** @type{?proto.tendermint.crypto.ProofOps} */ ( + jspb.Message.getWrapperField(this, tendermint_crypto_proof_pb.ProofOps, 8)); +}; + + +/** + * @param {?proto.tendermint.crypto.ProofOps|undefined} value + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse} returns this +*/ +proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse.prototype.setProofOps = function(value) { + return jspb.Message.setWrapperField(this, 8, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse} returns this + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse.prototype.clearProofOps = function() { + return this.setProofOps(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse.prototype.hasProofOps = function() { + return jspb.Message.getField(this, 8) != null; +}; + + +/** + * optional int64 height = 9; + * @return {number} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse.prototype.getHeight = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse} returns this + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse.prototype.setHeight = function(value) { + return jspb.Message.setProto3IntField(this, 9, value); +}; + + +/** + * optional string codespace = 10; + * @return {string} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse.prototype.getCodespace = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, "")); +}; + + +/** + * @param {string} value + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse} returns this + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.ABCIQueryResponse.prototype.setCodespace = function(value) { + return jspb.Message.setProto3StringField(this, 10, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightRequest.toObject = function(includeInstance, msg) { + var f, obj = { + height: jspb.Message.getFieldWithDefault(msg, 1, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightRequest} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightRequest; + return proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightRequest} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readInt64()); + msg.setHeight(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getHeight(); + if (f !== 0) { + writer.writeInt64( + 1, + f + ); + } +}; + + +/** + * optional int64 height = 1; + * @return {number} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightRequest.prototype.getHeight = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightRequest} returns this + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightRequest.prototype.setHeight = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightResponse.toObject = function(includeInstance, msg) { + var f, obj = { + blockId: (f = msg.getBlockId()) && tendermint_types_types_pb.BlockID.toObject(includeInstance, f), + block: (f = msg.getBlock()) && tendermint_types_block_pb.Block.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightResponse} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightResponse; + return proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightResponse} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new tendermint_types_types_pb.BlockID; + reader.readMessage(value,tendermint_types_types_pb.BlockID.deserializeBinaryFromReader); + msg.setBlockId(value); + break; + case 2: + var value = new tendermint_types_block_pb.Block; + reader.readMessage(value,tendermint_types_block_pb.Block.deserializeBinaryFromReader); + msg.setBlock(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getBlockId(); + if (f != null) { + writer.writeMessage( + 1, + f, + tendermint_types_types_pb.BlockID.serializeBinaryToWriter + ); + } + f = message.getBlock(); + if (f != null) { + writer.writeMessage( + 2, + f, + tendermint_types_block_pb.Block.serializeBinaryToWriter + ); + } +}; + + +/** + * optional tendermint.types.BlockID block_id = 1; + * @return {?proto.tendermint.types.BlockID} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightResponse.prototype.getBlockId = function() { + return /** @type{?proto.tendermint.types.BlockID} */ ( + jspb.Message.getWrapperField(this, tendermint_types_types_pb.BlockID, 1)); +}; + + +/** + * @param {?proto.tendermint.types.BlockID|undefined} value + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightResponse} returns this +*/ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightResponse.prototype.setBlockId = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightResponse} returns this + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightResponse.prototype.clearBlockId = function() { + return this.setBlockId(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightResponse.prototype.hasBlockId = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional tendermint.types.Block block = 2; + * @return {?proto.tendermint.types.Block} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightResponse.prototype.getBlock = function() { + return /** @type{?proto.tendermint.types.Block} */ ( + jspb.Message.getWrapperField(this, tendermint_types_block_pb.Block, 2)); +}; + + +/** + * @param {?proto.tendermint.types.Block|undefined} value + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightResponse} returns this +*/ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightResponse.prototype.setBlock = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightResponse} returns this + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightResponse.prototype.clearBlock = function() { + return this.setBlock(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.util.tendermint_proxy.v1alpha1.GetBlockByHeightResponse.prototype.hasBlock = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +goog.object.extend(exports, proto.penumbra.util.tendermint_proxy.v1alpha1); diff --git a/src/chains/penumbra/generated/penumbra/view/v1alpha1/view_grpc_pb.d.ts b/src/chains/penumbra/generated/penumbra/view/v1alpha1/view_grpc_pb.d.ts new file mode 100644 index 0000000000..cf62e9de45 --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/view/v1alpha1/view_grpc_pb.d.ts @@ -0,0 +1,479 @@ +// package: penumbra.view.v1alpha1 +// file: penumbra/view/v1alpha1/view.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as grpc from "grpc"; +import * as penumbra_view_v1alpha1_view_pb from "../../../penumbra/view/v1alpha1/view_pb"; +import * as penumbra_crypto_tct_v1alpha1_tct_pb from "../../../penumbra/crypto/tct/v1alpha1/tct_pb"; +import * as penumbra_core_keys_v1alpha1_keys_pb from "../../../penumbra/core/keys/v1alpha1/keys_pb"; +import * as penumbra_core_num_v1alpha1_num_pb from "../../../penumbra/core/num/v1alpha1/num_pb"; +import * as penumbra_core_app_v1alpha1_app_pb from "../../../penumbra/core/app/v1alpha1/app_pb"; +import * as penumbra_core_asset_v1alpha1_asset_pb from "../../../penumbra/core/asset/v1alpha1/asset_pb"; +import * as penumbra_core_transaction_v1alpha1_transaction_pb from "../../../penumbra/core/transaction/v1alpha1/transaction_pb"; +import * as penumbra_core_component_chain_v1alpha1_chain_pb from "../../../penumbra/core/component/chain/v1alpha1/chain_pb"; +import * as penumbra_core_component_dex_v1alpha1_dex_pb from "../../../penumbra/core/component/dex/v1alpha1/dex_pb"; +import * as penumbra_core_component_fee_v1alpha1_fee_pb from "../../../penumbra/core/component/fee/v1alpha1/fee_pb"; +import * as penumbra_core_component_ibc_v1alpha1_ibc_pb from "../../../penumbra/core/component/ibc/v1alpha1/ibc_pb"; +import * as penumbra_core_component_sct_v1alpha1_sct_pb from "../../../penumbra/core/component/sct/v1alpha1/sct_pb"; +import * as penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb from "../../../penumbra/core/component/shielded_pool/v1alpha1/shielded_pool_pb"; +import * as penumbra_core_component_stake_v1alpha1_stake_pb from "../../../penumbra/core/component/stake/v1alpha1/stake_pb"; + +interface IViewProtocolServiceService extends grpc.ServiceDefinition { + status: IViewProtocolServiceService_IStatus; + statusStream: IViewProtocolServiceService_IStatusStream; + notes: IViewProtocolServiceService_INotes; + notesForVoting: IViewProtocolServiceService_INotesForVoting; + witness: IViewProtocolServiceService_IWitness; + witnessAndBuild: IViewProtocolServiceService_IWitnessAndBuild; + assets: IViewProtocolServiceService_IAssets; + appParameters: IViewProtocolServiceService_IAppParameters; + gasPrices: IViewProtocolServiceService_IGasPrices; + fMDParameters: IViewProtocolServiceService_IFMDParameters; + addressByIndex: IViewProtocolServiceService_IAddressByIndex; + walletId: IViewProtocolServiceService_IWalletId; + indexByAddress: IViewProtocolServiceService_IIndexByAddress; + ephemeralAddress: IViewProtocolServiceService_IEphemeralAddress; + balances: IViewProtocolServiceService_IBalances; + noteByCommitment: IViewProtocolServiceService_INoteByCommitment; + swapByCommitment: IViewProtocolServiceService_ISwapByCommitment; + unclaimedSwaps: IViewProtocolServiceService_IUnclaimedSwaps; + nullifierStatus: IViewProtocolServiceService_INullifierStatus; + transactionInfoByHash: IViewProtocolServiceService_ITransactionInfoByHash; + transactionInfo: IViewProtocolServiceService_ITransactionInfo; + transactionPlanner: IViewProtocolServiceService_ITransactionPlanner; + broadcastTransaction: IViewProtocolServiceService_IBroadcastTransaction; + ownedPositionIds: IViewProtocolServiceService_IOwnedPositionIds; + authorizeAndBuild: IViewProtocolServiceService_IAuthorizeAndBuild; +} + +interface IViewProtocolServiceService_IStatus extends grpc.MethodDefinition { + path: "/penumbra.view.v1alpha1.ViewProtocolService/Status"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IViewProtocolServiceService_IStatusStream extends grpc.MethodDefinition { + path: "/penumbra.view.v1alpha1.ViewProtocolService/StatusStream"; + requestStream: false; + responseStream: true; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IViewProtocolServiceService_INotes extends grpc.MethodDefinition { + path: "/penumbra.view.v1alpha1.ViewProtocolService/Notes"; + requestStream: false; + responseStream: true; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IViewProtocolServiceService_INotesForVoting extends grpc.MethodDefinition { + path: "/penumbra.view.v1alpha1.ViewProtocolService/NotesForVoting"; + requestStream: false; + responseStream: true; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IViewProtocolServiceService_IWitness extends grpc.MethodDefinition { + path: "/penumbra.view.v1alpha1.ViewProtocolService/Witness"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IViewProtocolServiceService_IWitnessAndBuild extends grpc.MethodDefinition { + path: "/penumbra.view.v1alpha1.ViewProtocolService/WitnessAndBuild"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IViewProtocolServiceService_IAssets extends grpc.MethodDefinition { + path: "/penumbra.view.v1alpha1.ViewProtocolService/Assets"; + requestStream: false; + responseStream: true; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IViewProtocolServiceService_IAppParameters extends grpc.MethodDefinition { + path: "/penumbra.view.v1alpha1.ViewProtocolService/AppParameters"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IViewProtocolServiceService_IGasPrices extends grpc.MethodDefinition { + path: "/penumbra.view.v1alpha1.ViewProtocolService/GasPrices"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IViewProtocolServiceService_IFMDParameters extends grpc.MethodDefinition { + path: "/penumbra.view.v1alpha1.ViewProtocolService/FMDParameters"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IViewProtocolServiceService_IAddressByIndex extends grpc.MethodDefinition { + path: "/penumbra.view.v1alpha1.ViewProtocolService/AddressByIndex"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IViewProtocolServiceService_IWalletId extends grpc.MethodDefinition { + path: "/penumbra.view.v1alpha1.ViewProtocolService/WalletId"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IViewProtocolServiceService_IIndexByAddress extends grpc.MethodDefinition { + path: "/penumbra.view.v1alpha1.ViewProtocolService/IndexByAddress"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IViewProtocolServiceService_IEphemeralAddress extends grpc.MethodDefinition { + path: "/penumbra.view.v1alpha1.ViewProtocolService/EphemeralAddress"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IViewProtocolServiceService_IBalances extends grpc.MethodDefinition { + path: "/penumbra.view.v1alpha1.ViewProtocolService/Balances"; + requestStream: false; + responseStream: true; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IViewProtocolServiceService_INoteByCommitment extends grpc.MethodDefinition { + path: "/penumbra.view.v1alpha1.ViewProtocolService/NoteByCommitment"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IViewProtocolServiceService_ISwapByCommitment extends grpc.MethodDefinition { + path: "/penumbra.view.v1alpha1.ViewProtocolService/SwapByCommitment"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IViewProtocolServiceService_IUnclaimedSwaps extends grpc.MethodDefinition { + path: "/penumbra.view.v1alpha1.ViewProtocolService/UnclaimedSwaps"; + requestStream: false; + responseStream: true; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IViewProtocolServiceService_INullifierStatus extends grpc.MethodDefinition { + path: "/penumbra.view.v1alpha1.ViewProtocolService/NullifierStatus"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IViewProtocolServiceService_ITransactionInfoByHash extends grpc.MethodDefinition { + path: "/penumbra.view.v1alpha1.ViewProtocolService/TransactionInfoByHash"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IViewProtocolServiceService_ITransactionInfo extends grpc.MethodDefinition { + path: "/penumbra.view.v1alpha1.ViewProtocolService/TransactionInfo"; + requestStream: false; + responseStream: true; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IViewProtocolServiceService_ITransactionPlanner extends grpc.MethodDefinition { + path: "/penumbra.view.v1alpha1.ViewProtocolService/TransactionPlanner"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IViewProtocolServiceService_IBroadcastTransaction extends grpc.MethodDefinition { + path: "/penumbra.view.v1alpha1.ViewProtocolService/BroadcastTransaction"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IViewProtocolServiceService_IOwnedPositionIds extends grpc.MethodDefinition { + path: "/penumbra.view.v1alpha1.ViewProtocolService/OwnedPositionIds"; + requestStream: false; + responseStream: true; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IViewProtocolServiceService_IAuthorizeAndBuild extends grpc.MethodDefinition { + path: "/penumbra.view.v1alpha1.ViewProtocolService/AuthorizeAndBuild"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} + +export const ViewProtocolServiceService: IViewProtocolServiceService; + +export interface IViewProtocolServiceServer { + status: grpc.handleUnaryCall; + statusStream: grpc.handleServerStreamingCall; + notes: grpc.handleServerStreamingCall; + notesForVoting: grpc.handleServerStreamingCall; + witness: grpc.handleUnaryCall; + witnessAndBuild: grpc.handleUnaryCall; + assets: grpc.handleServerStreamingCall; + appParameters: grpc.handleUnaryCall; + gasPrices: grpc.handleUnaryCall; + fMDParameters: grpc.handleUnaryCall; + addressByIndex: grpc.handleUnaryCall; + walletId: grpc.handleUnaryCall; + indexByAddress: grpc.handleUnaryCall; + ephemeralAddress: grpc.handleUnaryCall; + balances: grpc.handleServerStreamingCall; + noteByCommitment: grpc.handleUnaryCall; + swapByCommitment: grpc.handleUnaryCall; + unclaimedSwaps: grpc.handleServerStreamingCall; + nullifierStatus: grpc.handleUnaryCall; + transactionInfoByHash: grpc.handleUnaryCall; + transactionInfo: grpc.handleServerStreamingCall; + transactionPlanner: grpc.handleUnaryCall; + broadcastTransaction: grpc.handleUnaryCall; + ownedPositionIds: grpc.handleServerStreamingCall; + authorizeAndBuild: grpc.handleUnaryCall; +} + +export interface IViewProtocolServiceClient { + status(request: penumbra_view_v1alpha1_view_pb.StatusRequest, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.StatusResponse) => void): grpc.ClientUnaryCall; + status(request: penumbra_view_v1alpha1_view_pb.StatusRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.StatusResponse) => void): grpc.ClientUnaryCall; + status(request: penumbra_view_v1alpha1_view_pb.StatusRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.StatusResponse) => void): grpc.ClientUnaryCall; + statusStream(request: penumbra_view_v1alpha1_view_pb.StatusStreamRequest, options?: Partial): grpc.ClientReadableStream; + statusStream(request: penumbra_view_v1alpha1_view_pb.StatusStreamRequest, metadata?: grpc.Metadata, options?: Partial): grpc.ClientReadableStream; + notes(request: penumbra_view_v1alpha1_view_pb.NotesRequest, options?: Partial): grpc.ClientReadableStream; + notes(request: penumbra_view_v1alpha1_view_pb.NotesRequest, metadata?: grpc.Metadata, options?: Partial): grpc.ClientReadableStream; + notesForVoting(request: penumbra_view_v1alpha1_view_pb.NotesForVotingRequest, options?: Partial): grpc.ClientReadableStream; + notesForVoting(request: penumbra_view_v1alpha1_view_pb.NotesForVotingRequest, metadata?: grpc.Metadata, options?: Partial): grpc.ClientReadableStream; + witness(request: penumbra_view_v1alpha1_view_pb.WitnessRequest, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.WitnessResponse) => void): grpc.ClientUnaryCall; + witness(request: penumbra_view_v1alpha1_view_pb.WitnessRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.WitnessResponse) => void): grpc.ClientUnaryCall; + witness(request: penumbra_view_v1alpha1_view_pb.WitnessRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.WitnessResponse) => void): grpc.ClientUnaryCall; + witnessAndBuild(request: penumbra_view_v1alpha1_view_pb.WitnessAndBuildRequest, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.WitnessAndBuildResponse) => void): grpc.ClientUnaryCall; + witnessAndBuild(request: penumbra_view_v1alpha1_view_pb.WitnessAndBuildRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.WitnessAndBuildResponse) => void): grpc.ClientUnaryCall; + witnessAndBuild(request: penumbra_view_v1alpha1_view_pb.WitnessAndBuildRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.WitnessAndBuildResponse) => void): grpc.ClientUnaryCall; + assets(request: penumbra_view_v1alpha1_view_pb.AssetsRequest, options?: Partial): grpc.ClientReadableStream; + assets(request: penumbra_view_v1alpha1_view_pb.AssetsRequest, metadata?: grpc.Metadata, options?: Partial): grpc.ClientReadableStream; + appParameters(request: penumbra_view_v1alpha1_view_pb.AppParametersRequest, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.AppParametersResponse) => void): grpc.ClientUnaryCall; + appParameters(request: penumbra_view_v1alpha1_view_pb.AppParametersRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.AppParametersResponse) => void): grpc.ClientUnaryCall; + appParameters(request: penumbra_view_v1alpha1_view_pb.AppParametersRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.AppParametersResponse) => void): grpc.ClientUnaryCall; + gasPrices(request: penumbra_view_v1alpha1_view_pb.GasPricesRequest, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.GasPricesResponse) => void): grpc.ClientUnaryCall; + gasPrices(request: penumbra_view_v1alpha1_view_pb.GasPricesRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.GasPricesResponse) => void): grpc.ClientUnaryCall; + gasPrices(request: penumbra_view_v1alpha1_view_pb.GasPricesRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.GasPricesResponse) => void): grpc.ClientUnaryCall; + fMDParameters(request: penumbra_view_v1alpha1_view_pb.FMDParametersRequest, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.FMDParametersResponse) => void): grpc.ClientUnaryCall; + fMDParameters(request: penumbra_view_v1alpha1_view_pb.FMDParametersRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.FMDParametersResponse) => void): grpc.ClientUnaryCall; + fMDParameters(request: penumbra_view_v1alpha1_view_pb.FMDParametersRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.FMDParametersResponse) => void): grpc.ClientUnaryCall; + addressByIndex(request: penumbra_view_v1alpha1_view_pb.AddressByIndexRequest, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.AddressByIndexResponse) => void): grpc.ClientUnaryCall; + addressByIndex(request: penumbra_view_v1alpha1_view_pb.AddressByIndexRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.AddressByIndexResponse) => void): grpc.ClientUnaryCall; + addressByIndex(request: penumbra_view_v1alpha1_view_pb.AddressByIndexRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.AddressByIndexResponse) => void): grpc.ClientUnaryCall; + walletId(request: penumbra_view_v1alpha1_view_pb.WalletIdRequest, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.WalletIdResponse) => void): grpc.ClientUnaryCall; + walletId(request: penumbra_view_v1alpha1_view_pb.WalletIdRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.WalletIdResponse) => void): grpc.ClientUnaryCall; + walletId(request: penumbra_view_v1alpha1_view_pb.WalletIdRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.WalletIdResponse) => void): grpc.ClientUnaryCall; + indexByAddress(request: penumbra_view_v1alpha1_view_pb.IndexByAddressRequest, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.IndexByAddressResponse) => void): grpc.ClientUnaryCall; + indexByAddress(request: penumbra_view_v1alpha1_view_pb.IndexByAddressRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.IndexByAddressResponse) => void): grpc.ClientUnaryCall; + indexByAddress(request: penumbra_view_v1alpha1_view_pb.IndexByAddressRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.IndexByAddressResponse) => void): grpc.ClientUnaryCall; + ephemeralAddress(request: penumbra_view_v1alpha1_view_pb.EphemeralAddressRequest, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.EphemeralAddressResponse) => void): grpc.ClientUnaryCall; + ephemeralAddress(request: penumbra_view_v1alpha1_view_pb.EphemeralAddressRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.EphemeralAddressResponse) => void): grpc.ClientUnaryCall; + ephemeralAddress(request: penumbra_view_v1alpha1_view_pb.EphemeralAddressRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.EphemeralAddressResponse) => void): grpc.ClientUnaryCall; + balances(request: penumbra_view_v1alpha1_view_pb.BalancesRequest, options?: Partial): grpc.ClientReadableStream; + balances(request: penumbra_view_v1alpha1_view_pb.BalancesRequest, metadata?: grpc.Metadata, options?: Partial): grpc.ClientReadableStream; + noteByCommitment(request: penumbra_view_v1alpha1_view_pb.NoteByCommitmentRequest, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.NoteByCommitmentResponse) => void): grpc.ClientUnaryCall; + noteByCommitment(request: penumbra_view_v1alpha1_view_pb.NoteByCommitmentRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.NoteByCommitmentResponse) => void): grpc.ClientUnaryCall; + noteByCommitment(request: penumbra_view_v1alpha1_view_pb.NoteByCommitmentRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.NoteByCommitmentResponse) => void): grpc.ClientUnaryCall; + swapByCommitment(request: penumbra_view_v1alpha1_view_pb.SwapByCommitmentRequest, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.SwapByCommitmentResponse) => void): grpc.ClientUnaryCall; + swapByCommitment(request: penumbra_view_v1alpha1_view_pb.SwapByCommitmentRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.SwapByCommitmentResponse) => void): grpc.ClientUnaryCall; + swapByCommitment(request: penumbra_view_v1alpha1_view_pb.SwapByCommitmentRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.SwapByCommitmentResponse) => void): grpc.ClientUnaryCall; + unclaimedSwaps(request: penumbra_view_v1alpha1_view_pb.UnclaimedSwapsRequest, options?: Partial): grpc.ClientReadableStream; + unclaimedSwaps(request: penumbra_view_v1alpha1_view_pb.UnclaimedSwapsRequest, metadata?: grpc.Metadata, options?: Partial): grpc.ClientReadableStream; + nullifierStatus(request: penumbra_view_v1alpha1_view_pb.NullifierStatusRequest, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.NullifierStatusResponse) => void): grpc.ClientUnaryCall; + nullifierStatus(request: penumbra_view_v1alpha1_view_pb.NullifierStatusRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.NullifierStatusResponse) => void): grpc.ClientUnaryCall; + nullifierStatus(request: penumbra_view_v1alpha1_view_pb.NullifierStatusRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.NullifierStatusResponse) => void): grpc.ClientUnaryCall; + transactionInfoByHash(request: penumbra_view_v1alpha1_view_pb.TransactionInfoByHashRequest, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.TransactionInfoByHashResponse) => void): grpc.ClientUnaryCall; + transactionInfoByHash(request: penumbra_view_v1alpha1_view_pb.TransactionInfoByHashRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.TransactionInfoByHashResponse) => void): grpc.ClientUnaryCall; + transactionInfoByHash(request: penumbra_view_v1alpha1_view_pb.TransactionInfoByHashRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.TransactionInfoByHashResponse) => void): grpc.ClientUnaryCall; + transactionInfo(request: penumbra_view_v1alpha1_view_pb.TransactionInfoRequest, options?: Partial): grpc.ClientReadableStream; + transactionInfo(request: penumbra_view_v1alpha1_view_pb.TransactionInfoRequest, metadata?: grpc.Metadata, options?: Partial): grpc.ClientReadableStream; + transactionPlanner(request: penumbra_view_v1alpha1_view_pb.TransactionPlannerRequest, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.TransactionPlannerResponse) => void): grpc.ClientUnaryCall; + transactionPlanner(request: penumbra_view_v1alpha1_view_pb.TransactionPlannerRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.TransactionPlannerResponse) => void): grpc.ClientUnaryCall; + transactionPlanner(request: penumbra_view_v1alpha1_view_pb.TransactionPlannerRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.TransactionPlannerResponse) => void): grpc.ClientUnaryCall; + broadcastTransaction(request: penumbra_view_v1alpha1_view_pb.BroadcastTransactionRequest, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.BroadcastTransactionResponse) => void): grpc.ClientUnaryCall; + broadcastTransaction(request: penumbra_view_v1alpha1_view_pb.BroadcastTransactionRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.BroadcastTransactionResponse) => void): grpc.ClientUnaryCall; + broadcastTransaction(request: penumbra_view_v1alpha1_view_pb.BroadcastTransactionRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.BroadcastTransactionResponse) => void): grpc.ClientUnaryCall; + ownedPositionIds(request: penumbra_view_v1alpha1_view_pb.OwnedPositionIdsRequest, options?: Partial): grpc.ClientReadableStream; + ownedPositionIds(request: penumbra_view_v1alpha1_view_pb.OwnedPositionIdsRequest, metadata?: grpc.Metadata, options?: Partial): grpc.ClientReadableStream; + authorizeAndBuild(request: penumbra_view_v1alpha1_view_pb.AuthorizeAndBuildRequest, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.AuthorizeAndBuildResponse) => void): grpc.ClientUnaryCall; + authorizeAndBuild(request: penumbra_view_v1alpha1_view_pb.AuthorizeAndBuildRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.AuthorizeAndBuildResponse) => void): grpc.ClientUnaryCall; + authorizeAndBuild(request: penumbra_view_v1alpha1_view_pb.AuthorizeAndBuildRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.AuthorizeAndBuildResponse) => void): grpc.ClientUnaryCall; +} + +export class ViewProtocolServiceClient extends grpc.Client implements IViewProtocolServiceClient { + constructor(address: string, credentials: grpc.ChannelCredentials, options?: object); + public status(request: penumbra_view_v1alpha1_view_pb.StatusRequest, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.StatusResponse) => void): grpc.ClientUnaryCall; + public status(request: penumbra_view_v1alpha1_view_pb.StatusRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.StatusResponse) => void): grpc.ClientUnaryCall; + public status(request: penumbra_view_v1alpha1_view_pb.StatusRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.StatusResponse) => void): grpc.ClientUnaryCall; + public statusStream(request: penumbra_view_v1alpha1_view_pb.StatusStreamRequest, options?: Partial): grpc.ClientReadableStream; + public statusStream(request: penumbra_view_v1alpha1_view_pb.StatusStreamRequest, metadata?: grpc.Metadata, options?: Partial): grpc.ClientReadableStream; + public notes(request: penumbra_view_v1alpha1_view_pb.NotesRequest, options?: Partial): grpc.ClientReadableStream; + public notes(request: penumbra_view_v1alpha1_view_pb.NotesRequest, metadata?: grpc.Metadata, options?: Partial): grpc.ClientReadableStream; + public notesForVoting(request: penumbra_view_v1alpha1_view_pb.NotesForVotingRequest, options?: Partial): grpc.ClientReadableStream; + public notesForVoting(request: penumbra_view_v1alpha1_view_pb.NotesForVotingRequest, metadata?: grpc.Metadata, options?: Partial): grpc.ClientReadableStream; + public witness(request: penumbra_view_v1alpha1_view_pb.WitnessRequest, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.WitnessResponse) => void): grpc.ClientUnaryCall; + public witness(request: penumbra_view_v1alpha1_view_pb.WitnessRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.WitnessResponse) => void): grpc.ClientUnaryCall; + public witness(request: penumbra_view_v1alpha1_view_pb.WitnessRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.WitnessResponse) => void): grpc.ClientUnaryCall; + public witnessAndBuild(request: penumbra_view_v1alpha1_view_pb.WitnessAndBuildRequest, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.WitnessAndBuildResponse) => void): grpc.ClientUnaryCall; + public witnessAndBuild(request: penumbra_view_v1alpha1_view_pb.WitnessAndBuildRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.WitnessAndBuildResponse) => void): grpc.ClientUnaryCall; + public witnessAndBuild(request: penumbra_view_v1alpha1_view_pb.WitnessAndBuildRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.WitnessAndBuildResponse) => void): grpc.ClientUnaryCall; + public assets(request: penumbra_view_v1alpha1_view_pb.AssetsRequest, options?: Partial): grpc.ClientReadableStream; + public assets(request: penumbra_view_v1alpha1_view_pb.AssetsRequest, metadata?: grpc.Metadata, options?: Partial): grpc.ClientReadableStream; + public appParameters(request: penumbra_view_v1alpha1_view_pb.AppParametersRequest, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.AppParametersResponse) => void): grpc.ClientUnaryCall; + public appParameters(request: penumbra_view_v1alpha1_view_pb.AppParametersRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.AppParametersResponse) => void): grpc.ClientUnaryCall; + public appParameters(request: penumbra_view_v1alpha1_view_pb.AppParametersRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.AppParametersResponse) => void): grpc.ClientUnaryCall; + public gasPrices(request: penumbra_view_v1alpha1_view_pb.GasPricesRequest, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.GasPricesResponse) => void): grpc.ClientUnaryCall; + public gasPrices(request: penumbra_view_v1alpha1_view_pb.GasPricesRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.GasPricesResponse) => void): grpc.ClientUnaryCall; + public gasPrices(request: penumbra_view_v1alpha1_view_pb.GasPricesRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.GasPricesResponse) => void): grpc.ClientUnaryCall; + public fMDParameters(request: penumbra_view_v1alpha1_view_pb.FMDParametersRequest, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.FMDParametersResponse) => void): grpc.ClientUnaryCall; + public fMDParameters(request: penumbra_view_v1alpha1_view_pb.FMDParametersRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.FMDParametersResponse) => void): grpc.ClientUnaryCall; + public fMDParameters(request: penumbra_view_v1alpha1_view_pb.FMDParametersRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.FMDParametersResponse) => void): grpc.ClientUnaryCall; + public addressByIndex(request: penumbra_view_v1alpha1_view_pb.AddressByIndexRequest, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.AddressByIndexResponse) => void): grpc.ClientUnaryCall; + public addressByIndex(request: penumbra_view_v1alpha1_view_pb.AddressByIndexRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.AddressByIndexResponse) => void): grpc.ClientUnaryCall; + public addressByIndex(request: penumbra_view_v1alpha1_view_pb.AddressByIndexRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.AddressByIndexResponse) => void): grpc.ClientUnaryCall; + public walletId(request: penumbra_view_v1alpha1_view_pb.WalletIdRequest, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.WalletIdResponse) => void): grpc.ClientUnaryCall; + public walletId(request: penumbra_view_v1alpha1_view_pb.WalletIdRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.WalletIdResponse) => void): grpc.ClientUnaryCall; + public walletId(request: penumbra_view_v1alpha1_view_pb.WalletIdRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.WalletIdResponse) => void): grpc.ClientUnaryCall; + public indexByAddress(request: penumbra_view_v1alpha1_view_pb.IndexByAddressRequest, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.IndexByAddressResponse) => void): grpc.ClientUnaryCall; + public indexByAddress(request: penumbra_view_v1alpha1_view_pb.IndexByAddressRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.IndexByAddressResponse) => void): grpc.ClientUnaryCall; + public indexByAddress(request: penumbra_view_v1alpha1_view_pb.IndexByAddressRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.IndexByAddressResponse) => void): grpc.ClientUnaryCall; + public ephemeralAddress(request: penumbra_view_v1alpha1_view_pb.EphemeralAddressRequest, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.EphemeralAddressResponse) => void): grpc.ClientUnaryCall; + public ephemeralAddress(request: penumbra_view_v1alpha1_view_pb.EphemeralAddressRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.EphemeralAddressResponse) => void): grpc.ClientUnaryCall; + public ephemeralAddress(request: penumbra_view_v1alpha1_view_pb.EphemeralAddressRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.EphemeralAddressResponse) => void): grpc.ClientUnaryCall; + public balances(request: penumbra_view_v1alpha1_view_pb.BalancesRequest, options?: Partial): grpc.ClientReadableStream; + public balances(request: penumbra_view_v1alpha1_view_pb.BalancesRequest, metadata?: grpc.Metadata, options?: Partial): grpc.ClientReadableStream; + public noteByCommitment(request: penumbra_view_v1alpha1_view_pb.NoteByCommitmentRequest, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.NoteByCommitmentResponse) => void): grpc.ClientUnaryCall; + public noteByCommitment(request: penumbra_view_v1alpha1_view_pb.NoteByCommitmentRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.NoteByCommitmentResponse) => void): grpc.ClientUnaryCall; + public noteByCommitment(request: penumbra_view_v1alpha1_view_pb.NoteByCommitmentRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.NoteByCommitmentResponse) => void): grpc.ClientUnaryCall; + public swapByCommitment(request: penumbra_view_v1alpha1_view_pb.SwapByCommitmentRequest, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.SwapByCommitmentResponse) => void): grpc.ClientUnaryCall; + public swapByCommitment(request: penumbra_view_v1alpha1_view_pb.SwapByCommitmentRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.SwapByCommitmentResponse) => void): grpc.ClientUnaryCall; + public swapByCommitment(request: penumbra_view_v1alpha1_view_pb.SwapByCommitmentRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.SwapByCommitmentResponse) => void): grpc.ClientUnaryCall; + public unclaimedSwaps(request: penumbra_view_v1alpha1_view_pb.UnclaimedSwapsRequest, options?: Partial): grpc.ClientReadableStream; + public unclaimedSwaps(request: penumbra_view_v1alpha1_view_pb.UnclaimedSwapsRequest, metadata?: grpc.Metadata, options?: Partial): grpc.ClientReadableStream; + public nullifierStatus(request: penumbra_view_v1alpha1_view_pb.NullifierStatusRequest, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.NullifierStatusResponse) => void): grpc.ClientUnaryCall; + public nullifierStatus(request: penumbra_view_v1alpha1_view_pb.NullifierStatusRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.NullifierStatusResponse) => void): grpc.ClientUnaryCall; + public nullifierStatus(request: penumbra_view_v1alpha1_view_pb.NullifierStatusRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.NullifierStatusResponse) => void): grpc.ClientUnaryCall; + public transactionInfoByHash(request: penumbra_view_v1alpha1_view_pb.TransactionInfoByHashRequest, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.TransactionInfoByHashResponse) => void): grpc.ClientUnaryCall; + public transactionInfoByHash(request: penumbra_view_v1alpha1_view_pb.TransactionInfoByHashRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.TransactionInfoByHashResponse) => void): grpc.ClientUnaryCall; + public transactionInfoByHash(request: penumbra_view_v1alpha1_view_pb.TransactionInfoByHashRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.TransactionInfoByHashResponse) => void): grpc.ClientUnaryCall; + public transactionInfo(request: penumbra_view_v1alpha1_view_pb.TransactionInfoRequest, options?: Partial): grpc.ClientReadableStream; + public transactionInfo(request: penumbra_view_v1alpha1_view_pb.TransactionInfoRequest, metadata?: grpc.Metadata, options?: Partial): grpc.ClientReadableStream; + public transactionPlanner(request: penumbra_view_v1alpha1_view_pb.TransactionPlannerRequest, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.TransactionPlannerResponse) => void): grpc.ClientUnaryCall; + public transactionPlanner(request: penumbra_view_v1alpha1_view_pb.TransactionPlannerRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.TransactionPlannerResponse) => void): grpc.ClientUnaryCall; + public transactionPlanner(request: penumbra_view_v1alpha1_view_pb.TransactionPlannerRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.TransactionPlannerResponse) => void): grpc.ClientUnaryCall; + public broadcastTransaction(request: penumbra_view_v1alpha1_view_pb.BroadcastTransactionRequest, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.BroadcastTransactionResponse) => void): grpc.ClientUnaryCall; + public broadcastTransaction(request: penumbra_view_v1alpha1_view_pb.BroadcastTransactionRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.BroadcastTransactionResponse) => void): grpc.ClientUnaryCall; + public broadcastTransaction(request: penumbra_view_v1alpha1_view_pb.BroadcastTransactionRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.BroadcastTransactionResponse) => void): grpc.ClientUnaryCall; + public ownedPositionIds(request: penumbra_view_v1alpha1_view_pb.OwnedPositionIdsRequest, options?: Partial): grpc.ClientReadableStream; + public ownedPositionIds(request: penumbra_view_v1alpha1_view_pb.OwnedPositionIdsRequest, metadata?: grpc.Metadata, options?: Partial): grpc.ClientReadableStream; + public authorizeAndBuild(request: penumbra_view_v1alpha1_view_pb.AuthorizeAndBuildRequest, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.AuthorizeAndBuildResponse) => void): grpc.ClientUnaryCall; + public authorizeAndBuild(request: penumbra_view_v1alpha1_view_pb.AuthorizeAndBuildRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.AuthorizeAndBuildResponse) => void): grpc.ClientUnaryCall; + public authorizeAndBuild(request: penumbra_view_v1alpha1_view_pb.AuthorizeAndBuildRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.AuthorizeAndBuildResponse) => void): grpc.ClientUnaryCall; +} + +interface IViewAuthServiceService extends grpc.ServiceDefinition { + viewAuth: IViewAuthServiceService_IViewAuth; +} + +interface IViewAuthServiceService_IViewAuth extends grpc.MethodDefinition { + path: "/penumbra.view.v1alpha1.ViewAuthService/ViewAuth"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} + +export const ViewAuthServiceService: IViewAuthServiceService; + +export interface IViewAuthServiceServer { + viewAuth: grpc.handleUnaryCall; +} + +export interface IViewAuthServiceClient { + viewAuth(request: penumbra_view_v1alpha1_view_pb.ViewAuthRequest, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.ViewAuthResponse) => void): grpc.ClientUnaryCall; + viewAuth(request: penumbra_view_v1alpha1_view_pb.ViewAuthRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.ViewAuthResponse) => void): grpc.ClientUnaryCall; + viewAuth(request: penumbra_view_v1alpha1_view_pb.ViewAuthRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.ViewAuthResponse) => void): grpc.ClientUnaryCall; +} + +export class ViewAuthServiceClient extends grpc.Client implements IViewAuthServiceClient { + constructor(address: string, credentials: grpc.ChannelCredentials, options?: object); + public viewAuth(request: penumbra_view_v1alpha1_view_pb.ViewAuthRequest, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.ViewAuthResponse) => void): grpc.ClientUnaryCall; + public viewAuth(request: penumbra_view_v1alpha1_view_pb.ViewAuthRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.ViewAuthResponse) => void): grpc.ClientUnaryCall; + public viewAuth(request: penumbra_view_v1alpha1_view_pb.ViewAuthRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: penumbra_view_v1alpha1_view_pb.ViewAuthResponse) => void): grpc.ClientUnaryCall; +} diff --git a/src/chains/penumbra/generated/penumbra/view/v1alpha1/view_grpc_pb.js b/src/chains/penumbra/generated/penumbra/view/v1alpha1/view_grpc_pb.js new file mode 100644 index 0000000000..b4256d878d --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/view/v1alpha1/view_grpc_pb.js @@ -0,0 +1,927 @@ +// GENERATED CODE -- DO NOT EDIT! + +'use strict'; +var grpc = require('@grpc/grpc-js'); +var penumbra_view_v1alpha1_view_pb = require('../../../penumbra/view/v1alpha1/view_pb.js'); +var penumbra_crypto_tct_v1alpha1_tct_pb = require('../../../penumbra/crypto/tct/v1alpha1/tct_pb.js'); +var penumbra_core_keys_v1alpha1_keys_pb = require('../../../penumbra/core/keys/v1alpha1/keys_pb.js'); +var penumbra_core_num_v1alpha1_num_pb = require('../../../penumbra/core/num/v1alpha1/num_pb.js'); +var penumbra_core_app_v1alpha1_app_pb = require('../../../penumbra/core/app/v1alpha1/app_pb.js'); +var penumbra_core_asset_v1alpha1_asset_pb = require('../../../penumbra/core/asset/v1alpha1/asset_pb.js'); +var penumbra_core_transaction_v1alpha1_transaction_pb = require('../../../penumbra/core/transaction/v1alpha1/transaction_pb.js'); +var penumbra_core_component_chain_v1alpha1_chain_pb = require('../../../penumbra/core/component/chain/v1alpha1/chain_pb.js'); +var penumbra_core_component_dex_v1alpha1_dex_pb = require('../../../penumbra/core/component/dex/v1alpha1/dex_pb.js'); +var penumbra_core_component_fee_v1alpha1_fee_pb = require('../../../penumbra/core/component/fee/v1alpha1/fee_pb.js'); +var penumbra_core_component_ibc_v1alpha1_ibc_pb = require('../../../penumbra/core/component/ibc/v1alpha1/ibc_pb.js'); +var penumbra_core_component_sct_v1alpha1_sct_pb = require('../../../penumbra/core/component/sct/v1alpha1/sct_pb.js'); +var penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb = require('../../../penumbra/core/component/shielded_pool/v1alpha1/shielded_pool_pb.js'); +var penumbra_core_component_stake_v1alpha1_stake_pb = require('../../../penumbra/core/component/stake/v1alpha1/stake_pb.js'); + +function serialize_penumbra_view_v1alpha1_AddressByIndexRequest(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.AddressByIndexRequest)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.AddressByIndexRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_AddressByIndexRequest(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.AddressByIndexRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_AddressByIndexResponse(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.AddressByIndexResponse)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.AddressByIndexResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_AddressByIndexResponse(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.AddressByIndexResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_AppParametersRequest(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.AppParametersRequest)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.AppParametersRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_AppParametersRequest(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.AppParametersRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_AppParametersResponse(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.AppParametersResponse)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.AppParametersResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_AppParametersResponse(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.AppParametersResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_AssetsRequest(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.AssetsRequest)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.AssetsRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_AssetsRequest(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.AssetsRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_AssetsResponse(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.AssetsResponse)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.AssetsResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_AssetsResponse(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.AssetsResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_AuthorizeAndBuildRequest(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.AuthorizeAndBuildRequest)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.AuthorizeAndBuildRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_AuthorizeAndBuildRequest(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.AuthorizeAndBuildRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_AuthorizeAndBuildResponse(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.AuthorizeAndBuildResponse)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.AuthorizeAndBuildResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_AuthorizeAndBuildResponse(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.AuthorizeAndBuildResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_BalancesRequest(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.BalancesRequest)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.BalancesRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_BalancesRequest(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.BalancesRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_BalancesResponse(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.BalancesResponse)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.BalancesResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_BalancesResponse(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.BalancesResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_BroadcastTransactionRequest(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.BroadcastTransactionRequest)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.BroadcastTransactionRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_BroadcastTransactionRequest(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.BroadcastTransactionRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_BroadcastTransactionResponse(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.BroadcastTransactionResponse)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.BroadcastTransactionResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_BroadcastTransactionResponse(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.BroadcastTransactionResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_EphemeralAddressRequest(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.EphemeralAddressRequest)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.EphemeralAddressRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_EphemeralAddressRequest(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.EphemeralAddressRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_EphemeralAddressResponse(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.EphemeralAddressResponse)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.EphemeralAddressResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_EphemeralAddressResponse(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.EphemeralAddressResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_FMDParametersRequest(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.FMDParametersRequest)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.FMDParametersRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_FMDParametersRequest(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.FMDParametersRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_FMDParametersResponse(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.FMDParametersResponse)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.FMDParametersResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_FMDParametersResponse(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.FMDParametersResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_GasPricesRequest(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.GasPricesRequest)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.GasPricesRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_GasPricesRequest(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.GasPricesRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_GasPricesResponse(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.GasPricesResponse)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.GasPricesResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_GasPricesResponse(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.GasPricesResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_IndexByAddressRequest(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.IndexByAddressRequest)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.IndexByAddressRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_IndexByAddressRequest(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.IndexByAddressRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_IndexByAddressResponse(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.IndexByAddressResponse)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.IndexByAddressResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_IndexByAddressResponse(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.IndexByAddressResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_NoteByCommitmentRequest(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.NoteByCommitmentRequest)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.NoteByCommitmentRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_NoteByCommitmentRequest(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.NoteByCommitmentRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_NoteByCommitmentResponse(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.NoteByCommitmentResponse)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.NoteByCommitmentResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_NoteByCommitmentResponse(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.NoteByCommitmentResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_NotesForVotingRequest(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.NotesForVotingRequest)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.NotesForVotingRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_NotesForVotingRequest(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.NotesForVotingRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_NotesForVotingResponse(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.NotesForVotingResponse)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.NotesForVotingResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_NotesForVotingResponse(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.NotesForVotingResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_NotesRequest(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.NotesRequest)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.NotesRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_NotesRequest(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.NotesRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_NotesResponse(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.NotesResponse)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.NotesResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_NotesResponse(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.NotesResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_NullifierStatusRequest(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.NullifierStatusRequest)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.NullifierStatusRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_NullifierStatusRequest(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.NullifierStatusRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_NullifierStatusResponse(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.NullifierStatusResponse)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.NullifierStatusResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_NullifierStatusResponse(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.NullifierStatusResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_OwnedPositionIdsRequest(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.OwnedPositionIdsRequest)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.OwnedPositionIdsRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_OwnedPositionIdsRequest(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.OwnedPositionIdsRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_OwnedPositionIdsResponse(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.OwnedPositionIdsResponse)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.OwnedPositionIdsResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_OwnedPositionIdsResponse(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.OwnedPositionIdsResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_StatusRequest(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.StatusRequest)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.StatusRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_StatusRequest(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.StatusRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_StatusResponse(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.StatusResponse)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.StatusResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_StatusResponse(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.StatusResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_StatusStreamRequest(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.StatusStreamRequest)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.StatusStreamRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_StatusStreamRequest(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.StatusStreamRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_StatusStreamResponse(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.StatusStreamResponse)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.StatusStreamResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_StatusStreamResponse(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.StatusStreamResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_SwapByCommitmentRequest(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.SwapByCommitmentRequest)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.SwapByCommitmentRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_SwapByCommitmentRequest(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.SwapByCommitmentRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_SwapByCommitmentResponse(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.SwapByCommitmentResponse)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.SwapByCommitmentResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_SwapByCommitmentResponse(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.SwapByCommitmentResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_TransactionInfoByHashRequest(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.TransactionInfoByHashRequest)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.TransactionInfoByHashRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_TransactionInfoByHashRequest(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.TransactionInfoByHashRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_TransactionInfoByHashResponse(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.TransactionInfoByHashResponse)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.TransactionInfoByHashResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_TransactionInfoByHashResponse(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.TransactionInfoByHashResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_TransactionInfoRequest(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.TransactionInfoRequest)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.TransactionInfoRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_TransactionInfoRequest(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.TransactionInfoRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_TransactionInfoResponse(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.TransactionInfoResponse)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.TransactionInfoResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_TransactionInfoResponse(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.TransactionInfoResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_TransactionPlannerRequest(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.TransactionPlannerRequest)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.TransactionPlannerRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_TransactionPlannerRequest(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.TransactionPlannerRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_TransactionPlannerResponse(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.TransactionPlannerResponse)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.TransactionPlannerResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_TransactionPlannerResponse(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.TransactionPlannerResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_UnclaimedSwapsRequest(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.UnclaimedSwapsRequest)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.UnclaimedSwapsRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_UnclaimedSwapsRequest(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.UnclaimedSwapsRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_UnclaimedSwapsResponse(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.UnclaimedSwapsResponse)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.UnclaimedSwapsResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_UnclaimedSwapsResponse(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.UnclaimedSwapsResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_ViewAuthRequest(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.ViewAuthRequest)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.ViewAuthRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_ViewAuthRequest(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.ViewAuthRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_ViewAuthResponse(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.ViewAuthResponse)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.ViewAuthResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_ViewAuthResponse(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.ViewAuthResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_WalletIdRequest(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.WalletIdRequest)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.WalletIdRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_WalletIdRequest(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.WalletIdRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_WalletIdResponse(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.WalletIdResponse)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.WalletIdResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_WalletIdResponse(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.WalletIdResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_WitnessAndBuildRequest(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.WitnessAndBuildRequest)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.WitnessAndBuildRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_WitnessAndBuildRequest(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.WitnessAndBuildRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_WitnessAndBuildResponse(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.WitnessAndBuildResponse)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.WitnessAndBuildResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_WitnessAndBuildResponse(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.WitnessAndBuildResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_WitnessRequest(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.WitnessRequest)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.WitnessRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_WitnessRequest(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.WitnessRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_penumbra_view_v1alpha1_WitnessResponse(arg) { + if (!(arg instanceof penumbra_view_v1alpha1_view_pb.WitnessResponse)) { + throw new Error('Expected argument of type penumbra.view.v1alpha1.WitnessResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_penumbra_view_v1alpha1_WitnessResponse(buffer_arg) { + return penumbra_view_v1alpha1_view_pb.WitnessResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + + +// The view protocol is used by a view client, who wants to do some +// transaction-related actions, to request data from a view service, which is +// responsible for synchronizing and scanning the public chain state with one or +// more full viewing keys. +// +// View protocol requests optionally include the wallet id, used to +// identify which set of data to query. +var ViewProtocolServiceService = exports.ViewProtocolServiceService = { + // Get current status of chain sync +status: { + path: '/penumbra.view.v1alpha1.ViewProtocolService/Status', + requestStream: false, + responseStream: false, + requestType: penumbra_view_v1alpha1_view_pb.StatusRequest, + responseType: penumbra_view_v1alpha1_view_pb.StatusResponse, + requestSerialize: serialize_penumbra_view_v1alpha1_StatusRequest, + requestDeserialize: deserialize_penumbra_view_v1alpha1_StatusRequest, + responseSerialize: serialize_penumbra_view_v1alpha1_StatusResponse, + responseDeserialize: deserialize_penumbra_view_v1alpha1_StatusResponse, + }, + // Stream sync status updates until the view service has caught up with the chain. +// Returns a stream of `StatusStreamResponse`s. +statusStream: { + path: '/penumbra.view.v1alpha1.ViewProtocolService/StatusStream', + requestStream: false, + responseStream: true, + requestType: penumbra_view_v1alpha1_view_pb.StatusStreamRequest, + responseType: penumbra_view_v1alpha1_view_pb.StatusStreamResponse, + requestSerialize: serialize_penumbra_view_v1alpha1_StatusStreamRequest, + requestDeserialize: deserialize_penumbra_view_v1alpha1_StatusStreamRequest, + responseSerialize: serialize_penumbra_view_v1alpha1_StatusStreamResponse, + responseDeserialize: deserialize_penumbra_view_v1alpha1_StatusStreamResponse, + }, + // Queries for notes that have been accepted by the chain. +// Returns a stream of `NotesResponse`s. +notes: { + path: '/penumbra.view.v1alpha1.ViewProtocolService/Notes', + requestStream: false, + responseStream: true, + requestType: penumbra_view_v1alpha1_view_pb.NotesRequest, + responseType: penumbra_view_v1alpha1_view_pb.NotesResponse, + requestSerialize: serialize_penumbra_view_v1alpha1_NotesRequest, + requestDeserialize: deserialize_penumbra_view_v1alpha1_NotesRequest, + responseSerialize: serialize_penumbra_view_v1alpha1_NotesResponse, + responseDeserialize: deserialize_penumbra_view_v1alpha1_NotesResponse, + }, + // Returns a stream of `NotesForVotingResponse`s. +notesForVoting: { + path: '/penumbra.view.v1alpha1.ViewProtocolService/NotesForVoting', + requestStream: false, + responseStream: true, + requestType: penumbra_view_v1alpha1_view_pb.NotesForVotingRequest, + responseType: penumbra_view_v1alpha1_view_pb.NotesForVotingResponse, + requestSerialize: serialize_penumbra_view_v1alpha1_NotesForVotingRequest, + requestDeserialize: deserialize_penumbra_view_v1alpha1_NotesForVotingRequest, + responseSerialize: serialize_penumbra_view_v1alpha1_NotesForVotingResponse, + responseDeserialize: deserialize_penumbra_view_v1alpha1_NotesForVotingResponse, + }, + // Returns authentication paths for the given note commitments. +// +// This method takes a batch of input commitments, rather than just one, so +// that the client can get a consistent set of authentication paths to a +// common root. (Otherwise, if a client made multiple requests, the wallet +// service could have advanced the state commitment tree state between queries). +witness: { + path: '/penumbra.view.v1alpha1.ViewProtocolService/Witness', + requestStream: false, + responseStream: false, + requestType: penumbra_view_v1alpha1_view_pb.WitnessRequest, + responseType: penumbra_view_v1alpha1_view_pb.WitnessResponse, + requestSerialize: serialize_penumbra_view_v1alpha1_WitnessRequest, + requestDeserialize: deserialize_penumbra_view_v1alpha1_WitnessRequest, + responseSerialize: serialize_penumbra_view_v1alpha1_WitnessResponse, + responseDeserialize: deserialize_penumbra_view_v1alpha1_WitnessResponse, + }, + witnessAndBuild: { + path: '/penumbra.view.v1alpha1.ViewProtocolService/WitnessAndBuild', + requestStream: false, + responseStream: false, + requestType: penumbra_view_v1alpha1_view_pb.WitnessAndBuildRequest, + responseType: penumbra_view_v1alpha1_view_pb.WitnessAndBuildResponse, + requestSerialize: serialize_penumbra_view_v1alpha1_WitnessAndBuildRequest, + requestDeserialize: deserialize_penumbra_view_v1alpha1_WitnessAndBuildRequest, + responseSerialize: serialize_penumbra_view_v1alpha1_WitnessAndBuildResponse, + responseDeserialize: deserialize_penumbra_view_v1alpha1_WitnessAndBuildResponse, + }, + // Queries for assets. +// Returns a stream of `AssetsResponse`s. +assets: { + path: '/penumbra.view.v1alpha1.ViewProtocolService/Assets', + requestStream: false, + responseStream: true, + requestType: penumbra_view_v1alpha1_view_pb.AssetsRequest, + responseType: penumbra_view_v1alpha1_view_pb.AssetsResponse, + requestSerialize: serialize_penumbra_view_v1alpha1_AssetsRequest, + requestDeserialize: deserialize_penumbra_view_v1alpha1_AssetsRequest, + responseSerialize: serialize_penumbra_view_v1alpha1_AssetsResponse, + responseDeserialize: deserialize_penumbra_view_v1alpha1_AssetsResponse, + }, + // Query for the current app parameters. +appParameters: { + path: '/penumbra.view.v1alpha1.ViewProtocolService/AppParameters', + requestStream: false, + responseStream: false, + requestType: penumbra_view_v1alpha1_view_pb.AppParametersRequest, + responseType: penumbra_view_v1alpha1_view_pb.AppParametersResponse, + requestSerialize: serialize_penumbra_view_v1alpha1_AppParametersRequest, + requestDeserialize: deserialize_penumbra_view_v1alpha1_AppParametersRequest, + responseSerialize: serialize_penumbra_view_v1alpha1_AppParametersResponse, + responseDeserialize: deserialize_penumbra_view_v1alpha1_AppParametersResponse, + }, + // Query for the current gas prices. +gasPrices: { + path: '/penumbra.view.v1alpha1.ViewProtocolService/GasPrices', + requestStream: false, + responseStream: false, + requestType: penumbra_view_v1alpha1_view_pb.GasPricesRequest, + responseType: penumbra_view_v1alpha1_view_pb.GasPricesResponse, + requestSerialize: serialize_penumbra_view_v1alpha1_GasPricesRequest, + requestDeserialize: deserialize_penumbra_view_v1alpha1_GasPricesRequest, + responseSerialize: serialize_penumbra_view_v1alpha1_GasPricesResponse, + responseDeserialize: deserialize_penumbra_view_v1alpha1_GasPricesResponse, + }, + // Query for the current FMD parameters. +fMDParameters: { + path: '/penumbra.view.v1alpha1.ViewProtocolService/FMDParameters', + requestStream: false, + responseStream: false, + requestType: penumbra_view_v1alpha1_view_pb.FMDParametersRequest, + responseType: penumbra_view_v1alpha1_view_pb.FMDParametersResponse, + requestSerialize: serialize_penumbra_view_v1alpha1_FMDParametersRequest, + requestDeserialize: deserialize_penumbra_view_v1alpha1_FMDParametersRequest, + responseSerialize: serialize_penumbra_view_v1alpha1_FMDParametersResponse, + responseDeserialize: deserialize_penumbra_view_v1alpha1_FMDParametersResponse, + }, + // Query for an address given an address index +addressByIndex: { + path: '/penumbra.view.v1alpha1.ViewProtocolService/AddressByIndex', + requestStream: false, + responseStream: false, + requestType: penumbra_view_v1alpha1_view_pb.AddressByIndexRequest, + responseType: penumbra_view_v1alpha1_view_pb.AddressByIndexResponse, + requestSerialize: serialize_penumbra_view_v1alpha1_AddressByIndexRequest, + requestDeserialize: deserialize_penumbra_view_v1alpha1_AddressByIndexRequest, + responseSerialize: serialize_penumbra_view_v1alpha1_AddressByIndexResponse, + responseDeserialize: deserialize_penumbra_view_v1alpha1_AddressByIndexResponse, + }, + // Query for wallet id +walletId: { + path: '/penumbra.view.v1alpha1.ViewProtocolService/WalletId', + requestStream: false, + responseStream: false, + requestType: penumbra_view_v1alpha1_view_pb.WalletIdRequest, + responseType: penumbra_view_v1alpha1_view_pb.WalletIdResponse, + requestSerialize: serialize_penumbra_view_v1alpha1_WalletIdRequest, + requestDeserialize: deserialize_penumbra_view_v1alpha1_WalletIdRequest, + responseSerialize: serialize_penumbra_view_v1alpha1_WalletIdResponse, + responseDeserialize: deserialize_penumbra_view_v1alpha1_WalletIdResponse, + }, + // Query for an address given an address index +indexByAddress: { + path: '/penumbra.view.v1alpha1.ViewProtocolService/IndexByAddress', + requestStream: false, + responseStream: false, + requestType: penumbra_view_v1alpha1_view_pb.IndexByAddressRequest, + responseType: penumbra_view_v1alpha1_view_pb.IndexByAddressResponse, + requestSerialize: serialize_penumbra_view_v1alpha1_IndexByAddressRequest, + requestDeserialize: deserialize_penumbra_view_v1alpha1_IndexByAddressRequest, + responseSerialize: serialize_penumbra_view_v1alpha1_IndexByAddressResponse, + responseDeserialize: deserialize_penumbra_view_v1alpha1_IndexByAddressResponse, + }, + // Query for an ephemeral address +ephemeralAddress: { + path: '/penumbra.view.v1alpha1.ViewProtocolService/EphemeralAddress', + requestStream: false, + responseStream: false, + requestType: penumbra_view_v1alpha1_view_pb.EphemeralAddressRequest, + responseType: penumbra_view_v1alpha1_view_pb.EphemeralAddressResponse, + requestSerialize: serialize_penumbra_view_v1alpha1_EphemeralAddressRequest, + requestDeserialize: deserialize_penumbra_view_v1alpha1_EphemeralAddressRequest, + responseSerialize: serialize_penumbra_view_v1alpha1_EphemeralAddressResponse, + responseDeserialize: deserialize_penumbra_view_v1alpha1_EphemeralAddressResponse, + }, + // Query for balance of a given address. +// Returns a stream of `BalancesResponses`. +balances: { + path: '/penumbra.view.v1alpha1.ViewProtocolService/Balances', + requestStream: false, + responseStream: true, + requestType: penumbra_view_v1alpha1_view_pb.BalancesRequest, + responseType: penumbra_view_v1alpha1_view_pb.BalancesResponse, + requestSerialize: serialize_penumbra_view_v1alpha1_BalancesRequest, + requestDeserialize: deserialize_penumbra_view_v1alpha1_BalancesRequest, + responseSerialize: serialize_penumbra_view_v1alpha1_BalancesResponse, + responseDeserialize: deserialize_penumbra_view_v1alpha1_BalancesResponse, + }, + // Query for a note by its note commitment, optionally waiting until the note is detected. +noteByCommitment: { + path: '/penumbra.view.v1alpha1.ViewProtocolService/NoteByCommitment', + requestStream: false, + responseStream: false, + requestType: penumbra_view_v1alpha1_view_pb.NoteByCommitmentRequest, + responseType: penumbra_view_v1alpha1_view_pb.NoteByCommitmentResponse, + requestSerialize: serialize_penumbra_view_v1alpha1_NoteByCommitmentRequest, + requestDeserialize: deserialize_penumbra_view_v1alpha1_NoteByCommitmentRequest, + responseSerialize: serialize_penumbra_view_v1alpha1_NoteByCommitmentResponse, + responseDeserialize: deserialize_penumbra_view_v1alpha1_NoteByCommitmentResponse, + }, + // Query for a swap by its swap commitment, optionally waiting until the swap is detected. +swapByCommitment: { + path: '/penumbra.view.v1alpha1.ViewProtocolService/SwapByCommitment', + requestStream: false, + responseStream: false, + requestType: penumbra_view_v1alpha1_view_pb.SwapByCommitmentRequest, + responseType: penumbra_view_v1alpha1_view_pb.SwapByCommitmentResponse, + requestSerialize: serialize_penumbra_view_v1alpha1_SwapByCommitmentRequest, + requestDeserialize: deserialize_penumbra_view_v1alpha1_SwapByCommitmentRequest, + responseSerialize: serialize_penumbra_view_v1alpha1_SwapByCommitmentResponse, + responseDeserialize: deserialize_penumbra_view_v1alpha1_SwapByCommitmentResponse, + }, + // Query for all unclaimed swaps. +unclaimedSwaps: { + path: '/penumbra.view.v1alpha1.ViewProtocolService/UnclaimedSwaps', + requestStream: false, + responseStream: true, + requestType: penumbra_view_v1alpha1_view_pb.UnclaimedSwapsRequest, + responseType: penumbra_view_v1alpha1_view_pb.UnclaimedSwapsResponse, + requestSerialize: serialize_penumbra_view_v1alpha1_UnclaimedSwapsRequest, + requestDeserialize: deserialize_penumbra_view_v1alpha1_UnclaimedSwapsRequest, + responseSerialize: serialize_penumbra_view_v1alpha1_UnclaimedSwapsResponse, + responseDeserialize: deserialize_penumbra_view_v1alpha1_UnclaimedSwapsResponse, + }, + // Query for whether a nullifier has been spent, optionally waiting until it is spent. +nullifierStatus: { + path: '/penumbra.view.v1alpha1.ViewProtocolService/NullifierStatus', + requestStream: false, + responseStream: false, + requestType: penumbra_view_v1alpha1_view_pb.NullifierStatusRequest, + responseType: penumbra_view_v1alpha1_view_pb.NullifierStatusResponse, + requestSerialize: serialize_penumbra_view_v1alpha1_NullifierStatusRequest, + requestDeserialize: deserialize_penumbra_view_v1alpha1_NullifierStatusRequest, + responseSerialize: serialize_penumbra_view_v1alpha1_NullifierStatusResponse, + responseDeserialize: deserialize_penumbra_view_v1alpha1_NullifierStatusResponse, + }, + // Query for a given transaction by its hash. +transactionInfoByHash: { + path: '/penumbra.view.v1alpha1.ViewProtocolService/TransactionInfoByHash', + requestStream: false, + responseStream: false, + requestType: penumbra_view_v1alpha1_view_pb.TransactionInfoByHashRequest, + responseType: penumbra_view_v1alpha1_view_pb.TransactionInfoByHashResponse, + requestSerialize: serialize_penumbra_view_v1alpha1_TransactionInfoByHashRequest, + requestDeserialize: deserialize_penumbra_view_v1alpha1_TransactionInfoByHashRequest, + responseSerialize: serialize_penumbra_view_v1alpha1_TransactionInfoByHashResponse, + responseDeserialize: deserialize_penumbra_view_v1alpha1_TransactionInfoByHashResponse, + }, + // Query for the full transactions in the given range of blocks. +// Returns a stream of `TransactionInfoResponse`s. +transactionInfo: { + path: '/penumbra.view.v1alpha1.ViewProtocolService/TransactionInfo', + requestStream: false, + responseStream: true, + requestType: penumbra_view_v1alpha1_view_pb.TransactionInfoRequest, + responseType: penumbra_view_v1alpha1_view_pb.TransactionInfoResponse, + requestSerialize: serialize_penumbra_view_v1alpha1_TransactionInfoRequest, + requestDeserialize: deserialize_penumbra_view_v1alpha1_TransactionInfoRequest, + responseSerialize: serialize_penumbra_view_v1alpha1_TransactionInfoResponse, + responseDeserialize: deserialize_penumbra_view_v1alpha1_TransactionInfoResponse, + }, + // Query for a transaction plan +transactionPlanner: { + path: '/penumbra.view.v1alpha1.ViewProtocolService/TransactionPlanner', + requestStream: false, + responseStream: false, + requestType: penumbra_view_v1alpha1_view_pb.TransactionPlannerRequest, + responseType: penumbra_view_v1alpha1_view_pb.TransactionPlannerResponse, + requestSerialize: serialize_penumbra_view_v1alpha1_TransactionPlannerRequest, + requestDeserialize: deserialize_penumbra_view_v1alpha1_TransactionPlannerRequest, + responseSerialize: serialize_penumbra_view_v1alpha1_TransactionPlannerResponse, + responseDeserialize: deserialize_penumbra_view_v1alpha1_TransactionPlannerResponse, + }, + // Broadcast a transaction to the network, optionally waiting for full confirmation. +broadcastTransaction: { + path: '/penumbra.view.v1alpha1.ViewProtocolService/BroadcastTransaction', + requestStream: false, + responseStream: false, + requestType: penumbra_view_v1alpha1_view_pb.BroadcastTransactionRequest, + responseType: penumbra_view_v1alpha1_view_pb.BroadcastTransactionResponse, + requestSerialize: serialize_penumbra_view_v1alpha1_BroadcastTransactionRequest, + requestDeserialize: deserialize_penumbra_view_v1alpha1_BroadcastTransactionRequest, + responseSerialize: serialize_penumbra_view_v1alpha1_BroadcastTransactionResponse, + responseDeserialize: deserialize_penumbra_view_v1alpha1_BroadcastTransactionResponse, + }, + // Query for owned position IDs for the given trading pair and in the given position state. +ownedPositionIds: { + path: '/penumbra.view.v1alpha1.ViewProtocolService/OwnedPositionIds', + requestStream: false, + responseStream: true, + requestType: penumbra_view_v1alpha1_view_pb.OwnedPositionIdsRequest, + responseType: penumbra_view_v1alpha1_view_pb.OwnedPositionIdsResponse, + requestSerialize: serialize_penumbra_view_v1alpha1_OwnedPositionIdsRequest, + requestDeserialize: deserialize_penumbra_view_v1alpha1_OwnedPositionIdsRequest, + responseSerialize: serialize_penumbra_view_v1alpha1_OwnedPositionIdsResponse, + responseDeserialize: deserialize_penumbra_view_v1alpha1_OwnedPositionIdsResponse, + }, + // Authorize a transaction plan and build the transaction. +authorizeAndBuild: { + path: '/penumbra.view.v1alpha1.ViewProtocolService/AuthorizeAndBuild', + requestStream: false, + responseStream: false, + requestType: penumbra_view_v1alpha1_view_pb.AuthorizeAndBuildRequest, + responseType: penumbra_view_v1alpha1_view_pb.AuthorizeAndBuildResponse, + requestSerialize: serialize_penumbra_view_v1alpha1_AuthorizeAndBuildRequest, + requestDeserialize: deserialize_penumbra_view_v1alpha1_AuthorizeAndBuildRequest, + responseSerialize: serialize_penumbra_view_v1alpha1_AuthorizeAndBuildResponse, + responseDeserialize: deserialize_penumbra_view_v1alpha1_AuthorizeAndBuildResponse, + }, +}; + +exports.ViewProtocolServiceClient = grpc.makeGenericClientConstructor(ViewProtocolServiceService); +var ViewAuthServiceService = exports.ViewAuthServiceService = { + viewAuth: { + path: '/penumbra.view.v1alpha1.ViewAuthService/ViewAuth', + requestStream: false, + responseStream: false, + requestType: penumbra_view_v1alpha1_view_pb.ViewAuthRequest, + responseType: penumbra_view_v1alpha1_view_pb.ViewAuthResponse, + requestSerialize: serialize_penumbra_view_v1alpha1_ViewAuthRequest, + requestDeserialize: deserialize_penumbra_view_v1alpha1_ViewAuthRequest, + responseSerialize: serialize_penumbra_view_v1alpha1_ViewAuthResponse, + responseDeserialize: deserialize_penumbra_view_v1alpha1_ViewAuthResponse, + }, +}; + +exports.ViewAuthServiceClient = grpc.makeGenericClientConstructor(ViewAuthServiceService); diff --git a/src/chains/penumbra/generated/penumbra/view/v1alpha1/view_pb.d.ts b/src/chains/penumbra/generated/penumbra/view/v1alpha1/view_pb.d.ts new file mode 100644 index 0000000000..5ac6cab75c --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/view/v1alpha1/view_pb.d.ts @@ -0,0 +1,1802 @@ +// package: penumbra.view.v1alpha1 +// file: penumbra/view/v1alpha1/view.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as penumbra_crypto_tct_v1alpha1_tct_pb from "../../../penumbra/crypto/tct/v1alpha1/tct_pb"; +import * as penumbra_core_keys_v1alpha1_keys_pb from "../../../penumbra/core/keys/v1alpha1/keys_pb"; +import * as penumbra_core_num_v1alpha1_num_pb from "../../../penumbra/core/num/v1alpha1/num_pb"; +import * as penumbra_core_app_v1alpha1_app_pb from "../../../penumbra/core/app/v1alpha1/app_pb"; +import * as penumbra_core_asset_v1alpha1_asset_pb from "../../../penumbra/core/asset/v1alpha1/asset_pb"; +import * as penumbra_core_transaction_v1alpha1_transaction_pb from "../../../penumbra/core/transaction/v1alpha1/transaction_pb"; +import * as penumbra_core_component_chain_v1alpha1_chain_pb from "../../../penumbra/core/component/chain/v1alpha1/chain_pb"; +import * as penumbra_core_component_dex_v1alpha1_dex_pb from "../../../penumbra/core/component/dex/v1alpha1/dex_pb"; +import * as penumbra_core_component_fee_v1alpha1_fee_pb from "../../../penumbra/core/component/fee/v1alpha1/fee_pb"; +import * as penumbra_core_component_ibc_v1alpha1_ibc_pb from "../../../penumbra/core/component/ibc/v1alpha1/ibc_pb"; +import * as penumbra_core_component_sct_v1alpha1_sct_pb from "../../../penumbra/core/component/sct/v1alpha1/sct_pb"; +import * as penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb from "../../../penumbra/core/component/shielded_pool/v1alpha1/shielded_pool_pb"; +import * as penumbra_core_component_stake_v1alpha1_stake_pb from "../../../penumbra/core/component/stake/v1alpha1/stake_pb"; + +export class AuthorizeAndBuildRequest extends jspb.Message { + + hasTransactionPlan(): boolean; + clearTransactionPlan(): void; + getTransactionPlan(): penumbra_core_transaction_v1alpha1_transaction_pb.TransactionPlan | undefined; + setTransactionPlan(value?: penumbra_core_transaction_v1alpha1_transaction_pb.TransactionPlan): AuthorizeAndBuildRequest; + + hasAuthorizationData(): boolean; + clearAuthorizationData(): void; + getAuthorizationData(): penumbra_core_transaction_v1alpha1_transaction_pb.AuthorizationData | undefined; + setAuthorizationData(value?: penumbra_core_transaction_v1alpha1_transaction_pb.AuthorizationData): AuthorizeAndBuildRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): AuthorizeAndBuildRequest.AsObject; + static toObject(includeInstance: boolean, msg: AuthorizeAndBuildRequest): AuthorizeAndBuildRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: AuthorizeAndBuildRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): AuthorizeAndBuildRequest; + static deserializeBinaryFromReader(message: AuthorizeAndBuildRequest, reader: jspb.BinaryReader): AuthorizeAndBuildRequest; +} + +export namespace AuthorizeAndBuildRequest { + export type AsObject = { + transactionPlan?: penumbra_core_transaction_v1alpha1_transaction_pb.TransactionPlan.AsObject, + authorizationData?: penumbra_core_transaction_v1alpha1_transaction_pb.AuthorizationData.AsObject, + } +} + +export class AuthorizeAndBuildResponse extends jspb.Message { + + hasTransaction(): boolean; + clearTransaction(): void; + getTransaction(): penumbra_core_transaction_v1alpha1_transaction_pb.Transaction | undefined; + setTransaction(value?: penumbra_core_transaction_v1alpha1_transaction_pb.Transaction): AuthorizeAndBuildResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): AuthorizeAndBuildResponse.AsObject; + static toObject(includeInstance: boolean, msg: AuthorizeAndBuildResponse): AuthorizeAndBuildResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: AuthorizeAndBuildResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): AuthorizeAndBuildResponse; + static deserializeBinaryFromReader(message: AuthorizeAndBuildResponse, reader: jspb.BinaryReader): AuthorizeAndBuildResponse; +} + +export namespace AuthorizeAndBuildResponse { + export type AsObject = { + transaction?: penumbra_core_transaction_v1alpha1_transaction_pb.Transaction.AsObject, + } +} + +export class BroadcastTransactionRequest extends jspb.Message { + + hasTransaction(): boolean; + clearTransaction(): void; + getTransaction(): penumbra_core_transaction_v1alpha1_transaction_pb.Transaction | undefined; + setTransaction(value?: penumbra_core_transaction_v1alpha1_transaction_pb.Transaction): BroadcastTransactionRequest; + getAwaitDetection(): boolean; + setAwaitDetection(value: boolean): BroadcastTransactionRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): BroadcastTransactionRequest.AsObject; + static toObject(includeInstance: boolean, msg: BroadcastTransactionRequest): BroadcastTransactionRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: BroadcastTransactionRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): BroadcastTransactionRequest; + static deserializeBinaryFromReader(message: BroadcastTransactionRequest, reader: jspb.BinaryReader): BroadcastTransactionRequest; +} + +export namespace BroadcastTransactionRequest { + export type AsObject = { + transaction?: penumbra_core_transaction_v1alpha1_transaction_pb.Transaction.AsObject, + awaitDetection: boolean, + } +} + +export class BroadcastTransactionResponse extends jspb.Message { + + hasId(): boolean; + clearId(): void; + getId(): penumbra_core_transaction_v1alpha1_transaction_pb.Id | undefined; + setId(value?: penumbra_core_transaction_v1alpha1_transaction_pb.Id): BroadcastTransactionResponse; + getDetectionHeight(): number; + setDetectionHeight(value: number): BroadcastTransactionResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): BroadcastTransactionResponse.AsObject; + static toObject(includeInstance: boolean, msg: BroadcastTransactionResponse): BroadcastTransactionResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: BroadcastTransactionResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): BroadcastTransactionResponse; + static deserializeBinaryFromReader(message: BroadcastTransactionResponse, reader: jspb.BinaryReader): BroadcastTransactionResponse; +} + +export namespace BroadcastTransactionResponse { + export type AsObject = { + id?: penumbra_core_transaction_v1alpha1_transaction_pb.Id.AsObject, + detectionHeight: number, + } +} + +export class TransactionPlannerRequest extends jspb.Message { + getExpiryHeight(): number; + setExpiryHeight(value: number): TransactionPlannerRequest; + + hasFee(): boolean; + clearFee(): void; + getFee(): penumbra_core_component_fee_v1alpha1_fee_pb.Fee | undefined; + setFee(value?: penumbra_core_component_fee_v1alpha1_fee_pb.Fee): TransactionPlannerRequest; + + hasMemo(): boolean; + clearMemo(): void; + getMemo(): penumbra_core_transaction_v1alpha1_transaction_pb.MemoPlaintext | undefined; + setMemo(value?: penumbra_core_transaction_v1alpha1_transaction_pb.MemoPlaintext): TransactionPlannerRequest; + + hasSource(): boolean; + clearSource(): void; + getSource(): penumbra_core_keys_v1alpha1_keys_pb.AddressIndex | undefined; + setSource(value?: penumbra_core_keys_v1alpha1_keys_pb.AddressIndex): TransactionPlannerRequest; + + hasWalletId(): boolean; + clearWalletId(): void; + getWalletId(): penumbra_core_keys_v1alpha1_keys_pb.WalletId | undefined; + setWalletId(value?: penumbra_core_keys_v1alpha1_keys_pb.WalletId): TransactionPlannerRequest; + clearOutputsList(): void; + getOutputsList(): Array; + setOutputsList(value: Array): TransactionPlannerRequest; + addOutputs(value?: TransactionPlannerRequest.Output, index?: number): TransactionPlannerRequest.Output; + clearSwapsList(): void; + getSwapsList(): Array; + setSwapsList(value: Array): TransactionPlannerRequest; + addSwaps(value?: TransactionPlannerRequest.Swap, index?: number): TransactionPlannerRequest.Swap; + clearSwapClaimsList(): void; + getSwapClaimsList(): Array; + setSwapClaimsList(value: Array): TransactionPlannerRequest; + addSwapClaims(value?: TransactionPlannerRequest.SwapClaim, index?: number): TransactionPlannerRequest.SwapClaim; + clearDelegationsList(): void; + getDelegationsList(): Array; + setDelegationsList(value: Array): TransactionPlannerRequest; + addDelegations(value?: TransactionPlannerRequest.Delegate, index?: number): TransactionPlannerRequest.Delegate; + clearUndelegationsList(): void; + getUndelegationsList(): Array; + setUndelegationsList(value: Array): TransactionPlannerRequest; + addUndelegations(value?: TransactionPlannerRequest.Undelegate, index?: number): TransactionPlannerRequest.Undelegate; + clearIbcActionsList(): void; + getIbcActionsList(): Array; + setIbcActionsList(value: Array): TransactionPlannerRequest; + addIbcActions(value?: penumbra_core_component_ibc_v1alpha1_ibc_pb.IbcAction, index?: number): penumbra_core_component_ibc_v1alpha1_ibc_pb.IbcAction; + clearIcs20WithdrawalsList(): void; + getIcs20WithdrawalsList(): Array; + setIcs20WithdrawalsList(value: Array): TransactionPlannerRequest; + addIcs20Withdrawals(value?: penumbra_core_component_ibc_v1alpha1_ibc_pb.Ics20Withdrawal, index?: number): penumbra_core_component_ibc_v1alpha1_ibc_pb.Ics20Withdrawal; + clearPositionOpensList(): void; + getPositionOpensList(): Array; + setPositionOpensList(value: Array): TransactionPlannerRequest; + addPositionOpens(value?: TransactionPlannerRequest.PositionOpen, index?: number): TransactionPlannerRequest.PositionOpen; + clearPositionClosesList(): void; + getPositionClosesList(): Array; + setPositionClosesList(value: Array): TransactionPlannerRequest; + addPositionCloses(value?: TransactionPlannerRequest.PositionClose, index?: number): TransactionPlannerRequest.PositionClose; + clearPositionWithdrawsList(): void; + getPositionWithdrawsList(): Array; + setPositionWithdrawsList(value: Array): TransactionPlannerRequest; + addPositionWithdraws(value?: TransactionPlannerRequest.PositionWithdraw, index?: number): TransactionPlannerRequest.PositionWithdraw; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): TransactionPlannerRequest.AsObject; + static toObject(includeInstance: boolean, msg: TransactionPlannerRequest): TransactionPlannerRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: TransactionPlannerRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): TransactionPlannerRequest; + static deserializeBinaryFromReader(message: TransactionPlannerRequest, reader: jspb.BinaryReader): TransactionPlannerRequest; +} + +export namespace TransactionPlannerRequest { + export type AsObject = { + expiryHeight: number, + fee?: penumbra_core_component_fee_v1alpha1_fee_pb.Fee.AsObject, + memo?: penumbra_core_transaction_v1alpha1_transaction_pb.MemoPlaintext.AsObject, + source?: penumbra_core_keys_v1alpha1_keys_pb.AddressIndex.AsObject, + walletId?: penumbra_core_keys_v1alpha1_keys_pb.WalletId.AsObject, + outputsList: Array, + swapsList: Array, + swapClaimsList: Array, + delegationsList: Array, + undelegationsList: Array, + ibcActionsList: Array, + ics20WithdrawalsList: Array, + positionOpensList: Array, + positionClosesList: Array, + positionWithdrawsList: Array, + } + + + export class Output extends jspb.Message { + + hasValue(): boolean; + clearValue(): void; + getValue(): penumbra_core_asset_v1alpha1_asset_pb.Value | undefined; + setValue(value?: penumbra_core_asset_v1alpha1_asset_pb.Value): Output; + + hasAddress(): boolean; + clearAddress(): void; + getAddress(): penumbra_core_keys_v1alpha1_keys_pb.Address | undefined; + setAddress(value?: penumbra_core_keys_v1alpha1_keys_pb.Address): Output; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Output.AsObject; + static toObject(includeInstance: boolean, msg: Output): Output.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Output, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Output; + static deserializeBinaryFromReader(message: Output, reader: jspb.BinaryReader): Output; + } + + export namespace Output { + export type AsObject = { + value?: penumbra_core_asset_v1alpha1_asset_pb.Value.AsObject, + address?: penumbra_core_keys_v1alpha1_keys_pb.Address.AsObject, + } + } + + export class Swap extends jspb.Message { + + hasValue(): boolean; + clearValue(): void; + getValue(): penumbra_core_asset_v1alpha1_asset_pb.Value | undefined; + setValue(value?: penumbra_core_asset_v1alpha1_asset_pb.Value): Swap; + + hasTargetAsset(): boolean; + clearTargetAsset(): void; + getTargetAsset(): penumbra_core_asset_v1alpha1_asset_pb.AssetId | undefined; + setTargetAsset(value?: penumbra_core_asset_v1alpha1_asset_pb.AssetId): Swap; + + hasFee(): boolean; + clearFee(): void; + getFee(): penumbra_core_component_fee_v1alpha1_fee_pb.Fee | undefined; + setFee(value?: penumbra_core_component_fee_v1alpha1_fee_pb.Fee): Swap; + + hasClaimAddress(): boolean; + clearClaimAddress(): void; + getClaimAddress(): penumbra_core_keys_v1alpha1_keys_pb.Address | undefined; + setClaimAddress(value?: penumbra_core_keys_v1alpha1_keys_pb.Address): Swap; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Swap.AsObject; + static toObject(includeInstance: boolean, msg: Swap): Swap.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Swap, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Swap; + static deserializeBinaryFromReader(message: Swap, reader: jspb.BinaryReader): Swap; + } + + export namespace Swap { + export type AsObject = { + value?: penumbra_core_asset_v1alpha1_asset_pb.Value.AsObject, + targetAsset?: penumbra_core_asset_v1alpha1_asset_pb.AssetId.AsObject, + fee?: penumbra_core_component_fee_v1alpha1_fee_pb.Fee.AsObject, + claimAddress?: penumbra_core_keys_v1alpha1_keys_pb.Address.AsObject, + } + } + + export class SwapClaim extends jspb.Message { + + hasSwapCommitment(): boolean; + clearSwapCommitment(): void; + getSwapCommitment(): penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment | undefined; + setSwapCommitment(value?: penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment): SwapClaim; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SwapClaim.AsObject; + static toObject(includeInstance: boolean, msg: SwapClaim): SwapClaim.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SwapClaim, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SwapClaim; + static deserializeBinaryFromReader(message: SwapClaim, reader: jspb.BinaryReader): SwapClaim; + } + + export namespace SwapClaim { + export type AsObject = { + swapCommitment?: penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.AsObject, + } + } + + export class Delegate extends jspb.Message { + + hasAmount(): boolean; + clearAmount(): void; + getAmount(): penumbra_core_num_v1alpha1_num_pb.Amount | undefined; + setAmount(value?: penumbra_core_num_v1alpha1_num_pb.Amount): Delegate; + + hasRateData(): boolean; + clearRateData(): void; + getRateData(): penumbra_core_component_stake_v1alpha1_stake_pb.RateData | undefined; + setRateData(value?: penumbra_core_component_stake_v1alpha1_stake_pb.RateData): Delegate; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Delegate.AsObject; + static toObject(includeInstance: boolean, msg: Delegate): Delegate.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Delegate, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Delegate; + static deserializeBinaryFromReader(message: Delegate, reader: jspb.BinaryReader): Delegate; + } + + export namespace Delegate { + export type AsObject = { + amount?: penumbra_core_num_v1alpha1_num_pb.Amount.AsObject, + rateData?: penumbra_core_component_stake_v1alpha1_stake_pb.RateData.AsObject, + } + } + + export class Undelegate extends jspb.Message { + + hasValue(): boolean; + clearValue(): void; + getValue(): penumbra_core_asset_v1alpha1_asset_pb.Value | undefined; + setValue(value?: penumbra_core_asset_v1alpha1_asset_pb.Value): Undelegate; + + hasRateData(): boolean; + clearRateData(): void; + getRateData(): penumbra_core_component_stake_v1alpha1_stake_pb.RateData | undefined; + setRateData(value?: penumbra_core_component_stake_v1alpha1_stake_pb.RateData): Undelegate; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Undelegate.AsObject; + static toObject(includeInstance: boolean, msg: Undelegate): Undelegate.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Undelegate, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Undelegate; + static deserializeBinaryFromReader(message: Undelegate, reader: jspb.BinaryReader): Undelegate; + } + + export namespace Undelegate { + export type AsObject = { + value?: penumbra_core_asset_v1alpha1_asset_pb.Value.AsObject, + rateData?: penumbra_core_component_stake_v1alpha1_stake_pb.RateData.AsObject, + } + } + + export class PositionOpen extends jspb.Message { + + hasPosition(): boolean; + clearPosition(): void; + getPosition(): penumbra_core_component_dex_v1alpha1_dex_pb.Position | undefined; + setPosition(value?: penumbra_core_component_dex_v1alpha1_dex_pb.Position): PositionOpen; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): PositionOpen.AsObject; + static toObject(includeInstance: boolean, msg: PositionOpen): PositionOpen.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: PositionOpen, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): PositionOpen; + static deserializeBinaryFromReader(message: PositionOpen, reader: jspb.BinaryReader): PositionOpen; + } + + export namespace PositionOpen { + export type AsObject = { + position?: penumbra_core_component_dex_v1alpha1_dex_pb.Position.AsObject, + } + } + + export class PositionClose extends jspb.Message { + + hasPositionId(): boolean; + clearPositionId(): void; + getPositionId(): penumbra_core_component_dex_v1alpha1_dex_pb.PositionId | undefined; + setPositionId(value?: penumbra_core_component_dex_v1alpha1_dex_pb.PositionId): PositionClose; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): PositionClose.AsObject; + static toObject(includeInstance: boolean, msg: PositionClose): PositionClose.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: PositionClose, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): PositionClose; + static deserializeBinaryFromReader(message: PositionClose, reader: jspb.BinaryReader): PositionClose; + } + + export namespace PositionClose { + export type AsObject = { + positionId?: penumbra_core_component_dex_v1alpha1_dex_pb.PositionId.AsObject, + } + } + + export class PositionWithdraw extends jspb.Message { + + hasPositionId(): boolean; + clearPositionId(): void; + getPositionId(): penumbra_core_component_dex_v1alpha1_dex_pb.PositionId | undefined; + setPositionId(value?: penumbra_core_component_dex_v1alpha1_dex_pb.PositionId): PositionWithdraw; + + hasReserves(): boolean; + clearReserves(): void; + getReserves(): penumbra_core_component_dex_v1alpha1_dex_pb.Reserves | undefined; + setReserves(value?: penumbra_core_component_dex_v1alpha1_dex_pb.Reserves): PositionWithdraw; + + hasTradingPair(): boolean; + clearTradingPair(): void; + getTradingPair(): penumbra_core_component_dex_v1alpha1_dex_pb.TradingPair | undefined; + setTradingPair(value?: penumbra_core_component_dex_v1alpha1_dex_pb.TradingPair): PositionWithdraw; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): PositionWithdraw.AsObject; + static toObject(includeInstance: boolean, msg: PositionWithdraw): PositionWithdraw.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: PositionWithdraw, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): PositionWithdraw; + static deserializeBinaryFromReader(message: PositionWithdraw, reader: jspb.BinaryReader): PositionWithdraw; + } + + export namespace PositionWithdraw { + export type AsObject = { + positionId?: penumbra_core_component_dex_v1alpha1_dex_pb.PositionId.AsObject, + reserves?: penumbra_core_component_dex_v1alpha1_dex_pb.Reserves.AsObject, + tradingPair?: penumbra_core_component_dex_v1alpha1_dex_pb.TradingPair.AsObject, + } + } + +} + +export class TransactionPlannerResponse extends jspb.Message { + + hasPlan(): boolean; + clearPlan(): void; + getPlan(): penumbra_core_transaction_v1alpha1_transaction_pb.TransactionPlan | undefined; + setPlan(value?: penumbra_core_transaction_v1alpha1_transaction_pb.TransactionPlan): TransactionPlannerResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): TransactionPlannerResponse.AsObject; + static toObject(includeInstance: boolean, msg: TransactionPlannerResponse): TransactionPlannerResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: TransactionPlannerResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): TransactionPlannerResponse; + static deserializeBinaryFromReader(message: TransactionPlannerResponse, reader: jspb.BinaryReader): TransactionPlannerResponse; +} + +export namespace TransactionPlannerResponse { + export type AsObject = { + plan?: penumbra_core_transaction_v1alpha1_transaction_pb.TransactionPlan.AsObject, + } +} + +export class AddressByIndexRequest extends jspb.Message { + + hasAddressIndex(): boolean; + clearAddressIndex(): void; + getAddressIndex(): penumbra_core_keys_v1alpha1_keys_pb.AddressIndex | undefined; + setAddressIndex(value?: penumbra_core_keys_v1alpha1_keys_pb.AddressIndex): AddressByIndexRequest; + getDisplayConfirm(): boolean; + setDisplayConfirm(value: boolean): AddressByIndexRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): AddressByIndexRequest.AsObject; + static toObject(includeInstance: boolean, msg: AddressByIndexRequest): AddressByIndexRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: AddressByIndexRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): AddressByIndexRequest; + static deserializeBinaryFromReader(message: AddressByIndexRequest, reader: jspb.BinaryReader): AddressByIndexRequest; +} + +export namespace AddressByIndexRequest { + export type AsObject = { + addressIndex?: penumbra_core_keys_v1alpha1_keys_pb.AddressIndex.AsObject, + displayConfirm: boolean, + } +} + +export class AddressByIndexResponse extends jspb.Message { + + hasAddress(): boolean; + clearAddress(): void; + getAddress(): penumbra_core_keys_v1alpha1_keys_pb.Address | undefined; + setAddress(value?: penumbra_core_keys_v1alpha1_keys_pb.Address): AddressByIndexResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): AddressByIndexResponse.AsObject; + static toObject(includeInstance: boolean, msg: AddressByIndexResponse): AddressByIndexResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: AddressByIndexResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): AddressByIndexResponse; + static deserializeBinaryFromReader(message: AddressByIndexResponse, reader: jspb.BinaryReader): AddressByIndexResponse; +} + +export namespace AddressByIndexResponse { + export type AsObject = { + address?: penumbra_core_keys_v1alpha1_keys_pb.Address.AsObject, + } +} + +export class WalletIdRequest extends jspb.Message { + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): WalletIdRequest.AsObject; + static toObject(includeInstance: boolean, msg: WalletIdRequest): WalletIdRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: WalletIdRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): WalletIdRequest; + static deserializeBinaryFromReader(message: WalletIdRequest, reader: jspb.BinaryReader): WalletIdRequest; +} + +export namespace WalletIdRequest { + export type AsObject = { + } +} + +export class WalletIdResponse extends jspb.Message { + + hasWalletId(): boolean; + clearWalletId(): void; + getWalletId(): penumbra_core_keys_v1alpha1_keys_pb.WalletId | undefined; + setWalletId(value?: penumbra_core_keys_v1alpha1_keys_pb.WalletId): WalletIdResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): WalletIdResponse.AsObject; + static toObject(includeInstance: boolean, msg: WalletIdResponse): WalletIdResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: WalletIdResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): WalletIdResponse; + static deserializeBinaryFromReader(message: WalletIdResponse, reader: jspb.BinaryReader): WalletIdResponse; +} + +export namespace WalletIdResponse { + export type AsObject = { + walletId?: penumbra_core_keys_v1alpha1_keys_pb.WalletId.AsObject, + } +} + +export class IndexByAddressRequest extends jspb.Message { + + hasAddress(): boolean; + clearAddress(): void; + getAddress(): penumbra_core_keys_v1alpha1_keys_pb.Address | undefined; + setAddress(value?: penumbra_core_keys_v1alpha1_keys_pb.Address): IndexByAddressRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): IndexByAddressRequest.AsObject; + static toObject(includeInstance: boolean, msg: IndexByAddressRequest): IndexByAddressRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: IndexByAddressRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): IndexByAddressRequest; + static deserializeBinaryFromReader(message: IndexByAddressRequest, reader: jspb.BinaryReader): IndexByAddressRequest; +} + +export namespace IndexByAddressRequest { + export type AsObject = { + address?: penumbra_core_keys_v1alpha1_keys_pb.Address.AsObject, + } +} + +export class IndexByAddressResponse extends jspb.Message { + + hasAddressIndex(): boolean; + clearAddressIndex(): void; + getAddressIndex(): penumbra_core_keys_v1alpha1_keys_pb.AddressIndex | undefined; + setAddressIndex(value?: penumbra_core_keys_v1alpha1_keys_pb.AddressIndex): IndexByAddressResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): IndexByAddressResponse.AsObject; + static toObject(includeInstance: boolean, msg: IndexByAddressResponse): IndexByAddressResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: IndexByAddressResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): IndexByAddressResponse; + static deserializeBinaryFromReader(message: IndexByAddressResponse, reader: jspb.BinaryReader): IndexByAddressResponse; +} + +export namespace IndexByAddressResponse { + export type AsObject = { + addressIndex?: penumbra_core_keys_v1alpha1_keys_pb.AddressIndex.AsObject, + } +} + +export class EphemeralAddressRequest extends jspb.Message { + + hasAddressIndex(): boolean; + clearAddressIndex(): void; + getAddressIndex(): penumbra_core_keys_v1alpha1_keys_pb.AddressIndex | undefined; + setAddressIndex(value?: penumbra_core_keys_v1alpha1_keys_pb.AddressIndex): EphemeralAddressRequest; + getDisplayConfirm(): boolean; + setDisplayConfirm(value: boolean): EphemeralAddressRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): EphemeralAddressRequest.AsObject; + static toObject(includeInstance: boolean, msg: EphemeralAddressRequest): EphemeralAddressRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: EphemeralAddressRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): EphemeralAddressRequest; + static deserializeBinaryFromReader(message: EphemeralAddressRequest, reader: jspb.BinaryReader): EphemeralAddressRequest; +} + +export namespace EphemeralAddressRequest { + export type AsObject = { + addressIndex?: penumbra_core_keys_v1alpha1_keys_pb.AddressIndex.AsObject, + displayConfirm: boolean, + } +} + +export class EphemeralAddressResponse extends jspb.Message { + + hasAddress(): boolean; + clearAddress(): void; + getAddress(): penumbra_core_keys_v1alpha1_keys_pb.Address | undefined; + setAddress(value?: penumbra_core_keys_v1alpha1_keys_pb.Address): EphemeralAddressResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): EphemeralAddressResponse.AsObject; + static toObject(includeInstance: boolean, msg: EphemeralAddressResponse): EphemeralAddressResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: EphemeralAddressResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): EphemeralAddressResponse; + static deserializeBinaryFromReader(message: EphemeralAddressResponse, reader: jspb.BinaryReader): EphemeralAddressResponse; +} + +export namespace EphemeralAddressResponse { + export type AsObject = { + address?: penumbra_core_keys_v1alpha1_keys_pb.Address.AsObject, + } +} + +export class BalancesRequest extends jspb.Message { + + hasAccountFilter(): boolean; + clearAccountFilter(): void; + getAccountFilter(): penumbra_core_keys_v1alpha1_keys_pb.AddressIndex | undefined; + setAccountFilter(value?: penumbra_core_keys_v1alpha1_keys_pb.AddressIndex): BalancesRequest; + + hasAssetIdFilter(): boolean; + clearAssetIdFilter(): void; + getAssetIdFilter(): penumbra_core_asset_v1alpha1_asset_pb.AssetId | undefined; + setAssetIdFilter(value?: penumbra_core_asset_v1alpha1_asset_pb.AssetId): BalancesRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): BalancesRequest.AsObject; + static toObject(includeInstance: boolean, msg: BalancesRequest): BalancesRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: BalancesRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): BalancesRequest; + static deserializeBinaryFromReader(message: BalancesRequest, reader: jspb.BinaryReader): BalancesRequest; +} + +export namespace BalancesRequest { + export type AsObject = { + accountFilter?: penumbra_core_keys_v1alpha1_keys_pb.AddressIndex.AsObject, + assetIdFilter?: penumbra_core_asset_v1alpha1_asset_pb.AssetId.AsObject, + } +} + +export class BalancesResponse extends jspb.Message { + + hasAccount(): boolean; + clearAccount(): void; + getAccount(): penumbra_core_keys_v1alpha1_keys_pb.AddressIndex | undefined; + setAccount(value?: penumbra_core_keys_v1alpha1_keys_pb.AddressIndex): BalancesResponse; + + hasBalance(): boolean; + clearBalance(): void; + getBalance(): penumbra_core_asset_v1alpha1_asset_pb.Value | undefined; + setBalance(value?: penumbra_core_asset_v1alpha1_asset_pb.Value): BalancesResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): BalancesResponse.AsObject; + static toObject(includeInstance: boolean, msg: BalancesResponse): BalancesResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: BalancesResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): BalancesResponse; + static deserializeBinaryFromReader(message: BalancesResponse, reader: jspb.BinaryReader): BalancesResponse; +} + +export namespace BalancesResponse { + export type AsObject = { + account?: penumbra_core_keys_v1alpha1_keys_pb.AddressIndex.AsObject, + balance?: penumbra_core_asset_v1alpha1_asset_pb.Value.AsObject, + } +} + +export class ViewAuthToken extends jspb.Message { + getInner(): Uint8Array | string; + getInner_asU8(): Uint8Array; + getInner_asB64(): string; + setInner(value: Uint8Array | string): ViewAuthToken; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ViewAuthToken.AsObject; + static toObject(includeInstance: boolean, msg: ViewAuthToken): ViewAuthToken.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ViewAuthToken, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ViewAuthToken; + static deserializeBinaryFromReader(message: ViewAuthToken, reader: jspb.BinaryReader): ViewAuthToken; +} + +export namespace ViewAuthToken { + export type AsObject = { + inner: Uint8Array | string, + } +} + +export class ViewAuthRequest extends jspb.Message { + + hasFvk(): boolean; + clearFvk(): void; + getFvk(): penumbra_core_keys_v1alpha1_keys_pb.FullViewingKey | undefined; + setFvk(value?: penumbra_core_keys_v1alpha1_keys_pb.FullViewingKey): ViewAuthRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ViewAuthRequest.AsObject; + static toObject(includeInstance: boolean, msg: ViewAuthRequest): ViewAuthRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ViewAuthRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ViewAuthRequest; + static deserializeBinaryFromReader(message: ViewAuthRequest, reader: jspb.BinaryReader): ViewAuthRequest; +} + +export namespace ViewAuthRequest { + export type AsObject = { + fvk?: penumbra_core_keys_v1alpha1_keys_pb.FullViewingKey.AsObject, + } +} + +export class ViewAuthResponse extends jspb.Message { + + hasToken(): boolean; + clearToken(): void; + getToken(): ViewAuthToken | undefined; + setToken(value?: ViewAuthToken): ViewAuthResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ViewAuthResponse.AsObject; + static toObject(includeInstance: boolean, msg: ViewAuthResponse): ViewAuthResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ViewAuthResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ViewAuthResponse; + static deserializeBinaryFromReader(message: ViewAuthResponse, reader: jspb.BinaryReader): ViewAuthResponse; +} + +export namespace ViewAuthResponse { + export type AsObject = { + token?: ViewAuthToken.AsObject, + } +} + +export class StatusRequest extends jspb.Message { + + hasWalletId(): boolean; + clearWalletId(): void; + getWalletId(): penumbra_core_keys_v1alpha1_keys_pb.WalletId | undefined; + setWalletId(value?: penumbra_core_keys_v1alpha1_keys_pb.WalletId): StatusRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): StatusRequest.AsObject; + static toObject(includeInstance: boolean, msg: StatusRequest): StatusRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: StatusRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): StatusRequest; + static deserializeBinaryFromReader(message: StatusRequest, reader: jspb.BinaryReader): StatusRequest; +} + +export namespace StatusRequest { + export type AsObject = { + walletId?: penumbra_core_keys_v1alpha1_keys_pb.WalletId.AsObject, + } +} + +export class StatusResponse extends jspb.Message { + getSyncHeight(): number; + setSyncHeight(value: number): StatusResponse; + getCatchingUp(): boolean; + setCatchingUp(value: boolean): StatusResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): StatusResponse.AsObject; + static toObject(includeInstance: boolean, msg: StatusResponse): StatusResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: StatusResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): StatusResponse; + static deserializeBinaryFromReader(message: StatusResponse, reader: jspb.BinaryReader): StatusResponse; +} + +export namespace StatusResponse { + export type AsObject = { + syncHeight: number, + catchingUp: boolean, + } +} + +export class StatusStreamRequest extends jspb.Message { + + hasWalletId(): boolean; + clearWalletId(): void; + getWalletId(): penumbra_core_keys_v1alpha1_keys_pb.WalletId | undefined; + setWalletId(value?: penumbra_core_keys_v1alpha1_keys_pb.WalletId): StatusStreamRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): StatusStreamRequest.AsObject; + static toObject(includeInstance: boolean, msg: StatusStreamRequest): StatusStreamRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: StatusStreamRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): StatusStreamRequest; + static deserializeBinaryFromReader(message: StatusStreamRequest, reader: jspb.BinaryReader): StatusStreamRequest; +} + +export namespace StatusStreamRequest { + export type AsObject = { + walletId?: penumbra_core_keys_v1alpha1_keys_pb.WalletId.AsObject, + } +} + +export class StatusStreamResponse extends jspb.Message { + getLatestKnownBlockHeight(): number; + setLatestKnownBlockHeight(value: number): StatusStreamResponse; + getSyncHeight(): number; + setSyncHeight(value: number): StatusStreamResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): StatusStreamResponse.AsObject; + static toObject(includeInstance: boolean, msg: StatusStreamResponse): StatusStreamResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: StatusStreamResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): StatusStreamResponse; + static deserializeBinaryFromReader(message: StatusStreamResponse, reader: jspb.BinaryReader): StatusStreamResponse; +} + +export namespace StatusStreamResponse { + export type AsObject = { + latestKnownBlockHeight: number, + syncHeight: number, + } +} + +export class NotesRequest extends jspb.Message { + getIncludeSpent(): boolean; + setIncludeSpent(value: boolean): NotesRequest; + + hasAssetId(): boolean; + clearAssetId(): void; + getAssetId(): penumbra_core_asset_v1alpha1_asset_pb.AssetId | undefined; + setAssetId(value?: penumbra_core_asset_v1alpha1_asset_pb.AssetId): NotesRequest; + + hasAddressIndex(): boolean; + clearAddressIndex(): void; + getAddressIndex(): penumbra_core_keys_v1alpha1_keys_pb.AddressIndex | undefined; + setAddressIndex(value?: penumbra_core_keys_v1alpha1_keys_pb.AddressIndex): NotesRequest; + + hasAmountToSpend(): boolean; + clearAmountToSpend(): void; + getAmountToSpend(): penumbra_core_num_v1alpha1_num_pb.Amount | undefined; + setAmountToSpend(value?: penumbra_core_num_v1alpha1_num_pb.Amount): NotesRequest; + + hasWalletId(): boolean; + clearWalletId(): void; + getWalletId(): penumbra_core_keys_v1alpha1_keys_pb.WalletId | undefined; + setWalletId(value?: penumbra_core_keys_v1alpha1_keys_pb.WalletId): NotesRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): NotesRequest.AsObject; + static toObject(includeInstance: boolean, msg: NotesRequest): NotesRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: NotesRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): NotesRequest; + static deserializeBinaryFromReader(message: NotesRequest, reader: jspb.BinaryReader): NotesRequest; +} + +export namespace NotesRequest { + export type AsObject = { + includeSpent: boolean, + assetId?: penumbra_core_asset_v1alpha1_asset_pb.AssetId.AsObject, + addressIndex?: penumbra_core_keys_v1alpha1_keys_pb.AddressIndex.AsObject, + amountToSpend?: penumbra_core_num_v1alpha1_num_pb.Amount.AsObject, + walletId?: penumbra_core_keys_v1alpha1_keys_pb.WalletId.AsObject, + } +} + +export class NotesForVotingRequest extends jspb.Message { + getVotableAtHeight(): number; + setVotableAtHeight(value: number): NotesForVotingRequest; + + hasAddressIndex(): boolean; + clearAddressIndex(): void; + getAddressIndex(): penumbra_core_keys_v1alpha1_keys_pb.AddressIndex | undefined; + setAddressIndex(value?: penumbra_core_keys_v1alpha1_keys_pb.AddressIndex): NotesForVotingRequest; + + hasWalletId(): boolean; + clearWalletId(): void; + getWalletId(): penumbra_core_keys_v1alpha1_keys_pb.WalletId | undefined; + setWalletId(value?: penumbra_core_keys_v1alpha1_keys_pb.WalletId): NotesForVotingRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): NotesForVotingRequest.AsObject; + static toObject(includeInstance: boolean, msg: NotesForVotingRequest): NotesForVotingRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: NotesForVotingRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): NotesForVotingRequest; + static deserializeBinaryFromReader(message: NotesForVotingRequest, reader: jspb.BinaryReader): NotesForVotingRequest; +} + +export namespace NotesForVotingRequest { + export type AsObject = { + votableAtHeight: number, + addressIndex?: penumbra_core_keys_v1alpha1_keys_pb.AddressIndex.AsObject, + walletId?: penumbra_core_keys_v1alpha1_keys_pb.WalletId.AsObject, + } +} + +export class WitnessRequest extends jspb.Message { + clearNoteCommitmentsList(): void; + getNoteCommitmentsList(): Array; + setNoteCommitmentsList(value: Array): WitnessRequest; + addNoteCommitments(value?: penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment, index?: number): penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment; + + hasTransactionPlan(): boolean; + clearTransactionPlan(): void; + getTransactionPlan(): penumbra_core_transaction_v1alpha1_transaction_pb.TransactionPlan | undefined; + setTransactionPlan(value?: penumbra_core_transaction_v1alpha1_transaction_pb.TransactionPlan): WitnessRequest; + + hasWalletId(): boolean; + clearWalletId(): void; + getWalletId(): penumbra_core_keys_v1alpha1_keys_pb.WalletId | undefined; + setWalletId(value?: penumbra_core_keys_v1alpha1_keys_pb.WalletId): WitnessRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): WitnessRequest.AsObject; + static toObject(includeInstance: boolean, msg: WitnessRequest): WitnessRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: WitnessRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): WitnessRequest; + static deserializeBinaryFromReader(message: WitnessRequest, reader: jspb.BinaryReader): WitnessRequest; +} + +export namespace WitnessRequest { + export type AsObject = { + noteCommitmentsList: Array, + transactionPlan?: penumbra_core_transaction_v1alpha1_transaction_pb.TransactionPlan.AsObject, + walletId?: penumbra_core_keys_v1alpha1_keys_pb.WalletId.AsObject, + } +} + +export class WitnessResponse extends jspb.Message { + + hasWitnessData(): boolean; + clearWitnessData(): void; + getWitnessData(): penumbra_core_transaction_v1alpha1_transaction_pb.WitnessData | undefined; + setWitnessData(value?: penumbra_core_transaction_v1alpha1_transaction_pb.WitnessData): WitnessResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): WitnessResponse.AsObject; + static toObject(includeInstance: boolean, msg: WitnessResponse): WitnessResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: WitnessResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): WitnessResponse; + static deserializeBinaryFromReader(message: WitnessResponse, reader: jspb.BinaryReader): WitnessResponse; +} + +export namespace WitnessResponse { + export type AsObject = { + witnessData?: penumbra_core_transaction_v1alpha1_transaction_pb.WitnessData.AsObject, + } +} + +export class WitnessAndBuildRequest extends jspb.Message { + + hasTransactionPlan(): boolean; + clearTransactionPlan(): void; + getTransactionPlan(): penumbra_core_transaction_v1alpha1_transaction_pb.TransactionPlan | undefined; + setTransactionPlan(value?: penumbra_core_transaction_v1alpha1_transaction_pb.TransactionPlan): WitnessAndBuildRequest; + + hasAuthorizationData(): boolean; + clearAuthorizationData(): void; + getAuthorizationData(): penumbra_core_transaction_v1alpha1_transaction_pb.AuthorizationData | undefined; + setAuthorizationData(value?: penumbra_core_transaction_v1alpha1_transaction_pb.AuthorizationData): WitnessAndBuildRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): WitnessAndBuildRequest.AsObject; + static toObject(includeInstance: boolean, msg: WitnessAndBuildRequest): WitnessAndBuildRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: WitnessAndBuildRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): WitnessAndBuildRequest; + static deserializeBinaryFromReader(message: WitnessAndBuildRequest, reader: jspb.BinaryReader): WitnessAndBuildRequest; +} + +export namespace WitnessAndBuildRequest { + export type AsObject = { + transactionPlan?: penumbra_core_transaction_v1alpha1_transaction_pb.TransactionPlan.AsObject, + authorizationData?: penumbra_core_transaction_v1alpha1_transaction_pb.AuthorizationData.AsObject, + } +} + +export class WitnessAndBuildResponse extends jspb.Message { + + hasTransaction(): boolean; + clearTransaction(): void; + getTransaction(): penumbra_core_transaction_v1alpha1_transaction_pb.Transaction | undefined; + setTransaction(value?: penumbra_core_transaction_v1alpha1_transaction_pb.Transaction): WitnessAndBuildResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): WitnessAndBuildResponse.AsObject; + static toObject(includeInstance: boolean, msg: WitnessAndBuildResponse): WitnessAndBuildResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: WitnessAndBuildResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): WitnessAndBuildResponse; + static deserializeBinaryFromReader(message: WitnessAndBuildResponse, reader: jspb.BinaryReader): WitnessAndBuildResponse; +} + +export namespace WitnessAndBuildResponse { + export type AsObject = { + transaction?: penumbra_core_transaction_v1alpha1_transaction_pb.Transaction.AsObject, + } +} + +export class AssetsRequest extends jspb.Message { + getFiltered(): boolean; + setFiltered(value: boolean): AssetsRequest; + clearIncludeSpecificDenominationsList(): void; + getIncludeSpecificDenominationsList(): Array; + setIncludeSpecificDenominationsList(value: Array): AssetsRequest; + addIncludeSpecificDenominations(value?: penumbra_core_asset_v1alpha1_asset_pb.Denom, index?: number): penumbra_core_asset_v1alpha1_asset_pb.Denom; + getIncludeDelegationTokens(): boolean; + setIncludeDelegationTokens(value: boolean): AssetsRequest; + getIncludeUnbondingTokens(): boolean; + setIncludeUnbondingTokens(value: boolean): AssetsRequest; + getIncludeLpNfts(): boolean; + setIncludeLpNfts(value: boolean): AssetsRequest; + getIncludeProposalNfts(): boolean; + setIncludeProposalNfts(value: boolean): AssetsRequest; + getIncludeVotingReceiptTokens(): boolean; + setIncludeVotingReceiptTokens(value: boolean): AssetsRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): AssetsRequest.AsObject; + static toObject(includeInstance: boolean, msg: AssetsRequest): AssetsRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: AssetsRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): AssetsRequest; + static deserializeBinaryFromReader(message: AssetsRequest, reader: jspb.BinaryReader): AssetsRequest; +} + +export namespace AssetsRequest { + export type AsObject = { + filtered: boolean, + includeSpecificDenominationsList: Array, + includeDelegationTokens: boolean, + includeUnbondingTokens: boolean, + includeLpNfts: boolean, + includeProposalNfts: boolean, + includeVotingReceiptTokens: boolean, + } +} + +export class AssetsResponse extends jspb.Message { + + hasDenomMetadata(): boolean; + clearDenomMetadata(): void; + getDenomMetadata(): penumbra_core_asset_v1alpha1_asset_pb.DenomMetadata | undefined; + setDenomMetadata(value?: penumbra_core_asset_v1alpha1_asset_pb.DenomMetadata): AssetsResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): AssetsResponse.AsObject; + static toObject(includeInstance: boolean, msg: AssetsResponse): AssetsResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: AssetsResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): AssetsResponse; + static deserializeBinaryFromReader(message: AssetsResponse, reader: jspb.BinaryReader): AssetsResponse; +} + +export namespace AssetsResponse { + export type AsObject = { + denomMetadata?: penumbra_core_asset_v1alpha1_asset_pb.DenomMetadata.AsObject, + } +} + +export class AppParametersRequest extends jspb.Message { + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): AppParametersRequest.AsObject; + static toObject(includeInstance: boolean, msg: AppParametersRequest): AppParametersRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: AppParametersRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): AppParametersRequest; + static deserializeBinaryFromReader(message: AppParametersRequest, reader: jspb.BinaryReader): AppParametersRequest; +} + +export namespace AppParametersRequest { + export type AsObject = { + } +} + +export class AppParametersResponse extends jspb.Message { + + hasParameters(): boolean; + clearParameters(): void; + getParameters(): penumbra_core_app_v1alpha1_app_pb.AppParameters | undefined; + setParameters(value?: penumbra_core_app_v1alpha1_app_pb.AppParameters): AppParametersResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): AppParametersResponse.AsObject; + static toObject(includeInstance: boolean, msg: AppParametersResponse): AppParametersResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: AppParametersResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): AppParametersResponse; + static deserializeBinaryFromReader(message: AppParametersResponse, reader: jspb.BinaryReader): AppParametersResponse; +} + +export namespace AppParametersResponse { + export type AsObject = { + parameters?: penumbra_core_app_v1alpha1_app_pb.AppParameters.AsObject, + } +} + +export class GasPricesRequest extends jspb.Message { + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GasPricesRequest.AsObject; + static toObject(includeInstance: boolean, msg: GasPricesRequest): GasPricesRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: GasPricesRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GasPricesRequest; + static deserializeBinaryFromReader(message: GasPricesRequest, reader: jspb.BinaryReader): GasPricesRequest; +} + +export namespace GasPricesRequest { + export type AsObject = { + } +} + +export class GasPricesResponse extends jspb.Message { + + hasGasPrices(): boolean; + clearGasPrices(): void; + getGasPrices(): penumbra_core_component_fee_v1alpha1_fee_pb.GasPrices | undefined; + setGasPrices(value?: penumbra_core_component_fee_v1alpha1_fee_pb.GasPrices): GasPricesResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GasPricesResponse.AsObject; + static toObject(includeInstance: boolean, msg: GasPricesResponse): GasPricesResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: GasPricesResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GasPricesResponse; + static deserializeBinaryFromReader(message: GasPricesResponse, reader: jspb.BinaryReader): GasPricesResponse; +} + +export namespace GasPricesResponse { + export type AsObject = { + gasPrices?: penumbra_core_component_fee_v1alpha1_fee_pb.GasPrices.AsObject, + } +} + +export class FMDParametersRequest extends jspb.Message { + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): FMDParametersRequest.AsObject; + static toObject(includeInstance: boolean, msg: FMDParametersRequest): FMDParametersRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: FMDParametersRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): FMDParametersRequest; + static deserializeBinaryFromReader(message: FMDParametersRequest, reader: jspb.BinaryReader): FMDParametersRequest; +} + +export namespace FMDParametersRequest { + export type AsObject = { + } +} + +export class FMDParametersResponse extends jspb.Message { + + hasParameters(): boolean; + clearParameters(): void; + getParameters(): penumbra_core_component_chain_v1alpha1_chain_pb.FmdParameters | undefined; + setParameters(value?: penumbra_core_component_chain_v1alpha1_chain_pb.FmdParameters): FMDParametersResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): FMDParametersResponse.AsObject; + static toObject(includeInstance: boolean, msg: FMDParametersResponse): FMDParametersResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: FMDParametersResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): FMDParametersResponse; + static deserializeBinaryFromReader(message: FMDParametersResponse, reader: jspb.BinaryReader): FMDParametersResponse; +} + +export namespace FMDParametersResponse { + export type AsObject = { + parameters?: penumbra_core_component_chain_v1alpha1_chain_pb.FmdParameters.AsObject, + } +} + +export class NoteByCommitmentRequest extends jspb.Message { + + hasNoteCommitment(): boolean; + clearNoteCommitment(): void; + getNoteCommitment(): penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment | undefined; + setNoteCommitment(value?: penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment): NoteByCommitmentRequest; + getAwaitDetection(): boolean; + setAwaitDetection(value: boolean): NoteByCommitmentRequest; + + hasWalletId(): boolean; + clearWalletId(): void; + getWalletId(): penumbra_core_keys_v1alpha1_keys_pb.WalletId | undefined; + setWalletId(value?: penumbra_core_keys_v1alpha1_keys_pb.WalletId): NoteByCommitmentRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): NoteByCommitmentRequest.AsObject; + static toObject(includeInstance: boolean, msg: NoteByCommitmentRequest): NoteByCommitmentRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: NoteByCommitmentRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): NoteByCommitmentRequest; + static deserializeBinaryFromReader(message: NoteByCommitmentRequest, reader: jspb.BinaryReader): NoteByCommitmentRequest; +} + +export namespace NoteByCommitmentRequest { + export type AsObject = { + noteCommitment?: penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.AsObject, + awaitDetection: boolean, + walletId?: penumbra_core_keys_v1alpha1_keys_pb.WalletId.AsObject, + } +} + +export class NoteByCommitmentResponse extends jspb.Message { + + hasSpendableNote(): boolean; + clearSpendableNote(): void; + getSpendableNote(): SpendableNoteRecord | undefined; + setSpendableNote(value?: SpendableNoteRecord): NoteByCommitmentResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): NoteByCommitmentResponse.AsObject; + static toObject(includeInstance: boolean, msg: NoteByCommitmentResponse): NoteByCommitmentResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: NoteByCommitmentResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): NoteByCommitmentResponse; + static deserializeBinaryFromReader(message: NoteByCommitmentResponse, reader: jspb.BinaryReader): NoteByCommitmentResponse; +} + +export namespace NoteByCommitmentResponse { + export type AsObject = { + spendableNote?: SpendableNoteRecord.AsObject, + } +} + +export class SwapByCommitmentRequest extends jspb.Message { + + hasSwapCommitment(): boolean; + clearSwapCommitment(): void; + getSwapCommitment(): penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment | undefined; + setSwapCommitment(value?: penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment): SwapByCommitmentRequest; + getAwaitDetection(): boolean; + setAwaitDetection(value: boolean): SwapByCommitmentRequest; + + hasWalletId(): boolean; + clearWalletId(): void; + getWalletId(): penumbra_core_keys_v1alpha1_keys_pb.WalletId | undefined; + setWalletId(value?: penumbra_core_keys_v1alpha1_keys_pb.WalletId): SwapByCommitmentRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SwapByCommitmentRequest.AsObject; + static toObject(includeInstance: boolean, msg: SwapByCommitmentRequest): SwapByCommitmentRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SwapByCommitmentRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SwapByCommitmentRequest; + static deserializeBinaryFromReader(message: SwapByCommitmentRequest, reader: jspb.BinaryReader): SwapByCommitmentRequest; +} + +export namespace SwapByCommitmentRequest { + export type AsObject = { + swapCommitment?: penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.AsObject, + awaitDetection: boolean, + walletId?: penumbra_core_keys_v1alpha1_keys_pb.WalletId.AsObject, + } +} + +export class SwapByCommitmentResponse extends jspb.Message { + + hasSwap(): boolean; + clearSwap(): void; + getSwap(): SwapRecord | undefined; + setSwap(value?: SwapRecord): SwapByCommitmentResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SwapByCommitmentResponse.AsObject; + static toObject(includeInstance: boolean, msg: SwapByCommitmentResponse): SwapByCommitmentResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SwapByCommitmentResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SwapByCommitmentResponse; + static deserializeBinaryFromReader(message: SwapByCommitmentResponse, reader: jspb.BinaryReader): SwapByCommitmentResponse; +} + +export namespace SwapByCommitmentResponse { + export type AsObject = { + swap?: SwapRecord.AsObject, + } +} + +export class UnclaimedSwapsRequest extends jspb.Message { + + hasWalletId(): boolean; + clearWalletId(): void; + getWalletId(): penumbra_core_keys_v1alpha1_keys_pb.WalletId | undefined; + setWalletId(value?: penumbra_core_keys_v1alpha1_keys_pb.WalletId): UnclaimedSwapsRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): UnclaimedSwapsRequest.AsObject; + static toObject(includeInstance: boolean, msg: UnclaimedSwapsRequest): UnclaimedSwapsRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: UnclaimedSwapsRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): UnclaimedSwapsRequest; + static deserializeBinaryFromReader(message: UnclaimedSwapsRequest, reader: jspb.BinaryReader): UnclaimedSwapsRequest; +} + +export namespace UnclaimedSwapsRequest { + export type AsObject = { + walletId?: penumbra_core_keys_v1alpha1_keys_pb.WalletId.AsObject, + } +} + +export class UnclaimedSwapsResponse extends jspb.Message { + + hasSwap(): boolean; + clearSwap(): void; + getSwap(): SwapRecord | undefined; + setSwap(value?: SwapRecord): UnclaimedSwapsResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): UnclaimedSwapsResponse.AsObject; + static toObject(includeInstance: boolean, msg: UnclaimedSwapsResponse): UnclaimedSwapsResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: UnclaimedSwapsResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): UnclaimedSwapsResponse; + static deserializeBinaryFromReader(message: UnclaimedSwapsResponse, reader: jspb.BinaryReader): UnclaimedSwapsResponse; +} + +export namespace UnclaimedSwapsResponse { + export type AsObject = { + swap?: SwapRecord.AsObject, + } +} + +export class NullifierStatusRequest extends jspb.Message { + + hasNullifier(): boolean; + clearNullifier(): void; + getNullifier(): penumbra_core_component_sct_v1alpha1_sct_pb.Nullifier | undefined; + setNullifier(value?: penumbra_core_component_sct_v1alpha1_sct_pb.Nullifier): NullifierStatusRequest; + getAwaitDetection(): boolean; + setAwaitDetection(value: boolean): NullifierStatusRequest; + + hasWalletId(): boolean; + clearWalletId(): void; + getWalletId(): penumbra_core_keys_v1alpha1_keys_pb.WalletId | undefined; + setWalletId(value?: penumbra_core_keys_v1alpha1_keys_pb.WalletId): NullifierStatusRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): NullifierStatusRequest.AsObject; + static toObject(includeInstance: boolean, msg: NullifierStatusRequest): NullifierStatusRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: NullifierStatusRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): NullifierStatusRequest; + static deserializeBinaryFromReader(message: NullifierStatusRequest, reader: jspb.BinaryReader): NullifierStatusRequest; +} + +export namespace NullifierStatusRequest { + export type AsObject = { + nullifier?: penumbra_core_component_sct_v1alpha1_sct_pb.Nullifier.AsObject, + awaitDetection: boolean, + walletId?: penumbra_core_keys_v1alpha1_keys_pb.WalletId.AsObject, + } +} + +export class NullifierStatusResponse extends jspb.Message { + getSpent(): boolean; + setSpent(value: boolean): NullifierStatusResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): NullifierStatusResponse.AsObject; + static toObject(includeInstance: boolean, msg: NullifierStatusResponse): NullifierStatusResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: NullifierStatusResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): NullifierStatusResponse; + static deserializeBinaryFromReader(message: NullifierStatusResponse, reader: jspb.BinaryReader): NullifierStatusResponse; +} + +export namespace NullifierStatusResponse { + export type AsObject = { + spent: boolean, + } +} + +export class TransactionInfoByHashRequest extends jspb.Message { + + hasId(): boolean; + clearId(): void; + getId(): penumbra_core_transaction_v1alpha1_transaction_pb.Id | undefined; + setId(value?: penumbra_core_transaction_v1alpha1_transaction_pb.Id): TransactionInfoByHashRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): TransactionInfoByHashRequest.AsObject; + static toObject(includeInstance: boolean, msg: TransactionInfoByHashRequest): TransactionInfoByHashRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: TransactionInfoByHashRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): TransactionInfoByHashRequest; + static deserializeBinaryFromReader(message: TransactionInfoByHashRequest, reader: jspb.BinaryReader): TransactionInfoByHashRequest; +} + +export namespace TransactionInfoByHashRequest { + export type AsObject = { + id?: penumbra_core_transaction_v1alpha1_transaction_pb.Id.AsObject, + } +} + +export class TransactionInfoRequest extends jspb.Message { + getStartHeight(): number; + setStartHeight(value: number): TransactionInfoRequest; + getEndHeight(): number; + setEndHeight(value: number): TransactionInfoRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): TransactionInfoRequest.AsObject; + static toObject(includeInstance: boolean, msg: TransactionInfoRequest): TransactionInfoRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: TransactionInfoRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): TransactionInfoRequest; + static deserializeBinaryFromReader(message: TransactionInfoRequest, reader: jspb.BinaryReader): TransactionInfoRequest; +} + +export namespace TransactionInfoRequest { + export type AsObject = { + startHeight: number, + endHeight: number, + } +} + +export class TransactionInfo extends jspb.Message { + getHeight(): number; + setHeight(value: number): TransactionInfo; + + hasId(): boolean; + clearId(): void; + getId(): penumbra_core_transaction_v1alpha1_transaction_pb.Id | undefined; + setId(value?: penumbra_core_transaction_v1alpha1_transaction_pb.Id): TransactionInfo; + + hasTransaction(): boolean; + clearTransaction(): void; + getTransaction(): penumbra_core_transaction_v1alpha1_transaction_pb.Transaction | undefined; + setTransaction(value?: penumbra_core_transaction_v1alpha1_transaction_pb.Transaction): TransactionInfo; + + hasPerspective(): boolean; + clearPerspective(): void; + getPerspective(): penumbra_core_transaction_v1alpha1_transaction_pb.TransactionPerspective | undefined; + setPerspective(value?: penumbra_core_transaction_v1alpha1_transaction_pb.TransactionPerspective): TransactionInfo; + + hasView(): boolean; + clearView(): void; + getView(): penumbra_core_transaction_v1alpha1_transaction_pb.TransactionView | undefined; + setView(value?: penumbra_core_transaction_v1alpha1_transaction_pb.TransactionView): TransactionInfo; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): TransactionInfo.AsObject; + static toObject(includeInstance: boolean, msg: TransactionInfo): TransactionInfo.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: TransactionInfo, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): TransactionInfo; + static deserializeBinaryFromReader(message: TransactionInfo, reader: jspb.BinaryReader): TransactionInfo; +} + +export namespace TransactionInfo { + export type AsObject = { + height: number, + id?: penumbra_core_transaction_v1alpha1_transaction_pb.Id.AsObject, + transaction?: penumbra_core_transaction_v1alpha1_transaction_pb.Transaction.AsObject, + perspective?: penumbra_core_transaction_v1alpha1_transaction_pb.TransactionPerspective.AsObject, + view?: penumbra_core_transaction_v1alpha1_transaction_pb.TransactionView.AsObject, + } +} + +export class TransactionInfoResponse extends jspb.Message { + + hasTxInfo(): boolean; + clearTxInfo(): void; + getTxInfo(): TransactionInfo | undefined; + setTxInfo(value?: TransactionInfo): TransactionInfoResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): TransactionInfoResponse.AsObject; + static toObject(includeInstance: boolean, msg: TransactionInfoResponse): TransactionInfoResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: TransactionInfoResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): TransactionInfoResponse; + static deserializeBinaryFromReader(message: TransactionInfoResponse, reader: jspb.BinaryReader): TransactionInfoResponse; +} + +export namespace TransactionInfoResponse { + export type AsObject = { + txInfo?: TransactionInfo.AsObject, + } +} + +export class TransactionInfoByHashResponse extends jspb.Message { + + hasTxInfo(): boolean; + clearTxInfo(): void; + getTxInfo(): TransactionInfo | undefined; + setTxInfo(value?: TransactionInfo): TransactionInfoByHashResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): TransactionInfoByHashResponse.AsObject; + static toObject(includeInstance: boolean, msg: TransactionInfoByHashResponse): TransactionInfoByHashResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: TransactionInfoByHashResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): TransactionInfoByHashResponse; + static deserializeBinaryFromReader(message: TransactionInfoByHashResponse, reader: jspb.BinaryReader): TransactionInfoByHashResponse; +} + +export namespace TransactionInfoByHashResponse { + export type AsObject = { + txInfo?: TransactionInfo.AsObject, + } +} + +export class NotesResponse extends jspb.Message { + + hasNoteRecord(): boolean; + clearNoteRecord(): void; + getNoteRecord(): SpendableNoteRecord | undefined; + setNoteRecord(value?: SpendableNoteRecord): NotesResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): NotesResponse.AsObject; + static toObject(includeInstance: boolean, msg: NotesResponse): NotesResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: NotesResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): NotesResponse; + static deserializeBinaryFromReader(message: NotesResponse, reader: jspb.BinaryReader): NotesResponse; +} + +export namespace NotesResponse { + export type AsObject = { + noteRecord?: SpendableNoteRecord.AsObject, + } +} + +export class NotesForVotingResponse extends jspb.Message { + + hasNoteRecord(): boolean; + clearNoteRecord(): void; + getNoteRecord(): SpendableNoteRecord | undefined; + setNoteRecord(value?: SpendableNoteRecord): NotesForVotingResponse; + + hasIdentityKey(): boolean; + clearIdentityKey(): void; + getIdentityKey(): penumbra_core_keys_v1alpha1_keys_pb.IdentityKey | undefined; + setIdentityKey(value?: penumbra_core_keys_v1alpha1_keys_pb.IdentityKey): NotesForVotingResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): NotesForVotingResponse.AsObject; + static toObject(includeInstance: boolean, msg: NotesForVotingResponse): NotesForVotingResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: NotesForVotingResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): NotesForVotingResponse; + static deserializeBinaryFromReader(message: NotesForVotingResponse, reader: jspb.BinaryReader): NotesForVotingResponse; +} + +export namespace NotesForVotingResponse { + export type AsObject = { + noteRecord?: SpendableNoteRecord.AsObject, + identityKey?: penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.AsObject, + } +} + +export class SpendableNoteRecord extends jspb.Message { + + hasNoteCommitment(): boolean; + clearNoteCommitment(): void; + getNoteCommitment(): penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment | undefined; + setNoteCommitment(value?: penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment): SpendableNoteRecord; + + hasNote(): boolean; + clearNote(): void; + getNote(): penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.Note | undefined; + setNote(value?: penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.Note): SpendableNoteRecord; + + hasAddressIndex(): boolean; + clearAddressIndex(): void; + getAddressIndex(): penumbra_core_keys_v1alpha1_keys_pb.AddressIndex | undefined; + setAddressIndex(value?: penumbra_core_keys_v1alpha1_keys_pb.AddressIndex): SpendableNoteRecord; + + hasNullifier(): boolean; + clearNullifier(): void; + getNullifier(): penumbra_core_component_sct_v1alpha1_sct_pb.Nullifier | undefined; + setNullifier(value?: penumbra_core_component_sct_v1alpha1_sct_pb.Nullifier): SpendableNoteRecord; + getHeightCreated(): number; + setHeightCreated(value: number): SpendableNoteRecord; + getHeightSpent(): number; + setHeightSpent(value: number): SpendableNoteRecord; + getPosition(): number; + setPosition(value: number): SpendableNoteRecord; + + hasSource(): boolean; + clearSource(): void; + getSource(): penumbra_core_component_chain_v1alpha1_chain_pb.NoteSource | undefined; + setSource(value?: penumbra_core_component_chain_v1alpha1_chain_pb.NoteSource): SpendableNoteRecord; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SpendableNoteRecord.AsObject; + static toObject(includeInstance: boolean, msg: SpendableNoteRecord): SpendableNoteRecord.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SpendableNoteRecord, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SpendableNoteRecord; + static deserializeBinaryFromReader(message: SpendableNoteRecord, reader: jspb.BinaryReader): SpendableNoteRecord; +} + +export namespace SpendableNoteRecord { + export type AsObject = { + noteCommitment?: penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.AsObject, + note?: penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.Note.AsObject, + addressIndex?: penumbra_core_keys_v1alpha1_keys_pb.AddressIndex.AsObject, + nullifier?: penumbra_core_component_sct_v1alpha1_sct_pb.Nullifier.AsObject, + heightCreated: number, + heightSpent: number, + position: number, + source?: penumbra_core_component_chain_v1alpha1_chain_pb.NoteSource.AsObject, + } +} + +export class SwapRecord extends jspb.Message { + + hasSwapCommitment(): boolean; + clearSwapCommitment(): void; + getSwapCommitment(): penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment | undefined; + setSwapCommitment(value?: penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment): SwapRecord; + + hasSwap(): boolean; + clearSwap(): void; + getSwap(): penumbra_core_component_dex_v1alpha1_dex_pb.SwapPlaintext | undefined; + setSwap(value?: penumbra_core_component_dex_v1alpha1_dex_pb.SwapPlaintext): SwapRecord; + getPosition(): number; + setPosition(value: number): SwapRecord; + + hasNullifier(): boolean; + clearNullifier(): void; + getNullifier(): penumbra_core_component_sct_v1alpha1_sct_pb.Nullifier | undefined; + setNullifier(value?: penumbra_core_component_sct_v1alpha1_sct_pb.Nullifier): SwapRecord; + + hasOutputData(): boolean; + clearOutputData(): void; + getOutputData(): penumbra_core_component_dex_v1alpha1_dex_pb.BatchSwapOutputData | undefined; + setOutputData(value?: penumbra_core_component_dex_v1alpha1_dex_pb.BatchSwapOutputData): SwapRecord; + getHeightClaimed(): number; + setHeightClaimed(value: number): SwapRecord; + + hasSource(): boolean; + clearSource(): void; + getSource(): penumbra_core_component_chain_v1alpha1_chain_pb.NoteSource | undefined; + setSource(value?: penumbra_core_component_chain_v1alpha1_chain_pb.NoteSource): SwapRecord; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SwapRecord.AsObject; + static toObject(includeInstance: boolean, msg: SwapRecord): SwapRecord.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SwapRecord, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SwapRecord; + static deserializeBinaryFromReader(message: SwapRecord, reader: jspb.BinaryReader): SwapRecord; +} + +export namespace SwapRecord { + export type AsObject = { + swapCommitment?: penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.AsObject, + swap?: penumbra_core_component_dex_v1alpha1_dex_pb.SwapPlaintext.AsObject, + position: number, + nullifier?: penumbra_core_component_sct_v1alpha1_sct_pb.Nullifier.AsObject, + outputData?: penumbra_core_component_dex_v1alpha1_dex_pb.BatchSwapOutputData.AsObject, + heightClaimed: number, + source?: penumbra_core_component_chain_v1alpha1_chain_pb.NoteSource.AsObject, + } +} + +export class OwnedPositionIdsRequest extends jspb.Message { + + hasPositionState(): boolean; + clearPositionState(): void; + getPositionState(): penumbra_core_component_dex_v1alpha1_dex_pb.PositionState | undefined; + setPositionState(value?: penumbra_core_component_dex_v1alpha1_dex_pb.PositionState): OwnedPositionIdsRequest; + + hasTradingPair(): boolean; + clearTradingPair(): void; + getTradingPair(): penumbra_core_component_dex_v1alpha1_dex_pb.TradingPair | undefined; + setTradingPair(value?: penumbra_core_component_dex_v1alpha1_dex_pb.TradingPair): OwnedPositionIdsRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): OwnedPositionIdsRequest.AsObject; + static toObject(includeInstance: boolean, msg: OwnedPositionIdsRequest): OwnedPositionIdsRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: OwnedPositionIdsRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): OwnedPositionIdsRequest; + static deserializeBinaryFromReader(message: OwnedPositionIdsRequest, reader: jspb.BinaryReader): OwnedPositionIdsRequest; +} + +export namespace OwnedPositionIdsRequest { + export type AsObject = { + positionState?: penumbra_core_component_dex_v1alpha1_dex_pb.PositionState.AsObject, + tradingPair?: penumbra_core_component_dex_v1alpha1_dex_pb.TradingPair.AsObject, + } +} + +export class OwnedPositionIdsResponse extends jspb.Message { + + hasPositionId(): boolean; + clearPositionId(): void; + getPositionId(): penumbra_core_component_dex_v1alpha1_dex_pb.PositionId | undefined; + setPositionId(value?: penumbra_core_component_dex_v1alpha1_dex_pb.PositionId): OwnedPositionIdsResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): OwnedPositionIdsResponse.AsObject; + static toObject(includeInstance: boolean, msg: OwnedPositionIdsResponse): OwnedPositionIdsResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: OwnedPositionIdsResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): OwnedPositionIdsResponse; + static deserializeBinaryFromReader(message: OwnedPositionIdsResponse, reader: jspb.BinaryReader): OwnedPositionIdsResponse; +} + +export namespace OwnedPositionIdsResponse { + export type AsObject = { + positionId?: penumbra_core_component_dex_v1alpha1_dex_pb.PositionId.AsObject, + } +} diff --git a/src/chains/penumbra/generated/penumbra/view/v1alpha1/view_pb.js b/src/chains/penumbra/generated/penumbra/view/v1alpha1/view_pb.js new file mode 100644 index 0000000000..1ea114ceff --- /dev/null +++ b/src/chains/penumbra/generated/penumbra/view/v1alpha1/view_pb.js @@ -0,0 +1,14033 @@ +// source: penumbra/view/v1alpha1/view.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = (function() { + if (this) { return this; } + if (typeof window !== 'undefined') { return window; } + if (typeof global !== 'undefined') { return global; } + if (typeof self !== 'undefined') { return self; } + return Function('return this')(); +}.call(null)); + +var penumbra_crypto_tct_v1alpha1_tct_pb = require('../../../penumbra/crypto/tct/v1alpha1/tct_pb.js'); +goog.object.extend(proto, penumbra_crypto_tct_v1alpha1_tct_pb); +var penumbra_core_keys_v1alpha1_keys_pb = require('../../../penumbra/core/keys/v1alpha1/keys_pb.js'); +goog.object.extend(proto, penumbra_core_keys_v1alpha1_keys_pb); +var penumbra_core_num_v1alpha1_num_pb = require('../../../penumbra/core/num/v1alpha1/num_pb.js'); +goog.object.extend(proto, penumbra_core_num_v1alpha1_num_pb); +var penumbra_core_app_v1alpha1_app_pb = require('../../../penumbra/core/app/v1alpha1/app_pb.js'); +goog.object.extend(proto, penumbra_core_app_v1alpha1_app_pb); +var penumbra_core_asset_v1alpha1_asset_pb = require('../../../penumbra/core/asset/v1alpha1/asset_pb.js'); +goog.object.extend(proto, penumbra_core_asset_v1alpha1_asset_pb); +var penumbra_core_transaction_v1alpha1_transaction_pb = require('../../../penumbra/core/transaction/v1alpha1/transaction_pb.js'); +goog.object.extend(proto, penumbra_core_transaction_v1alpha1_transaction_pb); +var penumbra_core_component_chain_v1alpha1_chain_pb = require('../../../penumbra/core/component/chain/v1alpha1/chain_pb.js'); +goog.object.extend(proto, penumbra_core_component_chain_v1alpha1_chain_pb); +var penumbra_core_component_dex_v1alpha1_dex_pb = require('../../../penumbra/core/component/dex/v1alpha1/dex_pb.js'); +goog.object.extend(proto, penumbra_core_component_dex_v1alpha1_dex_pb); +var penumbra_core_component_fee_v1alpha1_fee_pb = require('../../../penumbra/core/component/fee/v1alpha1/fee_pb.js'); +goog.object.extend(proto, penumbra_core_component_fee_v1alpha1_fee_pb); +var penumbra_core_component_ibc_v1alpha1_ibc_pb = require('../../../penumbra/core/component/ibc/v1alpha1/ibc_pb.js'); +goog.object.extend(proto, penumbra_core_component_ibc_v1alpha1_ibc_pb); +var penumbra_core_component_sct_v1alpha1_sct_pb = require('../../../penumbra/core/component/sct/v1alpha1/sct_pb.js'); +goog.object.extend(proto, penumbra_core_component_sct_v1alpha1_sct_pb); +var penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb = require('../../../penumbra/core/component/shielded_pool/v1alpha1/shielded_pool_pb.js'); +goog.object.extend(proto, penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb); +var penumbra_core_component_stake_v1alpha1_stake_pb = require('../../../penumbra/core/component/stake/v1alpha1/stake_pb.js'); +goog.object.extend(proto, penumbra_core_component_stake_v1alpha1_stake_pb); +goog.exportSymbol('proto.penumbra.view.v1alpha1.AddressByIndexRequest', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.AddressByIndexResponse', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.AppParametersRequest', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.AppParametersResponse', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.AssetsRequest', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.AssetsResponse', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.AuthorizeAndBuildRequest', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.AuthorizeAndBuildResponse', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.BalancesRequest', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.BalancesResponse', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.BroadcastTransactionRequest', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.BroadcastTransactionResponse', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.EphemeralAddressRequest', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.EphemeralAddressResponse', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.FMDParametersRequest', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.FMDParametersResponse', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.GasPricesRequest', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.GasPricesResponse', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.IndexByAddressRequest', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.IndexByAddressResponse', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.NoteByCommitmentRequest', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.NoteByCommitmentResponse', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.NotesForVotingRequest', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.NotesForVotingResponse', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.NotesRequest', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.NotesResponse', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.NullifierStatusRequest', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.NullifierStatusResponse', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.OwnedPositionIdsRequest', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.OwnedPositionIdsResponse', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.SpendableNoteRecord', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.StatusRequest', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.StatusResponse', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.StatusStreamRequest', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.StatusStreamResponse', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.SwapByCommitmentRequest', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.SwapByCommitmentResponse', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.SwapRecord', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.TransactionInfo', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.TransactionInfoByHashRequest', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.TransactionInfoByHashResponse', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.TransactionInfoRequest', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.TransactionInfoResponse', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.TransactionPlannerRequest', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Delegate', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Output', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionClose', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionOpen', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionWithdraw', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.TransactionPlannerRequest.SwapClaim', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Undelegate', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.TransactionPlannerResponse', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.UnclaimedSwapsRequest', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.UnclaimedSwapsResponse', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.ViewAuthRequest', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.ViewAuthResponse', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.ViewAuthToken', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.WalletIdRequest', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.WalletIdResponse', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.WitnessAndBuildRequest', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.WitnessAndBuildResponse', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.WitnessRequest', null, global); +goog.exportSymbol('proto.penumbra.view.v1alpha1.WitnessResponse', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.AuthorizeAndBuildRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.AuthorizeAndBuildRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.AuthorizeAndBuildRequest.displayName = 'proto.penumbra.view.v1alpha1.AuthorizeAndBuildRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.AuthorizeAndBuildResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.AuthorizeAndBuildResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.AuthorizeAndBuildResponse.displayName = 'proto.penumbra.view.v1alpha1.AuthorizeAndBuildResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.BroadcastTransactionRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.BroadcastTransactionRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.BroadcastTransactionRequest.displayName = 'proto.penumbra.view.v1alpha1.BroadcastTransactionRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.BroadcastTransactionResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.BroadcastTransactionResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.BroadcastTransactionResponse.displayName = 'proto.penumbra.view.v1alpha1.BroadcastTransactionResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.penumbra.view.v1alpha1.TransactionPlannerRequest.repeatedFields_, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.TransactionPlannerRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.TransactionPlannerRequest.displayName = 'proto.penumbra.view.v1alpha1.TransactionPlannerRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Output = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Output, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Output.displayName = 'proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Output'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap.displayName = 'proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.SwapClaim = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.TransactionPlannerRequest.SwapClaim, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.TransactionPlannerRequest.SwapClaim.displayName = 'proto.penumbra.view.v1alpha1.TransactionPlannerRequest.SwapClaim'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Delegate = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Delegate, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Delegate.displayName = 'proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Delegate'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Undelegate = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Undelegate, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Undelegate.displayName = 'proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Undelegate'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionOpen = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionOpen, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionOpen.displayName = 'proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionOpen'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionClose = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionClose, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionClose.displayName = 'proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionClose'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionWithdraw = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionWithdraw, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionWithdraw.displayName = 'proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionWithdraw'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.TransactionPlannerResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.TransactionPlannerResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.TransactionPlannerResponse.displayName = 'proto.penumbra.view.v1alpha1.TransactionPlannerResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.AddressByIndexRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.AddressByIndexRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.AddressByIndexRequest.displayName = 'proto.penumbra.view.v1alpha1.AddressByIndexRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.AddressByIndexResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.AddressByIndexResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.AddressByIndexResponse.displayName = 'proto.penumbra.view.v1alpha1.AddressByIndexResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.WalletIdRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.WalletIdRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.WalletIdRequest.displayName = 'proto.penumbra.view.v1alpha1.WalletIdRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.WalletIdResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.WalletIdResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.WalletIdResponse.displayName = 'proto.penumbra.view.v1alpha1.WalletIdResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.IndexByAddressRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.IndexByAddressRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.IndexByAddressRequest.displayName = 'proto.penumbra.view.v1alpha1.IndexByAddressRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.IndexByAddressResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.IndexByAddressResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.IndexByAddressResponse.displayName = 'proto.penumbra.view.v1alpha1.IndexByAddressResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.EphemeralAddressRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.EphemeralAddressRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.EphemeralAddressRequest.displayName = 'proto.penumbra.view.v1alpha1.EphemeralAddressRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.EphemeralAddressResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.EphemeralAddressResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.EphemeralAddressResponse.displayName = 'proto.penumbra.view.v1alpha1.EphemeralAddressResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.BalancesRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.BalancesRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.BalancesRequest.displayName = 'proto.penumbra.view.v1alpha1.BalancesRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.BalancesResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.BalancesResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.BalancesResponse.displayName = 'proto.penumbra.view.v1alpha1.BalancesResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.ViewAuthToken = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.ViewAuthToken, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.ViewAuthToken.displayName = 'proto.penumbra.view.v1alpha1.ViewAuthToken'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.ViewAuthRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.ViewAuthRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.ViewAuthRequest.displayName = 'proto.penumbra.view.v1alpha1.ViewAuthRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.ViewAuthResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.ViewAuthResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.ViewAuthResponse.displayName = 'proto.penumbra.view.v1alpha1.ViewAuthResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.StatusRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.StatusRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.StatusRequest.displayName = 'proto.penumbra.view.v1alpha1.StatusRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.StatusResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.StatusResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.StatusResponse.displayName = 'proto.penumbra.view.v1alpha1.StatusResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.StatusStreamRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.StatusStreamRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.StatusStreamRequest.displayName = 'proto.penumbra.view.v1alpha1.StatusStreamRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.StatusStreamResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.StatusStreamResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.StatusStreamResponse.displayName = 'proto.penumbra.view.v1alpha1.StatusStreamResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.NotesRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.NotesRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.NotesRequest.displayName = 'proto.penumbra.view.v1alpha1.NotesRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.NotesForVotingRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.NotesForVotingRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.NotesForVotingRequest.displayName = 'proto.penumbra.view.v1alpha1.NotesForVotingRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.WitnessRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.penumbra.view.v1alpha1.WitnessRequest.repeatedFields_, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.WitnessRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.WitnessRequest.displayName = 'proto.penumbra.view.v1alpha1.WitnessRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.WitnessResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.WitnessResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.WitnessResponse.displayName = 'proto.penumbra.view.v1alpha1.WitnessResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.WitnessAndBuildRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.WitnessAndBuildRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.WitnessAndBuildRequest.displayName = 'proto.penumbra.view.v1alpha1.WitnessAndBuildRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.WitnessAndBuildResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.WitnessAndBuildResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.WitnessAndBuildResponse.displayName = 'proto.penumbra.view.v1alpha1.WitnessAndBuildResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.AssetsRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.penumbra.view.v1alpha1.AssetsRequest.repeatedFields_, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.AssetsRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.AssetsRequest.displayName = 'proto.penumbra.view.v1alpha1.AssetsRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.AssetsResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.AssetsResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.AssetsResponse.displayName = 'proto.penumbra.view.v1alpha1.AssetsResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.AppParametersRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.AppParametersRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.AppParametersRequest.displayName = 'proto.penumbra.view.v1alpha1.AppParametersRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.AppParametersResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.AppParametersResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.AppParametersResponse.displayName = 'proto.penumbra.view.v1alpha1.AppParametersResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.GasPricesRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.GasPricesRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.GasPricesRequest.displayName = 'proto.penumbra.view.v1alpha1.GasPricesRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.GasPricesResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.GasPricesResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.GasPricesResponse.displayName = 'proto.penumbra.view.v1alpha1.GasPricesResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.FMDParametersRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.FMDParametersRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.FMDParametersRequest.displayName = 'proto.penumbra.view.v1alpha1.FMDParametersRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.FMDParametersResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.FMDParametersResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.FMDParametersResponse.displayName = 'proto.penumbra.view.v1alpha1.FMDParametersResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.NoteByCommitmentRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.NoteByCommitmentRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.NoteByCommitmentRequest.displayName = 'proto.penumbra.view.v1alpha1.NoteByCommitmentRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.NoteByCommitmentResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.NoteByCommitmentResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.NoteByCommitmentResponse.displayName = 'proto.penumbra.view.v1alpha1.NoteByCommitmentResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.SwapByCommitmentRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.SwapByCommitmentRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.SwapByCommitmentRequest.displayName = 'proto.penumbra.view.v1alpha1.SwapByCommitmentRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.SwapByCommitmentResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.SwapByCommitmentResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.SwapByCommitmentResponse.displayName = 'proto.penumbra.view.v1alpha1.SwapByCommitmentResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.UnclaimedSwapsRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.UnclaimedSwapsRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.UnclaimedSwapsRequest.displayName = 'proto.penumbra.view.v1alpha1.UnclaimedSwapsRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.UnclaimedSwapsResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.UnclaimedSwapsResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.UnclaimedSwapsResponse.displayName = 'proto.penumbra.view.v1alpha1.UnclaimedSwapsResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.NullifierStatusRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.NullifierStatusRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.NullifierStatusRequest.displayName = 'proto.penumbra.view.v1alpha1.NullifierStatusRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.NullifierStatusResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.NullifierStatusResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.NullifierStatusResponse.displayName = 'proto.penumbra.view.v1alpha1.NullifierStatusResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.TransactionInfoByHashRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.TransactionInfoByHashRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.TransactionInfoByHashRequest.displayName = 'proto.penumbra.view.v1alpha1.TransactionInfoByHashRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.TransactionInfoRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.TransactionInfoRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.TransactionInfoRequest.displayName = 'proto.penumbra.view.v1alpha1.TransactionInfoRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.TransactionInfo = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.TransactionInfo, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.TransactionInfo.displayName = 'proto.penumbra.view.v1alpha1.TransactionInfo'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.TransactionInfoResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.TransactionInfoResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.TransactionInfoResponse.displayName = 'proto.penumbra.view.v1alpha1.TransactionInfoResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.TransactionInfoByHashResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.TransactionInfoByHashResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.TransactionInfoByHashResponse.displayName = 'proto.penumbra.view.v1alpha1.TransactionInfoByHashResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.NotesResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.NotesResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.NotesResponse.displayName = 'proto.penumbra.view.v1alpha1.NotesResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.NotesForVotingResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.NotesForVotingResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.NotesForVotingResponse.displayName = 'proto.penumbra.view.v1alpha1.NotesForVotingResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.SpendableNoteRecord = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.SpendableNoteRecord, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.SpendableNoteRecord.displayName = 'proto.penumbra.view.v1alpha1.SpendableNoteRecord'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.SwapRecord = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.SwapRecord, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.SwapRecord.displayName = 'proto.penumbra.view.v1alpha1.SwapRecord'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.OwnedPositionIdsRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.OwnedPositionIdsRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.OwnedPositionIdsRequest.displayName = 'proto.penumbra.view.v1alpha1.OwnedPositionIdsRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.penumbra.view.v1alpha1.OwnedPositionIdsResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.penumbra.view.v1alpha1.OwnedPositionIdsResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.penumbra.view.v1alpha1.OwnedPositionIdsResponse.displayName = 'proto.penumbra.view.v1alpha1.OwnedPositionIdsResponse'; +} + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.AuthorizeAndBuildRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.AuthorizeAndBuildRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.AuthorizeAndBuildRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.AuthorizeAndBuildRequest.toObject = function(includeInstance, msg) { + var f, obj = { + transactionPlan: (f = msg.getTransactionPlan()) && penumbra_core_transaction_v1alpha1_transaction_pb.TransactionPlan.toObject(includeInstance, f), + authorizationData: (f = msg.getAuthorizationData()) && penumbra_core_transaction_v1alpha1_transaction_pb.AuthorizationData.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.AuthorizeAndBuildRequest} + */ +proto.penumbra.view.v1alpha1.AuthorizeAndBuildRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.AuthorizeAndBuildRequest; + return proto.penumbra.view.v1alpha1.AuthorizeAndBuildRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.AuthorizeAndBuildRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.AuthorizeAndBuildRequest} + */ +proto.penumbra.view.v1alpha1.AuthorizeAndBuildRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_transaction_v1alpha1_transaction_pb.TransactionPlan; + reader.readMessage(value,penumbra_core_transaction_v1alpha1_transaction_pb.TransactionPlan.deserializeBinaryFromReader); + msg.setTransactionPlan(value); + break; + case 2: + var value = new penumbra_core_transaction_v1alpha1_transaction_pb.AuthorizationData; + reader.readMessage(value,penumbra_core_transaction_v1alpha1_transaction_pb.AuthorizationData.deserializeBinaryFromReader); + msg.setAuthorizationData(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.AuthorizeAndBuildRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.AuthorizeAndBuildRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.AuthorizeAndBuildRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.AuthorizeAndBuildRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTransactionPlan(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_transaction_v1alpha1_transaction_pb.TransactionPlan.serializeBinaryToWriter + ); + } + f = message.getAuthorizationData(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_transaction_v1alpha1_transaction_pb.AuthorizationData.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.transaction.v1alpha1.TransactionPlan transaction_plan = 1; + * @return {?proto.penumbra.core.transaction.v1alpha1.TransactionPlan} + */ +proto.penumbra.view.v1alpha1.AuthorizeAndBuildRequest.prototype.getTransactionPlan = function() { + return /** @type{?proto.penumbra.core.transaction.v1alpha1.TransactionPlan} */ ( + jspb.Message.getWrapperField(this, penumbra_core_transaction_v1alpha1_transaction_pb.TransactionPlan, 1)); +}; + + +/** + * @param {?proto.penumbra.core.transaction.v1alpha1.TransactionPlan|undefined} value + * @return {!proto.penumbra.view.v1alpha1.AuthorizeAndBuildRequest} returns this +*/ +proto.penumbra.view.v1alpha1.AuthorizeAndBuildRequest.prototype.setTransactionPlan = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.AuthorizeAndBuildRequest} returns this + */ +proto.penumbra.view.v1alpha1.AuthorizeAndBuildRequest.prototype.clearTransactionPlan = function() { + return this.setTransactionPlan(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.AuthorizeAndBuildRequest.prototype.hasTransactionPlan = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional penumbra.core.transaction.v1alpha1.AuthorizationData authorization_data = 2; + * @return {?proto.penumbra.core.transaction.v1alpha1.AuthorizationData} + */ +proto.penumbra.view.v1alpha1.AuthorizeAndBuildRequest.prototype.getAuthorizationData = function() { + return /** @type{?proto.penumbra.core.transaction.v1alpha1.AuthorizationData} */ ( + jspb.Message.getWrapperField(this, penumbra_core_transaction_v1alpha1_transaction_pb.AuthorizationData, 2)); +}; + + +/** + * @param {?proto.penumbra.core.transaction.v1alpha1.AuthorizationData|undefined} value + * @return {!proto.penumbra.view.v1alpha1.AuthorizeAndBuildRequest} returns this +*/ +proto.penumbra.view.v1alpha1.AuthorizeAndBuildRequest.prototype.setAuthorizationData = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.AuthorizeAndBuildRequest} returns this + */ +proto.penumbra.view.v1alpha1.AuthorizeAndBuildRequest.prototype.clearAuthorizationData = function() { + return this.setAuthorizationData(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.AuthorizeAndBuildRequest.prototype.hasAuthorizationData = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.AuthorizeAndBuildResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.AuthorizeAndBuildResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.AuthorizeAndBuildResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.AuthorizeAndBuildResponse.toObject = function(includeInstance, msg) { + var f, obj = { + transaction: (f = msg.getTransaction()) && penumbra_core_transaction_v1alpha1_transaction_pb.Transaction.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.AuthorizeAndBuildResponse} + */ +proto.penumbra.view.v1alpha1.AuthorizeAndBuildResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.AuthorizeAndBuildResponse; + return proto.penumbra.view.v1alpha1.AuthorizeAndBuildResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.AuthorizeAndBuildResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.AuthorizeAndBuildResponse} + */ +proto.penumbra.view.v1alpha1.AuthorizeAndBuildResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_transaction_v1alpha1_transaction_pb.Transaction; + reader.readMessage(value,penumbra_core_transaction_v1alpha1_transaction_pb.Transaction.deserializeBinaryFromReader); + msg.setTransaction(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.AuthorizeAndBuildResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.AuthorizeAndBuildResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.AuthorizeAndBuildResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.AuthorizeAndBuildResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTransaction(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_transaction_v1alpha1_transaction_pb.Transaction.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.transaction.v1alpha1.Transaction transaction = 1; + * @return {?proto.penumbra.core.transaction.v1alpha1.Transaction} + */ +proto.penumbra.view.v1alpha1.AuthorizeAndBuildResponse.prototype.getTransaction = function() { + return /** @type{?proto.penumbra.core.transaction.v1alpha1.Transaction} */ ( + jspb.Message.getWrapperField(this, penumbra_core_transaction_v1alpha1_transaction_pb.Transaction, 1)); +}; + + +/** + * @param {?proto.penumbra.core.transaction.v1alpha1.Transaction|undefined} value + * @return {!proto.penumbra.view.v1alpha1.AuthorizeAndBuildResponse} returns this +*/ +proto.penumbra.view.v1alpha1.AuthorizeAndBuildResponse.prototype.setTransaction = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.AuthorizeAndBuildResponse} returns this + */ +proto.penumbra.view.v1alpha1.AuthorizeAndBuildResponse.prototype.clearTransaction = function() { + return this.setTransaction(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.AuthorizeAndBuildResponse.prototype.hasTransaction = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.BroadcastTransactionRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.BroadcastTransactionRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.BroadcastTransactionRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.BroadcastTransactionRequest.toObject = function(includeInstance, msg) { + var f, obj = { + transaction: (f = msg.getTransaction()) && penumbra_core_transaction_v1alpha1_transaction_pb.Transaction.toObject(includeInstance, f), + awaitDetection: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.BroadcastTransactionRequest} + */ +proto.penumbra.view.v1alpha1.BroadcastTransactionRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.BroadcastTransactionRequest; + return proto.penumbra.view.v1alpha1.BroadcastTransactionRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.BroadcastTransactionRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.BroadcastTransactionRequest} + */ +proto.penumbra.view.v1alpha1.BroadcastTransactionRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_transaction_v1alpha1_transaction_pb.Transaction; + reader.readMessage(value,penumbra_core_transaction_v1alpha1_transaction_pb.Transaction.deserializeBinaryFromReader); + msg.setTransaction(value); + break; + case 2: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setAwaitDetection(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.BroadcastTransactionRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.BroadcastTransactionRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.BroadcastTransactionRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.BroadcastTransactionRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTransaction(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_transaction_v1alpha1_transaction_pb.Transaction.serializeBinaryToWriter + ); + } + f = message.getAwaitDetection(); + if (f) { + writer.writeBool( + 2, + f + ); + } +}; + + +/** + * optional penumbra.core.transaction.v1alpha1.Transaction transaction = 1; + * @return {?proto.penumbra.core.transaction.v1alpha1.Transaction} + */ +proto.penumbra.view.v1alpha1.BroadcastTransactionRequest.prototype.getTransaction = function() { + return /** @type{?proto.penumbra.core.transaction.v1alpha1.Transaction} */ ( + jspb.Message.getWrapperField(this, penumbra_core_transaction_v1alpha1_transaction_pb.Transaction, 1)); +}; + + +/** + * @param {?proto.penumbra.core.transaction.v1alpha1.Transaction|undefined} value + * @return {!proto.penumbra.view.v1alpha1.BroadcastTransactionRequest} returns this +*/ +proto.penumbra.view.v1alpha1.BroadcastTransactionRequest.prototype.setTransaction = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.BroadcastTransactionRequest} returns this + */ +proto.penumbra.view.v1alpha1.BroadcastTransactionRequest.prototype.clearTransaction = function() { + return this.setTransaction(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.BroadcastTransactionRequest.prototype.hasTransaction = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional bool await_detection = 2; + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.BroadcastTransactionRequest.prototype.getAwaitDetection = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.penumbra.view.v1alpha1.BroadcastTransactionRequest} returns this + */ +proto.penumbra.view.v1alpha1.BroadcastTransactionRequest.prototype.setAwaitDetection = function(value) { + return jspb.Message.setProto3BooleanField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.BroadcastTransactionResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.BroadcastTransactionResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.BroadcastTransactionResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.BroadcastTransactionResponse.toObject = function(includeInstance, msg) { + var f, obj = { + id: (f = msg.getId()) && penumbra_core_transaction_v1alpha1_transaction_pb.Id.toObject(includeInstance, f), + detectionHeight: jspb.Message.getFieldWithDefault(msg, 2, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.BroadcastTransactionResponse} + */ +proto.penumbra.view.v1alpha1.BroadcastTransactionResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.BroadcastTransactionResponse; + return proto.penumbra.view.v1alpha1.BroadcastTransactionResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.BroadcastTransactionResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.BroadcastTransactionResponse} + */ +proto.penumbra.view.v1alpha1.BroadcastTransactionResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_transaction_v1alpha1_transaction_pb.Id; + reader.readMessage(value,penumbra_core_transaction_v1alpha1_transaction_pb.Id.deserializeBinaryFromReader); + msg.setId(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint64()); + msg.setDetectionHeight(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.BroadcastTransactionResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.BroadcastTransactionResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.BroadcastTransactionResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.BroadcastTransactionResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getId(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_transaction_v1alpha1_transaction_pb.Id.serializeBinaryToWriter + ); + } + f = message.getDetectionHeight(); + if (f !== 0) { + writer.writeUint64( + 2, + f + ); + } +}; + + +/** + * optional penumbra.core.transaction.v1alpha1.Id id = 1; + * @return {?proto.penumbra.core.transaction.v1alpha1.Id} + */ +proto.penumbra.view.v1alpha1.BroadcastTransactionResponse.prototype.getId = function() { + return /** @type{?proto.penumbra.core.transaction.v1alpha1.Id} */ ( + jspb.Message.getWrapperField(this, penumbra_core_transaction_v1alpha1_transaction_pb.Id, 1)); +}; + + +/** + * @param {?proto.penumbra.core.transaction.v1alpha1.Id|undefined} value + * @return {!proto.penumbra.view.v1alpha1.BroadcastTransactionResponse} returns this +*/ +proto.penumbra.view.v1alpha1.BroadcastTransactionResponse.prototype.setId = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.BroadcastTransactionResponse} returns this + */ +proto.penumbra.view.v1alpha1.BroadcastTransactionResponse.prototype.clearId = function() { + return this.setId(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.BroadcastTransactionResponse.prototype.hasId = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional uint64 detection_height = 2; + * @return {number} + */ +proto.penumbra.view.v1alpha1.BroadcastTransactionResponse.prototype.getDetectionHeight = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.view.v1alpha1.BroadcastTransactionResponse} returns this + */ +proto.penumbra.view.v1alpha1.BroadcastTransactionResponse.prototype.setDetectionHeight = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.repeatedFields_ = [20,30,31,40,50,60,61,70,71,72]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.TransactionPlannerRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.toObject = function(includeInstance, msg) { + var f, obj = { + expiryHeight: jspb.Message.getFieldWithDefault(msg, 1, 0), + fee: (f = msg.getFee()) && penumbra_core_component_fee_v1alpha1_fee_pb.Fee.toObject(includeInstance, f), + memo: (f = msg.getMemo()) && penumbra_core_transaction_v1alpha1_transaction_pb.MemoPlaintext.toObject(includeInstance, f), + source: (f = msg.getSource()) && penumbra_core_keys_v1alpha1_keys_pb.AddressIndex.toObject(includeInstance, f), + walletId: (f = msg.getWalletId()) && penumbra_core_keys_v1alpha1_keys_pb.WalletId.toObject(includeInstance, f), + outputsList: jspb.Message.toObjectList(msg.getOutputsList(), + proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Output.toObject, includeInstance), + swapsList: jspb.Message.toObjectList(msg.getSwapsList(), + proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap.toObject, includeInstance), + swapClaimsList: jspb.Message.toObjectList(msg.getSwapClaimsList(), + proto.penumbra.view.v1alpha1.TransactionPlannerRequest.SwapClaim.toObject, includeInstance), + delegationsList: jspb.Message.toObjectList(msg.getDelegationsList(), + proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Delegate.toObject, includeInstance), + undelegationsList: jspb.Message.toObjectList(msg.getUndelegationsList(), + proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Undelegate.toObject, includeInstance), + ibcActionsList: jspb.Message.toObjectList(msg.getIbcActionsList(), + penumbra_core_component_ibc_v1alpha1_ibc_pb.IbcAction.toObject, includeInstance), + ics20WithdrawalsList: jspb.Message.toObjectList(msg.getIcs20WithdrawalsList(), + penumbra_core_component_ibc_v1alpha1_ibc_pb.Ics20Withdrawal.toObject, includeInstance), + positionOpensList: jspb.Message.toObjectList(msg.getPositionOpensList(), + proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionOpen.toObject, includeInstance), + positionClosesList: jspb.Message.toObjectList(msg.getPositionClosesList(), + proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionClose.toObject, includeInstance), + positionWithdrawsList: jspb.Message.toObjectList(msg.getPositionWithdrawsList(), + proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionWithdraw.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.TransactionPlannerRequest; + return proto.penumbra.view.v1alpha1.TransactionPlannerRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setExpiryHeight(value); + break; + case 2: + var value = new penumbra_core_component_fee_v1alpha1_fee_pb.Fee; + reader.readMessage(value,penumbra_core_component_fee_v1alpha1_fee_pb.Fee.deserializeBinaryFromReader); + msg.setFee(value); + break; + case 3: + var value = new penumbra_core_transaction_v1alpha1_transaction_pb.MemoPlaintext; + reader.readMessage(value,penumbra_core_transaction_v1alpha1_transaction_pb.MemoPlaintext.deserializeBinaryFromReader); + msg.setMemo(value); + break; + case 4: + var value = new penumbra_core_keys_v1alpha1_keys_pb.AddressIndex; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.AddressIndex.deserializeBinaryFromReader); + msg.setSource(value); + break; + case 14: + var value = new penumbra_core_keys_v1alpha1_keys_pb.WalletId; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.WalletId.deserializeBinaryFromReader); + msg.setWalletId(value); + break; + case 20: + var value = new proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Output; + reader.readMessage(value,proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Output.deserializeBinaryFromReader); + msg.addOutputs(value); + break; + case 30: + var value = new proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap; + reader.readMessage(value,proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap.deserializeBinaryFromReader); + msg.addSwaps(value); + break; + case 31: + var value = new proto.penumbra.view.v1alpha1.TransactionPlannerRequest.SwapClaim; + reader.readMessage(value,proto.penumbra.view.v1alpha1.TransactionPlannerRequest.SwapClaim.deserializeBinaryFromReader); + msg.addSwapClaims(value); + break; + case 40: + var value = new proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Delegate; + reader.readMessage(value,proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Delegate.deserializeBinaryFromReader); + msg.addDelegations(value); + break; + case 50: + var value = new proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Undelegate; + reader.readMessage(value,proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Undelegate.deserializeBinaryFromReader); + msg.addUndelegations(value); + break; + case 60: + var value = new penumbra_core_component_ibc_v1alpha1_ibc_pb.IbcAction; + reader.readMessage(value,penumbra_core_component_ibc_v1alpha1_ibc_pb.IbcAction.deserializeBinaryFromReader); + msg.addIbcActions(value); + break; + case 61: + var value = new penumbra_core_component_ibc_v1alpha1_ibc_pb.Ics20Withdrawal; + reader.readMessage(value,penumbra_core_component_ibc_v1alpha1_ibc_pb.Ics20Withdrawal.deserializeBinaryFromReader); + msg.addIcs20Withdrawals(value); + break; + case 70: + var value = new proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionOpen; + reader.readMessage(value,proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionOpen.deserializeBinaryFromReader); + msg.addPositionOpens(value); + break; + case 71: + var value = new proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionClose; + reader.readMessage(value,proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionClose.deserializeBinaryFromReader); + msg.addPositionCloses(value); + break; + case 72: + var value = new proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionWithdraw; + reader.readMessage(value,proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionWithdraw.deserializeBinaryFromReader); + msg.addPositionWithdraws(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.TransactionPlannerRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getExpiryHeight(); + if (f !== 0) { + writer.writeUint64( + 1, + f + ); + } + f = message.getFee(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_component_fee_v1alpha1_fee_pb.Fee.serializeBinaryToWriter + ); + } + f = message.getMemo(); + if (f != null) { + writer.writeMessage( + 3, + f, + penumbra_core_transaction_v1alpha1_transaction_pb.MemoPlaintext.serializeBinaryToWriter + ); + } + f = message.getSource(); + if (f != null) { + writer.writeMessage( + 4, + f, + penumbra_core_keys_v1alpha1_keys_pb.AddressIndex.serializeBinaryToWriter + ); + } + f = message.getWalletId(); + if (f != null) { + writer.writeMessage( + 14, + f, + penumbra_core_keys_v1alpha1_keys_pb.WalletId.serializeBinaryToWriter + ); + } + f = message.getOutputsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 20, + f, + proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Output.serializeBinaryToWriter + ); + } + f = message.getSwapsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 30, + f, + proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap.serializeBinaryToWriter + ); + } + f = message.getSwapClaimsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 31, + f, + proto.penumbra.view.v1alpha1.TransactionPlannerRequest.SwapClaim.serializeBinaryToWriter + ); + } + f = message.getDelegationsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 40, + f, + proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Delegate.serializeBinaryToWriter + ); + } + f = message.getUndelegationsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 50, + f, + proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Undelegate.serializeBinaryToWriter + ); + } + f = message.getIbcActionsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 60, + f, + penumbra_core_component_ibc_v1alpha1_ibc_pb.IbcAction.serializeBinaryToWriter + ); + } + f = message.getIcs20WithdrawalsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 61, + f, + penumbra_core_component_ibc_v1alpha1_ibc_pb.Ics20Withdrawal.serializeBinaryToWriter + ); + } + f = message.getPositionOpensList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 70, + f, + proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionOpen.serializeBinaryToWriter + ); + } + f = message.getPositionClosesList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 71, + f, + proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionClose.serializeBinaryToWriter + ); + } + f = message.getPositionWithdrawsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 72, + f, + proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionWithdraw.serializeBinaryToWriter + ); + } +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Output.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Output.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Output} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Output.toObject = function(includeInstance, msg) { + var f, obj = { + value: (f = msg.getValue()) && penumbra_core_asset_v1alpha1_asset_pb.Value.toObject(includeInstance, f), + address: (f = msg.getAddress()) && penumbra_core_keys_v1alpha1_keys_pb.Address.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Output} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Output.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Output; + return proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Output.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Output} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Output} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Output.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_asset_v1alpha1_asset_pb.Value; + reader.readMessage(value,penumbra_core_asset_v1alpha1_asset_pb.Value.deserializeBinaryFromReader); + msg.setValue(value); + break; + case 2: + var value = new penumbra_core_keys_v1alpha1_keys_pb.Address; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.Address.deserializeBinaryFromReader); + msg.setAddress(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Output.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Output.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Output} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Output.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getValue(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_asset_v1alpha1_asset_pb.Value.serializeBinaryToWriter + ); + } + f = message.getAddress(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_keys_v1alpha1_keys_pb.Address.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.asset.v1alpha1.Value value = 1; + * @return {?proto.penumbra.core.asset.v1alpha1.Value} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Output.prototype.getValue = function() { + return /** @type{?proto.penumbra.core.asset.v1alpha1.Value} */ ( + jspb.Message.getWrapperField(this, penumbra_core_asset_v1alpha1_asset_pb.Value, 1)); +}; + + +/** + * @param {?proto.penumbra.core.asset.v1alpha1.Value|undefined} value + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Output} returns this +*/ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Output.prototype.setValue = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Output} returns this + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Output.prototype.clearValue = function() { + return this.setValue(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Output.prototype.hasValue = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional penumbra.core.keys.v1alpha1.Address address = 2; + * @return {?proto.penumbra.core.keys.v1alpha1.Address} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Output.prototype.getAddress = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.Address} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.Address, 2)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.Address|undefined} value + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Output} returns this +*/ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Output.prototype.setAddress = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Output} returns this + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Output.prototype.clearAddress = function() { + return this.setAddress(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Output.prototype.hasAddress = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap.toObject = function(includeInstance, msg) { + var f, obj = { + value: (f = msg.getValue()) && penumbra_core_asset_v1alpha1_asset_pb.Value.toObject(includeInstance, f), + targetAsset: (f = msg.getTargetAsset()) && penumbra_core_asset_v1alpha1_asset_pb.AssetId.toObject(includeInstance, f), + fee: (f = msg.getFee()) && penumbra_core_component_fee_v1alpha1_fee_pb.Fee.toObject(includeInstance, f), + claimAddress: (f = msg.getClaimAddress()) && penumbra_core_keys_v1alpha1_keys_pb.Address.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap; + return proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_asset_v1alpha1_asset_pb.Value; + reader.readMessage(value,penumbra_core_asset_v1alpha1_asset_pb.Value.deserializeBinaryFromReader); + msg.setValue(value); + break; + case 2: + var value = new penumbra_core_asset_v1alpha1_asset_pb.AssetId; + reader.readMessage(value,penumbra_core_asset_v1alpha1_asset_pb.AssetId.deserializeBinaryFromReader); + msg.setTargetAsset(value); + break; + case 3: + var value = new penumbra_core_component_fee_v1alpha1_fee_pb.Fee; + reader.readMessage(value,penumbra_core_component_fee_v1alpha1_fee_pb.Fee.deserializeBinaryFromReader); + msg.setFee(value); + break; + case 4: + var value = new penumbra_core_keys_v1alpha1_keys_pb.Address; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.Address.deserializeBinaryFromReader); + msg.setClaimAddress(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getValue(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_asset_v1alpha1_asset_pb.Value.serializeBinaryToWriter + ); + } + f = message.getTargetAsset(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_asset_v1alpha1_asset_pb.AssetId.serializeBinaryToWriter + ); + } + f = message.getFee(); + if (f != null) { + writer.writeMessage( + 3, + f, + penumbra_core_component_fee_v1alpha1_fee_pb.Fee.serializeBinaryToWriter + ); + } + f = message.getClaimAddress(); + if (f != null) { + writer.writeMessage( + 4, + f, + penumbra_core_keys_v1alpha1_keys_pb.Address.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.asset.v1alpha1.Value value = 1; + * @return {?proto.penumbra.core.asset.v1alpha1.Value} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap.prototype.getValue = function() { + return /** @type{?proto.penumbra.core.asset.v1alpha1.Value} */ ( + jspb.Message.getWrapperField(this, penumbra_core_asset_v1alpha1_asset_pb.Value, 1)); +}; + + +/** + * @param {?proto.penumbra.core.asset.v1alpha1.Value|undefined} value + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap} returns this +*/ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap.prototype.setValue = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap} returns this + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap.prototype.clearValue = function() { + return this.setValue(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap.prototype.hasValue = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional penumbra.core.asset.v1alpha1.AssetId target_asset = 2; + * @return {?proto.penumbra.core.asset.v1alpha1.AssetId} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap.prototype.getTargetAsset = function() { + return /** @type{?proto.penumbra.core.asset.v1alpha1.AssetId} */ ( + jspb.Message.getWrapperField(this, penumbra_core_asset_v1alpha1_asset_pb.AssetId, 2)); +}; + + +/** + * @param {?proto.penumbra.core.asset.v1alpha1.AssetId|undefined} value + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap} returns this +*/ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap.prototype.setTargetAsset = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap} returns this + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap.prototype.clearTargetAsset = function() { + return this.setTargetAsset(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap.prototype.hasTargetAsset = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional penumbra.core.component.fee.v1alpha1.Fee fee = 3; + * @return {?proto.penumbra.core.component.fee.v1alpha1.Fee} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap.prototype.getFee = function() { + return /** @type{?proto.penumbra.core.component.fee.v1alpha1.Fee} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_fee_v1alpha1_fee_pb.Fee, 3)); +}; + + +/** + * @param {?proto.penumbra.core.component.fee.v1alpha1.Fee|undefined} value + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap} returns this +*/ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap.prototype.setFee = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap} returns this + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap.prototype.clearFee = function() { + return this.setFee(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap.prototype.hasFee = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional penumbra.core.keys.v1alpha1.Address claim_address = 4; + * @return {?proto.penumbra.core.keys.v1alpha1.Address} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap.prototype.getClaimAddress = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.Address} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.Address, 4)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.Address|undefined} value + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap} returns this +*/ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap.prototype.setClaimAddress = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap} returns this + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap.prototype.clearClaimAddress = function() { + return this.setClaimAddress(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap.prototype.hasClaimAddress = function() { + return jspb.Message.getField(this, 4) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.SwapClaim.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.TransactionPlannerRequest.SwapClaim.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.SwapClaim} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.SwapClaim.toObject = function(includeInstance, msg) { + var f, obj = { + swapCommitment: (f = msg.getSwapCommitment()) && penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.SwapClaim} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.SwapClaim.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.TransactionPlannerRequest.SwapClaim; + return proto.penumbra.view.v1alpha1.TransactionPlannerRequest.SwapClaim.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.SwapClaim} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.SwapClaim} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.SwapClaim.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment; + reader.readMessage(value,penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.deserializeBinaryFromReader); + msg.setSwapCommitment(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.SwapClaim.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.TransactionPlannerRequest.SwapClaim.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.SwapClaim} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.SwapClaim.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSwapCommitment(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.crypto.tct.v1alpha1.StateCommitment swap_commitment = 1; + * @return {?proto.penumbra.crypto.tct.v1alpha1.StateCommitment} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.SwapClaim.prototype.getSwapCommitment = function() { + return /** @type{?proto.penumbra.crypto.tct.v1alpha1.StateCommitment} */ ( + jspb.Message.getWrapperField(this, penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment, 1)); +}; + + +/** + * @param {?proto.penumbra.crypto.tct.v1alpha1.StateCommitment|undefined} value + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.SwapClaim} returns this +*/ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.SwapClaim.prototype.setSwapCommitment = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.SwapClaim} returns this + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.SwapClaim.prototype.clearSwapCommitment = function() { + return this.setSwapCommitment(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.SwapClaim.prototype.hasSwapCommitment = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Delegate.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Delegate.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Delegate} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Delegate.toObject = function(includeInstance, msg) { + var f, obj = { + amount: (f = msg.getAmount()) && penumbra_core_num_v1alpha1_num_pb.Amount.toObject(includeInstance, f), + rateData: (f = msg.getRateData()) && penumbra_core_component_stake_v1alpha1_stake_pb.RateData.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Delegate} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Delegate.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Delegate; + return proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Delegate.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Delegate} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Delegate} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Delegate.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_num_v1alpha1_num_pb.Amount; + reader.readMessage(value,penumbra_core_num_v1alpha1_num_pb.Amount.deserializeBinaryFromReader); + msg.setAmount(value); + break; + case 3: + var value = new penumbra_core_component_stake_v1alpha1_stake_pb.RateData; + reader.readMessage(value,penumbra_core_component_stake_v1alpha1_stake_pb.RateData.deserializeBinaryFromReader); + msg.setRateData(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Delegate.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Delegate.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Delegate} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Delegate.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getAmount(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_num_v1alpha1_num_pb.Amount.serializeBinaryToWriter + ); + } + f = message.getRateData(); + if (f != null) { + writer.writeMessage( + 3, + f, + penumbra_core_component_stake_v1alpha1_stake_pb.RateData.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.num.v1alpha1.Amount amount = 1; + * @return {?proto.penumbra.core.num.v1alpha1.Amount} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Delegate.prototype.getAmount = function() { + return /** @type{?proto.penumbra.core.num.v1alpha1.Amount} */ ( + jspb.Message.getWrapperField(this, penumbra_core_num_v1alpha1_num_pb.Amount, 1)); +}; + + +/** + * @param {?proto.penumbra.core.num.v1alpha1.Amount|undefined} value + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Delegate} returns this +*/ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Delegate.prototype.setAmount = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Delegate} returns this + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Delegate.prototype.clearAmount = function() { + return this.setAmount(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Delegate.prototype.hasAmount = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional penumbra.core.component.stake.v1alpha1.RateData rate_data = 3; + * @return {?proto.penumbra.core.component.stake.v1alpha1.RateData} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Delegate.prototype.getRateData = function() { + return /** @type{?proto.penumbra.core.component.stake.v1alpha1.RateData} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_stake_v1alpha1_stake_pb.RateData, 3)); +}; + + +/** + * @param {?proto.penumbra.core.component.stake.v1alpha1.RateData|undefined} value + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Delegate} returns this +*/ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Delegate.prototype.setRateData = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Delegate} returns this + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Delegate.prototype.clearRateData = function() { + return this.setRateData(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Delegate.prototype.hasRateData = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Undelegate.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Undelegate.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Undelegate} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Undelegate.toObject = function(includeInstance, msg) { + var f, obj = { + value: (f = msg.getValue()) && penumbra_core_asset_v1alpha1_asset_pb.Value.toObject(includeInstance, f), + rateData: (f = msg.getRateData()) && penumbra_core_component_stake_v1alpha1_stake_pb.RateData.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Undelegate} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Undelegate.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Undelegate; + return proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Undelegate.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Undelegate} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Undelegate} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Undelegate.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_asset_v1alpha1_asset_pb.Value; + reader.readMessage(value,penumbra_core_asset_v1alpha1_asset_pb.Value.deserializeBinaryFromReader); + msg.setValue(value); + break; + case 2: + var value = new penumbra_core_component_stake_v1alpha1_stake_pb.RateData; + reader.readMessage(value,penumbra_core_component_stake_v1alpha1_stake_pb.RateData.deserializeBinaryFromReader); + msg.setRateData(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Undelegate.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Undelegate.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Undelegate} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Undelegate.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getValue(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_asset_v1alpha1_asset_pb.Value.serializeBinaryToWriter + ); + } + f = message.getRateData(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_component_stake_v1alpha1_stake_pb.RateData.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.asset.v1alpha1.Value value = 1; + * @return {?proto.penumbra.core.asset.v1alpha1.Value} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Undelegate.prototype.getValue = function() { + return /** @type{?proto.penumbra.core.asset.v1alpha1.Value} */ ( + jspb.Message.getWrapperField(this, penumbra_core_asset_v1alpha1_asset_pb.Value, 1)); +}; + + +/** + * @param {?proto.penumbra.core.asset.v1alpha1.Value|undefined} value + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Undelegate} returns this +*/ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Undelegate.prototype.setValue = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Undelegate} returns this + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Undelegate.prototype.clearValue = function() { + return this.setValue(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Undelegate.prototype.hasValue = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional penumbra.core.component.stake.v1alpha1.RateData rate_data = 2; + * @return {?proto.penumbra.core.component.stake.v1alpha1.RateData} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Undelegate.prototype.getRateData = function() { + return /** @type{?proto.penumbra.core.component.stake.v1alpha1.RateData} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_stake_v1alpha1_stake_pb.RateData, 2)); +}; + + +/** + * @param {?proto.penumbra.core.component.stake.v1alpha1.RateData|undefined} value + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Undelegate} returns this +*/ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Undelegate.prototype.setRateData = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Undelegate} returns this + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Undelegate.prototype.clearRateData = function() { + return this.setRateData(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Undelegate.prototype.hasRateData = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionOpen.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionOpen.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionOpen} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionOpen.toObject = function(includeInstance, msg) { + var f, obj = { + position: (f = msg.getPosition()) && penumbra_core_component_dex_v1alpha1_dex_pb.Position.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionOpen} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionOpen.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionOpen; + return proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionOpen.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionOpen} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionOpen} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionOpen.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_component_dex_v1alpha1_dex_pb.Position; + reader.readMessage(value,penumbra_core_component_dex_v1alpha1_dex_pb.Position.deserializeBinaryFromReader); + msg.setPosition(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionOpen.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionOpen.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionOpen} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionOpen.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getPosition(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_component_dex_v1alpha1_dex_pb.Position.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.component.dex.v1alpha1.Position position = 1; + * @return {?proto.penumbra.core.component.dex.v1alpha1.Position} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionOpen.prototype.getPosition = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.Position} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_dex_v1alpha1_dex_pb.Position, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.Position|undefined} value + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionOpen} returns this +*/ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionOpen.prototype.setPosition = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionOpen} returns this + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionOpen.prototype.clearPosition = function() { + return this.setPosition(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionOpen.prototype.hasPosition = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionClose.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionClose.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionClose} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionClose.toObject = function(includeInstance, msg) { + var f, obj = { + positionId: (f = msg.getPositionId()) && penumbra_core_component_dex_v1alpha1_dex_pb.PositionId.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionClose} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionClose.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionClose; + return proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionClose.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionClose} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionClose} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionClose.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_component_dex_v1alpha1_dex_pb.PositionId; + reader.readMessage(value,penumbra_core_component_dex_v1alpha1_dex_pb.PositionId.deserializeBinaryFromReader); + msg.setPositionId(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionClose.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionClose.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionClose} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionClose.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getPositionId(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_component_dex_v1alpha1_dex_pb.PositionId.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.component.dex.v1alpha1.PositionId position_id = 1; + * @return {?proto.penumbra.core.component.dex.v1alpha1.PositionId} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionClose.prototype.getPositionId = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.PositionId} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_dex_v1alpha1_dex_pb.PositionId, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.PositionId|undefined} value + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionClose} returns this +*/ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionClose.prototype.setPositionId = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionClose} returns this + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionClose.prototype.clearPositionId = function() { + return this.setPositionId(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionClose.prototype.hasPositionId = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionWithdraw.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionWithdraw.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionWithdraw} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionWithdraw.toObject = function(includeInstance, msg) { + var f, obj = { + positionId: (f = msg.getPositionId()) && penumbra_core_component_dex_v1alpha1_dex_pb.PositionId.toObject(includeInstance, f), + reserves: (f = msg.getReserves()) && penumbra_core_component_dex_v1alpha1_dex_pb.Reserves.toObject(includeInstance, f), + tradingPair: (f = msg.getTradingPair()) && penumbra_core_component_dex_v1alpha1_dex_pb.TradingPair.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionWithdraw} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionWithdraw.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionWithdraw; + return proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionWithdraw.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionWithdraw} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionWithdraw} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionWithdraw.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_component_dex_v1alpha1_dex_pb.PositionId; + reader.readMessage(value,penumbra_core_component_dex_v1alpha1_dex_pb.PositionId.deserializeBinaryFromReader); + msg.setPositionId(value); + break; + case 2: + var value = new penumbra_core_component_dex_v1alpha1_dex_pb.Reserves; + reader.readMessage(value,penumbra_core_component_dex_v1alpha1_dex_pb.Reserves.deserializeBinaryFromReader); + msg.setReserves(value); + break; + case 3: + var value = new penumbra_core_component_dex_v1alpha1_dex_pb.TradingPair; + reader.readMessage(value,penumbra_core_component_dex_v1alpha1_dex_pb.TradingPair.deserializeBinaryFromReader); + msg.setTradingPair(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionWithdraw.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionWithdraw.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionWithdraw} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionWithdraw.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getPositionId(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_component_dex_v1alpha1_dex_pb.PositionId.serializeBinaryToWriter + ); + } + f = message.getReserves(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_component_dex_v1alpha1_dex_pb.Reserves.serializeBinaryToWriter + ); + } + f = message.getTradingPair(); + if (f != null) { + writer.writeMessage( + 3, + f, + penumbra_core_component_dex_v1alpha1_dex_pb.TradingPair.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.component.dex.v1alpha1.PositionId position_id = 1; + * @return {?proto.penumbra.core.component.dex.v1alpha1.PositionId} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionWithdraw.prototype.getPositionId = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.PositionId} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_dex_v1alpha1_dex_pb.PositionId, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.PositionId|undefined} value + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionWithdraw} returns this +*/ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionWithdraw.prototype.setPositionId = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionWithdraw} returns this + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionWithdraw.prototype.clearPositionId = function() { + return this.setPositionId(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionWithdraw.prototype.hasPositionId = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional penumbra.core.component.dex.v1alpha1.Reserves reserves = 2; + * @return {?proto.penumbra.core.component.dex.v1alpha1.Reserves} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionWithdraw.prototype.getReserves = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.Reserves} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_dex_v1alpha1_dex_pb.Reserves, 2)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.Reserves|undefined} value + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionWithdraw} returns this +*/ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionWithdraw.prototype.setReserves = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionWithdraw} returns this + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionWithdraw.prototype.clearReserves = function() { + return this.setReserves(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionWithdraw.prototype.hasReserves = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional penumbra.core.component.dex.v1alpha1.TradingPair trading_pair = 3; + * @return {?proto.penumbra.core.component.dex.v1alpha1.TradingPair} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionWithdraw.prototype.getTradingPair = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.TradingPair} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_dex_v1alpha1_dex_pb.TradingPair, 3)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.TradingPair|undefined} value + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionWithdraw} returns this +*/ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionWithdraw.prototype.setTradingPair = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionWithdraw} returns this + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionWithdraw.prototype.clearTradingPair = function() { + return this.setTradingPair(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionWithdraw.prototype.hasTradingPair = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional uint64 expiry_height = 1; + * @return {number} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.getExpiryHeight = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest} returns this + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.setExpiryHeight = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional penumbra.core.component.fee.v1alpha1.Fee fee = 2; + * @return {?proto.penumbra.core.component.fee.v1alpha1.Fee} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.getFee = function() { + return /** @type{?proto.penumbra.core.component.fee.v1alpha1.Fee} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_fee_v1alpha1_fee_pb.Fee, 2)); +}; + + +/** + * @param {?proto.penumbra.core.component.fee.v1alpha1.Fee|undefined} value + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest} returns this +*/ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.setFee = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest} returns this + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.clearFee = function() { + return this.setFee(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.hasFee = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional penumbra.core.transaction.v1alpha1.MemoPlaintext memo = 3; + * @return {?proto.penumbra.core.transaction.v1alpha1.MemoPlaintext} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.getMemo = function() { + return /** @type{?proto.penumbra.core.transaction.v1alpha1.MemoPlaintext} */ ( + jspb.Message.getWrapperField(this, penumbra_core_transaction_v1alpha1_transaction_pb.MemoPlaintext, 3)); +}; + + +/** + * @param {?proto.penumbra.core.transaction.v1alpha1.MemoPlaintext|undefined} value + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest} returns this +*/ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.setMemo = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest} returns this + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.clearMemo = function() { + return this.setMemo(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.hasMemo = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional penumbra.core.keys.v1alpha1.AddressIndex source = 4; + * @return {?proto.penumbra.core.keys.v1alpha1.AddressIndex} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.getSource = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.AddressIndex} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.AddressIndex, 4)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.AddressIndex|undefined} value + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest} returns this +*/ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.setSource = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest} returns this + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.clearSource = function() { + return this.setSource(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.hasSource = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional penumbra.core.keys.v1alpha1.WalletId wallet_id = 14; + * @return {?proto.penumbra.core.keys.v1alpha1.WalletId} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.getWalletId = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.WalletId} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.WalletId, 14)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.WalletId|undefined} value + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest} returns this +*/ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.setWalletId = function(value) { + return jspb.Message.setWrapperField(this, 14, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest} returns this + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.clearWalletId = function() { + return this.setWalletId(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.hasWalletId = function() { + return jspb.Message.getField(this, 14) != null; +}; + + +/** + * repeated Output outputs = 20; + * @return {!Array} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.getOutputsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Output, 20)); +}; + + +/** + * @param {!Array} value + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest} returns this +*/ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.setOutputsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 20, value); +}; + + +/** + * @param {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Output=} opt_value + * @param {number=} opt_index + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Output} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.addOutputs = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 20, opt_value, proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Output, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest} returns this + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.clearOutputsList = function() { + return this.setOutputsList([]); +}; + + +/** + * repeated Swap swaps = 30; + * @return {!Array} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.getSwapsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap, 30)); +}; + + +/** + * @param {!Array} value + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest} returns this +*/ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.setSwapsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 30, value); +}; + + +/** + * @param {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap=} opt_value + * @param {number=} opt_index + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.addSwaps = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 30, opt_value, proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Swap, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest} returns this + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.clearSwapsList = function() { + return this.setSwapsList([]); +}; + + +/** + * repeated SwapClaim swap_claims = 31; + * @return {!Array} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.getSwapClaimsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.penumbra.view.v1alpha1.TransactionPlannerRequest.SwapClaim, 31)); +}; + + +/** + * @param {!Array} value + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest} returns this +*/ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.setSwapClaimsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 31, value); +}; + + +/** + * @param {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.SwapClaim=} opt_value + * @param {number=} opt_index + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.SwapClaim} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.addSwapClaims = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 31, opt_value, proto.penumbra.view.v1alpha1.TransactionPlannerRequest.SwapClaim, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest} returns this + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.clearSwapClaimsList = function() { + return this.setSwapClaimsList([]); +}; + + +/** + * repeated Delegate delegations = 40; + * @return {!Array} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.getDelegationsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Delegate, 40)); +}; + + +/** + * @param {!Array} value + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest} returns this +*/ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.setDelegationsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 40, value); +}; + + +/** + * @param {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Delegate=} opt_value + * @param {number=} opt_index + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Delegate} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.addDelegations = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 40, opt_value, proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Delegate, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest} returns this + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.clearDelegationsList = function() { + return this.setDelegationsList([]); +}; + + +/** + * repeated Undelegate undelegations = 50; + * @return {!Array} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.getUndelegationsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Undelegate, 50)); +}; + + +/** + * @param {!Array} value + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest} returns this +*/ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.setUndelegationsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 50, value); +}; + + +/** + * @param {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Undelegate=} opt_value + * @param {number=} opt_index + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Undelegate} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.addUndelegations = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 50, opt_value, proto.penumbra.view.v1alpha1.TransactionPlannerRequest.Undelegate, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest} returns this + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.clearUndelegationsList = function() { + return this.setUndelegationsList([]); +}; + + +/** + * repeated penumbra.core.component.ibc.v1alpha1.IbcAction ibc_actions = 60; + * @return {!Array} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.getIbcActionsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, penumbra_core_component_ibc_v1alpha1_ibc_pb.IbcAction, 60)); +}; + + +/** + * @param {!Array} value + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest} returns this +*/ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.setIbcActionsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 60, value); +}; + + +/** + * @param {!proto.penumbra.core.component.ibc.v1alpha1.IbcAction=} opt_value + * @param {number=} opt_index + * @return {!proto.penumbra.core.component.ibc.v1alpha1.IbcAction} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.addIbcActions = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 60, opt_value, proto.penumbra.core.component.ibc.v1alpha1.IbcAction, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest} returns this + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.clearIbcActionsList = function() { + return this.setIbcActionsList([]); +}; + + +/** + * repeated penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal ics20_withdrawals = 61; + * @return {!Array} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.getIcs20WithdrawalsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, penumbra_core_component_ibc_v1alpha1_ibc_pb.Ics20Withdrawal, 61)); +}; + + +/** + * @param {!Array} value + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest} returns this +*/ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.setIcs20WithdrawalsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 61, value); +}; + + +/** + * @param {!proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal=} opt_value + * @param {number=} opt_index + * @return {!proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.addIcs20Withdrawals = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 61, opt_value, proto.penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest} returns this + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.clearIcs20WithdrawalsList = function() { + return this.setIcs20WithdrawalsList([]); +}; + + +/** + * repeated PositionOpen position_opens = 70; + * @return {!Array} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.getPositionOpensList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionOpen, 70)); +}; + + +/** + * @param {!Array} value + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest} returns this +*/ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.setPositionOpensList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 70, value); +}; + + +/** + * @param {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionOpen=} opt_value + * @param {number=} opt_index + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionOpen} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.addPositionOpens = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 70, opt_value, proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionOpen, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest} returns this + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.clearPositionOpensList = function() { + return this.setPositionOpensList([]); +}; + + +/** + * repeated PositionClose position_closes = 71; + * @return {!Array} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.getPositionClosesList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionClose, 71)); +}; + + +/** + * @param {!Array} value + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest} returns this +*/ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.setPositionClosesList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 71, value); +}; + + +/** + * @param {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionClose=} opt_value + * @param {number=} opt_index + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionClose} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.addPositionCloses = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 71, opt_value, proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionClose, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest} returns this + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.clearPositionClosesList = function() { + return this.setPositionClosesList([]); +}; + + +/** + * repeated PositionWithdraw position_withdraws = 72; + * @return {!Array} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.getPositionWithdrawsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionWithdraw, 72)); +}; + + +/** + * @param {!Array} value + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest} returns this +*/ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.setPositionWithdrawsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 72, value); +}; + + +/** + * @param {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionWithdraw=} opt_value + * @param {number=} opt_index + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionWithdraw} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.addPositionWithdraws = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 72, opt_value, proto.penumbra.view.v1alpha1.TransactionPlannerRequest.PositionWithdraw, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerRequest} returns this + */ +proto.penumbra.view.v1alpha1.TransactionPlannerRequest.prototype.clearPositionWithdrawsList = function() { + return this.setPositionWithdrawsList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.TransactionPlannerResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.TransactionPlannerResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.TransactionPlannerResponse.toObject = function(includeInstance, msg) { + var f, obj = { + plan: (f = msg.getPlan()) && penumbra_core_transaction_v1alpha1_transaction_pb.TransactionPlan.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerResponse} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.TransactionPlannerResponse; + return proto.penumbra.view.v1alpha1.TransactionPlannerResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.TransactionPlannerResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerResponse} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_transaction_v1alpha1_transaction_pb.TransactionPlan; + reader.readMessage(value,penumbra_core_transaction_v1alpha1_transaction_pb.TransactionPlan.deserializeBinaryFromReader); + msg.setPlan(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.TransactionPlannerResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.TransactionPlannerResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.TransactionPlannerResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getPlan(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_transaction_v1alpha1_transaction_pb.TransactionPlan.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.transaction.v1alpha1.TransactionPlan plan = 1; + * @return {?proto.penumbra.core.transaction.v1alpha1.TransactionPlan} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerResponse.prototype.getPlan = function() { + return /** @type{?proto.penumbra.core.transaction.v1alpha1.TransactionPlan} */ ( + jspb.Message.getWrapperField(this, penumbra_core_transaction_v1alpha1_transaction_pb.TransactionPlan, 1)); +}; + + +/** + * @param {?proto.penumbra.core.transaction.v1alpha1.TransactionPlan|undefined} value + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerResponse} returns this +*/ +proto.penumbra.view.v1alpha1.TransactionPlannerResponse.prototype.setPlan = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.TransactionPlannerResponse} returns this + */ +proto.penumbra.view.v1alpha1.TransactionPlannerResponse.prototype.clearPlan = function() { + return this.setPlan(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.TransactionPlannerResponse.prototype.hasPlan = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.AddressByIndexRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.AddressByIndexRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.AddressByIndexRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.AddressByIndexRequest.toObject = function(includeInstance, msg) { + var f, obj = { + addressIndex: (f = msg.getAddressIndex()) && penumbra_core_keys_v1alpha1_keys_pb.AddressIndex.toObject(includeInstance, f), + displayConfirm: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.AddressByIndexRequest} + */ +proto.penumbra.view.v1alpha1.AddressByIndexRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.AddressByIndexRequest; + return proto.penumbra.view.v1alpha1.AddressByIndexRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.AddressByIndexRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.AddressByIndexRequest} + */ +proto.penumbra.view.v1alpha1.AddressByIndexRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_keys_v1alpha1_keys_pb.AddressIndex; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.AddressIndex.deserializeBinaryFromReader); + msg.setAddressIndex(value); + break; + case 2: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setDisplayConfirm(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.AddressByIndexRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.AddressByIndexRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.AddressByIndexRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.AddressByIndexRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getAddressIndex(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_keys_v1alpha1_keys_pb.AddressIndex.serializeBinaryToWriter + ); + } + f = message.getDisplayConfirm(); + if (f) { + writer.writeBool( + 2, + f + ); + } +}; + + +/** + * optional penumbra.core.keys.v1alpha1.AddressIndex address_index = 1; + * @return {?proto.penumbra.core.keys.v1alpha1.AddressIndex} + */ +proto.penumbra.view.v1alpha1.AddressByIndexRequest.prototype.getAddressIndex = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.AddressIndex} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.AddressIndex, 1)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.AddressIndex|undefined} value + * @return {!proto.penumbra.view.v1alpha1.AddressByIndexRequest} returns this +*/ +proto.penumbra.view.v1alpha1.AddressByIndexRequest.prototype.setAddressIndex = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.AddressByIndexRequest} returns this + */ +proto.penumbra.view.v1alpha1.AddressByIndexRequest.prototype.clearAddressIndex = function() { + return this.setAddressIndex(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.AddressByIndexRequest.prototype.hasAddressIndex = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional bool display_confirm = 2; + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.AddressByIndexRequest.prototype.getDisplayConfirm = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.penumbra.view.v1alpha1.AddressByIndexRequest} returns this + */ +proto.penumbra.view.v1alpha1.AddressByIndexRequest.prototype.setDisplayConfirm = function(value) { + return jspb.Message.setProto3BooleanField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.AddressByIndexResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.AddressByIndexResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.AddressByIndexResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.AddressByIndexResponse.toObject = function(includeInstance, msg) { + var f, obj = { + address: (f = msg.getAddress()) && penumbra_core_keys_v1alpha1_keys_pb.Address.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.AddressByIndexResponse} + */ +proto.penumbra.view.v1alpha1.AddressByIndexResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.AddressByIndexResponse; + return proto.penumbra.view.v1alpha1.AddressByIndexResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.AddressByIndexResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.AddressByIndexResponse} + */ +proto.penumbra.view.v1alpha1.AddressByIndexResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_keys_v1alpha1_keys_pb.Address; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.Address.deserializeBinaryFromReader); + msg.setAddress(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.AddressByIndexResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.AddressByIndexResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.AddressByIndexResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.AddressByIndexResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getAddress(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_keys_v1alpha1_keys_pb.Address.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.keys.v1alpha1.Address address = 1; + * @return {?proto.penumbra.core.keys.v1alpha1.Address} + */ +proto.penumbra.view.v1alpha1.AddressByIndexResponse.prototype.getAddress = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.Address} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.Address, 1)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.Address|undefined} value + * @return {!proto.penumbra.view.v1alpha1.AddressByIndexResponse} returns this +*/ +proto.penumbra.view.v1alpha1.AddressByIndexResponse.prototype.setAddress = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.AddressByIndexResponse} returns this + */ +proto.penumbra.view.v1alpha1.AddressByIndexResponse.prototype.clearAddress = function() { + return this.setAddress(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.AddressByIndexResponse.prototype.hasAddress = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.WalletIdRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.WalletIdRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.WalletIdRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.WalletIdRequest.toObject = function(includeInstance, msg) { + var f, obj = { + + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.WalletIdRequest} + */ +proto.penumbra.view.v1alpha1.WalletIdRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.WalletIdRequest; + return proto.penumbra.view.v1alpha1.WalletIdRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.WalletIdRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.WalletIdRequest} + */ +proto.penumbra.view.v1alpha1.WalletIdRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.WalletIdRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.WalletIdRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.WalletIdRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.WalletIdRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.WalletIdResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.WalletIdResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.WalletIdResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.WalletIdResponse.toObject = function(includeInstance, msg) { + var f, obj = { + walletId: (f = msg.getWalletId()) && penumbra_core_keys_v1alpha1_keys_pb.WalletId.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.WalletIdResponse} + */ +proto.penumbra.view.v1alpha1.WalletIdResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.WalletIdResponse; + return proto.penumbra.view.v1alpha1.WalletIdResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.WalletIdResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.WalletIdResponse} + */ +proto.penumbra.view.v1alpha1.WalletIdResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_keys_v1alpha1_keys_pb.WalletId; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.WalletId.deserializeBinaryFromReader); + msg.setWalletId(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.WalletIdResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.WalletIdResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.WalletIdResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.WalletIdResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getWalletId(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_keys_v1alpha1_keys_pb.WalletId.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.keys.v1alpha1.WalletId wallet_id = 1; + * @return {?proto.penumbra.core.keys.v1alpha1.WalletId} + */ +proto.penumbra.view.v1alpha1.WalletIdResponse.prototype.getWalletId = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.WalletId} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.WalletId, 1)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.WalletId|undefined} value + * @return {!proto.penumbra.view.v1alpha1.WalletIdResponse} returns this +*/ +proto.penumbra.view.v1alpha1.WalletIdResponse.prototype.setWalletId = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.WalletIdResponse} returns this + */ +proto.penumbra.view.v1alpha1.WalletIdResponse.prototype.clearWalletId = function() { + return this.setWalletId(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.WalletIdResponse.prototype.hasWalletId = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.IndexByAddressRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.IndexByAddressRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.IndexByAddressRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.IndexByAddressRequest.toObject = function(includeInstance, msg) { + var f, obj = { + address: (f = msg.getAddress()) && penumbra_core_keys_v1alpha1_keys_pb.Address.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.IndexByAddressRequest} + */ +proto.penumbra.view.v1alpha1.IndexByAddressRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.IndexByAddressRequest; + return proto.penumbra.view.v1alpha1.IndexByAddressRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.IndexByAddressRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.IndexByAddressRequest} + */ +proto.penumbra.view.v1alpha1.IndexByAddressRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_keys_v1alpha1_keys_pb.Address; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.Address.deserializeBinaryFromReader); + msg.setAddress(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.IndexByAddressRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.IndexByAddressRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.IndexByAddressRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.IndexByAddressRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getAddress(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_keys_v1alpha1_keys_pb.Address.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.keys.v1alpha1.Address address = 1; + * @return {?proto.penumbra.core.keys.v1alpha1.Address} + */ +proto.penumbra.view.v1alpha1.IndexByAddressRequest.prototype.getAddress = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.Address} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.Address, 1)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.Address|undefined} value + * @return {!proto.penumbra.view.v1alpha1.IndexByAddressRequest} returns this +*/ +proto.penumbra.view.v1alpha1.IndexByAddressRequest.prototype.setAddress = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.IndexByAddressRequest} returns this + */ +proto.penumbra.view.v1alpha1.IndexByAddressRequest.prototype.clearAddress = function() { + return this.setAddress(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.IndexByAddressRequest.prototype.hasAddress = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.IndexByAddressResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.IndexByAddressResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.IndexByAddressResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.IndexByAddressResponse.toObject = function(includeInstance, msg) { + var f, obj = { + addressIndex: (f = msg.getAddressIndex()) && penumbra_core_keys_v1alpha1_keys_pb.AddressIndex.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.IndexByAddressResponse} + */ +proto.penumbra.view.v1alpha1.IndexByAddressResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.IndexByAddressResponse; + return proto.penumbra.view.v1alpha1.IndexByAddressResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.IndexByAddressResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.IndexByAddressResponse} + */ +proto.penumbra.view.v1alpha1.IndexByAddressResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_keys_v1alpha1_keys_pb.AddressIndex; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.AddressIndex.deserializeBinaryFromReader); + msg.setAddressIndex(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.IndexByAddressResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.IndexByAddressResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.IndexByAddressResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.IndexByAddressResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getAddressIndex(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_keys_v1alpha1_keys_pb.AddressIndex.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.keys.v1alpha1.AddressIndex address_index = 1; + * @return {?proto.penumbra.core.keys.v1alpha1.AddressIndex} + */ +proto.penumbra.view.v1alpha1.IndexByAddressResponse.prototype.getAddressIndex = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.AddressIndex} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.AddressIndex, 1)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.AddressIndex|undefined} value + * @return {!proto.penumbra.view.v1alpha1.IndexByAddressResponse} returns this +*/ +proto.penumbra.view.v1alpha1.IndexByAddressResponse.prototype.setAddressIndex = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.IndexByAddressResponse} returns this + */ +proto.penumbra.view.v1alpha1.IndexByAddressResponse.prototype.clearAddressIndex = function() { + return this.setAddressIndex(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.IndexByAddressResponse.prototype.hasAddressIndex = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.EphemeralAddressRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.EphemeralAddressRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.EphemeralAddressRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.EphemeralAddressRequest.toObject = function(includeInstance, msg) { + var f, obj = { + addressIndex: (f = msg.getAddressIndex()) && penumbra_core_keys_v1alpha1_keys_pb.AddressIndex.toObject(includeInstance, f), + displayConfirm: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.EphemeralAddressRequest} + */ +proto.penumbra.view.v1alpha1.EphemeralAddressRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.EphemeralAddressRequest; + return proto.penumbra.view.v1alpha1.EphemeralAddressRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.EphemeralAddressRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.EphemeralAddressRequest} + */ +proto.penumbra.view.v1alpha1.EphemeralAddressRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_keys_v1alpha1_keys_pb.AddressIndex; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.AddressIndex.deserializeBinaryFromReader); + msg.setAddressIndex(value); + break; + case 2: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setDisplayConfirm(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.EphemeralAddressRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.EphemeralAddressRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.EphemeralAddressRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.EphemeralAddressRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getAddressIndex(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_keys_v1alpha1_keys_pb.AddressIndex.serializeBinaryToWriter + ); + } + f = message.getDisplayConfirm(); + if (f) { + writer.writeBool( + 2, + f + ); + } +}; + + +/** + * optional penumbra.core.keys.v1alpha1.AddressIndex address_index = 1; + * @return {?proto.penumbra.core.keys.v1alpha1.AddressIndex} + */ +proto.penumbra.view.v1alpha1.EphemeralAddressRequest.prototype.getAddressIndex = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.AddressIndex} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.AddressIndex, 1)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.AddressIndex|undefined} value + * @return {!proto.penumbra.view.v1alpha1.EphemeralAddressRequest} returns this +*/ +proto.penumbra.view.v1alpha1.EphemeralAddressRequest.prototype.setAddressIndex = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.EphemeralAddressRequest} returns this + */ +proto.penumbra.view.v1alpha1.EphemeralAddressRequest.prototype.clearAddressIndex = function() { + return this.setAddressIndex(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.EphemeralAddressRequest.prototype.hasAddressIndex = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional bool display_confirm = 2; + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.EphemeralAddressRequest.prototype.getDisplayConfirm = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.penumbra.view.v1alpha1.EphemeralAddressRequest} returns this + */ +proto.penumbra.view.v1alpha1.EphemeralAddressRequest.prototype.setDisplayConfirm = function(value) { + return jspb.Message.setProto3BooleanField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.EphemeralAddressResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.EphemeralAddressResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.EphemeralAddressResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.EphemeralAddressResponse.toObject = function(includeInstance, msg) { + var f, obj = { + address: (f = msg.getAddress()) && penumbra_core_keys_v1alpha1_keys_pb.Address.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.EphemeralAddressResponse} + */ +proto.penumbra.view.v1alpha1.EphemeralAddressResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.EphemeralAddressResponse; + return proto.penumbra.view.v1alpha1.EphemeralAddressResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.EphemeralAddressResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.EphemeralAddressResponse} + */ +proto.penumbra.view.v1alpha1.EphemeralAddressResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_keys_v1alpha1_keys_pb.Address; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.Address.deserializeBinaryFromReader); + msg.setAddress(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.EphemeralAddressResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.EphemeralAddressResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.EphemeralAddressResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.EphemeralAddressResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getAddress(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_keys_v1alpha1_keys_pb.Address.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.keys.v1alpha1.Address address = 1; + * @return {?proto.penumbra.core.keys.v1alpha1.Address} + */ +proto.penumbra.view.v1alpha1.EphemeralAddressResponse.prototype.getAddress = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.Address} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.Address, 1)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.Address|undefined} value + * @return {!proto.penumbra.view.v1alpha1.EphemeralAddressResponse} returns this +*/ +proto.penumbra.view.v1alpha1.EphemeralAddressResponse.prototype.setAddress = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.EphemeralAddressResponse} returns this + */ +proto.penumbra.view.v1alpha1.EphemeralAddressResponse.prototype.clearAddress = function() { + return this.setAddress(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.EphemeralAddressResponse.prototype.hasAddress = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.BalancesRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.BalancesRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.BalancesRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.BalancesRequest.toObject = function(includeInstance, msg) { + var f, obj = { + accountFilter: (f = msg.getAccountFilter()) && penumbra_core_keys_v1alpha1_keys_pb.AddressIndex.toObject(includeInstance, f), + assetIdFilter: (f = msg.getAssetIdFilter()) && penumbra_core_asset_v1alpha1_asset_pb.AssetId.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.BalancesRequest} + */ +proto.penumbra.view.v1alpha1.BalancesRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.BalancesRequest; + return proto.penumbra.view.v1alpha1.BalancesRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.BalancesRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.BalancesRequest} + */ +proto.penumbra.view.v1alpha1.BalancesRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_keys_v1alpha1_keys_pb.AddressIndex; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.AddressIndex.deserializeBinaryFromReader); + msg.setAccountFilter(value); + break; + case 2: + var value = new penumbra_core_asset_v1alpha1_asset_pb.AssetId; + reader.readMessage(value,penumbra_core_asset_v1alpha1_asset_pb.AssetId.deserializeBinaryFromReader); + msg.setAssetIdFilter(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.BalancesRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.BalancesRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.BalancesRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.BalancesRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getAccountFilter(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_keys_v1alpha1_keys_pb.AddressIndex.serializeBinaryToWriter + ); + } + f = message.getAssetIdFilter(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_asset_v1alpha1_asset_pb.AssetId.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.keys.v1alpha1.AddressIndex account_filter = 1; + * @return {?proto.penumbra.core.keys.v1alpha1.AddressIndex} + */ +proto.penumbra.view.v1alpha1.BalancesRequest.prototype.getAccountFilter = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.AddressIndex} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.AddressIndex, 1)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.AddressIndex|undefined} value + * @return {!proto.penumbra.view.v1alpha1.BalancesRequest} returns this +*/ +proto.penumbra.view.v1alpha1.BalancesRequest.prototype.setAccountFilter = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.BalancesRequest} returns this + */ +proto.penumbra.view.v1alpha1.BalancesRequest.prototype.clearAccountFilter = function() { + return this.setAccountFilter(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.BalancesRequest.prototype.hasAccountFilter = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional penumbra.core.asset.v1alpha1.AssetId asset_id_filter = 2; + * @return {?proto.penumbra.core.asset.v1alpha1.AssetId} + */ +proto.penumbra.view.v1alpha1.BalancesRequest.prototype.getAssetIdFilter = function() { + return /** @type{?proto.penumbra.core.asset.v1alpha1.AssetId} */ ( + jspb.Message.getWrapperField(this, penumbra_core_asset_v1alpha1_asset_pb.AssetId, 2)); +}; + + +/** + * @param {?proto.penumbra.core.asset.v1alpha1.AssetId|undefined} value + * @return {!proto.penumbra.view.v1alpha1.BalancesRequest} returns this +*/ +proto.penumbra.view.v1alpha1.BalancesRequest.prototype.setAssetIdFilter = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.BalancesRequest} returns this + */ +proto.penumbra.view.v1alpha1.BalancesRequest.prototype.clearAssetIdFilter = function() { + return this.setAssetIdFilter(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.BalancesRequest.prototype.hasAssetIdFilter = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.BalancesResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.BalancesResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.BalancesResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.BalancesResponse.toObject = function(includeInstance, msg) { + var f, obj = { + account: (f = msg.getAccount()) && penumbra_core_keys_v1alpha1_keys_pb.AddressIndex.toObject(includeInstance, f), + balance: (f = msg.getBalance()) && penumbra_core_asset_v1alpha1_asset_pb.Value.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.BalancesResponse} + */ +proto.penumbra.view.v1alpha1.BalancesResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.BalancesResponse; + return proto.penumbra.view.v1alpha1.BalancesResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.BalancesResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.BalancesResponse} + */ +proto.penumbra.view.v1alpha1.BalancesResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_keys_v1alpha1_keys_pb.AddressIndex; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.AddressIndex.deserializeBinaryFromReader); + msg.setAccount(value); + break; + case 2: + var value = new penumbra_core_asset_v1alpha1_asset_pb.Value; + reader.readMessage(value,penumbra_core_asset_v1alpha1_asset_pb.Value.deserializeBinaryFromReader); + msg.setBalance(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.BalancesResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.BalancesResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.BalancesResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.BalancesResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getAccount(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_keys_v1alpha1_keys_pb.AddressIndex.serializeBinaryToWriter + ); + } + f = message.getBalance(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_asset_v1alpha1_asset_pb.Value.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.keys.v1alpha1.AddressIndex account = 1; + * @return {?proto.penumbra.core.keys.v1alpha1.AddressIndex} + */ +proto.penumbra.view.v1alpha1.BalancesResponse.prototype.getAccount = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.AddressIndex} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.AddressIndex, 1)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.AddressIndex|undefined} value + * @return {!proto.penumbra.view.v1alpha1.BalancesResponse} returns this +*/ +proto.penumbra.view.v1alpha1.BalancesResponse.prototype.setAccount = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.BalancesResponse} returns this + */ +proto.penumbra.view.v1alpha1.BalancesResponse.prototype.clearAccount = function() { + return this.setAccount(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.BalancesResponse.prototype.hasAccount = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional penumbra.core.asset.v1alpha1.Value balance = 2; + * @return {?proto.penumbra.core.asset.v1alpha1.Value} + */ +proto.penumbra.view.v1alpha1.BalancesResponse.prototype.getBalance = function() { + return /** @type{?proto.penumbra.core.asset.v1alpha1.Value} */ ( + jspb.Message.getWrapperField(this, penumbra_core_asset_v1alpha1_asset_pb.Value, 2)); +}; + + +/** + * @param {?proto.penumbra.core.asset.v1alpha1.Value|undefined} value + * @return {!proto.penumbra.view.v1alpha1.BalancesResponse} returns this +*/ +proto.penumbra.view.v1alpha1.BalancesResponse.prototype.setBalance = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.BalancesResponse} returns this + */ +proto.penumbra.view.v1alpha1.BalancesResponse.prototype.clearBalance = function() { + return this.setBalance(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.BalancesResponse.prototype.hasBalance = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.ViewAuthToken.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.ViewAuthToken.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.ViewAuthToken} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.ViewAuthToken.toObject = function(includeInstance, msg) { + var f, obj = { + inner: msg.getInner_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.ViewAuthToken} + */ +proto.penumbra.view.v1alpha1.ViewAuthToken.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.ViewAuthToken; + return proto.penumbra.view.v1alpha1.ViewAuthToken.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.ViewAuthToken} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.ViewAuthToken} + */ +proto.penumbra.view.v1alpha1.ViewAuthToken.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setInner(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.ViewAuthToken.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.ViewAuthToken.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.ViewAuthToken} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.ViewAuthToken.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInner_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } +}; + + +/** + * optional bytes inner = 1; + * @return {!(string|Uint8Array)} + */ +proto.penumbra.view.v1alpha1.ViewAuthToken.prototype.getInner = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes inner = 1; + * This is a type-conversion wrapper around `getInner()` + * @return {string} + */ +proto.penumbra.view.v1alpha1.ViewAuthToken.prototype.getInner_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getInner())); +}; + + +/** + * optional bytes inner = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getInner()` + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.ViewAuthToken.prototype.getInner_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getInner())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.penumbra.view.v1alpha1.ViewAuthToken} returns this + */ +proto.penumbra.view.v1alpha1.ViewAuthToken.prototype.setInner = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.ViewAuthRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.ViewAuthRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.ViewAuthRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.ViewAuthRequest.toObject = function(includeInstance, msg) { + var f, obj = { + fvk: (f = msg.getFvk()) && penumbra_core_keys_v1alpha1_keys_pb.FullViewingKey.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.ViewAuthRequest} + */ +proto.penumbra.view.v1alpha1.ViewAuthRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.ViewAuthRequest; + return proto.penumbra.view.v1alpha1.ViewAuthRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.ViewAuthRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.ViewAuthRequest} + */ +proto.penumbra.view.v1alpha1.ViewAuthRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_keys_v1alpha1_keys_pb.FullViewingKey; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.FullViewingKey.deserializeBinaryFromReader); + msg.setFvk(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.ViewAuthRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.ViewAuthRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.ViewAuthRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.ViewAuthRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getFvk(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_keys_v1alpha1_keys_pb.FullViewingKey.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.keys.v1alpha1.FullViewingKey fvk = 1; + * @return {?proto.penumbra.core.keys.v1alpha1.FullViewingKey} + */ +proto.penumbra.view.v1alpha1.ViewAuthRequest.prototype.getFvk = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.FullViewingKey} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.FullViewingKey, 1)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.FullViewingKey|undefined} value + * @return {!proto.penumbra.view.v1alpha1.ViewAuthRequest} returns this +*/ +proto.penumbra.view.v1alpha1.ViewAuthRequest.prototype.setFvk = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.ViewAuthRequest} returns this + */ +proto.penumbra.view.v1alpha1.ViewAuthRequest.prototype.clearFvk = function() { + return this.setFvk(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.ViewAuthRequest.prototype.hasFvk = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.ViewAuthResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.ViewAuthResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.ViewAuthResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.ViewAuthResponse.toObject = function(includeInstance, msg) { + var f, obj = { + token: (f = msg.getToken()) && proto.penumbra.view.v1alpha1.ViewAuthToken.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.ViewAuthResponse} + */ +proto.penumbra.view.v1alpha1.ViewAuthResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.ViewAuthResponse; + return proto.penumbra.view.v1alpha1.ViewAuthResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.ViewAuthResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.ViewAuthResponse} + */ +proto.penumbra.view.v1alpha1.ViewAuthResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.view.v1alpha1.ViewAuthToken; + reader.readMessage(value,proto.penumbra.view.v1alpha1.ViewAuthToken.deserializeBinaryFromReader); + msg.setToken(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.ViewAuthResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.ViewAuthResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.ViewAuthResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.ViewAuthResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getToken(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.view.v1alpha1.ViewAuthToken.serializeBinaryToWriter + ); + } +}; + + +/** + * optional ViewAuthToken token = 1; + * @return {?proto.penumbra.view.v1alpha1.ViewAuthToken} + */ +proto.penumbra.view.v1alpha1.ViewAuthResponse.prototype.getToken = function() { + return /** @type{?proto.penumbra.view.v1alpha1.ViewAuthToken} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.view.v1alpha1.ViewAuthToken, 1)); +}; + + +/** + * @param {?proto.penumbra.view.v1alpha1.ViewAuthToken|undefined} value + * @return {!proto.penumbra.view.v1alpha1.ViewAuthResponse} returns this +*/ +proto.penumbra.view.v1alpha1.ViewAuthResponse.prototype.setToken = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.ViewAuthResponse} returns this + */ +proto.penumbra.view.v1alpha1.ViewAuthResponse.prototype.clearToken = function() { + return this.setToken(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.ViewAuthResponse.prototype.hasToken = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.StatusRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.StatusRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.StatusRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.StatusRequest.toObject = function(includeInstance, msg) { + var f, obj = { + walletId: (f = msg.getWalletId()) && penumbra_core_keys_v1alpha1_keys_pb.WalletId.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.StatusRequest} + */ +proto.penumbra.view.v1alpha1.StatusRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.StatusRequest; + return proto.penumbra.view.v1alpha1.StatusRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.StatusRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.StatusRequest} + */ +proto.penumbra.view.v1alpha1.StatusRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 14: + var value = new penumbra_core_keys_v1alpha1_keys_pb.WalletId; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.WalletId.deserializeBinaryFromReader); + msg.setWalletId(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.StatusRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.StatusRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.StatusRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.StatusRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getWalletId(); + if (f != null) { + writer.writeMessage( + 14, + f, + penumbra_core_keys_v1alpha1_keys_pb.WalletId.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.keys.v1alpha1.WalletId wallet_id = 14; + * @return {?proto.penumbra.core.keys.v1alpha1.WalletId} + */ +proto.penumbra.view.v1alpha1.StatusRequest.prototype.getWalletId = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.WalletId} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.WalletId, 14)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.WalletId|undefined} value + * @return {!proto.penumbra.view.v1alpha1.StatusRequest} returns this +*/ +proto.penumbra.view.v1alpha1.StatusRequest.prototype.setWalletId = function(value) { + return jspb.Message.setWrapperField(this, 14, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.StatusRequest} returns this + */ +proto.penumbra.view.v1alpha1.StatusRequest.prototype.clearWalletId = function() { + return this.setWalletId(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.StatusRequest.prototype.hasWalletId = function() { + return jspb.Message.getField(this, 14) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.StatusResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.StatusResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.StatusResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.StatusResponse.toObject = function(includeInstance, msg) { + var f, obj = { + syncHeight: jspb.Message.getFieldWithDefault(msg, 1, 0), + catchingUp: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.StatusResponse} + */ +proto.penumbra.view.v1alpha1.StatusResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.StatusResponse; + return proto.penumbra.view.v1alpha1.StatusResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.StatusResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.StatusResponse} + */ +proto.penumbra.view.v1alpha1.StatusResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setSyncHeight(value); + break; + case 2: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCatchingUp(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.StatusResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.StatusResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.StatusResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.StatusResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSyncHeight(); + if (f !== 0) { + writer.writeUint64( + 1, + f + ); + } + f = message.getCatchingUp(); + if (f) { + writer.writeBool( + 2, + f + ); + } +}; + + +/** + * optional uint64 sync_height = 1; + * @return {number} + */ +proto.penumbra.view.v1alpha1.StatusResponse.prototype.getSyncHeight = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.view.v1alpha1.StatusResponse} returns this + */ +proto.penumbra.view.v1alpha1.StatusResponse.prototype.setSyncHeight = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional bool catching_up = 2; + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.StatusResponse.prototype.getCatchingUp = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.penumbra.view.v1alpha1.StatusResponse} returns this + */ +proto.penumbra.view.v1alpha1.StatusResponse.prototype.setCatchingUp = function(value) { + return jspb.Message.setProto3BooleanField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.StatusStreamRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.StatusStreamRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.StatusStreamRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.StatusStreamRequest.toObject = function(includeInstance, msg) { + var f, obj = { + walletId: (f = msg.getWalletId()) && penumbra_core_keys_v1alpha1_keys_pb.WalletId.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.StatusStreamRequest} + */ +proto.penumbra.view.v1alpha1.StatusStreamRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.StatusStreamRequest; + return proto.penumbra.view.v1alpha1.StatusStreamRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.StatusStreamRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.StatusStreamRequest} + */ +proto.penumbra.view.v1alpha1.StatusStreamRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 14: + var value = new penumbra_core_keys_v1alpha1_keys_pb.WalletId; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.WalletId.deserializeBinaryFromReader); + msg.setWalletId(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.StatusStreamRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.StatusStreamRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.StatusStreamRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.StatusStreamRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getWalletId(); + if (f != null) { + writer.writeMessage( + 14, + f, + penumbra_core_keys_v1alpha1_keys_pb.WalletId.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.keys.v1alpha1.WalletId wallet_id = 14; + * @return {?proto.penumbra.core.keys.v1alpha1.WalletId} + */ +proto.penumbra.view.v1alpha1.StatusStreamRequest.prototype.getWalletId = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.WalletId} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.WalletId, 14)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.WalletId|undefined} value + * @return {!proto.penumbra.view.v1alpha1.StatusStreamRequest} returns this +*/ +proto.penumbra.view.v1alpha1.StatusStreamRequest.prototype.setWalletId = function(value) { + return jspb.Message.setWrapperField(this, 14, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.StatusStreamRequest} returns this + */ +proto.penumbra.view.v1alpha1.StatusStreamRequest.prototype.clearWalletId = function() { + return this.setWalletId(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.StatusStreamRequest.prototype.hasWalletId = function() { + return jspb.Message.getField(this, 14) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.StatusStreamResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.StatusStreamResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.StatusStreamResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.StatusStreamResponse.toObject = function(includeInstance, msg) { + var f, obj = { + latestKnownBlockHeight: jspb.Message.getFieldWithDefault(msg, 1, 0), + syncHeight: jspb.Message.getFieldWithDefault(msg, 2, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.StatusStreamResponse} + */ +proto.penumbra.view.v1alpha1.StatusStreamResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.StatusStreamResponse; + return proto.penumbra.view.v1alpha1.StatusStreamResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.StatusStreamResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.StatusStreamResponse} + */ +proto.penumbra.view.v1alpha1.StatusStreamResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setLatestKnownBlockHeight(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint64()); + msg.setSyncHeight(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.StatusStreamResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.StatusStreamResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.StatusStreamResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.StatusStreamResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getLatestKnownBlockHeight(); + if (f !== 0) { + writer.writeUint64( + 1, + f + ); + } + f = message.getSyncHeight(); + if (f !== 0) { + writer.writeUint64( + 2, + f + ); + } +}; + + +/** + * optional uint64 latest_known_block_height = 1; + * @return {number} + */ +proto.penumbra.view.v1alpha1.StatusStreamResponse.prototype.getLatestKnownBlockHeight = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.view.v1alpha1.StatusStreamResponse} returns this + */ +proto.penumbra.view.v1alpha1.StatusStreamResponse.prototype.setLatestKnownBlockHeight = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional uint64 sync_height = 2; + * @return {number} + */ +proto.penumbra.view.v1alpha1.StatusStreamResponse.prototype.getSyncHeight = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.view.v1alpha1.StatusStreamResponse} returns this + */ +proto.penumbra.view.v1alpha1.StatusStreamResponse.prototype.setSyncHeight = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.NotesRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.NotesRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.NotesRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.NotesRequest.toObject = function(includeInstance, msg) { + var f, obj = { + includeSpent: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), + assetId: (f = msg.getAssetId()) && penumbra_core_asset_v1alpha1_asset_pb.AssetId.toObject(includeInstance, f), + addressIndex: (f = msg.getAddressIndex()) && penumbra_core_keys_v1alpha1_keys_pb.AddressIndex.toObject(includeInstance, f), + amountToSpend: (f = msg.getAmountToSpend()) && penumbra_core_num_v1alpha1_num_pb.Amount.toObject(includeInstance, f), + walletId: (f = msg.getWalletId()) && penumbra_core_keys_v1alpha1_keys_pb.WalletId.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.NotesRequest} + */ +proto.penumbra.view.v1alpha1.NotesRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.NotesRequest; + return proto.penumbra.view.v1alpha1.NotesRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.NotesRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.NotesRequest} + */ +proto.penumbra.view.v1alpha1.NotesRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 2: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setIncludeSpent(value); + break; + case 3: + var value = new penumbra_core_asset_v1alpha1_asset_pb.AssetId; + reader.readMessage(value,penumbra_core_asset_v1alpha1_asset_pb.AssetId.deserializeBinaryFromReader); + msg.setAssetId(value); + break; + case 4: + var value = new penumbra_core_keys_v1alpha1_keys_pb.AddressIndex; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.AddressIndex.deserializeBinaryFromReader); + msg.setAddressIndex(value); + break; + case 6: + var value = new penumbra_core_num_v1alpha1_num_pb.Amount; + reader.readMessage(value,penumbra_core_num_v1alpha1_num_pb.Amount.deserializeBinaryFromReader); + msg.setAmountToSpend(value); + break; + case 14: + var value = new penumbra_core_keys_v1alpha1_keys_pb.WalletId; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.WalletId.deserializeBinaryFromReader); + msg.setWalletId(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.NotesRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.NotesRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.NotesRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.NotesRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getIncludeSpent(); + if (f) { + writer.writeBool( + 2, + f + ); + } + f = message.getAssetId(); + if (f != null) { + writer.writeMessage( + 3, + f, + penumbra_core_asset_v1alpha1_asset_pb.AssetId.serializeBinaryToWriter + ); + } + f = message.getAddressIndex(); + if (f != null) { + writer.writeMessage( + 4, + f, + penumbra_core_keys_v1alpha1_keys_pb.AddressIndex.serializeBinaryToWriter + ); + } + f = message.getAmountToSpend(); + if (f != null) { + writer.writeMessage( + 6, + f, + penumbra_core_num_v1alpha1_num_pb.Amount.serializeBinaryToWriter + ); + } + f = message.getWalletId(); + if (f != null) { + writer.writeMessage( + 14, + f, + penumbra_core_keys_v1alpha1_keys_pb.WalletId.serializeBinaryToWriter + ); + } +}; + + +/** + * optional bool include_spent = 2; + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.NotesRequest.prototype.getIncludeSpent = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.penumbra.view.v1alpha1.NotesRequest} returns this + */ +proto.penumbra.view.v1alpha1.NotesRequest.prototype.setIncludeSpent = function(value) { + return jspb.Message.setProto3BooleanField(this, 2, value); +}; + + +/** + * optional penumbra.core.asset.v1alpha1.AssetId asset_id = 3; + * @return {?proto.penumbra.core.asset.v1alpha1.AssetId} + */ +proto.penumbra.view.v1alpha1.NotesRequest.prototype.getAssetId = function() { + return /** @type{?proto.penumbra.core.asset.v1alpha1.AssetId} */ ( + jspb.Message.getWrapperField(this, penumbra_core_asset_v1alpha1_asset_pb.AssetId, 3)); +}; + + +/** + * @param {?proto.penumbra.core.asset.v1alpha1.AssetId|undefined} value + * @return {!proto.penumbra.view.v1alpha1.NotesRequest} returns this +*/ +proto.penumbra.view.v1alpha1.NotesRequest.prototype.setAssetId = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.NotesRequest} returns this + */ +proto.penumbra.view.v1alpha1.NotesRequest.prototype.clearAssetId = function() { + return this.setAssetId(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.NotesRequest.prototype.hasAssetId = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional penumbra.core.keys.v1alpha1.AddressIndex address_index = 4; + * @return {?proto.penumbra.core.keys.v1alpha1.AddressIndex} + */ +proto.penumbra.view.v1alpha1.NotesRequest.prototype.getAddressIndex = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.AddressIndex} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.AddressIndex, 4)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.AddressIndex|undefined} value + * @return {!proto.penumbra.view.v1alpha1.NotesRequest} returns this +*/ +proto.penumbra.view.v1alpha1.NotesRequest.prototype.setAddressIndex = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.NotesRequest} returns this + */ +proto.penumbra.view.v1alpha1.NotesRequest.prototype.clearAddressIndex = function() { + return this.setAddressIndex(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.NotesRequest.prototype.hasAddressIndex = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional penumbra.core.num.v1alpha1.Amount amount_to_spend = 6; + * @return {?proto.penumbra.core.num.v1alpha1.Amount} + */ +proto.penumbra.view.v1alpha1.NotesRequest.prototype.getAmountToSpend = function() { + return /** @type{?proto.penumbra.core.num.v1alpha1.Amount} */ ( + jspb.Message.getWrapperField(this, penumbra_core_num_v1alpha1_num_pb.Amount, 6)); +}; + + +/** + * @param {?proto.penumbra.core.num.v1alpha1.Amount|undefined} value + * @return {!proto.penumbra.view.v1alpha1.NotesRequest} returns this +*/ +proto.penumbra.view.v1alpha1.NotesRequest.prototype.setAmountToSpend = function(value) { + return jspb.Message.setWrapperField(this, 6, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.NotesRequest} returns this + */ +proto.penumbra.view.v1alpha1.NotesRequest.prototype.clearAmountToSpend = function() { + return this.setAmountToSpend(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.NotesRequest.prototype.hasAmountToSpend = function() { + return jspb.Message.getField(this, 6) != null; +}; + + +/** + * optional penumbra.core.keys.v1alpha1.WalletId wallet_id = 14; + * @return {?proto.penumbra.core.keys.v1alpha1.WalletId} + */ +proto.penumbra.view.v1alpha1.NotesRequest.prototype.getWalletId = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.WalletId} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.WalletId, 14)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.WalletId|undefined} value + * @return {!proto.penumbra.view.v1alpha1.NotesRequest} returns this +*/ +proto.penumbra.view.v1alpha1.NotesRequest.prototype.setWalletId = function(value) { + return jspb.Message.setWrapperField(this, 14, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.NotesRequest} returns this + */ +proto.penumbra.view.v1alpha1.NotesRequest.prototype.clearWalletId = function() { + return this.setWalletId(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.NotesRequest.prototype.hasWalletId = function() { + return jspb.Message.getField(this, 14) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.NotesForVotingRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.NotesForVotingRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.NotesForVotingRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.NotesForVotingRequest.toObject = function(includeInstance, msg) { + var f, obj = { + votableAtHeight: jspb.Message.getFieldWithDefault(msg, 1, 0), + addressIndex: (f = msg.getAddressIndex()) && penumbra_core_keys_v1alpha1_keys_pb.AddressIndex.toObject(includeInstance, f), + walletId: (f = msg.getWalletId()) && penumbra_core_keys_v1alpha1_keys_pb.WalletId.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.NotesForVotingRequest} + */ +proto.penumbra.view.v1alpha1.NotesForVotingRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.NotesForVotingRequest; + return proto.penumbra.view.v1alpha1.NotesForVotingRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.NotesForVotingRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.NotesForVotingRequest} + */ +proto.penumbra.view.v1alpha1.NotesForVotingRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setVotableAtHeight(value); + break; + case 3: + var value = new penumbra_core_keys_v1alpha1_keys_pb.AddressIndex; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.AddressIndex.deserializeBinaryFromReader); + msg.setAddressIndex(value); + break; + case 14: + var value = new penumbra_core_keys_v1alpha1_keys_pb.WalletId; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.WalletId.deserializeBinaryFromReader); + msg.setWalletId(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.NotesForVotingRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.NotesForVotingRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.NotesForVotingRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.NotesForVotingRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getVotableAtHeight(); + if (f !== 0) { + writer.writeUint64( + 1, + f + ); + } + f = message.getAddressIndex(); + if (f != null) { + writer.writeMessage( + 3, + f, + penumbra_core_keys_v1alpha1_keys_pb.AddressIndex.serializeBinaryToWriter + ); + } + f = message.getWalletId(); + if (f != null) { + writer.writeMessage( + 14, + f, + penumbra_core_keys_v1alpha1_keys_pb.WalletId.serializeBinaryToWriter + ); + } +}; + + +/** + * optional uint64 votable_at_height = 1; + * @return {number} + */ +proto.penumbra.view.v1alpha1.NotesForVotingRequest.prototype.getVotableAtHeight = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.view.v1alpha1.NotesForVotingRequest} returns this + */ +proto.penumbra.view.v1alpha1.NotesForVotingRequest.prototype.setVotableAtHeight = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional penumbra.core.keys.v1alpha1.AddressIndex address_index = 3; + * @return {?proto.penumbra.core.keys.v1alpha1.AddressIndex} + */ +proto.penumbra.view.v1alpha1.NotesForVotingRequest.prototype.getAddressIndex = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.AddressIndex} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.AddressIndex, 3)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.AddressIndex|undefined} value + * @return {!proto.penumbra.view.v1alpha1.NotesForVotingRequest} returns this +*/ +proto.penumbra.view.v1alpha1.NotesForVotingRequest.prototype.setAddressIndex = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.NotesForVotingRequest} returns this + */ +proto.penumbra.view.v1alpha1.NotesForVotingRequest.prototype.clearAddressIndex = function() { + return this.setAddressIndex(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.NotesForVotingRequest.prototype.hasAddressIndex = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional penumbra.core.keys.v1alpha1.WalletId wallet_id = 14; + * @return {?proto.penumbra.core.keys.v1alpha1.WalletId} + */ +proto.penumbra.view.v1alpha1.NotesForVotingRequest.prototype.getWalletId = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.WalletId} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.WalletId, 14)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.WalletId|undefined} value + * @return {!proto.penumbra.view.v1alpha1.NotesForVotingRequest} returns this +*/ +proto.penumbra.view.v1alpha1.NotesForVotingRequest.prototype.setWalletId = function(value) { + return jspb.Message.setWrapperField(this, 14, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.NotesForVotingRequest} returns this + */ +proto.penumbra.view.v1alpha1.NotesForVotingRequest.prototype.clearWalletId = function() { + return this.setWalletId(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.NotesForVotingRequest.prototype.hasWalletId = function() { + return jspb.Message.getField(this, 14) != null; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.penumbra.view.v1alpha1.WitnessRequest.repeatedFields_ = [2]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.WitnessRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.WitnessRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.WitnessRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.WitnessRequest.toObject = function(includeInstance, msg) { + var f, obj = { + noteCommitmentsList: jspb.Message.toObjectList(msg.getNoteCommitmentsList(), + penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.toObject, includeInstance), + transactionPlan: (f = msg.getTransactionPlan()) && penumbra_core_transaction_v1alpha1_transaction_pb.TransactionPlan.toObject(includeInstance, f), + walletId: (f = msg.getWalletId()) && penumbra_core_keys_v1alpha1_keys_pb.WalletId.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.WitnessRequest} + */ +proto.penumbra.view.v1alpha1.WitnessRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.WitnessRequest; + return proto.penumbra.view.v1alpha1.WitnessRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.WitnessRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.WitnessRequest} + */ +proto.penumbra.view.v1alpha1.WitnessRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 2: + var value = new penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment; + reader.readMessage(value,penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.deserializeBinaryFromReader); + msg.addNoteCommitments(value); + break; + case 3: + var value = new penumbra_core_transaction_v1alpha1_transaction_pb.TransactionPlan; + reader.readMessage(value,penumbra_core_transaction_v1alpha1_transaction_pb.TransactionPlan.deserializeBinaryFromReader); + msg.setTransactionPlan(value); + break; + case 14: + var value = new penumbra_core_keys_v1alpha1_keys_pb.WalletId; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.WalletId.deserializeBinaryFromReader); + msg.setWalletId(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.WitnessRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.WitnessRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.WitnessRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.WitnessRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getNoteCommitmentsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 2, + f, + penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.serializeBinaryToWriter + ); + } + f = message.getTransactionPlan(); + if (f != null) { + writer.writeMessage( + 3, + f, + penumbra_core_transaction_v1alpha1_transaction_pb.TransactionPlan.serializeBinaryToWriter + ); + } + f = message.getWalletId(); + if (f != null) { + writer.writeMessage( + 14, + f, + penumbra_core_keys_v1alpha1_keys_pb.WalletId.serializeBinaryToWriter + ); + } +}; + + +/** + * repeated penumbra.crypto.tct.v1alpha1.StateCommitment note_commitments = 2; + * @return {!Array} + */ +proto.penumbra.view.v1alpha1.WitnessRequest.prototype.getNoteCommitmentsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment, 2)); +}; + + +/** + * @param {!Array} value + * @return {!proto.penumbra.view.v1alpha1.WitnessRequest} returns this +*/ +proto.penumbra.view.v1alpha1.WitnessRequest.prototype.setNoteCommitmentsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 2, value); +}; + + +/** + * @param {!proto.penumbra.crypto.tct.v1alpha1.StateCommitment=} opt_value + * @param {number=} opt_index + * @return {!proto.penumbra.crypto.tct.v1alpha1.StateCommitment} + */ +proto.penumbra.view.v1alpha1.WitnessRequest.prototype.addNoteCommitments = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.penumbra.crypto.tct.v1alpha1.StateCommitment, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.penumbra.view.v1alpha1.WitnessRequest} returns this + */ +proto.penumbra.view.v1alpha1.WitnessRequest.prototype.clearNoteCommitmentsList = function() { + return this.setNoteCommitmentsList([]); +}; + + +/** + * optional penumbra.core.transaction.v1alpha1.TransactionPlan transaction_plan = 3; + * @return {?proto.penumbra.core.transaction.v1alpha1.TransactionPlan} + */ +proto.penumbra.view.v1alpha1.WitnessRequest.prototype.getTransactionPlan = function() { + return /** @type{?proto.penumbra.core.transaction.v1alpha1.TransactionPlan} */ ( + jspb.Message.getWrapperField(this, penumbra_core_transaction_v1alpha1_transaction_pb.TransactionPlan, 3)); +}; + + +/** + * @param {?proto.penumbra.core.transaction.v1alpha1.TransactionPlan|undefined} value + * @return {!proto.penumbra.view.v1alpha1.WitnessRequest} returns this +*/ +proto.penumbra.view.v1alpha1.WitnessRequest.prototype.setTransactionPlan = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.WitnessRequest} returns this + */ +proto.penumbra.view.v1alpha1.WitnessRequest.prototype.clearTransactionPlan = function() { + return this.setTransactionPlan(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.WitnessRequest.prototype.hasTransactionPlan = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional penumbra.core.keys.v1alpha1.WalletId wallet_id = 14; + * @return {?proto.penumbra.core.keys.v1alpha1.WalletId} + */ +proto.penumbra.view.v1alpha1.WitnessRequest.prototype.getWalletId = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.WalletId} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.WalletId, 14)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.WalletId|undefined} value + * @return {!proto.penumbra.view.v1alpha1.WitnessRequest} returns this +*/ +proto.penumbra.view.v1alpha1.WitnessRequest.prototype.setWalletId = function(value) { + return jspb.Message.setWrapperField(this, 14, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.WitnessRequest} returns this + */ +proto.penumbra.view.v1alpha1.WitnessRequest.prototype.clearWalletId = function() { + return this.setWalletId(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.WitnessRequest.prototype.hasWalletId = function() { + return jspb.Message.getField(this, 14) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.WitnessResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.WitnessResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.WitnessResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.WitnessResponse.toObject = function(includeInstance, msg) { + var f, obj = { + witnessData: (f = msg.getWitnessData()) && penumbra_core_transaction_v1alpha1_transaction_pb.WitnessData.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.WitnessResponse} + */ +proto.penumbra.view.v1alpha1.WitnessResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.WitnessResponse; + return proto.penumbra.view.v1alpha1.WitnessResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.WitnessResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.WitnessResponse} + */ +proto.penumbra.view.v1alpha1.WitnessResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_transaction_v1alpha1_transaction_pb.WitnessData; + reader.readMessage(value,penumbra_core_transaction_v1alpha1_transaction_pb.WitnessData.deserializeBinaryFromReader); + msg.setWitnessData(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.WitnessResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.WitnessResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.WitnessResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.WitnessResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getWitnessData(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_transaction_v1alpha1_transaction_pb.WitnessData.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.transaction.v1alpha1.WitnessData witness_data = 1; + * @return {?proto.penumbra.core.transaction.v1alpha1.WitnessData} + */ +proto.penumbra.view.v1alpha1.WitnessResponse.prototype.getWitnessData = function() { + return /** @type{?proto.penumbra.core.transaction.v1alpha1.WitnessData} */ ( + jspb.Message.getWrapperField(this, penumbra_core_transaction_v1alpha1_transaction_pb.WitnessData, 1)); +}; + + +/** + * @param {?proto.penumbra.core.transaction.v1alpha1.WitnessData|undefined} value + * @return {!proto.penumbra.view.v1alpha1.WitnessResponse} returns this +*/ +proto.penumbra.view.v1alpha1.WitnessResponse.prototype.setWitnessData = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.WitnessResponse} returns this + */ +proto.penumbra.view.v1alpha1.WitnessResponse.prototype.clearWitnessData = function() { + return this.setWitnessData(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.WitnessResponse.prototype.hasWitnessData = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.WitnessAndBuildRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.WitnessAndBuildRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.WitnessAndBuildRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.WitnessAndBuildRequest.toObject = function(includeInstance, msg) { + var f, obj = { + transactionPlan: (f = msg.getTransactionPlan()) && penumbra_core_transaction_v1alpha1_transaction_pb.TransactionPlan.toObject(includeInstance, f), + authorizationData: (f = msg.getAuthorizationData()) && penumbra_core_transaction_v1alpha1_transaction_pb.AuthorizationData.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.WitnessAndBuildRequest} + */ +proto.penumbra.view.v1alpha1.WitnessAndBuildRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.WitnessAndBuildRequest; + return proto.penumbra.view.v1alpha1.WitnessAndBuildRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.WitnessAndBuildRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.WitnessAndBuildRequest} + */ +proto.penumbra.view.v1alpha1.WitnessAndBuildRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_transaction_v1alpha1_transaction_pb.TransactionPlan; + reader.readMessage(value,penumbra_core_transaction_v1alpha1_transaction_pb.TransactionPlan.deserializeBinaryFromReader); + msg.setTransactionPlan(value); + break; + case 2: + var value = new penumbra_core_transaction_v1alpha1_transaction_pb.AuthorizationData; + reader.readMessage(value,penumbra_core_transaction_v1alpha1_transaction_pb.AuthorizationData.deserializeBinaryFromReader); + msg.setAuthorizationData(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.WitnessAndBuildRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.WitnessAndBuildRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.WitnessAndBuildRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.WitnessAndBuildRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTransactionPlan(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_transaction_v1alpha1_transaction_pb.TransactionPlan.serializeBinaryToWriter + ); + } + f = message.getAuthorizationData(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_transaction_v1alpha1_transaction_pb.AuthorizationData.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.transaction.v1alpha1.TransactionPlan transaction_plan = 1; + * @return {?proto.penumbra.core.transaction.v1alpha1.TransactionPlan} + */ +proto.penumbra.view.v1alpha1.WitnessAndBuildRequest.prototype.getTransactionPlan = function() { + return /** @type{?proto.penumbra.core.transaction.v1alpha1.TransactionPlan} */ ( + jspb.Message.getWrapperField(this, penumbra_core_transaction_v1alpha1_transaction_pb.TransactionPlan, 1)); +}; + + +/** + * @param {?proto.penumbra.core.transaction.v1alpha1.TransactionPlan|undefined} value + * @return {!proto.penumbra.view.v1alpha1.WitnessAndBuildRequest} returns this +*/ +proto.penumbra.view.v1alpha1.WitnessAndBuildRequest.prototype.setTransactionPlan = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.WitnessAndBuildRequest} returns this + */ +proto.penumbra.view.v1alpha1.WitnessAndBuildRequest.prototype.clearTransactionPlan = function() { + return this.setTransactionPlan(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.WitnessAndBuildRequest.prototype.hasTransactionPlan = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional penumbra.core.transaction.v1alpha1.AuthorizationData authorization_data = 2; + * @return {?proto.penumbra.core.transaction.v1alpha1.AuthorizationData} + */ +proto.penumbra.view.v1alpha1.WitnessAndBuildRequest.prototype.getAuthorizationData = function() { + return /** @type{?proto.penumbra.core.transaction.v1alpha1.AuthorizationData} */ ( + jspb.Message.getWrapperField(this, penumbra_core_transaction_v1alpha1_transaction_pb.AuthorizationData, 2)); +}; + + +/** + * @param {?proto.penumbra.core.transaction.v1alpha1.AuthorizationData|undefined} value + * @return {!proto.penumbra.view.v1alpha1.WitnessAndBuildRequest} returns this +*/ +proto.penumbra.view.v1alpha1.WitnessAndBuildRequest.prototype.setAuthorizationData = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.WitnessAndBuildRequest} returns this + */ +proto.penumbra.view.v1alpha1.WitnessAndBuildRequest.prototype.clearAuthorizationData = function() { + return this.setAuthorizationData(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.WitnessAndBuildRequest.prototype.hasAuthorizationData = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.WitnessAndBuildResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.WitnessAndBuildResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.WitnessAndBuildResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.WitnessAndBuildResponse.toObject = function(includeInstance, msg) { + var f, obj = { + transaction: (f = msg.getTransaction()) && penumbra_core_transaction_v1alpha1_transaction_pb.Transaction.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.WitnessAndBuildResponse} + */ +proto.penumbra.view.v1alpha1.WitnessAndBuildResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.WitnessAndBuildResponse; + return proto.penumbra.view.v1alpha1.WitnessAndBuildResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.WitnessAndBuildResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.WitnessAndBuildResponse} + */ +proto.penumbra.view.v1alpha1.WitnessAndBuildResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_transaction_v1alpha1_transaction_pb.Transaction; + reader.readMessage(value,penumbra_core_transaction_v1alpha1_transaction_pb.Transaction.deserializeBinaryFromReader); + msg.setTransaction(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.WitnessAndBuildResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.WitnessAndBuildResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.WitnessAndBuildResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.WitnessAndBuildResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTransaction(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_transaction_v1alpha1_transaction_pb.Transaction.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.transaction.v1alpha1.Transaction transaction = 1; + * @return {?proto.penumbra.core.transaction.v1alpha1.Transaction} + */ +proto.penumbra.view.v1alpha1.WitnessAndBuildResponse.prototype.getTransaction = function() { + return /** @type{?proto.penumbra.core.transaction.v1alpha1.Transaction} */ ( + jspb.Message.getWrapperField(this, penumbra_core_transaction_v1alpha1_transaction_pb.Transaction, 1)); +}; + + +/** + * @param {?proto.penumbra.core.transaction.v1alpha1.Transaction|undefined} value + * @return {!proto.penumbra.view.v1alpha1.WitnessAndBuildResponse} returns this +*/ +proto.penumbra.view.v1alpha1.WitnessAndBuildResponse.prototype.setTransaction = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.WitnessAndBuildResponse} returns this + */ +proto.penumbra.view.v1alpha1.WitnessAndBuildResponse.prototype.clearTransaction = function() { + return this.setTransaction(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.WitnessAndBuildResponse.prototype.hasTransaction = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.penumbra.view.v1alpha1.AssetsRequest.repeatedFields_ = [2]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.AssetsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.AssetsRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.AssetsRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.AssetsRequest.toObject = function(includeInstance, msg) { + var f, obj = { + filtered: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), + includeSpecificDenominationsList: jspb.Message.toObjectList(msg.getIncludeSpecificDenominationsList(), + penumbra_core_asset_v1alpha1_asset_pb.Denom.toObject, includeInstance), + includeDelegationTokens: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), + includeUnbondingTokens: jspb.Message.getBooleanFieldWithDefault(msg, 4, false), + includeLpNfts: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), + includeProposalNfts: jspb.Message.getBooleanFieldWithDefault(msg, 6, false), + includeVotingReceiptTokens: jspb.Message.getBooleanFieldWithDefault(msg, 7, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.AssetsRequest} + */ +proto.penumbra.view.v1alpha1.AssetsRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.AssetsRequest; + return proto.penumbra.view.v1alpha1.AssetsRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.AssetsRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.AssetsRequest} + */ +proto.penumbra.view.v1alpha1.AssetsRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setFiltered(value); + break; + case 2: + var value = new penumbra_core_asset_v1alpha1_asset_pb.Denom; + reader.readMessage(value,penumbra_core_asset_v1alpha1_asset_pb.Denom.deserializeBinaryFromReader); + msg.addIncludeSpecificDenominations(value); + break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setIncludeDelegationTokens(value); + break; + case 4: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setIncludeUnbondingTokens(value); + break; + case 5: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setIncludeLpNfts(value); + break; + case 6: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setIncludeProposalNfts(value); + break; + case 7: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setIncludeVotingReceiptTokens(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.AssetsRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.AssetsRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.AssetsRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.AssetsRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getFiltered(); + if (f) { + writer.writeBool( + 1, + f + ); + } + f = message.getIncludeSpecificDenominationsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 2, + f, + penumbra_core_asset_v1alpha1_asset_pb.Denom.serializeBinaryToWriter + ); + } + f = message.getIncludeDelegationTokens(); + if (f) { + writer.writeBool( + 3, + f + ); + } + f = message.getIncludeUnbondingTokens(); + if (f) { + writer.writeBool( + 4, + f + ); + } + f = message.getIncludeLpNfts(); + if (f) { + writer.writeBool( + 5, + f + ); + } + f = message.getIncludeProposalNfts(); + if (f) { + writer.writeBool( + 6, + f + ); + } + f = message.getIncludeVotingReceiptTokens(); + if (f) { + writer.writeBool( + 7, + f + ); + } +}; + + +/** + * optional bool filtered = 1; + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.AssetsRequest.prototype.getFiltered = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.penumbra.view.v1alpha1.AssetsRequest} returns this + */ +proto.penumbra.view.v1alpha1.AssetsRequest.prototype.setFiltered = function(value) { + return jspb.Message.setProto3BooleanField(this, 1, value); +}; + + +/** + * repeated penumbra.core.asset.v1alpha1.Denom include_specific_denominations = 2; + * @return {!Array} + */ +proto.penumbra.view.v1alpha1.AssetsRequest.prototype.getIncludeSpecificDenominationsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, penumbra_core_asset_v1alpha1_asset_pb.Denom, 2)); +}; + + +/** + * @param {!Array} value + * @return {!proto.penumbra.view.v1alpha1.AssetsRequest} returns this +*/ +proto.penumbra.view.v1alpha1.AssetsRequest.prototype.setIncludeSpecificDenominationsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 2, value); +}; + + +/** + * @param {!proto.penumbra.core.asset.v1alpha1.Denom=} opt_value + * @param {number=} opt_index + * @return {!proto.penumbra.core.asset.v1alpha1.Denom} + */ +proto.penumbra.view.v1alpha1.AssetsRequest.prototype.addIncludeSpecificDenominations = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.penumbra.core.asset.v1alpha1.Denom, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.penumbra.view.v1alpha1.AssetsRequest} returns this + */ +proto.penumbra.view.v1alpha1.AssetsRequest.prototype.clearIncludeSpecificDenominationsList = function() { + return this.setIncludeSpecificDenominationsList([]); +}; + + +/** + * optional bool include_delegation_tokens = 3; + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.AssetsRequest.prototype.getIncludeDelegationTokens = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.penumbra.view.v1alpha1.AssetsRequest} returns this + */ +proto.penumbra.view.v1alpha1.AssetsRequest.prototype.setIncludeDelegationTokens = function(value) { + return jspb.Message.setProto3BooleanField(this, 3, value); +}; + + +/** + * optional bool include_unbonding_tokens = 4; + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.AssetsRequest.prototype.getIncludeUnbondingTokens = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.penumbra.view.v1alpha1.AssetsRequest} returns this + */ +proto.penumbra.view.v1alpha1.AssetsRequest.prototype.setIncludeUnbondingTokens = function(value) { + return jspb.Message.setProto3BooleanField(this, 4, value); +}; + + +/** + * optional bool include_lp_nfts = 5; + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.AssetsRequest.prototype.getIncludeLpNfts = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.penumbra.view.v1alpha1.AssetsRequest} returns this + */ +proto.penumbra.view.v1alpha1.AssetsRequest.prototype.setIncludeLpNfts = function(value) { + return jspb.Message.setProto3BooleanField(this, 5, value); +}; + + +/** + * optional bool include_proposal_nfts = 6; + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.AssetsRequest.prototype.getIncludeProposalNfts = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.penumbra.view.v1alpha1.AssetsRequest} returns this + */ +proto.penumbra.view.v1alpha1.AssetsRequest.prototype.setIncludeProposalNfts = function(value) { + return jspb.Message.setProto3BooleanField(this, 6, value); +}; + + +/** + * optional bool include_voting_receipt_tokens = 7; + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.AssetsRequest.prototype.getIncludeVotingReceiptTokens = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.penumbra.view.v1alpha1.AssetsRequest} returns this + */ +proto.penumbra.view.v1alpha1.AssetsRequest.prototype.setIncludeVotingReceiptTokens = function(value) { + return jspb.Message.setProto3BooleanField(this, 7, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.AssetsResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.AssetsResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.AssetsResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.AssetsResponse.toObject = function(includeInstance, msg) { + var f, obj = { + denomMetadata: (f = msg.getDenomMetadata()) && penumbra_core_asset_v1alpha1_asset_pb.DenomMetadata.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.AssetsResponse} + */ +proto.penumbra.view.v1alpha1.AssetsResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.AssetsResponse; + return proto.penumbra.view.v1alpha1.AssetsResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.AssetsResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.AssetsResponse} + */ +proto.penumbra.view.v1alpha1.AssetsResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 2: + var value = new penumbra_core_asset_v1alpha1_asset_pb.DenomMetadata; + reader.readMessage(value,penumbra_core_asset_v1alpha1_asset_pb.DenomMetadata.deserializeBinaryFromReader); + msg.setDenomMetadata(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.AssetsResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.AssetsResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.AssetsResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.AssetsResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDenomMetadata(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_asset_v1alpha1_asset_pb.DenomMetadata.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.asset.v1alpha1.DenomMetadata denom_metadata = 2; + * @return {?proto.penumbra.core.asset.v1alpha1.DenomMetadata} + */ +proto.penumbra.view.v1alpha1.AssetsResponse.prototype.getDenomMetadata = function() { + return /** @type{?proto.penumbra.core.asset.v1alpha1.DenomMetadata} */ ( + jspb.Message.getWrapperField(this, penumbra_core_asset_v1alpha1_asset_pb.DenomMetadata, 2)); +}; + + +/** + * @param {?proto.penumbra.core.asset.v1alpha1.DenomMetadata|undefined} value + * @return {!proto.penumbra.view.v1alpha1.AssetsResponse} returns this +*/ +proto.penumbra.view.v1alpha1.AssetsResponse.prototype.setDenomMetadata = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.AssetsResponse} returns this + */ +proto.penumbra.view.v1alpha1.AssetsResponse.prototype.clearDenomMetadata = function() { + return this.setDenomMetadata(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.AssetsResponse.prototype.hasDenomMetadata = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.AppParametersRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.AppParametersRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.AppParametersRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.AppParametersRequest.toObject = function(includeInstance, msg) { + var f, obj = { + + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.AppParametersRequest} + */ +proto.penumbra.view.v1alpha1.AppParametersRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.AppParametersRequest; + return proto.penumbra.view.v1alpha1.AppParametersRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.AppParametersRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.AppParametersRequest} + */ +proto.penumbra.view.v1alpha1.AppParametersRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.AppParametersRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.AppParametersRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.AppParametersRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.AppParametersRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.AppParametersResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.AppParametersResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.AppParametersResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.AppParametersResponse.toObject = function(includeInstance, msg) { + var f, obj = { + parameters: (f = msg.getParameters()) && penumbra_core_app_v1alpha1_app_pb.AppParameters.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.AppParametersResponse} + */ +proto.penumbra.view.v1alpha1.AppParametersResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.AppParametersResponse; + return proto.penumbra.view.v1alpha1.AppParametersResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.AppParametersResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.AppParametersResponse} + */ +proto.penumbra.view.v1alpha1.AppParametersResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_app_v1alpha1_app_pb.AppParameters; + reader.readMessage(value,penumbra_core_app_v1alpha1_app_pb.AppParameters.deserializeBinaryFromReader); + msg.setParameters(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.AppParametersResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.AppParametersResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.AppParametersResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.AppParametersResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getParameters(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_app_v1alpha1_app_pb.AppParameters.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.app.v1alpha1.AppParameters parameters = 1; + * @return {?proto.penumbra.core.app.v1alpha1.AppParameters} + */ +proto.penumbra.view.v1alpha1.AppParametersResponse.prototype.getParameters = function() { + return /** @type{?proto.penumbra.core.app.v1alpha1.AppParameters} */ ( + jspb.Message.getWrapperField(this, penumbra_core_app_v1alpha1_app_pb.AppParameters, 1)); +}; + + +/** + * @param {?proto.penumbra.core.app.v1alpha1.AppParameters|undefined} value + * @return {!proto.penumbra.view.v1alpha1.AppParametersResponse} returns this +*/ +proto.penumbra.view.v1alpha1.AppParametersResponse.prototype.setParameters = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.AppParametersResponse} returns this + */ +proto.penumbra.view.v1alpha1.AppParametersResponse.prototype.clearParameters = function() { + return this.setParameters(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.AppParametersResponse.prototype.hasParameters = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.GasPricesRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.GasPricesRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.GasPricesRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.GasPricesRequest.toObject = function(includeInstance, msg) { + var f, obj = { + + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.GasPricesRequest} + */ +proto.penumbra.view.v1alpha1.GasPricesRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.GasPricesRequest; + return proto.penumbra.view.v1alpha1.GasPricesRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.GasPricesRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.GasPricesRequest} + */ +proto.penumbra.view.v1alpha1.GasPricesRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.GasPricesRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.GasPricesRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.GasPricesRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.GasPricesRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.GasPricesResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.GasPricesResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.GasPricesResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.GasPricesResponse.toObject = function(includeInstance, msg) { + var f, obj = { + gasPrices: (f = msg.getGasPrices()) && penumbra_core_component_fee_v1alpha1_fee_pb.GasPrices.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.GasPricesResponse} + */ +proto.penumbra.view.v1alpha1.GasPricesResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.GasPricesResponse; + return proto.penumbra.view.v1alpha1.GasPricesResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.GasPricesResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.GasPricesResponse} + */ +proto.penumbra.view.v1alpha1.GasPricesResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_component_fee_v1alpha1_fee_pb.GasPrices; + reader.readMessage(value,penumbra_core_component_fee_v1alpha1_fee_pb.GasPrices.deserializeBinaryFromReader); + msg.setGasPrices(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.GasPricesResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.GasPricesResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.GasPricesResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.GasPricesResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getGasPrices(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_component_fee_v1alpha1_fee_pb.GasPrices.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.component.fee.v1alpha1.GasPrices gas_prices = 1; + * @return {?proto.penumbra.core.component.fee.v1alpha1.GasPrices} + */ +proto.penumbra.view.v1alpha1.GasPricesResponse.prototype.getGasPrices = function() { + return /** @type{?proto.penumbra.core.component.fee.v1alpha1.GasPrices} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_fee_v1alpha1_fee_pb.GasPrices, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.fee.v1alpha1.GasPrices|undefined} value + * @return {!proto.penumbra.view.v1alpha1.GasPricesResponse} returns this +*/ +proto.penumbra.view.v1alpha1.GasPricesResponse.prototype.setGasPrices = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.GasPricesResponse} returns this + */ +proto.penumbra.view.v1alpha1.GasPricesResponse.prototype.clearGasPrices = function() { + return this.setGasPrices(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.GasPricesResponse.prototype.hasGasPrices = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.FMDParametersRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.FMDParametersRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.FMDParametersRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.FMDParametersRequest.toObject = function(includeInstance, msg) { + var f, obj = { + + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.FMDParametersRequest} + */ +proto.penumbra.view.v1alpha1.FMDParametersRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.FMDParametersRequest; + return proto.penumbra.view.v1alpha1.FMDParametersRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.FMDParametersRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.FMDParametersRequest} + */ +proto.penumbra.view.v1alpha1.FMDParametersRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.FMDParametersRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.FMDParametersRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.FMDParametersRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.FMDParametersRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.FMDParametersResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.FMDParametersResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.FMDParametersResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.FMDParametersResponse.toObject = function(includeInstance, msg) { + var f, obj = { + parameters: (f = msg.getParameters()) && penumbra_core_component_chain_v1alpha1_chain_pb.FmdParameters.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.FMDParametersResponse} + */ +proto.penumbra.view.v1alpha1.FMDParametersResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.FMDParametersResponse; + return proto.penumbra.view.v1alpha1.FMDParametersResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.FMDParametersResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.FMDParametersResponse} + */ +proto.penumbra.view.v1alpha1.FMDParametersResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_component_chain_v1alpha1_chain_pb.FmdParameters; + reader.readMessage(value,penumbra_core_component_chain_v1alpha1_chain_pb.FmdParameters.deserializeBinaryFromReader); + msg.setParameters(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.FMDParametersResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.FMDParametersResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.FMDParametersResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.FMDParametersResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getParameters(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_component_chain_v1alpha1_chain_pb.FmdParameters.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.component.chain.v1alpha1.FmdParameters parameters = 1; + * @return {?proto.penumbra.core.component.chain.v1alpha1.FmdParameters} + */ +proto.penumbra.view.v1alpha1.FMDParametersResponse.prototype.getParameters = function() { + return /** @type{?proto.penumbra.core.component.chain.v1alpha1.FmdParameters} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_chain_v1alpha1_chain_pb.FmdParameters, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.chain.v1alpha1.FmdParameters|undefined} value + * @return {!proto.penumbra.view.v1alpha1.FMDParametersResponse} returns this +*/ +proto.penumbra.view.v1alpha1.FMDParametersResponse.prototype.setParameters = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.FMDParametersResponse} returns this + */ +proto.penumbra.view.v1alpha1.FMDParametersResponse.prototype.clearParameters = function() { + return this.setParameters(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.FMDParametersResponse.prototype.hasParameters = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.NoteByCommitmentRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.NoteByCommitmentRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.NoteByCommitmentRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.NoteByCommitmentRequest.toObject = function(includeInstance, msg) { + var f, obj = { + noteCommitment: (f = msg.getNoteCommitment()) && penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.toObject(includeInstance, f), + awaitDetection: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), + walletId: (f = msg.getWalletId()) && penumbra_core_keys_v1alpha1_keys_pb.WalletId.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.NoteByCommitmentRequest} + */ +proto.penumbra.view.v1alpha1.NoteByCommitmentRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.NoteByCommitmentRequest; + return proto.penumbra.view.v1alpha1.NoteByCommitmentRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.NoteByCommitmentRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.NoteByCommitmentRequest} + */ +proto.penumbra.view.v1alpha1.NoteByCommitmentRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 2: + var value = new penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment; + reader.readMessage(value,penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.deserializeBinaryFromReader); + msg.setNoteCommitment(value); + break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setAwaitDetection(value); + break; + case 14: + var value = new penumbra_core_keys_v1alpha1_keys_pb.WalletId; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.WalletId.deserializeBinaryFromReader); + msg.setWalletId(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.NoteByCommitmentRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.NoteByCommitmentRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.NoteByCommitmentRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.NoteByCommitmentRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getNoteCommitment(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.serializeBinaryToWriter + ); + } + f = message.getAwaitDetection(); + if (f) { + writer.writeBool( + 3, + f + ); + } + f = message.getWalletId(); + if (f != null) { + writer.writeMessage( + 14, + f, + penumbra_core_keys_v1alpha1_keys_pb.WalletId.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.crypto.tct.v1alpha1.StateCommitment note_commitment = 2; + * @return {?proto.penumbra.crypto.tct.v1alpha1.StateCommitment} + */ +proto.penumbra.view.v1alpha1.NoteByCommitmentRequest.prototype.getNoteCommitment = function() { + return /** @type{?proto.penumbra.crypto.tct.v1alpha1.StateCommitment} */ ( + jspb.Message.getWrapperField(this, penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment, 2)); +}; + + +/** + * @param {?proto.penumbra.crypto.tct.v1alpha1.StateCommitment|undefined} value + * @return {!proto.penumbra.view.v1alpha1.NoteByCommitmentRequest} returns this +*/ +proto.penumbra.view.v1alpha1.NoteByCommitmentRequest.prototype.setNoteCommitment = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.NoteByCommitmentRequest} returns this + */ +proto.penumbra.view.v1alpha1.NoteByCommitmentRequest.prototype.clearNoteCommitment = function() { + return this.setNoteCommitment(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.NoteByCommitmentRequest.prototype.hasNoteCommitment = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional bool await_detection = 3; + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.NoteByCommitmentRequest.prototype.getAwaitDetection = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.penumbra.view.v1alpha1.NoteByCommitmentRequest} returns this + */ +proto.penumbra.view.v1alpha1.NoteByCommitmentRequest.prototype.setAwaitDetection = function(value) { + return jspb.Message.setProto3BooleanField(this, 3, value); +}; + + +/** + * optional penumbra.core.keys.v1alpha1.WalletId wallet_id = 14; + * @return {?proto.penumbra.core.keys.v1alpha1.WalletId} + */ +proto.penumbra.view.v1alpha1.NoteByCommitmentRequest.prototype.getWalletId = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.WalletId} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.WalletId, 14)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.WalletId|undefined} value + * @return {!proto.penumbra.view.v1alpha1.NoteByCommitmentRequest} returns this +*/ +proto.penumbra.view.v1alpha1.NoteByCommitmentRequest.prototype.setWalletId = function(value) { + return jspb.Message.setWrapperField(this, 14, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.NoteByCommitmentRequest} returns this + */ +proto.penumbra.view.v1alpha1.NoteByCommitmentRequest.prototype.clearWalletId = function() { + return this.setWalletId(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.NoteByCommitmentRequest.prototype.hasWalletId = function() { + return jspb.Message.getField(this, 14) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.NoteByCommitmentResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.NoteByCommitmentResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.NoteByCommitmentResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.NoteByCommitmentResponse.toObject = function(includeInstance, msg) { + var f, obj = { + spendableNote: (f = msg.getSpendableNote()) && proto.penumbra.view.v1alpha1.SpendableNoteRecord.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.NoteByCommitmentResponse} + */ +proto.penumbra.view.v1alpha1.NoteByCommitmentResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.NoteByCommitmentResponse; + return proto.penumbra.view.v1alpha1.NoteByCommitmentResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.NoteByCommitmentResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.NoteByCommitmentResponse} + */ +proto.penumbra.view.v1alpha1.NoteByCommitmentResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.view.v1alpha1.SpendableNoteRecord; + reader.readMessage(value,proto.penumbra.view.v1alpha1.SpendableNoteRecord.deserializeBinaryFromReader); + msg.setSpendableNote(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.NoteByCommitmentResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.NoteByCommitmentResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.NoteByCommitmentResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.NoteByCommitmentResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSpendableNote(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.view.v1alpha1.SpendableNoteRecord.serializeBinaryToWriter + ); + } +}; + + +/** + * optional SpendableNoteRecord spendable_note = 1; + * @return {?proto.penumbra.view.v1alpha1.SpendableNoteRecord} + */ +proto.penumbra.view.v1alpha1.NoteByCommitmentResponse.prototype.getSpendableNote = function() { + return /** @type{?proto.penumbra.view.v1alpha1.SpendableNoteRecord} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.view.v1alpha1.SpendableNoteRecord, 1)); +}; + + +/** + * @param {?proto.penumbra.view.v1alpha1.SpendableNoteRecord|undefined} value + * @return {!proto.penumbra.view.v1alpha1.NoteByCommitmentResponse} returns this +*/ +proto.penumbra.view.v1alpha1.NoteByCommitmentResponse.prototype.setSpendableNote = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.NoteByCommitmentResponse} returns this + */ +proto.penumbra.view.v1alpha1.NoteByCommitmentResponse.prototype.clearSpendableNote = function() { + return this.setSpendableNote(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.NoteByCommitmentResponse.prototype.hasSpendableNote = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.SwapByCommitmentRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.SwapByCommitmentRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.SwapByCommitmentRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.SwapByCommitmentRequest.toObject = function(includeInstance, msg) { + var f, obj = { + swapCommitment: (f = msg.getSwapCommitment()) && penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.toObject(includeInstance, f), + awaitDetection: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), + walletId: (f = msg.getWalletId()) && penumbra_core_keys_v1alpha1_keys_pb.WalletId.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.SwapByCommitmentRequest} + */ +proto.penumbra.view.v1alpha1.SwapByCommitmentRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.SwapByCommitmentRequest; + return proto.penumbra.view.v1alpha1.SwapByCommitmentRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.SwapByCommitmentRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.SwapByCommitmentRequest} + */ +proto.penumbra.view.v1alpha1.SwapByCommitmentRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 2: + var value = new penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment; + reader.readMessage(value,penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.deserializeBinaryFromReader); + msg.setSwapCommitment(value); + break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setAwaitDetection(value); + break; + case 14: + var value = new penumbra_core_keys_v1alpha1_keys_pb.WalletId; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.WalletId.deserializeBinaryFromReader); + msg.setWalletId(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.SwapByCommitmentRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.SwapByCommitmentRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.SwapByCommitmentRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.SwapByCommitmentRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSwapCommitment(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.serializeBinaryToWriter + ); + } + f = message.getAwaitDetection(); + if (f) { + writer.writeBool( + 3, + f + ); + } + f = message.getWalletId(); + if (f != null) { + writer.writeMessage( + 14, + f, + penumbra_core_keys_v1alpha1_keys_pb.WalletId.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.crypto.tct.v1alpha1.StateCommitment swap_commitment = 2; + * @return {?proto.penumbra.crypto.tct.v1alpha1.StateCommitment} + */ +proto.penumbra.view.v1alpha1.SwapByCommitmentRequest.prototype.getSwapCommitment = function() { + return /** @type{?proto.penumbra.crypto.tct.v1alpha1.StateCommitment} */ ( + jspb.Message.getWrapperField(this, penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment, 2)); +}; + + +/** + * @param {?proto.penumbra.crypto.tct.v1alpha1.StateCommitment|undefined} value + * @return {!proto.penumbra.view.v1alpha1.SwapByCommitmentRequest} returns this +*/ +proto.penumbra.view.v1alpha1.SwapByCommitmentRequest.prototype.setSwapCommitment = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.SwapByCommitmentRequest} returns this + */ +proto.penumbra.view.v1alpha1.SwapByCommitmentRequest.prototype.clearSwapCommitment = function() { + return this.setSwapCommitment(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.SwapByCommitmentRequest.prototype.hasSwapCommitment = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional bool await_detection = 3; + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.SwapByCommitmentRequest.prototype.getAwaitDetection = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.penumbra.view.v1alpha1.SwapByCommitmentRequest} returns this + */ +proto.penumbra.view.v1alpha1.SwapByCommitmentRequest.prototype.setAwaitDetection = function(value) { + return jspb.Message.setProto3BooleanField(this, 3, value); +}; + + +/** + * optional penumbra.core.keys.v1alpha1.WalletId wallet_id = 14; + * @return {?proto.penumbra.core.keys.v1alpha1.WalletId} + */ +proto.penumbra.view.v1alpha1.SwapByCommitmentRequest.prototype.getWalletId = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.WalletId} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.WalletId, 14)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.WalletId|undefined} value + * @return {!proto.penumbra.view.v1alpha1.SwapByCommitmentRequest} returns this +*/ +proto.penumbra.view.v1alpha1.SwapByCommitmentRequest.prototype.setWalletId = function(value) { + return jspb.Message.setWrapperField(this, 14, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.SwapByCommitmentRequest} returns this + */ +proto.penumbra.view.v1alpha1.SwapByCommitmentRequest.prototype.clearWalletId = function() { + return this.setWalletId(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.SwapByCommitmentRequest.prototype.hasWalletId = function() { + return jspb.Message.getField(this, 14) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.SwapByCommitmentResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.SwapByCommitmentResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.SwapByCommitmentResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.SwapByCommitmentResponse.toObject = function(includeInstance, msg) { + var f, obj = { + swap: (f = msg.getSwap()) && proto.penumbra.view.v1alpha1.SwapRecord.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.SwapByCommitmentResponse} + */ +proto.penumbra.view.v1alpha1.SwapByCommitmentResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.SwapByCommitmentResponse; + return proto.penumbra.view.v1alpha1.SwapByCommitmentResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.SwapByCommitmentResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.SwapByCommitmentResponse} + */ +proto.penumbra.view.v1alpha1.SwapByCommitmentResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.view.v1alpha1.SwapRecord; + reader.readMessage(value,proto.penumbra.view.v1alpha1.SwapRecord.deserializeBinaryFromReader); + msg.setSwap(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.SwapByCommitmentResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.SwapByCommitmentResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.SwapByCommitmentResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.SwapByCommitmentResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSwap(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.view.v1alpha1.SwapRecord.serializeBinaryToWriter + ); + } +}; + + +/** + * optional SwapRecord swap = 1; + * @return {?proto.penumbra.view.v1alpha1.SwapRecord} + */ +proto.penumbra.view.v1alpha1.SwapByCommitmentResponse.prototype.getSwap = function() { + return /** @type{?proto.penumbra.view.v1alpha1.SwapRecord} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.view.v1alpha1.SwapRecord, 1)); +}; + + +/** + * @param {?proto.penumbra.view.v1alpha1.SwapRecord|undefined} value + * @return {!proto.penumbra.view.v1alpha1.SwapByCommitmentResponse} returns this +*/ +proto.penumbra.view.v1alpha1.SwapByCommitmentResponse.prototype.setSwap = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.SwapByCommitmentResponse} returns this + */ +proto.penumbra.view.v1alpha1.SwapByCommitmentResponse.prototype.clearSwap = function() { + return this.setSwap(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.SwapByCommitmentResponse.prototype.hasSwap = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.UnclaimedSwapsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.UnclaimedSwapsRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.UnclaimedSwapsRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.UnclaimedSwapsRequest.toObject = function(includeInstance, msg) { + var f, obj = { + walletId: (f = msg.getWalletId()) && penumbra_core_keys_v1alpha1_keys_pb.WalletId.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.UnclaimedSwapsRequest} + */ +proto.penumbra.view.v1alpha1.UnclaimedSwapsRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.UnclaimedSwapsRequest; + return proto.penumbra.view.v1alpha1.UnclaimedSwapsRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.UnclaimedSwapsRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.UnclaimedSwapsRequest} + */ +proto.penumbra.view.v1alpha1.UnclaimedSwapsRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_keys_v1alpha1_keys_pb.WalletId; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.WalletId.deserializeBinaryFromReader); + msg.setWalletId(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.UnclaimedSwapsRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.UnclaimedSwapsRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.UnclaimedSwapsRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.UnclaimedSwapsRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getWalletId(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_keys_v1alpha1_keys_pb.WalletId.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.keys.v1alpha1.WalletId wallet_id = 1; + * @return {?proto.penumbra.core.keys.v1alpha1.WalletId} + */ +proto.penumbra.view.v1alpha1.UnclaimedSwapsRequest.prototype.getWalletId = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.WalletId} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.WalletId, 1)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.WalletId|undefined} value + * @return {!proto.penumbra.view.v1alpha1.UnclaimedSwapsRequest} returns this +*/ +proto.penumbra.view.v1alpha1.UnclaimedSwapsRequest.prototype.setWalletId = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.UnclaimedSwapsRequest} returns this + */ +proto.penumbra.view.v1alpha1.UnclaimedSwapsRequest.prototype.clearWalletId = function() { + return this.setWalletId(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.UnclaimedSwapsRequest.prototype.hasWalletId = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.UnclaimedSwapsResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.UnclaimedSwapsResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.UnclaimedSwapsResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.UnclaimedSwapsResponse.toObject = function(includeInstance, msg) { + var f, obj = { + swap: (f = msg.getSwap()) && proto.penumbra.view.v1alpha1.SwapRecord.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.UnclaimedSwapsResponse} + */ +proto.penumbra.view.v1alpha1.UnclaimedSwapsResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.UnclaimedSwapsResponse; + return proto.penumbra.view.v1alpha1.UnclaimedSwapsResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.UnclaimedSwapsResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.UnclaimedSwapsResponse} + */ +proto.penumbra.view.v1alpha1.UnclaimedSwapsResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.view.v1alpha1.SwapRecord; + reader.readMessage(value,proto.penumbra.view.v1alpha1.SwapRecord.deserializeBinaryFromReader); + msg.setSwap(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.UnclaimedSwapsResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.UnclaimedSwapsResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.UnclaimedSwapsResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.UnclaimedSwapsResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSwap(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.view.v1alpha1.SwapRecord.serializeBinaryToWriter + ); + } +}; + + +/** + * optional SwapRecord swap = 1; + * @return {?proto.penumbra.view.v1alpha1.SwapRecord} + */ +proto.penumbra.view.v1alpha1.UnclaimedSwapsResponse.prototype.getSwap = function() { + return /** @type{?proto.penumbra.view.v1alpha1.SwapRecord} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.view.v1alpha1.SwapRecord, 1)); +}; + + +/** + * @param {?proto.penumbra.view.v1alpha1.SwapRecord|undefined} value + * @return {!proto.penumbra.view.v1alpha1.UnclaimedSwapsResponse} returns this +*/ +proto.penumbra.view.v1alpha1.UnclaimedSwapsResponse.prototype.setSwap = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.UnclaimedSwapsResponse} returns this + */ +proto.penumbra.view.v1alpha1.UnclaimedSwapsResponse.prototype.clearSwap = function() { + return this.setSwap(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.UnclaimedSwapsResponse.prototype.hasSwap = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.NullifierStatusRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.NullifierStatusRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.NullifierStatusRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.NullifierStatusRequest.toObject = function(includeInstance, msg) { + var f, obj = { + nullifier: (f = msg.getNullifier()) && penumbra_core_component_sct_v1alpha1_sct_pb.Nullifier.toObject(includeInstance, f), + awaitDetection: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), + walletId: (f = msg.getWalletId()) && penumbra_core_keys_v1alpha1_keys_pb.WalletId.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.NullifierStatusRequest} + */ +proto.penumbra.view.v1alpha1.NullifierStatusRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.NullifierStatusRequest; + return proto.penumbra.view.v1alpha1.NullifierStatusRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.NullifierStatusRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.NullifierStatusRequest} + */ +proto.penumbra.view.v1alpha1.NullifierStatusRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 2: + var value = new penumbra_core_component_sct_v1alpha1_sct_pb.Nullifier; + reader.readMessage(value,penumbra_core_component_sct_v1alpha1_sct_pb.Nullifier.deserializeBinaryFromReader); + msg.setNullifier(value); + break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setAwaitDetection(value); + break; + case 14: + var value = new penumbra_core_keys_v1alpha1_keys_pb.WalletId; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.WalletId.deserializeBinaryFromReader); + msg.setWalletId(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.NullifierStatusRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.NullifierStatusRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.NullifierStatusRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.NullifierStatusRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getNullifier(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_component_sct_v1alpha1_sct_pb.Nullifier.serializeBinaryToWriter + ); + } + f = message.getAwaitDetection(); + if (f) { + writer.writeBool( + 3, + f + ); + } + f = message.getWalletId(); + if (f != null) { + writer.writeMessage( + 14, + f, + penumbra_core_keys_v1alpha1_keys_pb.WalletId.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.component.sct.v1alpha1.Nullifier nullifier = 2; + * @return {?proto.penumbra.core.component.sct.v1alpha1.Nullifier} + */ +proto.penumbra.view.v1alpha1.NullifierStatusRequest.prototype.getNullifier = function() { + return /** @type{?proto.penumbra.core.component.sct.v1alpha1.Nullifier} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_sct_v1alpha1_sct_pb.Nullifier, 2)); +}; + + +/** + * @param {?proto.penumbra.core.component.sct.v1alpha1.Nullifier|undefined} value + * @return {!proto.penumbra.view.v1alpha1.NullifierStatusRequest} returns this +*/ +proto.penumbra.view.v1alpha1.NullifierStatusRequest.prototype.setNullifier = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.NullifierStatusRequest} returns this + */ +proto.penumbra.view.v1alpha1.NullifierStatusRequest.prototype.clearNullifier = function() { + return this.setNullifier(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.NullifierStatusRequest.prototype.hasNullifier = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional bool await_detection = 3; + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.NullifierStatusRequest.prototype.getAwaitDetection = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.penumbra.view.v1alpha1.NullifierStatusRequest} returns this + */ +proto.penumbra.view.v1alpha1.NullifierStatusRequest.prototype.setAwaitDetection = function(value) { + return jspb.Message.setProto3BooleanField(this, 3, value); +}; + + +/** + * optional penumbra.core.keys.v1alpha1.WalletId wallet_id = 14; + * @return {?proto.penumbra.core.keys.v1alpha1.WalletId} + */ +proto.penumbra.view.v1alpha1.NullifierStatusRequest.prototype.getWalletId = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.WalletId} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.WalletId, 14)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.WalletId|undefined} value + * @return {!proto.penumbra.view.v1alpha1.NullifierStatusRequest} returns this +*/ +proto.penumbra.view.v1alpha1.NullifierStatusRequest.prototype.setWalletId = function(value) { + return jspb.Message.setWrapperField(this, 14, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.NullifierStatusRequest} returns this + */ +proto.penumbra.view.v1alpha1.NullifierStatusRequest.prototype.clearWalletId = function() { + return this.setWalletId(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.NullifierStatusRequest.prototype.hasWalletId = function() { + return jspb.Message.getField(this, 14) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.NullifierStatusResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.NullifierStatusResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.NullifierStatusResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.NullifierStatusResponse.toObject = function(includeInstance, msg) { + var f, obj = { + spent: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.NullifierStatusResponse} + */ +proto.penumbra.view.v1alpha1.NullifierStatusResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.NullifierStatusResponse; + return proto.penumbra.view.v1alpha1.NullifierStatusResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.NullifierStatusResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.NullifierStatusResponse} + */ +proto.penumbra.view.v1alpha1.NullifierStatusResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setSpent(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.NullifierStatusResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.NullifierStatusResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.NullifierStatusResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.NullifierStatusResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSpent(); + if (f) { + writer.writeBool( + 1, + f + ); + } +}; + + +/** + * optional bool spent = 1; + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.NullifierStatusResponse.prototype.getSpent = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.penumbra.view.v1alpha1.NullifierStatusResponse} returns this + */ +proto.penumbra.view.v1alpha1.NullifierStatusResponse.prototype.setSpent = function(value) { + return jspb.Message.setProto3BooleanField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.TransactionInfoByHashRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.TransactionInfoByHashRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.TransactionInfoByHashRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.TransactionInfoByHashRequest.toObject = function(includeInstance, msg) { + var f, obj = { + id: (f = msg.getId()) && penumbra_core_transaction_v1alpha1_transaction_pb.Id.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.TransactionInfoByHashRequest} + */ +proto.penumbra.view.v1alpha1.TransactionInfoByHashRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.TransactionInfoByHashRequest; + return proto.penumbra.view.v1alpha1.TransactionInfoByHashRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.TransactionInfoByHashRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.TransactionInfoByHashRequest} + */ +proto.penumbra.view.v1alpha1.TransactionInfoByHashRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 2: + var value = new penumbra_core_transaction_v1alpha1_transaction_pb.Id; + reader.readMessage(value,penumbra_core_transaction_v1alpha1_transaction_pb.Id.deserializeBinaryFromReader); + msg.setId(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.TransactionInfoByHashRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.TransactionInfoByHashRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.TransactionInfoByHashRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.TransactionInfoByHashRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getId(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_transaction_v1alpha1_transaction_pb.Id.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.transaction.v1alpha1.Id id = 2; + * @return {?proto.penumbra.core.transaction.v1alpha1.Id} + */ +proto.penumbra.view.v1alpha1.TransactionInfoByHashRequest.prototype.getId = function() { + return /** @type{?proto.penumbra.core.transaction.v1alpha1.Id} */ ( + jspb.Message.getWrapperField(this, penumbra_core_transaction_v1alpha1_transaction_pb.Id, 2)); +}; + + +/** + * @param {?proto.penumbra.core.transaction.v1alpha1.Id|undefined} value + * @return {!proto.penumbra.view.v1alpha1.TransactionInfoByHashRequest} returns this +*/ +proto.penumbra.view.v1alpha1.TransactionInfoByHashRequest.prototype.setId = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.TransactionInfoByHashRequest} returns this + */ +proto.penumbra.view.v1alpha1.TransactionInfoByHashRequest.prototype.clearId = function() { + return this.setId(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.TransactionInfoByHashRequest.prototype.hasId = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.TransactionInfoRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.TransactionInfoRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.TransactionInfoRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.TransactionInfoRequest.toObject = function(includeInstance, msg) { + var f, obj = { + startHeight: jspb.Message.getFieldWithDefault(msg, 1, 0), + endHeight: jspb.Message.getFieldWithDefault(msg, 2, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.TransactionInfoRequest} + */ +proto.penumbra.view.v1alpha1.TransactionInfoRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.TransactionInfoRequest; + return proto.penumbra.view.v1alpha1.TransactionInfoRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.TransactionInfoRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.TransactionInfoRequest} + */ +proto.penumbra.view.v1alpha1.TransactionInfoRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setStartHeight(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint64()); + msg.setEndHeight(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.TransactionInfoRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.TransactionInfoRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.TransactionInfoRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.TransactionInfoRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getStartHeight(); + if (f !== 0) { + writer.writeUint64( + 1, + f + ); + } + f = message.getEndHeight(); + if (f !== 0) { + writer.writeUint64( + 2, + f + ); + } +}; + + +/** + * optional uint64 start_height = 1; + * @return {number} + */ +proto.penumbra.view.v1alpha1.TransactionInfoRequest.prototype.getStartHeight = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.view.v1alpha1.TransactionInfoRequest} returns this + */ +proto.penumbra.view.v1alpha1.TransactionInfoRequest.prototype.setStartHeight = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional uint64 end_height = 2; + * @return {number} + */ +proto.penumbra.view.v1alpha1.TransactionInfoRequest.prototype.getEndHeight = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.view.v1alpha1.TransactionInfoRequest} returns this + */ +proto.penumbra.view.v1alpha1.TransactionInfoRequest.prototype.setEndHeight = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.TransactionInfo.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.TransactionInfo.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.TransactionInfo} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.TransactionInfo.toObject = function(includeInstance, msg) { + var f, obj = { + height: jspb.Message.getFieldWithDefault(msg, 1, 0), + id: (f = msg.getId()) && penumbra_core_transaction_v1alpha1_transaction_pb.Id.toObject(includeInstance, f), + transaction: (f = msg.getTransaction()) && penumbra_core_transaction_v1alpha1_transaction_pb.Transaction.toObject(includeInstance, f), + perspective: (f = msg.getPerspective()) && penumbra_core_transaction_v1alpha1_transaction_pb.TransactionPerspective.toObject(includeInstance, f), + view: (f = msg.getView()) && penumbra_core_transaction_v1alpha1_transaction_pb.TransactionView.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.TransactionInfo} + */ +proto.penumbra.view.v1alpha1.TransactionInfo.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.TransactionInfo; + return proto.penumbra.view.v1alpha1.TransactionInfo.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.TransactionInfo} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.TransactionInfo} + */ +proto.penumbra.view.v1alpha1.TransactionInfo.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setHeight(value); + break; + case 2: + var value = new penumbra_core_transaction_v1alpha1_transaction_pb.Id; + reader.readMessage(value,penumbra_core_transaction_v1alpha1_transaction_pb.Id.deserializeBinaryFromReader); + msg.setId(value); + break; + case 3: + var value = new penumbra_core_transaction_v1alpha1_transaction_pb.Transaction; + reader.readMessage(value,penumbra_core_transaction_v1alpha1_transaction_pb.Transaction.deserializeBinaryFromReader); + msg.setTransaction(value); + break; + case 4: + var value = new penumbra_core_transaction_v1alpha1_transaction_pb.TransactionPerspective; + reader.readMessage(value,penumbra_core_transaction_v1alpha1_transaction_pb.TransactionPerspective.deserializeBinaryFromReader); + msg.setPerspective(value); + break; + case 5: + var value = new penumbra_core_transaction_v1alpha1_transaction_pb.TransactionView; + reader.readMessage(value,penumbra_core_transaction_v1alpha1_transaction_pb.TransactionView.deserializeBinaryFromReader); + msg.setView(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.TransactionInfo.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.TransactionInfo.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.TransactionInfo} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.TransactionInfo.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getHeight(); + if (f !== 0) { + writer.writeUint64( + 1, + f + ); + } + f = message.getId(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_transaction_v1alpha1_transaction_pb.Id.serializeBinaryToWriter + ); + } + f = message.getTransaction(); + if (f != null) { + writer.writeMessage( + 3, + f, + penumbra_core_transaction_v1alpha1_transaction_pb.Transaction.serializeBinaryToWriter + ); + } + f = message.getPerspective(); + if (f != null) { + writer.writeMessage( + 4, + f, + penumbra_core_transaction_v1alpha1_transaction_pb.TransactionPerspective.serializeBinaryToWriter + ); + } + f = message.getView(); + if (f != null) { + writer.writeMessage( + 5, + f, + penumbra_core_transaction_v1alpha1_transaction_pb.TransactionView.serializeBinaryToWriter + ); + } +}; + + +/** + * optional uint64 height = 1; + * @return {number} + */ +proto.penumbra.view.v1alpha1.TransactionInfo.prototype.getHeight = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.view.v1alpha1.TransactionInfo} returns this + */ +proto.penumbra.view.v1alpha1.TransactionInfo.prototype.setHeight = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional penumbra.core.transaction.v1alpha1.Id id = 2; + * @return {?proto.penumbra.core.transaction.v1alpha1.Id} + */ +proto.penumbra.view.v1alpha1.TransactionInfo.prototype.getId = function() { + return /** @type{?proto.penumbra.core.transaction.v1alpha1.Id} */ ( + jspb.Message.getWrapperField(this, penumbra_core_transaction_v1alpha1_transaction_pb.Id, 2)); +}; + + +/** + * @param {?proto.penumbra.core.transaction.v1alpha1.Id|undefined} value + * @return {!proto.penumbra.view.v1alpha1.TransactionInfo} returns this +*/ +proto.penumbra.view.v1alpha1.TransactionInfo.prototype.setId = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.TransactionInfo} returns this + */ +proto.penumbra.view.v1alpha1.TransactionInfo.prototype.clearId = function() { + return this.setId(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.TransactionInfo.prototype.hasId = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional penumbra.core.transaction.v1alpha1.Transaction transaction = 3; + * @return {?proto.penumbra.core.transaction.v1alpha1.Transaction} + */ +proto.penumbra.view.v1alpha1.TransactionInfo.prototype.getTransaction = function() { + return /** @type{?proto.penumbra.core.transaction.v1alpha1.Transaction} */ ( + jspb.Message.getWrapperField(this, penumbra_core_transaction_v1alpha1_transaction_pb.Transaction, 3)); +}; + + +/** + * @param {?proto.penumbra.core.transaction.v1alpha1.Transaction|undefined} value + * @return {!proto.penumbra.view.v1alpha1.TransactionInfo} returns this +*/ +proto.penumbra.view.v1alpha1.TransactionInfo.prototype.setTransaction = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.TransactionInfo} returns this + */ +proto.penumbra.view.v1alpha1.TransactionInfo.prototype.clearTransaction = function() { + return this.setTransaction(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.TransactionInfo.prototype.hasTransaction = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional penumbra.core.transaction.v1alpha1.TransactionPerspective perspective = 4; + * @return {?proto.penumbra.core.transaction.v1alpha1.TransactionPerspective} + */ +proto.penumbra.view.v1alpha1.TransactionInfo.prototype.getPerspective = function() { + return /** @type{?proto.penumbra.core.transaction.v1alpha1.TransactionPerspective} */ ( + jspb.Message.getWrapperField(this, penumbra_core_transaction_v1alpha1_transaction_pb.TransactionPerspective, 4)); +}; + + +/** + * @param {?proto.penumbra.core.transaction.v1alpha1.TransactionPerspective|undefined} value + * @return {!proto.penumbra.view.v1alpha1.TransactionInfo} returns this +*/ +proto.penumbra.view.v1alpha1.TransactionInfo.prototype.setPerspective = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.TransactionInfo} returns this + */ +proto.penumbra.view.v1alpha1.TransactionInfo.prototype.clearPerspective = function() { + return this.setPerspective(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.TransactionInfo.prototype.hasPerspective = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional penumbra.core.transaction.v1alpha1.TransactionView view = 5; + * @return {?proto.penumbra.core.transaction.v1alpha1.TransactionView} + */ +proto.penumbra.view.v1alpha1.TransactionInfo.prototype.getView = function() { + return /** @type{?proto.penumbra.core.transaction.v1alpha1.TransactionView} */ ( + jspb.Message.getWrapperField(this, penumbra_core_transaction_v1alpha1_transaction_pb.TransactionView, 5)); +}; + + +/** + * @param {?proto.penumbra.core.transaction.v1alpha1.TransactionView|undefined} value + * @return {!proto.penumbra.view.v1alpha1.TransactionInfo} returns this +*/ +proto.penumbra.view.v1alpha1.TransactionInfo.prototype.setView = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.TransactionInfo} returns this + */ +proto.penumbra.view.v1alpha1.TransactionInfo.prototype.clearView = function() { + return this.setView(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.TransactionInfo.prototype.hasView = function() { + return jspb.Message.getField(this, 5) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.TransactionInfoResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.TransactionInfoResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.TransactionInfoResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.TransactionInfoResponse.toObject = function(includeInstance, msg) { + var f, obj = { + txInfo: (f = msg.getTxInfo()) && proto.penumbra.view.v1alpha1.TransactionInfo.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.TransactionInfoResponse} + */ +proto.penumbra.view.v1alpha1.TransactionInfoResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.TransactionInfoResponse; + return proto.penumbra.view.v1alpha1.TransactionInfoResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.TransactionInfoResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.TransactionInfoResponse} + */ +proto.penumbra.view.v1alpha1.TransactionInfoResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.view.v1alpha1.TransactionInfo; + reader.readMessage(value,proto.penumbra.view.v1alpha1.TransactionInfo.deserializeBinaryFromReader); + msg.setTxInfo(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.TransactionInfoResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.TransactionInfoResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.TransactionInfoResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.TransactionInfoResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTxInfo(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.view.v1alpha1.TransactionInfo.serializeBinaryToWriter + ); + } +}; + + +/** + * optional TransactionInfo tx_info = 1; + * @return {?proto.penumbra.view.v1alpha1.TransactionInfo} + */ +proto.penumbra.view.v1alpha1.TransactionInfoResponse.prototype.getTxInfo = function() { + return /** @type{?proto.penumbra.view.v1alpha1.TransactionInfo} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.view.v1alpha1.TransactionInfo, 1)); +}; + + +/** + * @param {?proto.penumbra.view.v1alpha1.TransactionInfo|undefined} value + * @return {!proto.penumbra.view.v1alpha1.TransactionInfoResponse} returns this +*/ +proto.penumbra.view.v1alpha1.TransactionInfoResponse.prototype.setTxInfo = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.TransactionInfoResponse} returns this + */ +proto.penumbra.view.v1alpha1.TransactionInfoResponse.prototype.clearTxInfo = function() { + return this.setTxInfo(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.TransactionInfoResponse.prototype.hasTxInfo = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.TransactionInfoByHashResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.TransactionInfoByHashResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.TransactionInfoByHashResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.TransactionInfoByHashResponse.toObject = function(includeInstance, msg) { + var f, obj = { + txInfo: (f = msg.getTxInfo()) && proto.penumbra.view.v1alpha1.TransactionInfo.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.TransactionInfoByHashResponse} + */ +proto.penumbra.view.v1alpha1.TransactionInfoByHashResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.TransactionInfoByHashResponse; + return proto.penumbra.view.v1alpha1.TransactionInfoByHashResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.TransactionInfoByHashResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.TransactionInfoByHashResponse} + */ +proto.penumbra.view.v1alpha1.TransactionInfoByHashResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.view.v1alpha1.TransactionInfo; + reader.readMessage(value,proto.penumbra.view.v1alpha1.TransactionInfo.deserializeBinaryFromReader); + msg.setTxInfo(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.TransactionInfoByHashResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.TransactionInfoByHashResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.TransactionInfoByHashResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.TransactionInfoByHashResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTxInfo(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.view.v1alpha1.TransactionInfo.serializeBinaryToWriter + ); + } +}; + + +/** + * optional TransactionInfo tx_info = 1; + * @return {?proto.penumbra.view.v1alpha1.TransactionInfo} + */ +proto.penumbra.view.v1alpha1.TransactionInfoByHashResponse.prototype.getTxInfo = function() { + return /** @type{?proto.penumbra.view.v1alpha1.TransactionInfo} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.view.v1alpha1.TransactionInfo, 1)); +}; + + +/** + * @param {?proto.penumbra.view.v1alpha1.TransactionInfo|undefined} value + * @return {!proto.penumbra.view.v1alpha1.TransactionInfoByHashResponse} returns this +*/ +proto.penumbra.view.v1alpha1.TransactionInfoByHashResponse.prototype.setTxInfo = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.TransactionInfoByHashResponse} returns this + */ +proto.penumbra.view.v1alpha1.TransactionInfoByHashResponse.prototype.clearTxInfo = function() { + return this.setTxInfo(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.TransactionInfoByHashResponse.prototype.hasTxInfo = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.NotesResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.NotesResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.NotesResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.NotesResponse.toObject = function(includeInstance, msg) { + var f, obj = { + noteRecord: (f = msg.getNoteRecord()) && proto.penumbra.view.v1alpha1.SpendableNoteRecord.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.NotesResponse} + */ +proto.penumbra.view.v1alpha1.NotesResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.NotesResponse; + return proto.penumbra.view.v1alpha1.NotesResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.NotesResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.NotesResponse} + */ +proto.penumbra.view.v1alpha1.NotesResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.view.v1alpha1.SpendableNoteRecord; + reader.readMessage(value,proto.penumbra.view.v1alpha1.SpendableNoteRecord.deserializeBinaryFromReader); + msg.setNoteRecord(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.NotesResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.NotesResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.NotesResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.NotesResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getNoteRecord(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.view.v1alpha1.SpendableNoteRecord.serializeBinaryToWriter + ); + } +}; + + +/** + * optional SpendableNoteRecord note_record = 1; + * @return {?proto.penumbra.view.v1alpha1.SpendableNoteRecord} + */ +proto.penumbra.view.v1alpha1.NotesResponse.prototype.getNoteRecord = function() { + return /** @type{?proto.penumbra.view.v1alpha1.SpendableNoteRecord} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.view.v1alpha1.SpendableNoteRecord, 1)); +}; + + +/** + * @param {?proto.penumbra.view.v1alpha1.SpendableNoteRecord|undefined} value + * @return {!proto.penumbra.view.v1alpha1.NotesResponse} returns this +*/ +proto.penumbra.view.v1alpha1.NotesResponse.prototype.setNoteRecord = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.NotesResponse} returns this + */ +proto.penumbra.view.v1alpha1.NotesResponse.prototype.clearNoteRecord = function() { + return this.setNoteRecord(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.NotesResponse.prototype.hasNoteRecord = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.NotesForVotingResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.NotesForVotingResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.NotesForVotingResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.NotesForVotingResponse.toObject = function(includeInstance, msg) { + var f, obj = { + noteRecord: (f = msg.getNoteRecord()) && proto.penumbra.view.v1alpha1.SpendableNoteRecord.toObject(includeInstance, f), + identityKey: (f = msg.getIdentityKey()) && penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.NotesForVotingResponse} + */ +proto.penumbra.view.v1alpha1.NotesForVotingResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.NotesForVotingResponse; + return proto.penumbra.view.v1alpha1.NotesForVotingResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.NotesForVotingResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.NotesForVotingResponse} + */ +proto.penumbra.view.v1alpha1.NotesForVotingResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.penumbra.view.v1alpha1.SpendableNoteRecord; + reader.readMessage(value,proto.penumbra.view.v1alpha1.SpendableNoteRecord.deserializeBinaryFromReader); + msg.setNoteRecord(value); + break; + case 2: + var value = new penumbra_core_keys_v1alpha1_keys_pb.IdentityKey; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.deserializeBinaryFromReader); + msg.setIdentityKey(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.NotesForVotingResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.NotesForVotingResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.NotesForVotingResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.NotesForVotingResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getNoteRecord(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.penumbra.view.v1alpha1.SpendableNoteRecord.serializeBinaryToWriter + ); + } + f = message.getIdentityKey(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_keys_v1alpha1_keys_pb.IdentityKey.serializeBinaryToWriter + ); + } +}; + + +/** + * optional SpendableNoteRecord note_record = 1; + * @return {?proto.penumbra.view.v1alpha1.SpendableNoteRecord} + */ +proto.penumbra.view.v1alpha1.NotesForVotingResponse.prototype.getNoteRecord = function() { + return /** @type{?proto.penumbra.view.v1alpha1.SpendableNoteRecord} */ ( + jspb.Message.getWrapperField(this, proto.penumbra.view.v1alpha1.SpendableNoteRecord, 1)); +}; + + +/** + * @param {?proto.penumbra.view.v1alpha1.SpendableNoteRecord|undefined} value + * @return {!proto.penumbra.view.v1alpha1.NotesForVotingResponse} returns this +*/ +proto.penumbra.view.v1alpha1.NotesForVotingResponse.prototype.setNoteRecord = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.NotesForVotingResponse} returns this + */ +proto.penumbra.view.v1alpha1.NotesForVotingResponse.prototype.clearNoteRecord = function() { + return this.setNoteRecord(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.NotesForVotingResponse.prototype.hasNoteRecord = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional penumbra.core.keys.v1alpha1.IdentityKey identity_key = 2; + * @return {?proto.penumbra.core.keys.v1alpha1.IdentityKey} + */ +proto.penumbra.view.v1alpha1.NotesForVotingResponse.prototype.getIdentityKey = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.IdentityKey} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.IdentityKey, 2)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.IdentityKey|undefined} value + * @return {!proto.penumbra.view.v1alpha1.NotesForVotingResponse} returns this +*/ +proto.penumbra.view.v1alpha1.NotesForVotingResponse.prototype.setIdentityKey = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.NotesForVotingResponse} returns this + */ +proto.penumbra.view.v1alpha1.NotesForVotingResponse.prototype.clearIdentityKey = function() { + return this.setIdentityKey(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.NotesForVotingResponse.prototype.hasIdentityKey = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.SpendableNoteRecord.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.SpendableNoteRecord.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.SpendableNoteRecord} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.SpendableNoteRecord.toObject = function(includeInstance, msg) { + var f, obj = { + noteCommitment: (f = msg.getNoteCommitment()) && penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.toObject(includeInstance, f), + note: (f = msg.getNote()) && penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.Note.toObject(includeInstance, f), + addressIndex: (f = msg.getAddressIndex()) && penumbra_core_keys_v1alpha1_keys_pb.AddressIndex.toObject(includeInstance, f), + nullifier: (f = msg.getNullifier()) && penumbra_core_component_sct_v1alpha1_sct_pb.Nullifier.toObject(includeInstance, f), + heightCreated: jspb.Message.getFieldWithDefault(msg, 5, 0), + heightSpent: jspb.Message.getFieldWithDefault(msg, 6, 0), + position: jspb.Message.getFieldWithDefault(msg, 7, 0), + source: (f = msg.getSource()) && penumbra_core_component_chain_v1alpha1_chain_pb.NoteSource.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.SpendableNoteRecord} + */ +proto.penumbra.view.v1alpha1.SpendableNoteRecord.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.SpendableNoteRecord; + return proto.penumbra.view.v1alpha1.SpendableNoteRecord.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.SpendableNoteRecord} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.SpendableNoteRecord} + */ +proto.penumbra.view.v1alpha1.SpendableNoteRecord.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment; + reader.readMessage(value,penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.deserializeBinaryFromReader); + msg.setNoteCommitment(value); + break; + case 2: + var value = new penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.Note; + reader.readMessage(value,penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.Note.deserializeBinaryFromReader); + msg.setNote(value); + break; + case 3: + var value = new penumbra_core_keys_v1alpha1_keys_pb.AddressIndex; + reader.readMessage(value,penumbra_core_keys_v1alpha1_keys_pb.AddressIndex.deserializeBinaryFromReader); + msg.setAddressIndex(value); + break; + case 4: + var value = new penumbra_core_component_sct_v1alpha1_sct_pb.Nullifier; + reader.readMessage(value,penumbra_core_component_sct_v1alpha1_sct_pb.Nullifier.deserializeBinaryFromReader); + msg.setNullifier(value); + break; + case 5: + var value = /** @type {number} */ (reader.readUint64()); + msg.setHeightCreated(value); + break; + case 6: + var value = /** @type {number} */ (reader.readUint64()); + msg.setHeightSpent(value); + break; + case 7: + var value = /** @type {number} */ (reader.readUint64()); + msg.setPosition(value); + break; + case 8: + var value = new penumbra_core_component_chain_v1alpha1_chain_pb.NoteSource; + reader.readMessage(value,penumbra_core_component_chain_v1alpha1_chain_pb.NoteSource.deserializeBinaryFromReader); + msg.setSource(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.SpendableNoteRecord.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.SpendableNoteRecord.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.SpendableNoteRecord} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.SpendableNoteRecord.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getNoteCommitment(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.serializeBinaryToWriter + ); + } + f = message.getNote(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.Note.serializeBinaryToWriter + ); + } + f = message.getAddressIndex(); + if (f != null) { + writer.writeMessage( + 3, + f, + penumbra_core_keys_v1alpha1_keys_pb.AddressIndex.serializeBinaryToWriter + ); + } + f = message.getNullifier(); + if (f != null) { + writer.writeMessage( + 4, + f, + penumbra_core_component_sct_v1alpha1_sct_pb.Nullifier.serializeBinaryToWriter + ); + } + f = message.getHeightCreated(); + if (f !== 0) { + writer.writeUint64( + 5, + f + ); + } + f = message.getHeightSpent(); + if (f !== 0) { + writer.writeUint64( + 6, + f + ); + } + f = message.getPosition(); + if (f !== 0) { + writer.writeUint64( + 7, + f + ); + } + f = message.getSource(); + if (f != null) { + writer.writeMessage( + 8, + f, + penumbra_core_component_chain_v1alpha1_chain_pb.NoteSource.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.crypto.tct.v1alpha1.StateCommitment note_commitment = 1; + * @return {?proto.penumbra.crypto.tct.v1alpha1.StateCommitment} + */ +proto.penumbra.view.v1alpha1.SpendableNoteRecord.prototype.getNoteCommitment = function() { + return /** @type{?proto.penumbra.crypto.tct.v1alpha1.StateCommitment} */ ( + jspb.Message.getWrapperField(this, penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment, 1)); +}; + + +/** + * @param {?proto.penumbra.crypto.tct.v1alpha1.StateCommitment|undefined} value + * @return {!proto.penumbra.view.v1alpha1.SpendableNoteRecord} returns this +*/ +proto.penumbra.view.v1alpha1.SpendableNoteRecord.prototype.setNoteCommitment = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.SpendableNoteRecord} returns this + */ +proto.penumbra.view.v1alpha1.SpendableNoteRecord.prototype.clearNoteCommitment = function() { + return this.setNoteCommitment(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.SpendableNoteRecord.prototype.hasNoteCommitment = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional penumbra.core.component.shielded_pool.v1alpha1.Note note = 2; + * @return {?proto.penumbra.core.component.shielded_pool.v1alpha1.Note} + */ +proto.penumbra.view.v1alpha1.SpendableNoteRecord.prototype.getNote = function() { + return /** @type{?proto.penumbra.core.component.shielded_pool.v1alpha1.Note} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_shielded_pool_v1alpha1_shielded_pool_pb.Note, 2)); +}; + + +/** + * @param {?proto.penumbra.core.component.shielded_pool.v1alpha1.Note|undefined} value + * @return {!proto.penumbra.view.v1alpha1.SpendableNoteRecord} returns this +*/ +proto.penumbra.view.v1alpha1.SpendableNoteRecord.prototype.setNote = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.SpendableNoteRecord} returns this + */ +proto.penumbra.view.v1alpha1.SpendableNoteRecord.prototype.clearNote = function() { + return this.setNote(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.SpendableNoteRecord.prototype.hasNote = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional penumbra.core.keys.v1alpha1.AddressIndex address_index = 3; + * @return {?proto.penumbra.core.keys.v1alpha1.AddressIndex} + */ +proto.penumbra.view.v1alpha1.SpendableNoteRecord.prototype.getAddressIndex = function() { + return /** @type{?proto.penumbra.core.keys.v1alpha1.AddressIndex} */ ( + jspb.Message.getWrapperField(this, penumbra_core_keys_v1alpha1_keys_pb.AddressIndex, 3)); +}; + + +/** + * @param {?proto.penumbra.core.keys.v1alpha1.AddressIndex|undefined} value + * @return {!proto.penumbra.view.v1alpha1.SpendableNoteRecord} returns this +*/ +proto.penumbra.view.v1alpha1.SpendableNoteRecord.prototype.setAddressIndex = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.SpendableNoteRecord} returns this + */ +proto.penumbra.view.v1alpha1.SpendableNoteRecord.prototype.clearAddressIndex = function() { + return this.setAddressIndex(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.SpendableNoteRecord.prototype.hasAddressIndex = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional penumbra.core.component.sct.v1alpha1.Nullifier nullifier = 4; + * @return {?proto.penumbra.core.component.sct.v1alpha1.Nullifier} + */ +proto.penumbra.view.v1alpha1.SpendableNoteRecord.prototype.getNullifier = function() { + return /** @type{?proto.penumbra.core.component.sct.v1alpha1.Nullifier} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_sct_v1alpha1_sct_pb.Nullifier, 4)); +}; + + +/** + * @param {?proto.penumbra.core.component.sct.v1alpha1.Nullifier|undefined} value + * @return {!proto.penumbra.view.v1alpha1.SpendableNoteRecord} returns this +*/ +proto.penumbra.view.v1alpha1.SpendableNoteRecord.prototype.setNullifier = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.SpendableNoteRecord} returns this + */ +proto.penumbra.view.v1alpha1.SpendableNoteRecord.prototype.clearNullifier = function() { + return this.setNullifier(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.SpendableNoteRecord.prototype.hasNullifier = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional uint64 height_created = 5; + * @return {number} + */ +proto.penumbra.view.v1alpha1.SpendableNoteRecord.prototype.getHeightCreated = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.view.v1alpha1.SpendableNoteRecord} returns this + */ +proto.penumbra.view.v1alpha1.SpendableNoteRecord.prototype.setHeightCreated = function(value) { + return jspb.Message.setProto3IntField(this, 5, value); +}; + + +/** + * optional uint64 height_spent = 6; + * @return {number} + */ +proto.penumbra.view.v1alpha1.SpendableNoteRecord.prototype.getHeightSpent = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.view.v1alpha1.SpendableNoteRecord} returns this + */ +proto.penumbra.view.v1alpha1.SpendableNoteRecord.prototype.setHeightSpent = function(value) { + return jspb.Message.setProto3IntField(this, 6, value); +}; + + +/** + * optional uint64 position = 7; + * @return {number} + */ +proto.penumbra.view.v1alpha1.SpendableNoteRecord.prototype.getPosition = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.view.v1alpha1.SpendableNoteRecord} returns this + */ +proto.penumbra.view.v1alpha1.SpendableNoteRecord.prototype.setPosition = function(value) { + return jspb.Message.setProto3IntField(this, 7, value); +}; + + +/** + * optional penumbra.core.component.chain.v1alpha1.NoteSource source = 8; + * @return {?proto.penumbra.core.component.chain.v1alpha1.NoteSource} + */ +proto.penumbra.view.v1alpha1.SpendableNoteRecord.prototype.getSource = function() { + return /** @type{?proto.penumbra.core.component.chain.v1alpha1.NoteSource} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_chain_v1alpha1_chain_pb.NoteSource, 8)); +}; + + +/** + * @param {?proto.penumbra.core.component.chain.v1alpha1.NoteSource|undefined} value + * @return {!proto.penumbra.view.v1alpha1.SpendableNoteRecord} returns this +*/ +proto.penumbra.view.v1alpha1.SpendableNoteRecord.prototype.setSource = function(value) { + return jspb.Message.setWrapperField(this, 8, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.SpendableNoteRecord} returns this + */ +proto.penumbra.view.v1alpha1.SpendableNoteRecord.prototype.clearSource = function() { + return this.setSource(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.SpendableNoteRecord.prototype.hasSource = function() { + return jspb.Message.getField(this, 8) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.SwapRecord.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.SwapRecord.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.SwapRecord} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.SwapRecord.toObject = function(includeInstance, msg) { + var f, obj = { + swapCommitment: (f = msg.getSwapCommitment()) && penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.toObject(includeInstance, f), + swap: (f = msg.getSwap()) && penumbra_core_component_dex_v1alpha1_dex_pb.SwapPlaintext.toObject(includeInstance, f), + position: jspb.Message.getFieldWithDefault(msg, 3, 0), + nullifier: (f = msg.getNullifier()) && penumbra_core_component_sct_v1alpha1_sct_pb.Nullifier.toObject(includeInstance, f), + outputData: (f = msg.getOutputData()) && penumbra_core_component_dex_v1alpha1_dex_pb.BatchSwapOutputData.toObject(includeInstance, f), + heightClaimed: jspb.Message.getFieldWithDefault(msg, 6, 0), + source: (f = msg.getSource()) && penumbra_core_component_chain_v1alpha1_chain_pb.NoteSource.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.SwapRecord} + */ +proto.penumbra.view.v1alpha1.SwapRecord.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.SwapRecord; + return proto.penumbra.view.v1alpha1.SwapRecord.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.SwapRecord} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.SwapRecord} + */ +proto.penumbra.view.v1alpha1.SwapRecord.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment; + reader.readMessage(value,penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.deserializeBinaryFromReader); + msg.setSwapCommitment(value); + break; + case 2: + var value = new penumbra_core_component_dex_v1alpha1_dex_pb.SwapPlaintext; + reader.readMessage(value,penumbra_core_component_dex_v1alpha1_dex_pb.SwapPlaintext.deserializeBinaryFromReader); + msg.setSwap(value); + break; + case 3: + var value = /** @type {number} */ (reader.readUint64()); + msg.setPosition(value); + break; + case 4: + var value = new penumbra_core_component_sct_v1alpha1_sct_pb.Nullifier; + reader.readMessage(value,penumbra_core_component_sct_v1alpha1_sct_pb.Nullifier.deserializeBinaryFromReader); + msg.setNullifier(value); + break; + case 5: + var value = new penumbra_core_component_dex_v1alpha1_dex_pb.BatchSwapOutputData; + reader.readMessage(value,penumbra_core_component_dex_v1alpha1_dex_pb.BatchSwapOutputData.deserializeBinaryFromReader); + msg.setOutputData(value); + break; + case 6: + var value = /** @type {number} */ (reader.readUint64()); + msg.setHeightClaimed(value); + break; + case 7: + var value = new penumbra_core_component_chain_v1alpha1_chain_pb.NoteSource; + reader.readMessage(value,penumbra_core_component_chain_v1alpha1_chain_pb.NoteSource.deserializeBinaryFromReader); + msg.setSource(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.SwapRecord.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.SwapRecord.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.SwapRecord} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.SwapRecord.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSwapCommitment(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment.serializeBinaryToWriter + ); + } + f = message.getSwap(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_component_dex_v1alpha1_dex_pb.SwapPlaintext.serializeBinaryToWriter + ); + } + f = message.getPosition(); + if (f !== 0) { + writer.writeUint64( + 3, + f + ); + } + f = message.getNullifier(); + if (f != null) { + writer.writeMessage( + 4, + f, + penumbra_core_component_sct_v1alpha1_sct_pb.Nullifier.serializeBinaryToWriter + ); + } + f = message.getOutputData(); + if (f != null) { + writer.writeMessage( + 5, + f, + penumbra_core_component_dex_v1alpha1_dex_pb.BatchSwapOutputData.serializeBinaryToWriter + ); + } + f = message.getHeightClaimed(); + if (f !== 0) { + writer.writeUint64( + 6, + f + ); + } + f = message.getSource(); + if (f != null) { + writer.writeMessage( + 7, + f, + penumbra_core_component_chain_v1alpha1_chain_pb.NoteSource.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.crypto.tct.v1alpha1.StateCommitment swap_commitment = 1; + * @return {?proto.penumbra.crypto.tct.v1alpha1.StateCommitment} + */ +proto.penumbra.view.v1alpha1.SwapRecord.prototype.getSwapCommitment = function() { + return /** @type{?proto.penumbra.crypto.tct.v1alpha1.StateCommitment} */ ( + jspb.Message.getWrapperField(this, penumbra_crypto_tct_v1alpha1_tct_pb.StateCommitment, 1)); +}; + + +/** + * @param {?proto.penumbra.crypto.tct.v1alpha1.StateCommitment|undefined} value + * @return {!proto.penumbra.view.v1alpha1.SwapRecord} returns this +*/ +proto.penumbra.view.v1alpha1.SwapRecord.prototype.setSwapCommitment = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.SwapRecord} returns this + */ +proto.penumbra.view.v1alpha1.SwapRecord.prototype.clearSwapCommitment = function() { + return this.setSwapCommitment(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.SwapRecord.prototype.hasSwapCommitment = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional penumbra.core.component.dex.v1alpha1.SwapPlaintext swap = 2; + * @return {?proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext} + */ +proto.penumbra.view.v1alpha1.SwapRecord.prototype.getSwap = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_dex_v1alpha1_dex_pb.SwapPlaintext, 2)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.SwapPlaintext|undefined} value + * @return {!proto.penumbra.view.v1alpha1.SwapRecord} returns this +*/ +proto.penumbra.view.v1alpha1.SwapRecord.prototype.setSwap = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.SwapRecord} returns this + */ +proto.penumbra.view.v1alpha1.SwapRecord.prototype.clearSwap = function() { + return this.setSwap(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.SwapRecord.prototype.hasSwap = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional uint64 position = 3; + * @return {number} + */ +proto.penumbra.view.v1alpha1.SwapRecord.prototype.getPosition = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.view.v1alpha1.SwapRecord} returns this + */ +proto.penumbra.view.v1alpha1.SwapRecord.prototype.setPosition = function(value) { + return jspb.Message.setProto3IntField(this, 3, value); +}; + + +/** + * optional penumbra.core.component.sct.v1alpha1.Nullifier nullifier = 4; + * @return {?proto.penumbra.core.component.sct.v1alpha1.Nullifier} + */ +proto.penumbra.view.v1alpha1.SwapRecord.prototype.getNullifier = function() { + return /** @type{?proto.penumbra.core.component.sct.v1alpha1.Nullifier} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_sct_v1alpha1_sct_pb.Nullifier, 4)); +}; + + +/** + * @param {?proto.penumbra.core.component.sct.v1alpha1.Nullifier|undefined} value + * @return {!proto.penumbra.view.v1alpha1.SwapRecord} returns this +*/ +proto.penumbra.view.v1alpha1.SwapRecord.prototype.setNullifier = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.SwapRecord} returns this + */ +proto.penumbra.view.v1alpha1.SwapRecord.prototype.clearNullifier = function() { + return this.setNullifier(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.SwapRecord.prototype.hasNullifier = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional penumbra.core.component.dex.v1alpha1.BatchSwapOutputData output_data = 5; + * @return {?proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData} + */ +proto.penumbra.view.v1alpha1.SwapRecord.prototype.getOutputData = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_dex_v1alpha1_dex_pb.BatchSwapOutputData, 5)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.BatchSwapOutputData|undefined} value + * @return {!proto.penumbra.view.v1alpha1.SwapRecord} returns this +*/ +proto.penumbra.view.v1alpha1.SwapRecord.prototype.setOutputData = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.SwapRecord} returns this + */ +proto.penumbra.view.v1alpha1.SwapRecord.prototype.clearOutputData = function() { + return this.setOutputData(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.SwapRecord.prototype.hasOutputData = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional uint64 height_claimed = 6; + * @return {number} + */ +proto.penumbra.view.v1alpha1.SwapRecord.prototype.getHeightClaimed = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.penumbra.view.v1alpha1.SwapRecord} returns this + */ +proto.penumbra.view.v1alpha1.SwapRecord.prototype.setHeightClaimed = function(value) { + return jspb.Message.setProto3IntField(this, 6, value); +}; + + +/** + * optional penumbra.core.component.chain.v1alpha1.NoteSource source = 7; + * @return {?proto.penumbra.core.component.chain.v1alpha1.NoteSource} + */ +proto.penumbra.view.v1alpha1.SwapRecord.prototype.getSource = function() { + return /** @type{?proto.penumbra.core.component.chain.v1alpha1.NoteSource} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_chain_v1alpha1_chain_pb.NoteSource, 7)); +}; + + +/** + * @param {?proto.penumbra.core.component.chain.v1alpha1.NoteSource|undefined} value + * @return {!proto.penumbra.view.v1alpha1.SwapRecord} returns this +*/ +proto.penumbra.view.v1alpha1.SwapRecord.prototype.setSource = function(value) { + return jspb.Message.setWrapperField(this, 7, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.SwapRecord} returns this + */ +proto.penumbra.view.v1alpha1.SwapRecord.prototype.clearSource = function() { + return this.setSource(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.SwapRecord.prototype.hasSource = function() { + return jspb.Message.getField(this, 7) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.OwnedPositionIdsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.OwnedPositionIdsRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.OwnedPositionIdsRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.OwnedPositionIdsRequest.toObject = function(includeInstance, msg) { + var f, obj = { + positionState: (f = msg.getPositionState()) && penumbra_core_component_dex_v1alpha1_dex_pb.PositionState.toObject(includeInstance, f), + tradingPair: (f = msg.getTradingPair()) && penumbra_core_component_dex_v1alpha1_dex_pb.TradingPair.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.OwnedPositionIdsRequest} + */ +proto.penumbra.view.v1alpha1.OwnedPositionIdsRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.OwnedPositionIdsRequest; + return proto.penumbra.view.v1alpha1.OwnedPositionIdsRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.OwnedPositionIdsRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.OwnedPositionIdsRequest} + */ +proto.penumbra.view.v1alpha1.OwnedPositionIdsRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_component_dex_v1alpha1_dex_pb.PositionState; + reader.readMessage(value,penumbra_core_component_dex_v1alpha1_dex_pb.PositionState.deserializeBinaryFromReader); + msg.setPositionState(value); + break; + case 2: + var value = new penumbra_core_component_dex_v1alpha1_dex_pb.TradingPair; + reader.readMessage(value,penumbra_core_component_dex_v1alpha1_dex_pb.TradingPair.deserializeBinaryFromReader); + msg.setTradingPair(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.OwnedPositionIdsRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.OwnedPositionIdsRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.OwnedPositionIdsRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.OwnedPositionIdsRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getPositionState(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_component_dex_v1alpha1_dex_pb.PositionState.serializeBinaryToWriter + ); + } + f = message.getTradingPair(); + if (f != null) { + writer.writeMessage( + 2, + f, + penumbra_core_component_dex_v1alpha1_dex_pb.TradingPair.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.component.dex.v1alpha1.PositionState position_state = 1; + * @return {?proto.penumbra.core.component.dex.v1alpha1.PositionState} + */ +proto.penumbra.view.v1alpha1.OwnedPositionIdsRequest.prototype.getPositionState = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.PositionState} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_dex_v1alpha1_dex_pb.PositionState, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.PositionState|undefined} value + * @return {!proto.penumbra.view.v1alpha1.OwnedPositionIdsRequest} returns this +*/ +proto.penumbra.view.v1alpha1.OwnedPositionIdsRequest.prototype.setPositionState = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.OwnedPositionIdsRequest} returns this + */ +proto.penumbra.view.v1alpha1.OwnedPositionIdsRequest.prototype.clearPositionState = function() { + return this.setPositionState(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.OwnedPositionIdsRequest.prototype.hasPositionState = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional penumbra.core.component.dex.v1alpha1.TradingPair trading_pair = 2; + * @return {?proto.penumbra.core.component.dex.v1alpha1.TradingPair} + */ +proto.penumbra.view.v1alpha1.OwnedPositionIdsRequest.prototype.getTradingPair = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.TradingPair} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_dex_v1alpha1_dex_pb.TradingPair, 2)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.TradingPair|undefined} value + * @return {!proto.penumbra.view.v1alpha1.OwnedPositionIdsRequest} returns this +*/ +proto.penumbra.view.v1alpha1.OwnedPositionIdsRequest.prototype.setTradingPair = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.OwnedPositionIdsRequest} returns this + */ +proto.penumbra.view.v1alpha1.OwnedPositionIdsRequest.prototype.clearTradingPair = function() { + return this.setTradingPair(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.OwnedPositionIdsRequest.prototype.hasTradingPair = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.penumbra.view.v1alpha1.OwnedPositionIdsResponse.prototype.toObject = function(opt_includeInstance) { + return proto.penumbra.view.v1alpha1.OwnedPositionIdsResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.penumbra.view.v1alpha1.OwnedPositionIdsResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.OwnedPositionIdsResponse.toObject = function(includeInstance, msg) { + var f, obj = { + positionId: (f = msg.getPositionId()) && penumbra_core_component_dex_v1alpha1_dex_pb.PositionId.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.penumbra.view.v1alpha1.OwnedPositionIdsResponse} + */ +proto.penumbra.view.v1alpha1.OwnedPositionIdsResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.penumbra.view.v1alpha1.OwnedPositionIdsResponse; + return proto.penumbra.view.v1alpha1.OwnedPositionIdsResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.penumbra.view.v1alpha1.OwnedPositionIdsResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.penumbra.view.v1alpha1.OwnedPositionIdsResponse} + */ +proto.penumbra.view.v1alpha1.OwnedPositionIdsResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new penumbra_core_component_dex_v1alpha1_dex_pb.PositionId; + reader.readMessage(value,penumbra_core_component_dex_v1alpha1_dex_pb.PositionId.deserializeBinaryFromReader); + msg.setPositionId(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.penumbra.view.v1alpha1.OwnedPositionIdsResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.penumbra.view.v1alpha1.OwnedPositionIdsResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.penumbra.view.v1alpha1.OwnedPositionIdsResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.penumbra.view.v1alpha1.OwnedPositionIdsResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getPositionId(); + if (f != null) { + writer.writeMessage( + 1, + f, + penumbra_core_component_dex_v1alpha1_dex_pb.PositionId.serializeBinaryToWriter + ); + } +}; + + +/** + * optional penumbra.core.component.dex.v1alpha1.PositionId position_id = 1; + * @return {?proto.penumbra.core.component.dex.v1alpha1.PositionId} + */ +proto.penumbra.view.v1alpha1.OwnedPositionIdsResponse.prototype.getPositionId = function() { + return /** @type{?proto.penumbra.core.component.dex.v1alpha1.PositionId} */ ( + jspb.Message.getWrapperField(this, penumbra_core_component_dex_v1alpha1_dex_pb.PositionId, 1)); +}; + + +/** + * @param {?proto.penumbra.core.component.dex.v1alpha1.PositionId|undefined} value + * @return {!proto.penumbra.view.v1alpha1.OwnedPositionIdsResponse} returns this +*/ +proto.penumbra.view.v1alpha1.OwnedPositionIdsResponse.prototype.setPositionId = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.penumbra.view.v1alpha1.OwnedPositionIdsResponse} returns this + */ +proto.penumbra.view.v1alpha1.OwnedPositionIdsResponse.prototype.clearPositionId = function() { + return this.setPositionId(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.penumbra.view.v1alpha1.OwnedPositionIdsResponse.prototype.hasPositionId = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +goog.object.extend(exports, proto.penumbra.view.v1alpha1); diff --git a/src/chains/penumbra/generated/tendermint/crypto/keys_grpc_pb.js b/src/chains/penumbra/generated/tendermint/crypto/keys_grpc_pb.js new file mode 100644 index 0000000000..97b3a2461d --- /dev/null +++ b/src/chains/penumbra/generated/tendermint/crypto/keys_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/src/chains/penumbra/generated/tendermint/crypto/keys_pb.d.ts b/src/chains/penumbra/generated/tendermint/crypto/keys_pb.d.ts new file mode 100644 index 0000000000..89a2436f37 --- /dev/null +++ b/src/chains/penumbra/generated/tendermint/crypto/keys_pb.d.ts @@ -0,0 +1,50 @@ +// package: tendermint.crypto +// file: tendermint/crypto/keys.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as gogoproto_gogo_pb from "../../gogoproto/gogo_pb"; + +export class PublicKey extends jspb.Message { + + hasEd25519(): boolean; + clearEd25519(): void; + getEd25519(): Uint8Array | string; + getEd25519_asU8(): Uint8Array; + getEd25519_asB64(): string; + setEd25519(value: Uint8Array | string): PublicKey; + + hasSecp256k1(): boolean; + clearSecp256k1(): void; + getSecp256k1(): Uint8Array | string; + getSecp256k1_asU8(): Uint8Array; + getSecp256k1_asB64(): string; + setSecp256k1(value: Uint8Array | string): PublicKey; + + getSumCase(): PublicKey.SumCase; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): PublicKey.AsObject; + static toObject(includeInstance: boolean, msg: PublicKey): PublicKey.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: PublicKey, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): PublicKey; + static deserializeBinaryFromReader(message: PublicKey, reader: jspb.BinaryReader): PublicKey; +} + +export namespace PublicKey { + export type AsObject = { + ed25519: Uint8Array | string, + secp256k1: Uint8Array | string, + } + + export enum SumCase { + SUM_NOT_SET = 0, + ED25519 = 1, + SECP256K1 = 2, + } + +} diff --git a/src/chains/penumbra/generated/tendermint/crypto/keys_pb.js b/src/chains/penumbra/generated/tendermint/crypto/keys_pb.js new file mode 100644 index 0000000000..ee41f676d9 --- /dev/null +++ b/src/chains/penumbra/generated/tendermint/crypto/keys_pb.js @@ -0,0 +1,319 @@ +// source: tendermint/crypto/keys.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = (function() { + if (this) { return this; } + if (typeof window !== 'undefined') { return window; } + if (typeof global !== 'undefined') { return global; } + if (typeof self !== 'undefined') { return self; } + return Function('return this')(); +}.call(null)); + +var gogoproto_gogo_pb = require('../../gogoproto/gogo_pb.js'); +goog.object.extend(proto, gogoproto_gogo_pb); +goog.exportSymbol('proto.tendermint.crypto.PublicKey', null, global); +goog.exportSymbol('proto.tendermint.crypto.PublicKey.SumCase', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.tendermint.crypto.PublicKey = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.tendermint.crypto.PublicKey.oneofGroups_); +}; +goog.inherits(proto.tendermint.crypto.PublicKey, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.tendermint.crypto.PublicKey.displayName = 'proto.tendermint.crypto.PublicKey'; +} + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.tendermint.crypto.PublicKey.oneofGroups_ = [[1,2]]; + +/** + * @enum {number} + */ +proto.tendermint.crypto.PublicKey.SumCase = { + SUM_NOT_SET: 0, + ED25519: 1, + SECP256K1: 2 +}; + +/** + * @return {proto.tendermint.crypto.PublicKey.SumCase} + */ +proto.tendermint.crypto.PublicKey.prototype.getSumCase = function() { + return /** @type {proto.tendermint.crypto.PublicKey.SumCase} */(jspb.Message.computeOneofCase(this, proto.tendermint.crypto.PublicKey.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.tendermint.crypto.PublicKey.prototype.toObject = function(opt_includeInstance) { + return proto.tendermint.crypto.PublicKey.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.tendermint.crypto.PublicKey} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.crypto.PublicKey.toObject = function(includeInstance, msg) { + var f, obj = { + ed25519: msg.getEd25519_asB64(), + secp256k1: msg.getSecp256k1_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.tendermint.crypto.PublicKey} + */ +proto.tendermint.crypto.PublicKey.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.tendermint.crypto.PublicKey; + return proto.tendermint.crypto.PublicKey.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.tendermint.crypto.PublicKey} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.tendermint.crypto.PublicKey} + */ +proto.tendermint.crypto.PublicKey.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setEd25519(value); + break; + case 2: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setSecp256k1(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.tendermint.crypto.PublicKey.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.tendermint.crypto.PublicKey.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.tendermint.crypto.PublicKey} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.crypto.PublicKey.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeBytes( + 1, + f + ); + } + f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeBytes( + 2, + f + ); + } +}; + + +/** + * optional bytes ed25519 = 1; + * @return {!(string|Uint8Array)} + */ +proto.tendermint.crypto.PublicKey.prototype.getEd25519 = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes ed25519 = 1; + * This is a type-conversion wrapper around `getEd25519()` + * @return {string} + */ +proto.tendermint.crypto.PublicKey.prototype.getEd25519_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getEd25519())); +}; + + +/** + * optional bytes ed25519 = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getEd25519()` + * @return {!Uint8Array} + */ +proto.tendermint.crypto.PublicKey.prototype.getEd25519_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getEd25519())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.tendermint.crypto.PublicKey} returns this + */ +proto.tendermint.crypto.PublicKey.prototype.setEd25519 = function(value) { + return jspb.Message.setOneofField(this, 1, proto.tendermint.crypto.PublicKey.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.tendermint.crypto.PublicKey} returns this + */ +proto.tendermint.crypto.PublicKey.prototype.clearEd25519 = function() { + return jspb.Message.setOneofField(this, 1, proto.tendermint.crypto.PublicKey.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.tendermint.crypto.PublicKey.prototype.hasEd25519 = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional bytes secp256k1 = 2; + * @return {!(string|Uint8Array)} + */ +proto.tendermint.crypto.PublicKey.prototype.getSecp256k1 = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * optional bytes secp256k1 = 2; + * This is a type-conversion wrapper around `getSecp256k1()` + * @return {string} + */ +proto.tendermint.crypto.PublicKey.prototype.getSecp256k1_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getSecp256k1())); +}; + + +/** + * optional bytes secp256k1 = 2; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getSecp256k1()` + * @return {!Uint8Array} + */ +proto.tendermint.crypto.PublicKey.prototype.getSecp256k1_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getSecp256k1())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.tendermint.crypto.PublicKey} returns this + */ +proto.tendermint.crypto.PublicKey.prototype.setSecp256k1 = function(value) { + return jspb.Message.setOneofField(this, 2, proto.tendermint.crypto.PublicKey.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.tendermint.crypto.PublicKey} returns this + */ +proto.tendermint.crypto.PublicKey.prototype.clearSecp256k1 = function() { + return jspb.Message.setOneofField(this, 2, proto.tendermint.crypto.PublicKey.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.tendermint.crypto.PublicKey.prototype.hasSecp256k1 = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +goog.object.extend(exports, proto.tendermint.crypto); diff --git a/src/chains/penumbra/generated/tendermint/crypto/proof_grpc_pb.js b/src/chains/penumbra/generated/tendermint/crypto/proof_grpc_pb.js new file mode 100644 index 0000000000..97b3a2461d --- /dev/null +++ b/src/chains/penumbra/generated/tendermint/crypto/proof_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/src/chains/penumbra/generated/tendermint/crypto/proof_pb.d.ts b/src/chains/penumbra/generated/tendermint/crypto/proof_pb.d.ts new file mode 100644 index 0000000000..e739842605 --- /dev/null +++ b/src/chains/penumbra/generated/tendermint/crypto/proof_pb.d.ts @@ -0,0 +1,149 @@ +// package: tendermint.crypto +// file: tendermint/crypto/proof.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as gogoproto_gogo_pb from "../../gogoproto/gogo_pb"; + +export class Proof extends jspb.Message { + getTotal(): number; + setTotal(value: number): Proof; + getIndex(): number; + setIndex(value: number): Proof; + getLeafHash(): Uint8Array | string; + getLeafHash_asU8(): Uint8Array; + getLeafHash_asB64(): string; + setLeafHash(value: Uint8Array | string): Proof; + clearAuntsList(): void; + getAuntsList(): Array; + getAuntsList_asU8(): Array; + getAuntsList_asB64(): Array; + setAuntsList(value: Array): Proof; + addAunts(value: Uint8Array | string, index?: number): Uint8Array | string; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Proof.AsObject; + static toObject(includeInstance: boolean, msg: Proof): Proof.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Proof, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Proof; + static deserializeBinaryFromReader(message: Proof, reader: jspb.BinaryReader): Proof; +} + +export namespace Proof { + export type AsObject = { + total: number, + index: number, + leafHash: Uint8Array | string, + auntsList: Array, + } +} + +export class ValueOp extends jspb.Message { + getKey(): Uint8Array | string; + getKey_asU8(): Uint8Array; + getKey_asB64(): string; + setKey(value: Uint8Array | string): ValueOp; + + hasProof(): boolean; + clearProof(): void; + getProof(): Proof | undefined; + setProof(value?: Proof): ValueOp; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ValueOp.AsObject; + static toObject(includeInstance: boolean, msg: ValueOp): ValueOp.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ValueOp, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ValueOp; + static deserializeBinaryFromReader(message: ValueOp, reader: jspb.BinaryReader): ValueOp; +} + +export namespace ValueOp { + export type AsObject = { + key: Uint8Array | string, + proof?: Proof.AsObject, + } +} + +export class DominoOp extends jspb.Message { + getKey(): string; + setKey(value: string): DominoOp; + getInput(): string; + setInput(value: string): DominoOp; + getOutput(): string; + setOutput(value: string): DominoOp; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): DominoOp.AsObject; + static toObject(includeInstance: boolean, msg: DominoOp): DominoOp.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: DominoOp, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): DominoOp; + static deserializeBinaryFromReader(message: DominoOp, reader: jspb.BinaryReader): DominoOp; +} + +export namespace DominoOp { + export type AsObject = { + key: string, + input: string, + output: string, + } +} + +export class ProofOp extends jspb.Message { + getType(): string; + setType(value: string): ProofOp; + getKey(): Uint8Array | string; + getKey_asU8(): Uint8Array; + getKey_asB64(): string; + setKey(value: Uint8Array | string): ProofOp; + getData(): Uint8Array | string; + getData_asU8(): Uint8Array; + getData_asB64(): string; + setData(value: Uint8Array | string): ProofOp; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ProofOp.AsObject; + static toObject(includeInstance: boolean, msg: ProofOp): ProofOp.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ProofOp, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ProofOp; + static deserializeBinaryFromReader(message: ProofOp, reader: jspb.BinaryReader): ProofOp; +} + +export namespace ProofOp { + export type AsObject = { + type: string, + key: Uint8Array | string, + data: Uint8Array | string, + } +} + +export class ProofOps extends jspb.Message { + clearOpsList(): void; + getOpsList(): Array; + setOpsList(value: Array): ProofOps; + addOps(value?: ProofOp, index?: number): ProofOp; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ProofOps.AsObject; + static toObject(includeInstance: boolean, msg: ProofOps): ProofOps.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ProofOps, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ProofOps; + static deserializeBinaryFromReader(message: ProofOps, reader: jspb.BinaryReader): ProofOps; +} + +export namespace ProofOps { + export type AsObject = { + opsList: Array, + } +} diff --git a/src/chains/penumbra/generated/tendermint/crypto/proof_pb.js b/src/chains/penumbra/generated/tendermint/crypto/proof_pb.js new file mode 100644 index 0000000000..5f6ed72ae5 --- /dev/null +++ b/src/chains/penumbra/generated/tendermint/crypto/proof_pb.js @@ -0,0 +1,1223 @@ +// source: tendermint/crypto/proof.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = (function() { + if (this) { return this; } + if (typeof window !== 'undefined') { return window; } + if (typeof global !== 'undefined') { return global; } + if (typeof self !== 'undefined') { return self; } + return Function('return this')(); +}.call(null)); + +var gogoproto_gogo_pb = require('../../gogoproto/gogo_pb.js'); +goog.object.extend(proto, gogoproto_gogo_pb); +goog.exportSymbol('proto.tendermint.crypto.DominoOp', null, global); +goog.exportSymbol('proto.tendermint.crypto.Proof', null, global); +goog.exportSymbol('proto.tendermint.crypto.ProofOp', null, global); +goog.exportSymbol('proto.tendermint.crypto.ProofOps', null, global); +goog.exportSymbol('proto.tendermint.crypto.ValueOp', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.tendermint.crypto.Proof = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.tendermint.crypto.Proof.repeatedFields_, null); +}; +goog.inherits(proto.tendermint.crypto.Proof, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.tendermint.crypto.Proof.displayName = 'proto.tendermint.crypto.Proof'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.tendermint.crypto.ValueOp = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.tendermint.crypto.ValueOp, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.tendermint.crypto.ValueOp.displayName = 'proto.tendermint.crypto.ValueOp'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.tendermint.crypto.DominoOp = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.tendermint.crypto.DominoOp, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.tendermint.crypto.DominoOp.displayName = 'proto.tendermint.crypto.DominoOp'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.tendermint.crypto.ProofOp = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.tendermint.crypto.ProofOp, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.tendermint.crypto.ProofOp.displayName = 'proto.tendermint.crypto.ProofOp'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.tendermint.crypto.ProofOps = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.tendermint.crypto.ProofOps.repeatedFields_, null); +}; +goog.inherits(proto.tendermint.crypto.ProofOps, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.tendermint.crypto.ProofOps.displayName = 'proto.tendermint.crypto.ProofOps'; +} + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.tendermint.crypto.Proof.repeatedFields_ = [4]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.tendermint.crypto.Proof.prototype.toObject = function(opt_includeInstance) { + return proto.tendermint.crypto.Proof.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.tendermint.crypto.Proof} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.crypto.Proof.toObject = function(includeInstance, msg) { + var f, obj = { + total: jspb.Message.getFieldWithDefault(msg, 1, 0), + index: jspb.Message.getFieldWithDefault(msg, 2, 0), + leafHash: msg.getLeafHash_asB64(), + auntsList: msg.getAuntsList_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.tendermint.crypto.Proof} + */ +proto.tendermint.crypto.Proof.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.tendermint.crypto.Proof; + return proto.tendermint.crypto.Proof.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.tendermint.crypto.Proof} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.tendermint.crypto.Proof} + */ +proto.tendermint.crypto.Proof.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readInt64()); + msg.setTotal(value); + break; + case 2: + var value = /** @type {number} */ (reader.readInt64()); + msg.setIndex(value); + break; + case 3: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setLeafHash(value); + break; + case 4: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.addAunts(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.tendermint.crypto.Proof.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.tendermint.crypto.Proof.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.tendermint.crypto.Proof} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.crypto.Proof.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTotal(); + if (f !== 0) { + writer.writeInt64( + 1, + f + ); + } + f = message.getIndex(); + if (f !== 0) { + writer.writeInt64( + 2, + f + ); + } + f = message.getLeafHash_asU8(); + if (f.length > 0) { + writer.writeBytes( + 3, + f + ); + } + f = message.getAuntsList_asU8(); + if (f.length > 0) { + writer.writeRepeatedBytes( + 4, + f + ); + } +}; + + +/** + * optional int64 total = 1; + * @return {number} + */ +proto.tendermint.crypto.Proof.prototype.getTotal = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.tendermint.crypto.Proof} returns this + */ +proto.tendermint.crypto.Proof.prototype.setTotal = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional int64 index = 2; + * @return {number} + */ +proto.tendermint.crypto.Proof.prototype.getIndex = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.tendermint.crypto.Proof} returns this + */ +proto.tendermint.crypto.Proof.prototype.setIndex = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + +/** + * optional bytes leaf_hash = 3; + * @return {!(string|Uint8Array)} + */ +proto.tendermint.crypto.Proof.prototype.getLeafHash = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * optional bytes leaf_hash = 3; + * This is a type-conversion wrapper around `getLeafHash()` + * @return {string} + */ +proto.tendermint.crypto.Proof.prototype.getLeafHash_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getLeafHash())); +}; + + +/** + * optional bytes leaf_hash = 3; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getLeafHash()` + * @return {!Uint8Array} + */ +proto.tendermint.crypto.Proof.prototype.getLeafHash_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getLeafHash())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.tendermint.crypto.Proof} returns this + */ +proto.tendermint.crypto.Proof.prototype.setLeafHash = function(value) { + return jspb.Message.setProto3BytesField(this, 3, value); +}; + + +/** + * repeated bytes aunts = 4; + * @return {!(Array|Array)} + */ +proto.tendermint.crypto.Proof.prototype.getAuntsList = function() { + return /** @type {!(Array|Array)} */ (jspb.Message.getRepeatedField(this, 4)); +}; + + +/** + * repeated bytes aunts = 4; + * This is a type-conversion wrapper around `getAuntsList()` + * @return {!Array} + */ +proto.tendermint.crypto.Proof.prototype.getAuntsList_asB64 = function() { + return /** @type {!Array} */ (jspb.Message.bytesListAsB64( + this.getAuntsList())); +}; + + +/** + * repeated bytes aunts = 4; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getAuntsList()` + * @return {!Array} + */ +proto.tendermint.crypto.Proof.prototype.getAuntsList_asU8 = function() { + return /** @type {!Array} */ (jspb.Message.bytesListAsU8( + this.getAuntsList())); +}; + + +/** + * @param {!(Array|Array)} value + * @return {!proto.tendermint.crypto.Proof} returns this + */ +proto.tendermint.crypto.Proof.prototype.setAuntsList = function(value) { + return jspb.Message.setField(this, 4, value || []); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @param {number=} opt_index + * @return {!proto.tendermint.crypto.Proof} returns this + */ +proto.tendermint.crypto.Proof.prototype.addAunts = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 4, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.tendermint.crypto.Proof} returns this + */ +proto.tendermint.crypto.Proof.prototype.clearAuntsList = function() { + return this.setAuntsList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.tendermint.crypto.ValueOp.prototype.toObject = function(opt_includeInstance) { + return proto.tendermint.crypto.ValueOp.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.tendermint.crypto.ValueOp} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.crypto.ValueOp.toObject = function(includeInstance, msg) { + var f, obj = { + key: msg.getKey_asB64(), + proof: (f = msg.getProof()) && proto.tendermint.crypto.Proof.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.tendermint.crypto.ValueOp} + */ +proto.tendermint.crypto.ValueOp.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.tendermint.crypto.ValueOp; + return proto.tendermint.crypto.ValueOp.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.tendermint.crypto.ValueOp} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.tendermint.crypto.ValueOp} + */ +proto.tendermint.crypto.ValueOp.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setKey(value); + break; + case 2: + var value = new proto.tendermint.crypto.Proof; + reader.readMessage(value,proto.tendermint.crypto.Proof.deserializeBinaryFromReader); + msg.setProof(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.tendermint.crypto.ValueOp.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.tendermint.crypto.ValueOp.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.tendermint.crypto.ValueOp} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.crypto.ValueOp.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getKey_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } + f = message.getProof(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.tendermint.crypto.Proof.serializeBinaryToWriter + ); + } +}; + + +/** + * optional bytes key = 1; + * @return {!(string|Uint8Array)} + */ +proto.tendermint.crypto.ValueOp.prototype.getKey = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes key = 1; + * This is a type-conversion wrapper around `getKey()` + * @return {string} + */ +proto.tendermint.crypto.ValueOp.prototype.getKey_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getKey())); +}; + + +/** + * optional bytes key = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getKey()` + * @return {!Uint8Array} + */ +proto.tendermint.crypto.ValueOp.prototype.getKey_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getKey())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.tendermint.crypto.ValueOp} returns this + */ +proto.tendermint.crypto.ValueOp.prototype.setKey = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + +/** + * optional Proof proof = 2; + * @return {?proto.tendermint.crypto.Proof} + */ +proto.tendermint.crypto.ValueOp.prototype.getProof = function() { + return /** @type{?proto.tendermint.crypto.Proof} */ ( + jspb.Message.getWrapperField(this, proto.tendermint.crypto.Proof, 2)); +}; + + +/** + * @param {?proto.tendermint.crypto.Proof|undefined} value + * @return {!proto.tendermint.crypto.ValueOp} returns this +*/ +proto.tendermint.crypto.ValueOp.prototype.setProof = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.tendermint.crypto.ValueOp} returns this + */ +proto.tendermint.crypto.ValueOp.prototype.clearProof = function() { + return this.setProof(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.tendermint.crypto.ValueOp.prototype.hasProof = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.tendermint.crypto.DominoOp.prototype.toObject = function(opt_includeInstance) { + return proto.tendermint.crypto.DominoOp.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.tendermint.crypto.DominoOp} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.crypto.DominoOp.toObject = function(includeInstance, msg) { + var f, obj = { + key: jspb.Message.getFieldWithDefault(msg, 1, ""), + input: jspb.Message.getFieldWithDefault(msg, 2, ""), + output: jspb.Message.getFieldWithDefault(msg, 3, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.tendermint.crypto.DominoOp} + */ +proto.tendermint.crypto.DominoOp.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.tendermint.crypto.DominoOp; + return proto.tendermint.crypto.DominoOp.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.tendermint.crypto.DominoOp} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.tendermint.crypto.DominoOp} + */ +proto.tendermint.crypto.DominoOp.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setKey(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setInput(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setOutput(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.tendermint.crypto.DominoOp.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.tendermint.crypto.DominoOp.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.tendermint.crypto.DominoOp} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.crypto.DominoOp.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getKey(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getInput(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getOutput(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } +}; + + +/** + * optional string key = 1; + * @return {string} + */ +proto.tendermint.crypto.DominoOp.prototype.getKey = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.tendermint.crypto.DominoOp} returns this + */ +proto.tendermint.crypto.DominoOp.prototype.setKey = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string input = 2; + * @return {string} + */ +proto.tendermint.crypto.DominoOp.prototype.getInput = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.tendermint.crypto.DominoOp} returns this + */ +proto.tendermint.crypto.DominoOp.prototype.setInput = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string output = 3; + * @return {string} + */ +proto.tendermint.crypto.DominoOp.prototype.getOutput = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.tendermint.crypto.DominoOp} returns this + */ +proto.tendermint.crypto.DominoOp.prototype.setOutput = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.tendermint.crypto.ProofOp.prototype.toObject = function(opt_includeInstance) { + return proto.tendermint.crypto.ProofOp.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.tendermint.crypto.ProofOp} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.crypto.ProofOp.toObject = function(includeInstance, msg) { + var f, obj = { + type: jspb.Message.getFieldWithDefault(msg, 1, ""), + key: msg.getKey_asB64(), + data: msg.getData_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.tendermint.crypto.ProofOp} + */ +proto.tendermint.crypto.ProofOp.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.tendermint.crypto.ProofOp; + return proto.tendermint.crypto.ProofOp.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.tendermint.crypto.ProofOp} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.tendermint.crypto.ProofOp} + */ +proto.tendermint.crypto.ProofOp.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setType(value); + break; + case 2: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setKey(value); + break; + case 3: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setData(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.tendermint.crypto.ProofOp.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.tendermint.crypto.ProofOp.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.tendermint.crypto.ProofOp} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.crypto.ProofOp.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getType(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getKey_asU8(); + if (f.length > 0) { + writer.writeBytes( + 2, + f + ); + } + f = message.getData_asU8(); + if (f.length > 0) { + writer.writeBytes( + 3, + f + ); + } +}; + + +/** + * optional string type = 1; + * @return {string} + */ +proto.tendermint.crypto.ProofOp.prototype.getType = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.tendermint.crypto.ProofOp} returns this + */ +proto.tendermint.crypto.ProofOp.prototype.setType = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional bytes key = 2; + * @return {!(string|Uint8Array)} + */ +proto.tendermint.crypto.ProofOp.prototype.getKey = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * optional bytes key = 2; + * This is a type-conversion wrapper around `getKey()` + * @return {string} + */ +proto.tendermint.crypto.ProofOp.prototype.getKey_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getKey())); +}; + + +/** + * optional bytes key = 2; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getKey()` + * @return {!Uint8Array} + */ +proto.tendermint.crypto.ProofOp.prototype.getKey_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getKey())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.tendermint.crypto.ProofOp} returns this + */ +proto.tendermint.crypto.ProofOp.prototype.setKey = function(value) { + return jspb.Message.setProto3BytesField(this, 2, value); +}; + + +/** + * optional bytes data = 3; + * @return {!(string|Uint8Array)} + */ +proto.tendermint.crypto.ProofOp.prototype.getData = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * optional bytes data = 3; + * This is a type-conversion wrapper around `getData()` + * @return {string} + */ +proto.tendermint.crypto.ProofOp.prototype.getData_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getData())); +}; + + +/** + * optional bytes data = 3; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getData()` + * @return {!Uint8Array} + */ +proto.tendermint.crypto.ProofOp.prototype.getData_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getData())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.tendermint.crypto.ProofOp} returns this + */ +proto.tendermint.crypto.ProofOp.prototype.setData = function(value) { + return jspb.Message.setProto3BytesField(this, 3, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.tendermint.crypto.ProofOps.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.tendermint.crypto.ProofOps.prototype.toObject = function(opt_includeInstance) { + return proto.tendermint.crypto.ProofOps.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.tendermint.crypto.ProofOps} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.crypto.ProofOps.toObject = function(includeInstance, msg) { + var f, obj = { + opsList: jspb.Message.toObjectList(msg.getOpsList(), + proto.tendermint.crypto.ProofOp.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.tendermint.crypto.ProofOps} + */ +proto.tendermint.crypto.ProofOps.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.tendermint.crypto.ProofOps; + return proto.tendermint.crypto.ProofOps.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.tendermint.crypto.ProofOps} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.tendermint.crypto.ProofOps} + */ +proto.tendermint.crypto.ProofOps.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.tendermint.crypto.ProofOp; + reader.readMessage(value,proto.tendermint.crypto.ProofOp.deserializeBinaryFromReader); + msg.addOps(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.tendermint.crypto.ProofOps.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.tendermint.crypto.ProofOps.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.tendermint.crypto.ProofOps} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.crypto.ProofOps.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getOpsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + proto.tendermint.crypto.ProofOp.serializeBinaryToWriter + ); + } +}; + + +/** + * repeated ProofOp ops = 1; + * @return {!Array} + */ +proto.tendermint.crypto.ProofOps.prototype.getOpsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.tendermint.crypto.ProofOp, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.tendermint.crypto.ProofOps} returns this +*/ +proto.tendermint.crypto.ProofOps.prototype.setOpsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.tendermint.crypto.ProofOp=} opt_value + * @param {number=} opt_index + * @return {!proto.tendermint.crypto.ProofOp} + */ +proto.tendermint.crypto.ProofOps.prototype.addOps = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.tendermint.crypto.ProofOp, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.tendermint.crypto.ProofOps} returns this + */ +proto.tendermint.crypto.ProofOps.prototype.clearOpsList = function() { + return this.setOpsList([]); +}; + + +goog.object.extend(exports, proto.tendermint.crypto); diff --git a/src/chains/penumbra/generated/tendermint/p2p/types_grpc_pb.js b/src/chains/penumbra/generated/tendermint/p2p/types_grpc_pb.js new file mode 100644 index 0000000000..97b3a2461d --- /dev/null +++ b/src/chains/penumbra/generated/tendermint/p2p/types_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/src/chains/penumbra/generated/tendermint/p2p/types_pb.d.ts b/src/chains/penumbra/generated/tendermint/p2p/types_pb.d.ts new file mode 100644 index 0000000000..70afcf17eb --- /dev/null +++ b/src/chains/penumbra/generated/tendermint/p2p/types_pb.d.ts @@ -0,0 +1,132 @@ +// package: tendermint.p2p +// file: tendermint/p2p/types.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as gogoproto_gogo_pb from "../../gogoproto/gogo_pb"; + +export class NetAddress extends jspb.Message { + getId(): string; + setId(value: string): NetAddress; + getIp(): string; + setIp(value: string): NetAddress; + getPort(): number; + setPort(value: number): NetAddress; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): NetAddress.AsObject; + static toObject(includeInstance: boolean, msg: NetAddress): NetAddress.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: NetAddress, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): NetAddress; + static deserializeBinaryFromReader(message: NetAddress, reader: jspb.BinaryReader): NetAddress; +} + +export namespace NetAddress { + export type AsObject = { + id: string, + ip: string, + port: number, + } +} + +export class ProtocolVersion extends jspb.Message { + getP2p(): number; + setP2p(value: number): ProtocolVersion; + getBlock(): number; + setBlock(value: number): ProtocolVersion; + getApp(): number; + setApp(value: number): ProtocolVersion; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ProtocolVersion.AsObject; + static toObject(includeInstance: boolean, msg: ProtocolVersion): ProtocolVersion.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ProtocolVersion, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ProtocolVersion; + static deserializeBinaryFromReader(message: ProtocolVersion, reader: jspb.BinaryReader): ProtocolVersion; +} + +export namespace ProtocolVersion { + export type AsObject = { + p2p: number, + block: number, + app: number, + } +} + +export class DefaultNodeInfo extends jspb.Message { + + hasProtocolVersion(): boolean; + clearProtocolVersion(): void; + getProtocolVersion(): ProtocolVersion | undefined; + setProtocolVersion(value?: ProtocolVersion): DefaultNodeInfo; + getDefaultNodeId(): string; + setDefaultNodeId(value: string): DefaultNodeInfo; + getListenAddr(): string; + setListenAddr(value: string): DefaultNodeInfo; + getNetwork(): string; + setNetwork(value: string): DefaultNodeInfo; + getVersion(): string; + setVersion(value: string): DefaultNodeInfo; + getChannels(): Uint8Array | string; + getChannels_asU8(): Uint8Array; + getChannels_asB64(): string; + setChannels(value: Uint8Array | string): DefaultNodeInfo; + getMoniker(): string; + setMoniker(value: string): DefaultNodeInfo; + + hasOther(): boolean; + clearOther(): void; + getOther(): DefaultNodeInfoOther | undefined; + setOther(value?: DefaultNodeInfoOther): DefaultNodeInfo; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): DefaultNodeInfo.AsObject; + static toObject(includeInstance: boolean, msg: DefaultNodeInfo): DefaultNodeInfo.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: DefaultNodeInfo, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): DefaultNodeInfo; + static deserializeBinaryFromReader(message: DefaultNodeInfo, reader: jspb.BinaryReader): DefaultNodeInfo; +} + +export namespace DefaultNodeInfo { + export type AsObject = { + protocolVersion?: ProtocolVersion.AsObject, + defaultNodeId: string, + listenAddr: string, + network: string, + version: string, + channels: Uint8Array | string, + moniker: string, + other?: DefaultNodeInfoOther.AsObject, + } +} + +export class DefaultNodeInfoOther extends jspb.Message { + getTxIndex(): string; + setTxIndex(value: string): DefaultNodeInfoOther; + getRpcAddress(): string; + setRpcAddress(value: string): DefaultNodeInfoOther; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): DefaultNodeInfoOther.AsObject; + static toObject(includeInstance: boolean, msg: DefaultNodeInfoOther): DefaultNodeInfoOther.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: DefaultNodeInfoOther, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): DefaultNodeInfoOther; + static deserializeBinaryFromReader(message: DefaultNodeInfoOther, reader: jspb.BinaryReader): DefaultNodeInfoOther; +} + +export namespace DefaultNodeInfoOther { + export type AsObject = { + txIndex: string, + rpcAddress: string, + } +} diff --git a/src/chains/penumbra/generated/tendermint/p2p/types_pb.js b/src/chains/penumbra/generated/tendermint/p2p/types_pb.js new file mode 100644 index 0000000000..cfd405453f --- /dev/null +++ b/src/chains/penumbra/generated/tendermint/p2p/types_pb.js @@ -0,0 +1,1060 @@ +// source: tendermint/p2p/types.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = (function() { + if (this) { return this; } + if (typeof window !== 'undefined') { return window; } + if (typeof global !== 'undefined') { return global; } + if (typeof self !== 'undefined') { return self; } + return Function('return this')(); +}.call(null)); + +var gogoproto_gogo_pb = require('../../gogoproto/gogo_pb.js'); +goog.object.extend(proto, gogoproto_gogo_pb); +goog.exportSymbol('proto.tendermint.p2p.DefaultNodeInfo', null, global); +goog.exportSymbol('proto.tendermint.p2p.DefaultNodeInfoOther', null, global); +goog.exportSymbol('proto.tendermint.p2p.NetAddress', null, global); +goog.exportSymbol('proto.tendermint.p2p.ProtocolVersion', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.tendermint.p2p.NetAddress = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.tendermint.p2p.NetAddress, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.tendermint.p2p.NetAddress.displayName = 'proto.tendermint.p2p.NetAddress'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.tendermint.p2p.ProtocolVersion = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.tendermint.p2p.ProtocolVersion, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.tendermint.p2p.ProtocolVersion.displayName = 'proto.tendermint.p2p.ProtocolVersion'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.tendermint.p2p.DefaultNodeInfo = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.tendermint.p2p.DefaultNodeInfo, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.tendermint.p2p.DefaultNodeInfo.displayName = 'proto.tendermint.p2p.DefaultNodeInfo'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.tendermint.p2p.DefaultNodeInfoOther = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.tendermint.p2p.DefaultNodeInfoOther, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.tendermint.p2p.DefaultNodeInfoOther.displayName = 'proto.tendermint.p2p.DefaultNodeInfoOther'; +} + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.tendermint.p2p.NetAddress.prototype.toObject = function(opt_includeInstance) { + return proto.tendermint.p2p.NetAddress.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.tendermint.p2p.NetAddress} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.p2p.NetAddress.toObject = function(includeInstance, msg) { + var f, obj = { + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + ip: jspb.Message.getFieldWithDefault(msg, 2, ""), + port: jspb.Message.getFieldWithDefault(msg, 3, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.tendermint.p2p.NetAddress} + */ +proto.tendermint.p2p.NetAddress.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.tendermint.p2p.NetAddress; + return proto.tendermint.p2p.NetAddress.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.tendermint.p2p.NetAddress} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.tendermint.p2p.NetAddress} + */ +proto.tendermint.p2p.NetAddress.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setId(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setIp(value); + break; + case 3: + var value = /** @type {number} */ (reader.readUint32()); + msg.setPort(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.tendermint.p2p.NetAddress.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.tendermint.p2p.NetAddress.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.tendermint.p2p.NetAddress} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.p2p.NetAddress.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getId(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getIp(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getPort(); + if (f !== 0) { + writer.writeUint32( + 3, + f + ); + } +}; + + +/** + * optional string id = 1; + * @return {string} + */ +proto.tendermint.p2p.NetAddress.prototype.getId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.tendermint.p2p.NetAddress} returns this + */ +proto.tendermint.p2p.NetAddress.prototype.setId = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string ip = 2; + * @return {string} + */ +proto.tendermint.p2p.NetAddress.prototype.getIp = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.tendermint.p2p.NetAddress} returns this + */ +proto.tendermint.p2p.NetAddress.prototype.setIp = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional uint32 port = 3; + * @return {number} + */ +proto.tendermint.p2p.NetAddress.prototype.getPort = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.tendermint.p2p.NetAddress} returns this + */ +proto.tendermint.p2p.NetAddress.prototype.setPort = function(value) { + return jspb.Message.setProto3IntField(this, 3, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.tendermint.p2p.ProtocolVersion.prototype.toObject = function(opt_includeInstance) { + return proto.tendermint.p2p.ProtocolVersion.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.tendermint.p2p.ProtocolVersion} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.p2p.ProtocolVersion.toObject = function(includeInstance, msg) { + var f, obj = { + p2p: jspb.Message.getFieldWithDefault(msg, 1, 0), + block: jspb.Message.getFieldWithDefault(msg, 2, 0), + app: jspb.Message.getFieldWithDefault(msg, 3, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.tendermint.p2p.ProtocolVersion} + */ +proto.tendermint.p2p.ProtocolVersion.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.tendermint.p2p.ProtocolVersion; + return proto.tendermint.p2p.ProtocolVersion.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.tendermint.p2p.ProtocolVersion} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.tendermint.p2p.ProtocolVersion} + */ +proto.tendermint.p2p.ProtocolVersion.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setP2p(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint64()); + msg.setBlock(value); + break; + case 3: + var value = /** @type {number} */ (reader.readUint64()); + msg.setApp(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.tendermint.p2p.ProtocolVersion.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.tendermint.p2p.ProtocolVersion.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.tendermint.p2p.ProtocolVersion} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.p2p.ProtocolVersion.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getP2p(); + if (f !== 0) { + writer.writeUint64( + 1, + f + ); + } + f = message.getBlock(); + if (f !== 0) { + writer.writeUint64( + 2, + f + ); + } + f = message.getApp(); + if (f !== 0) { + writer.writeUint64( + 3, + f + ); + } +}; + + +/** + * optional uint64 p2p = 1; + * @return {number} + */ +proto.tendermint.p2p.ProtocolVersion.prototype.getP2p = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.tendermint.p2p.ProtocolVersion} returns this + */ +proto.tendermint.p2p.ProtocolVersion.prototype.setP2p = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional uint64 block = 2; + * @return {number} + */ +proto.tendermint.p2p.ProtocolVersion.prototype.getBlock = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.tendermint.p2p.ProtocolVersion} returns this + */ +proto.tendermint.p2p.ProtocolVersion.prototype.setBlock = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + +/** + * optional uint64 app = 3; + * @return {number} + */ +proto.tendermint.p2p.ProtocolVersion.prototype.getApp = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.tendermint.p2p.ProtocolVersion} returns this + */ +proto.tendermint.p2p.ProtocolVersion.prototype.setApp = function(value) { + return jspb.Message.setProto3IntField(this, 3, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.tendermint.p2p.DefaultNodeInfo.prototype.toObject = function(opt_includeInstance) { + return proto.tendermint.p2p.DefaultNodeInfo.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.tendermint.p2p.DefaultNodeInfo} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.p2p.DefaultNodeInfo.toObject = function(includeInstance, msg) { + var f, obj = { + protocolVersion: (f = msg.getProtocolVersion()) && proto.tendermint.p2p.ProtocolVersion.toObject(includeInstance, f), + defaultNodeId: jspb.Message.getFieldWithDefault(msg, 2, ""), + listenAddr: jspb.Message.getFieldWithDefault(msg, 3, ""), + network: jspb.Message.getFieldWithDefault(msg, 4, ""), + version: jspb.Message.getFieldWithDefault(msg, 5, ""), + channels: msg.getChannels_asB64(), + moniker: jspb.Message.getFieldWithDefault(msg, 7, ""), + other: (f = msg.getOther()) && proto.tendermint.p2p.DefaultNodeInfoOther.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.tendermint.p2p.DefaultNodeInfo} + */ +proto.tendermint.p2p.DefaultNodeInfo.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.tendermint.p2p.DefaultNodeInfo; + return proto.tendermint.p2p.DefaultNodeInfo.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.tendermint.p2p.DefaultNodeInfo} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.tendermint.p2p.DefaultNodeInfo} + */ +proto.tendermint.p2p.DefaultNodeInfo.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.tendermint.p2p.ProtocolVersion; + reader.readMessage(value,proto.tendermint.p2p.ProtocolVersion.deserializeBinaryFromReader); + msg.setProtocolVersion(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setDefaultNodeId(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setListenAddr(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setNetwork(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setVersion(value); + break; + case 6: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setChannels(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setMoniker(value); + break; + case 8: + var value = new proto.tendermint.p2p.DefaultNodeInfoOther; + reader.readMessage(value,proto.tendermint.p2p.DefaultNodeInfoOther.deserializeBinaryFromReader); + msg.setOther(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.tendermint.p2p.DefaultNodeInfo.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.tendermint.p2p.DefaultNodeInfo.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.tendermint.p2p.DefaultNodeInfo} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.p2p.DefaultNodeInfo.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getProtocolVersion(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.tendermint.p2p.ProtocolVersion.serializeBinaryToWriter + ); + } + f = message.getDefaultNodeId(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getListenAddr(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getNetwork(); + if (f.length > 0) { + writer.writeString( + 4, + f + ); + } + f = message.getVersion(); + if (f.length > 0) { + writer.writeString( + 5, + f + ); + } + f = message.getChannels_asU8(); + if (f.length > 0) { + writer.writeBytes( + 6, + f + ); + } + f = message.getMoniker(); + if (f.length > 0) { + writer.writeString( + 7, + f + ); + } + f = message.getOther(); + if (f != null) { + writer.writeMessage( + 8, + f, + proto.tendermint.p2p.DefaultNodeInfoOther.serializeBinaryToWriter + ); + } +}; + + +/** + * optional ProtocolVersion protocol_version = 1; + * @return {?proto.tendermint.p2p.ProtocolVersion} + */ +proto.tendermint.p2p.DefaultNodeInfo.prototype.getProtocolVersion = function() { + return /** @type{?proto.tendermint.p2p.ProtocolVersion} */ ( + jspb.Message.getWrapperField(this, proto.tendermint.p2p.ProtocolVersion, 1)); +}; + + +/** + * @param {?proto.tendermint.p2p.ProtocolVersion|undefined} value + * @return {!proto.tendermint.p2p.DefaultNodeInfo} returns this +*/ +proto.tendermint.p2p.DefaultNodeInfo.prototype.setProtocolVersion = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.tendermint.p2p.DefaultNodeInfo} returns this + */ +proto.tendermint.p2p.DefaultNodeInfo.prototype.clearProtocolVersion = function() { + return this.setProtocolVersion(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.tendermint.p2p.DefaultNodeInfo.prototype.hasProtocolVersion = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional string default_node_id = 2; + * @return {string} + */ +proto.tendermint.p2p.DefaultNodeInfo.prototype.getDefaultNodeId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.tendermint.p2p.DefaultNodeInfo} returns this + */ +proto.tendermint.p2p.DefaultNodeInfo.prototype.setDefaultNodeId = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string listen_addr = 3; + * @return {string} + */ +proto.tendermint.p2p.DefaultNodeInfo.prototype.getListenAddr = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.tendermint.p2p.DefaultNodeInfo} returns this + */ +proto.tendermint.p2p.DefaultNodeInfo.prototype.setListenAddr = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string network = 4; + * @return {string} + */ +proto.tendermint.p2p.DefaultNodeInfo.prototype.getNetwork = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.tendermint.p2p.DefaultNodeInfo} returns this + */ +proto.tendermint.p2p.DefaultNodeInfo.prototype.setNetwork = function(value) { + return jspb.Message.setProto3StringField(this, 4, value); +}; + + +/** + * optional string version = 5; + * @return {string} + */ +proto.tendermint.p2p.DefaultNodeInfo.prototype.getVersion = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.tendermint.p2p.DefaultNodeInfo} returns this + */ +proto.tendermint.p2p.DefaultNodeInfo.prototype.setVersion = function(value) { + return jspb.Message.setProto3StringField(this, 5, value); +}; + + +/** + * optional bytes channels = 6; + * @return {!(string|Uint8Array)} + */ +proto.tendermint.p2p.DefaultNodeInfo.prototype.getChannels = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * optional bytes channels = 6; + * This is a type-conversion wrapper around `getChannels()` + * @return {string} + */ +proto.tendermint.p2p.DefaultNodeInfo.prototype.getChannels_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getChannels())); +}; + + +/** + * optional bytes channels = 6; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getChannels()` + * @return {!Uint8Array} + */ +proto.tendermint.p2p.DefaultNodeInfo.prototype.getChannels_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getChannels())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.tendermint.p2p.DefaultNodeInfo} returns this + */ +proto.tendermint.p2p.DefaultNodeInfo.prototype.setChannels = function(value) { + return jspb.Message.setProto3BytesField(this, 6, value); +}; + + +/** + * optional string moniker = 7; + * @return {string} + */ +proto.tendermint.p2p.DefaultNodeInfo.prototype.getMoniker = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * @param {string} value + * @return {!proto.tendermint.p2p.DefaultNodeInfo} returns this + */ +proto.tendermint.p2p.DefaultNodeInfo.prototype.setMoniker = function(value) { + return jspb.Message.setProto3StringField(this, 7, value); +}; + + +/** + * optional DefaultNodeInfoOther other = 8; + * @return {?proto.tendermint.p2p.DefaultNodeInfoOther} + */ +proto.tendermint.p2p.DefaultNodeInfo.prototype.getOther = function() { + return /** @type{?proto.tendermint.p2p.DefaultNodeInfoOther} */ ( + jspb.Message.getWrapperField(this, proto.tendermint.p2p.DefaultNodeInfoOther, 8)); +}; + + +/** + * @param {?proto.tendermint.p2p.DefaultNodeInfoOther|undefined} value + * @return {!proto.tendermint.p2p.DefaultNodeInfo} returns this +*/ +proto.tendermint.p2p.DefaultNodeInfo.prototype.setOther = function(value) { + return jspb.Message.setWrapperField(this, 8, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.tendermint.p2p.DefaultNodeInfo} returns this + */ +proto.tendermint.p2p.DefaultNodeInfo.prototype.clearOther = function() { + return this.setOther(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.tendermint.p2p.DefaultNodeInfo.prototype.hasOther = function() { + return jspb.Message.getField(this, 8) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.tendermint.p2p.DefaultNodeInfoOther.prototype.toObject = function(opt_includeInstance) { + return proto.tendermint.p2p.DefaultNodeInfoOther.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.tendermint.p2p.DefaultNodeInfoOther} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.p2p.DefaultNodeInfoOther.toObject = function(includeInstance, msg) { + var f, obj = { + txIndex: jspb.Message.getFieldWithDefault(msg, 1, ""), + rpcAddress: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.tendermint.p2p.DefaultNodeInfoOther} + */ +proto.tendermint.p2p.DefaultNodeInfoOther.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.tendermint.p2p.DefaultNodeInfoOther; + return proto.tendermint.p2p.DefaultNodeInfoOther.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.tendermint.p2p.DefaultNodeInfoOther} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.tendermint.p2p.DefaultNodeInfoOther} + */ +proto.tendermint.p2p.DefaultNodeInfoOther.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setTxIndex(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setRpcAddress(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.tendermint.p2p.DefaultNodeInfoOther.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.tendermint.p2p.DefaultNodeInfoOther.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.tendermint.p2p.DefaultNodeInfoOther} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.p2p.DefaultNodeInfoOther.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTxIndex(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getRpcAddress(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional string tx_index = 1; + * @return {string} + */ +proto.tendermint.p2p.DefaultNodeInfoOther.prototype.getTxIndex = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.tendermint.p2p.DefaultNodeInfoOther} returns this + */ +proto.tendermint.p2p.DefaultNodeInfoOther.prototype.setTxIndex = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string rpc_address = 2; + * @return {string} + */ +proto.tendermint.p2p.DefaultNodeInfoOther.prototype.getRpcAddress = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.tendermint.p2p.DefaultNodeInfoOther} returns this + */ +proto.tendermint.p2p.DefaultNodeInfoOther.prototype.setRpcAddress = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +goog.object.extend(exports, proto.tendermint.p2p); diff --git a/src/chains/penumbra/generated/tendermint/types/block_grpc_pb.js b/src/chains/penumbra/generated/tendermint/types/block_grpc_pb.js new file mode 100644 index 0000000000..97b3a2461d --- /dev/null +++ b/src/chains/penumbra/generated/tendermint/types/block_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/src/chains/penumbra/generated/tendermint/types/block_pb.d.ts b/src/chains/penumbra/generated/tendermint/types/block_pb.d.ts new file mode 100644 index 0000000000..2a6dff63b2 --- /dev/null +++ b/src/chains/penumbra/generated/tendermint/types/block_pb.d.ts @@ -0,0 +1,51 @@ +// package: tendermint.types +// file: tendermint/types/block.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as gogoproto_gogo_pb from "../../gogoproto/gogo_pb"; +import * as tendermint_types_types_pb from "../../tendermint/types/types_pb"; +import * as tendermint_types_evidence_pb from "../../tendermint/types/evidence_pb"; + +export class Block extends jspb.Message { + + hasHeader(): boolean; + clearHeader(): void; + getHeader(): tendermint_types_types_pb.Header | undefined; + setHeader(value?: tendermint_types_types_pb.Header): Block; + + hasData(): boolean; + clearData(): void; + getData(): tendermint_types_types_pb.Data | undefined; + setData(value?: tendermint_types_types_pb.Data): Block; + + hasEvidence(): boolean; + clearEvidence(): void; + getEvidence(): tendermint_types_evidence_pb.EvidenceList | undefined; + setEvidence(value?: tendermint_types_evidence_pb.EvidenceList): Block; + + hasLastCommit(): boolean; + clearLastCommit(): void; + getLastCommit(): tendermint_types_types_pb.Commit | undefined; + setLastCommit(value?: tendermint_types_types_pb.Commit): Block; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Block.AsObject; + static toObject(includeInstance: boolean, msg: Block): Block.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Block, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Block; + static deserializeBinaryFromReader(message: Block, reader: jspb.BinaryReader): Block; +} + +export namespace Block { + export type AsObject = { + header?: tendermint_types_types_pb.Header.AsObject, + data?: tendermint_types_types_pb.Data.AsObject, + evidence?: tendermint_types_evidence_pb.EvidenceList.AsObject, + lastCommit?: tendermint_types_types_pb.Commit.AsObject, + } +} diff --git a/src/chains/penumbra/generated/tendermint/types/block_pb.js b/src/chains/penumbra/generated/tendermint/types/block_pb.js new file mode 100644 index 0000000000..4bd52bf8c5 --- /dev/null +++ b/src/chains/penumbra/generated/tendermint/types/block_pb.js @@ -0,0 +1,356 @@ +// source: tendermint/types/block.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = (function() { + if (this) { return this; } + if (typeof window !== 'undefined') { return window; } + if (typeof global !== 'undefined') { return global; } + if (typeof self !== 'undefined') { return self; } + return Function('return this')(); +}.call(null)); + +var gogoproto_gogo_pb = require('../../gogoproto/gogo_pb.js'); +goog.object.extend(proto, gogoproto_gogo_pb); +var tendermint_types_types_pb = require('../../tendermint/types/types_pb.js'); +goog.object.extend(proto, tendermint_types_types_pb); +var tendermint_types_evidence_pb = require('../../tendermint/types/evidence_pb.js'); +goog.object.extend(proto, tendermint_types_evidence_pb); +goog.exportSymbol('proto.tendermint.types.Block', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.tendermint.types.Block = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.tendermint.types.Block, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.tendermint.types.Block.displayName = 'proto.tendermint.types.Block'; +} + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.tendermint.types.Block.prototype.toObject = function(opt_includeInstance) { + return proto.tendermint.types.Block.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.tendermint.types.Block} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.types.Block.toObject = function(includeInstance, msg) { + var f, obj = { + header: (f = msg.getHeader()) && tendermint_types_types_pb.Header.toObject(includeInstance, f), + data: (f = msg.getData()) && tendermint_types_types_pb.Data.toObject(includeInstance, f), + evidence: (f = msg.getEvidence()) && tendermint_types_evidence_pb.EvidenceList.toObject(includeInstance, f), + lastCommit: (f = msg.getLastCommit()) && tendermint_types_types_pb.Commit.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.tendermint.types.Block} + */ +proto.tendermint.types.Block.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.tendermint.types.Block; + return proto.tendermint.types.Block.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.tendermint.types.Block} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.tendermint.types.Block} + */ +proto.tendermint.types.Block.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new tendermint_types_types_pb.Header; + reader.readMessage(value,tendermint_types_types_pb.Header.deserializeBinaryFromReader); + msg.setHeader(value); + break; + case 2: + var value = new tendermint_types_types_pb.Data; + reader.readMessage(value,tendermint_types_types_pb.Data.deserializeBinaryFromReader); + msg.setData(value); + break; + case 3: + var value = new tendermint_types_evidence_pb.EvidenceList; + reader.readMessage(value,tendermint_types_evidence_pb.EvidenceList.deserializeBinaryFromReader); + msg.setEvidence(value); + break; + case 4: + var value = new tendermint_types_types_pb.Commit; + reader.readMessage(value,tendermint_types_types_pb.Commit.deserializeBinaryFromReader); + msg.setLastCommit(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.tendermint.types.Block.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.tendermint.types.Block.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.tendermint.types.Block} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.types.Block.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getHeader(); + if (f != null) { + writer.writeMessage( + 1, + f, + tendermint_types_types_pb.Header.serializeBinaryToWriter + ); + } + f = message.getData(); + if (f != null) { + writer.writeMessage( + 2, + f, + tendermint_types_types_pb.Data.serializeBinaryToWriter + ); + } + f = message.getEvidence(); + if (f != null) { + writer.writeMessage( + 3, + f, + tendermint_types_evidence_pb.EvidenceList.serializeBinaryToWriter + ); + } + f = message.getLastCommit(); + if (f != null) { + writer.writeMessage( + 4, + f, + tendermint_types_types_pb.Commit.serializeBinaryToWriter + ); + } +}; + + +/** + * optional Header header = 1; + * @return {?proto.tendermint.types.Header} + */ +proto.tendermint.types.Block.prototype.getHeader = function() { + return /** @type{?proto.tendermint.types.Header} */ ( + jspb.Message.getWrapperField(this, tendermint_types_types_pb.Header, 1)); +}; + + +/** + * @param {?proto.tendermint.types.Header|undefined} value + * @return {!proto.tendermint.types.Block} returns this +*/ +proto.tendermint.types.Block.prototype.setHeader = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.tendermint.types.Block} returns this + */ +proto.tendermint.types.Block.prototype.clearHeader = function() { + return this.setHeader(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.tendermint.types.Block.prototype.hasHeader = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional Data data = 2; + * @return {?proto.tendermint.types.Data} + */ +proto.tendermint.types.Block.prototype.getData = function() { + return /** @type{?proto.tendermint.types.Data} */ ( + jspb.Message.getWrapperField(this, tendermint_types_types_pb.Data, 2)); +}; + + +/** + * @param {?proto.tendermint.types.Data|undefined} value + * @return {!proto.tendermint.types.Block} returns this +*/ +proto.tendermint.types.Block.prototype.setData = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.tendermint.types.Block} returns this + */ +proto.tendermint.types.Block.prototype.clearData = function() { + return this.setData(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.tendermint.types.Block.prototype.hasData = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional EvidenceList evidence = 3; + * @return {?proto.tendermint.types.EvidenceList} + */ +proto.tendermint.types.Block.prototype.getEvidence = function() { + return /** @type{?proto.tendermint.types.EvidenceList} */ ( + jspb.Message.getWrapperField(this, tendermint_types_evidence_pb.EvidenceList, 3)); +}; + + +/** + * @param {?proto.tendermint.types.EvidenceList|undefined} value + * @return {!proto.tendermint.types.Block} returns this +*/ +proto.tendermint.types.Block.prototype.setEvidence = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.tendermint.types.Block} returns this + */ +proto.tendermint.types.Block.prototype.clearEvidence = function() { + return this.setEvidence(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.tendermint.types.Block.prototype.hasEvidence = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional Commit last_commit = 4; + * @return {?proto.tendermint.types.Commit} + */ +proto.tendermint.types.Block.prototype.getLastCommit = function() { + return /** @type{?proto.tendermint.types.Commit} */ ( + jspb.Message.getWrapperField(this, tendermint_types_types_pb.Commit, 4)); +}; + + +/** + * @param {?proto.tendermint.types.Commit|undefined} value + * @return {!proto.tendermint.types.Block} returns this +*/ +proto.tendermint.types.Block.prototype.setLastCommit = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.tendermint.types.Block} returns this + */ +proto.tendermint.types.Block.prototype.clearLastCommit = function() { + return this.setLastCommit(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.tendermint.types.Block.prototype.hasLastCommit = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +goog.object.extend(exports, proto.tendermint.types); diff --git a/src/chains/penumbra/generated/tendermint/types/evidence_grpc_pb.js b/src/chains/penumbra/generated/tendermint/types/evidence_grpc_pb.js new file mode 100644 index 0000000000..97b3a2461d --- /dev/null +++ b/src/chains/penumbra/generated/tendermint/types/evidence_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/src/chains/penumbra/generated/tendermint/types/evidence_pb.d.ts b/src/chains/penumbra/generated/tendermint/types/evidence_pb.d.ts new file mode 100644 index 0000000000..43697e2576 --- /dev/null +++ b/src/chains/penumbra/generated/tendermint/types/evidence_pb.d.ts @@ -0,0 +1,152 @@ +// package: tendermint.types +// file: tendermint/types/evidence.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as gogoproto_gogo_pb from "../../gogoproto/gogo_pb"; +import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb"; +import * as tendermint_types_types_pb from "../../tendermint/types/types_pb"; +import * as tendermint_types_validator_pb from "../../tendermint/types/validator_pb"; + +export class Evidence extends jspb.Message { + + hasDuplicateVoteEvidence(): boolean; + clearDuplicateVoteEvidence(): void; + getDuplicateVoteEvidence(): DuplicateVoteEvidence | undefined; + setDuplicateVoteEvidence(value?: DuplicateVoteEvidence): Evidence; + + hasLightClientAttackEvidence(): boolean; + clearLightClientAttackEvidence(): void; + getLightClientAttackEvidence(): LightClientAttackEvidence | undefined; + setLightClientAttackEvidence(value?: LightClientAttackEvidence): Evidence; + + getSumCase(): Evidence.SumCase; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Evidence.AsObject; + static toObject(includeInstance: boolean, msg: Evidence): Evidence.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Evidence, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Evidence; + static deserializeBinaryFromReader(message: Evidence, reader: jspb.BinaryReader): Evidence; +} + +export namespace Evidence { + export type AsObject = { + duplicateVoteEvidence?: DuplicateVoteEvidence.AsObject, + lightClientAttackEvidence?: LightClientAttackEvidence.AsObject, + } + + export enum SumCase { + SUM_NOT_SET = 0, + DUPLICATE_VOTE_EVIDENCE = 1, + LIGHT_CLIENT_ATTACK_EVIDENCE = 2, + } + +} + +export class DuplicateVoteEvidence extends jspb.Message { + + hasVoteA(): boolean; + clearVoteA(): void; + getVoteA(): tendermint_types_types_pb.Vote | undefined; + setVoteA(value?: tendermint_types_types_pb.Vote): DuplicateVoteEvidence; + + hasVoteB(): boolean; + clearVoteB(): void; + getVoteB(): tendermint_types_types_pb.Vote | undefined; + setVoteB(value?: tendermint_types_types_pb.Vote): DuplicateVoteEvidence; + getTotalVotingPower(): number; + setTotalVotingPower(value: number): DuplicateVoteEvidence; + getValidatorPower(): number; + setValidatorPower(value: number): DuplicateVoteEvidence; + + hasTimestamp(): boolean; + clearTimestamp(): void; + getTimestamp(): google_protobuf_timestamp_pb.Timestamp | undefined; + setTimestamp(value?: google_protobuf_timestamp_pb.Timestamp): DuplicateVoteEvidence; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): DuplicateVoteEvidence.AsObject; + static toObject(includeInstance: boolean, msg: DuplicateVoteEvidence): DuplicateVoteEvidence.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: DuplicateVoteEvidence, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): DuplicateVoteEvidence; + static deserializeBinaryFromReader(message: DuplicateVoteEvidence, reader: jspb.BinaryReader): DuplicateVoteEvidence; +} + +export namespace DuplicateVoteEvidence { + export type AsObject = { + voteA?: tendermint_types_types_pb.Vote.AsObject, + voteB?: tendermint_types_types_pb.Vote.AsObject, + totalVotingPower: number, + validatorPower: number, + timestamp?: google_protobuf_timestamp_pb.Timestamp.AsObject, + } +} + +export class LightClientAttackEvidence extends jspb.Message { + + hasConflictingBlock(): boolean; + clearConflictingBlock(): void; + getConflictingBlock(): tendermint_types_types_pb.LightBlock | undefined; + setConflictingBlock(value?: tendermint_types_types_pb.LightBlock): LightClientAttackEvidence; + getCommonHeight(): number; + setCommonHeight(value: number): LightClientAttackEvidence; + clearByzantineValidatorsList(): void; + getByzantineValidatorsList(): Array; + setByzantineValidatorsList(value: Array): LightClientAttackEvidence; + addByzantineValidators(value?: tendermint_types_validator_pb.Validator, index?: number): tendermint_types_validator_pb.Validator; + getTotalVotingPower(): number; + setTotalVotingPower(value: number): LightClientAttackEvidence; + + hasTimestamp(): boolean; + clearTimestamp(): void; + getTimestamp(): google_protobuf_timestamp_pb.Timestamp | undefined; + setTimestamp(value?: google_protobuf_timestamp_pb.Timestamp): LightClientAttackEvidence; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): LightClientAttackEvidence.AsObject; + static toObject(includeInstance: boolean, msg: LightClientAttackEvidence): LightClientAttackEvidence.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: LightClientAttackEvidence, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): LightClientAttackEvidence; + static deserializeBinaryFromReader(message: LightClientAttackEvidence, reader: jspb.BinaryReader): LightClientAttackEvidence; +} + +export namespace LightClientAttackEvidence { + export type AsObject = { + conflictingBlock?: tendermint_types_types_pb.LightBlock.AsObject, + commonHeight: number, + byzantineValidatorsList: Array, + totalVotingPower: number, + timestamp?: google_protobuf_timestamp_pb.Timestamp.AsObject, + } +} + +export class EvidenceList extends jspb.Message { + clearEvidenceList(): void; + getEvidenceList(): Array; + setEvidenceList(value: Array): EvidenceList; + addEvidence(value?: Evidence, index?: number): Evidence; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): EvidenceList.AsObject; + static toObject(includeInstance: boolean, msg: EvidenceList): EvidenceList.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: EvidenceList, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): EvidenceList; + static deserializeBinaryFromReader(message: EvidenceList, reader: jspb.BinaryReader): EvidenceList; +} + +export namespace EvidenceList { + export type AsObject = { + evidenceList: Array, + } +} diff --git a/src/chains/penumbra/generated/tendermint/types/evidence_pb.js b/src/chains/penumbra/generated/tendermint/types/evidence_pb.js new file mode 100644 index 0000000000..01fade60c7 --- /dev/null +++ b/src/chains/penumbra/generated/tendermint/types/evidence_pb.js @@ -0,0 +1,1144 @@ +// source: tendermint/types/evidence.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = (function() { + if (this) { return this; } + if (typeof window !== 'undefined') { return window; } + if (typeof global !== 'undefined') { return global; } + if (typeof self !== 'undefined') { return self; } + return Function('return this')(); +}.call(null)); + +var gogoproto_gogo_pb = require('../../gogoproto/gogo_pb.js'); +goog.object.extend(proto, gogoproto_gogo_pb); +var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js'); +goog.object.extend(proto, google_protobuf_timestamp_pb); +var tendermint_types_types_pb = require('../../tendermint/types/types_pb.js'); +goog.object.extend(proto, tendermint_types_types_pb); +var tendermint_types_validator_pb = require('../../tendermint/types/validator_pb.js'); +goog.object.extend(proto, tendermint_types_validator_pb); +goog.exportSymbol('proto.tendermint.types.DuplicateVoteEvidence', null, global); +goog.exportSymbol('proto.tendermint.types.Evidence', null, global); +goog.exportSymbol('proto.tendermint.types.Evidence.SumCase', null, global); +goog.exportSymbol('proto.tendermint.types.EvidenceList', null, global); +goog.exportSymbol('proto.tendermint.types.LightClientAttackEvidence', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.tendermint.types.Evidence = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.tendermint.types.Evidence.oneofGroups_); +}; +goog.inherits(proto.tendermint.types.Evidence, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.tendermint.types.Evidence.displayName = 'proto.tendermint.types.Evidence'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.tendermint.types.DuplicateVoteEvidence = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.tendermint.types.DuplicateVoteEvidence, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.tendermint.types.DuplicateVoteEvidence.displayName = 'proto.tendermint.types.DuplicateVoteEvidence'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.tendermint.types.LightClientAttackEvidence = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.tendermint.types.LightClientAttackEvidence.repeatedFields_, null); +}; +goog.inherits(proto.tendermint.types.LightClientAttackEvidence, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.tendermint.types.LightClientAttackEvidence.displayName = 'proto.tendermint.types.LightClientAttackEvidence'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.tendermint.types.EvidenceList = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.tendermint.types.EvidenceList.repeatedFields_, null); +}; +goog.inherits(proto.tendermint.types.EvidenceList, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.tendermint.types.EvidenceList.displayName = 'proto.tendermint.types.EvidenceList'; +} + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.tendermint.types.Evidence.oneofGroups_ = [[1,2]]; + +/** + * @enum {number} + */ +proto.tendermint.types.Evidence.SumCase = { + SUM_NOT_SET: 0, + DUPLICATE_VOTE_EVIDENCE: 1, + LIGHT_CLIENT_ATTACK_EVIDENCE: 2 +}; + +/** + * @return {proto.tendermint.types.Evidence.SumCase} + */ +proto.tendermint.types.Evidence.prototype.getSumCase = function() { + return /** @type {proto.tendermint.types.Evidence.SumCase} */(jspb.Message.computeOneofCase(this, proto.tendermint.types.Evidence.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.tendermint.types.Evidence.prototype.toObject = function(opt_includeInstance) { + return proto.tendermint.types.Evidence.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.tendermint.types.Evidence} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.types.Evidence.toObject = function(includeInstance, msg) { + var f, obj = { + duplicateVoteEvidence: (f = msg.getDuplicateVoteEvidence()) && proto.tendermint.types.DuplicateVoteEvidence.toObject(includeInstance, f), + lightClientAttackEvidence: (f = msg.getLightClientAttackEvidence()) && proto.tendermint.types.LightClientAttackEvidence.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.tendermint.types.Evidence} + */ +proto.tendermint.types.Evidence.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.tendermint.types.Evidence; + return proto.tendermint.types.Evidence.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.tendermint.types.Evidence} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.tendermint.types.Evidence} + */ +proto.tendermint.types.Evidence.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.tendermint.types.DuplicateVoteEvidence; + reader.readMessage(value,proto.tendermint.types.DuplicateVoteEvidence.deserializeBinaryFromReader); + msg.setDuplicateVoteEvidence(value); + break; + case 2: + var value = new proto.tendermint.types.LightClientAttackEvidence; + reader.readMessage(value,proto.tendermint.types.LightClientAttackEvidence.deserializeBinaryFromReader); + msg.setLightClientAttackEvidence(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.tendermint.types.Evidence.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.tendermint.types.Evidence.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.tendermint.types.Evidence} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.types.Evidence.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDuplicateVoteEvidence(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.tendermint.types.DuplicateVoteEvidence.serializeBinaryToWriter + ); + } + f = message.getLightClientAttackEvidence(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.tendermint.types.LightClientAttackEvidence.serializeBinaryToWriter + ); + } +}; + + +/** + * optional DuplicateVoteEvidence duplicate_vote_evidence = 1; + * @return {?proto.tendermint.types.DuplicateVoteEvidence} + */ +proto.tendermint.types.Evidence.prototype.getDuplicateVoteEvidence = function() { + return /** @type{?proto.tendermint.types.DuplicateVoteEvidence} */ ( + jspb.Message.getWrapperField(this, proto.tendermint.types.DuplicateVoteEvidence, 1)); +}; + + +/** + * @param {?proto.tendermint.types.DuplicateVoteEvidence|undefined} value + * @return {!proto.tendermint.types.Evidence} returns this +*/ +proto.tendermint.types.Evidence.prototype.setDuplicateVoteEvidence = function(value) { + return jspb.Message.setOneofWrapperField(this, 1, proto.tendermint.types.Evidence.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.tendermint.types.Evidence} returns this + */ +proto.tendermint.types.Evidence.prototype.clearDuplicateVoteEvidence = function() { + return this.setDuplicateVoteEvidence(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.tendermint.types.Evidence.prototype.hasDuplicateVoteEvidence = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional LightClientAttackEvidence light_client_attack_evidence = 2; + * @return {?proto.tendermint.types.LightClientAttackEvidence} + */ +proto.tendermint.types.Evidence.prototype.getLightClientAttackEvidence = function() { + return /** @type{?proto.tendermint.types.LightClientAttackEvidence} */ ( + jspb.Message.getWrapperField(this, proto.tendermint.types.LightClientAttackEvidence, 2)); +}; + + +/** + * @param {?proto.tendermint.types.LightClientAttackEvidence|undefined} value + * @return {!proto.tendermint.types.Evidence} returns this +*/ +proto.tendermint.types.Evidence.prototype.setLightClientAttackEvidence = function(value) { + return jspb.Message.setOneofWrapperField(this, 2, proto.tendermint.types.Evidence.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.tendermint.types.Evidence} returns this + */ +proto.tendermint.types.Evidence.prototype.clearLightClientAttackEvidence = function() { + return this.setLightClientAttackEvidence(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.tendermint.types.Evidence.prototype.hasLightClientAttackEvidence = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.tendermint.types.DuplicateVoteEvidence.prototype.toObject = function(opt_includeInstance) { + return proto.tendermint.types.DuplicateVoteEvidence.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.tendermint.types.DuplicateVoteEvidence} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.types.DuplicateVoteEvidence.toObject = function(includeInstance, msg) { + var f, obj = { + voteA: (f = msg.getVoteA()) && tendermint_types_types_pb.Vote.toObject(includeInstance, f), + voteB: (f = msg.getVoteB()) && tendermint_types_types_pb.Vote.toObject(includeInstance, f), + totalVotingPower: jspb.Message.getFieldWithDefault(msg, 3, 0), + validatorPower: jspb.Message.getFieldWithDefault(msg, 4, 0), + timestamp: (f = msg.getTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.tendermint.types.DuplicateVoteEvidence} + */ +proto.tendermint.types.DuplicateVoteEvidence.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.tendermint.types.DuplicateVoteEvidence; + return proto.tendermint.types.DuplicateVoteEvidence.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.tendermint.types.DuplicateVoteEvidence} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.tendermint.types.DuplicateVoteEvidence} + */ +proto.tendermint.types.DuplicateVoteEvidence.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new tendermint_types_types_pb.Vote; + reader.readMessage(value,tendermint_types_types_pb.Vote.deserializeBinaryFromReader); + msg.setVoteA(value); + break; + case 2: + var value = new tendermint_types_types_pb.Vote; + reader.readMessage(value,tendermint_types_types_pb.Vote.deserializeBinaryFromReader); + msg.setVoteB(value); + break; + case 3: + var value = /** @type {number} */ (reader.readInt64()); + msg.setTotalVotingPower(value); + break; + case 4: + var value = /** @type {number} */ (reader.readInt64()); + msg.setValidatorPower(value); + break; + case 5: + var value = new google_protobuf_timestamp_pb.Timestamp; + reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); + msg.setTimestamp(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.tendermint.types.DuplicateVoteEvidence.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.tendermint.types.DuplicateVoteEvidence.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.tendermint.types.DuplicateVoteEvidence} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.types.DuplicateVoteEvidence.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getVoteA(); + if (f != null) { + writer.writeMessage( + 1, + f, + tendermint_types_types_pb.Vote.serializeBinaryToWriter + ); + } + f = message.getVoteB(); + if (f != null) { + writer.writeMessage( + 2, + f, + tendermint_types_types_pb.Vote.serializeBinaryToWriter + ); + } + f = message.getTotalVotingPower(); + if (f !== 0) { + writer.writeInt64( + 3, + f + ); + } + f = message.getValidatorPower(); + if (f !== 0) { + writer.writeInt64( + 4, + f + ); + } + f = message.getTimestamp(); + if (f != null) { + writer.writeMessage( + 5, + f, + google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter + ); + } +}; + + +/** + * optional Vote vote_a = 1; + * @return {?proto.tendermint.types.Vote} + */ +proto.tendermint.types.DuplicateVoteEvidence.prototype.getVoteA = function() { + return /** @type{?proto.tendermint.types.Vote} */ ( + jspb.Message.getWrapperField(this, tendermint_types_types_pb.Vote, 1)); +}; + + +/** + * @param {?proto.tendermint.types.Vote|undefined} value + * @return {!proto.tendermint.types.DuplicateVoteEvidence} returns this +*/ +proto.tendermint.types.DuplicateVoteEvidence.prototype.setVoteA = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.tendermint.types.DuplicateVoteEvidence} returns this + */ +proto.tendermint.types.DuplicateVoteEvidence.prototype.clearVoteA = function() { + return this.setVoteA(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.tendermint.types.DuplicateVoteEvidence.prototype.hasVoteA = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional Vote vote_b = 2; + * @return {?proto.tendermint.types.Vote} + */ +proto.tendermint.types.DuplicateVoteEvidence.prototype.getVoteB = function() { + return /** @type{?proto.tendermint.types.Vote} */ ( + jspb.Message.getWrapperField(this, tendermint_types_types_pb.Vote, 2)); +}; + + +/** + * @param {?proto.tendermint.types.Vote|undefined} value + * @return {!proto.tendermint.types.DuplicateVoteEvidence} returns this +*/ +proto.tendermint.types.DuplicateVoteEvidence.prototype.setVoteB = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.tendermint.types.DuplicateVoteEvidence} returns this + */ +proto.tendermint.types.DuplicateVoteEvidence.prototype.clearVoteB = function() { + return this.setVoteB(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.tendermint.types.DuplicateVoteEvidence.prototype.hasVoteB = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional int64 total_voting_power = 3; + * @return {number} + */ +proto.tendermint.types.DuplicateVoteEvidence.prototype.getTotalVotingPower = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.tendermint.types.DuplicateVoteEvidence} returns this + */ +proto.tendermint.types.DuplicateVoteEvidence.prototype.setTotalVotingPower = function(value) { + return jspb.Message.setProto3IntField(this, 3, value); +}; + + +/** + * optional int64 validator_power = 4; + * @return {number} + */ +proto.tendermint.types.DuplicateVoteEvidence.prototype.getValidatorPower = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.tendermint.types.DuplicateVoteEvidence} returns this + */ +proto.tendermint.types.DuplicateVoteEvidence.prototype.setValidatorPower = function(value) { + return jspb.Message.setProto3IntField(this, 4, value); +}; + + +/** + * optional google.protobuf.Timestamp timestamp = 5; + * @return {?proto.google.protobuf.Timestamp} + */ +proto.tendermint.types.DuplicateVoteEvidence.prototype.getTimestamp = function() { + return /** @type{?proto.google.protobuf.Timestamp} */ ( + jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 5)); +}; + + +/** + * @param {?proto.google.protobuf.Timestamp|undefined} value + * @return {!proto.tendermint.types.DuplicateVoteEvidence} returns this +*/ +proto.tendermint.types.DuplicateVoteEvidence.prototype.setTimestamp = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.tendermint.types.DuplicateVoteEvidence} returns this + */ +proto.tendermint.types.DuplicateVoteEvidence.prototype.clearTimestamp = function() { + return this.setTimestamp(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.tendermint.types.DuplicateVoteEvidence.prototype.hasTimestamp = function() { + return jspb.Message.getField(this, 5) != null; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.tendermint.types.LightClientAttackEvidence.repeatedFields_ = [3]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.tendermint.types.LightClientAttackEvidence.prototype.toObject = function(opt_includeInstance) { + return proto.tendermint.types.LightClientAttackEvidence.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.tendermint.types.LightClientAttackEvidence} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.types.LightClientAttackEvidence.toObject = function(includeInstance, msg) { + var f, obj = { + conflictingBlock: (f = msg.getConflictingBlock()) && tendermint_types_types_pb.LightBlock.toObject(includeInstance, f), + commonHeight: jspb.Message.getFieldWithDefault(msg, 2, 0), + byzantineValidatorsList: jspb.Message.toObjectList(msg.getByzantineValidatorsList(), + tendermint_types_validator_pb.Validator.toObject, includeInstance), + totalVotingPower: jspb.Message.getFieldWithDefault(msg, 4, 0), + timestamp: (f = msg.getTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.tendermint.types.LightClientAttackEvidence} + */ +proto.tendermint.types.LightClientAttackEvidence.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.tendermint.types.LightClientAttackEvidence; + return proto.tendermint.types.LightClientAttackEvidence.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.tendermint.types.LightClientAttackEvidence} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.tendermint.types.LightClientAttackEvidence} + */ +proto.tendermint.types.LightClientAttackEvidence.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new tendermint_types_types_pb.LightBlock; + reader.readMessage(value,tendermint_types_types_pb.LightBlock.deserializeBinaryFromReader); + msg.setConflictingBlock(value); + break; + case 2: + var value = /** @type {number} */ (reader.readInt64()); + msg.setCommonHeight(value); + break; + case 3: + var value = new tendermint_types_validator_pb.Validator; + reader.readMessage(value,tendermint_types_validator_pb.Validator.deserializeBinaryFromReader); + msg.addByzantineValidators(value); + break; + case 4: + var value = /** @type {number} */ (reader.readInt64()); + msg.setTotalVotingPower(value); + break; + case 5: + var value = new google_protobuf_timestamp_pb.Timestamp; + reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); + msg.setTimestamp(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.tendermint.types.LightClientAttackEvidence.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.tendermint.types.LightClientAttackEvidence.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.tendermint.types.LightClientAttackEvidence} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.types.LightClientAttackEvidence.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getConflictingBlock(); + if (f != null) { + writer.writeMessage( + 1, + f, + tendermint_types_types_pb.LightBlock.serializeBinaryToWriter + ); + } + f = message.getCommonHeight(); + if (f !== 0) { + writer.writeInt64( + 2, + f + ); + } + f = message.getByzantineValidatorsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 3, + f, + tendermint_types_validator_pb.Validator.serializeBinaryToWriter + ); + } + f = message.getTotalVotingPower(); + if (f !== 0) { + writer.writeInt64( + 4, + f + ); + } + f = message.getTimestamp(); + if (f != null) { + writer.writeMessage( + 5, + f, + google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter + ); + } +}; + + +/** + * optional LightBlock conflicting_block = 1; + * @return {?proto.tendermint.types.LightBlock} + */ +proto.tendermint.types.LightClientAttackEvidence.prototype.getConflictingBlock = function() { + return /** @type{?proto.tendermint.types.LightBlock} */ ( + jspb.Message.getWrapperField(this, tendermint_types_types_pb.LightBlock, 1)); +}; + + +/** + * @param {?proto.tendermint.types.LightBlock|undefined} value + * @return {!proto.tendermint.types.LightClientAttackEvidence} returns this +*/ +proto.tendermint.types.LightClientAttackEvidence.prototype.setConflictingBlock = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.tendermint.types.LightClientAttackEvidence} returns this + */ +proto.tendermint.types.LightClientAttackEvidence.prototype.clearConflictingBlock = function() { + return this.setConflictingBlock(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.tendermint.types.LightClientAttackEvidence.prototype.hasConflictingBlock = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional int64 common_height = 2; + * @return {number} + */ +proto.tendermint.types.LightClientAttackEvidence.prototype.getCommonHeight = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.tendermint.types.LightClientAttackEvidence} returns this + */ +proto.tendermint.types.LightClientAttackEvidence.prototype.setCommonHeight = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + +/** + * repeated Validator byzantine_validators = 3; + * @return {!Array} + */ +proto.tendermint.types.LightClientAttackEvidence.prototype.getByzantineValidatorsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, tendermint_types_validator_pb.Validator, 3)); +}; + + +/** + * @param {!Array} value + * @return {!proto.tendermint.types.LightClientAttackEvidence} returns this +*/ +proto.tendermint.types.LightClientAttackEvidence.prototype.setByzantineValidatorsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 3, value); +}; + + +/** + * @param {!proto.tendermint.types.Validator=} opt_value + * @param {number=} opt_index + * @return {!proto.tendermint.types.Validator} + */ +proto.tendermint.types.LightClientAttackEvidence.prototype.addByzantineValidators = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.tendermint.types.Validator, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.tendermint.types.LightClientAttackEvidence} returns this + */ +proto.tendermint.types.LightClientAttackEvidence.prototype.clearByzantineValidatorsList = function() { + return this.setByzantineValidatorsList([]); +}; + + +/** + * optional int64 total_voting_power = 4; + * @return {number} + */ +proto.tendermint.types.LightClientAttackEvidence.prototype.getTotalVotingPower = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.tendermint.types.LightClientAttackEvidence} returns this + */ +proto.tendermint.types.LightClientAttackEvidence.prototype.setTotalVotingPower = function(value) { + return jspb.Message.setProto3IntField(this, 4, value); +}; + + +/** + * optional google.protobuf.Timestamp timestamp = 5; + * @return {?proto.google.protobuf.Timestamp} + */ +proto.tendermint.types.LightClientAttackEvidence.prototype.getTimestamp = function() { + return /** @type{?proto.google.protobuf.Timestamp} */ ( + jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 5)); +}; + + +/** + * @param {?proto.google.protobuf.Timestamp|undefined} value + * @return {!proto.tendermint.types.LightClientAttackEvidence} returns this +*/ +proto.tendermint.types.LightClientAttackEvidence.prototype.setTimestamp = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.tendermint.types.LightClientAttackEvidence} returns this + */ +proto.tendermint.types.LightClientAttackEvidence.prototype.clearTimestamp = function() { + return this.setTimestamp(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.tendermint.types.LightClientAttackEvidence.prototype.hasTimestamp = function() { + return jspb.Message.getField(this, 5) != null; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.tendermint.types.EvidenceList.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.tendermint.types.EvidenceList.prototype.toObject = function(opt_includeInstance) { + return proto.tendermint.types.EvidenceList.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.tendermint.types.EvidenceList} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.types.EvidenceList.toObject = function(includeInstance, msg) { + var f, obj = { + evidenceList: jspb.Message.toObjectList(msg.getEvidenceList(), + proto.tendermint.types.Evidence.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.tendermint.types.EvidenceList} + */ +proto.tendermint.types.EvidenceList.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.tendermint.types.EvidenceList; + return proto.tendermint.types.EvidenceList.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.tendermint.types.EvidenceList} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.tendermint.types.EvidenceList} + */ +proto.tendermint.types.EvidenceList.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.tendermint.types.Evidence; + reader.readMessage(value,proto.tendermint.types.Evidence.deserializeBinaryFromReader); + msg.addEvidence(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.tendermint.types.EvidenceList.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.tendermint.types.EvidenceList.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.tendermint.types.EvidenceList} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.types.EvidenceList.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getEvidenceList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + proto.tendermint.types.Evidence.serializeBinaryToWriter + ); + } +}; + + +/** + * repeated Evidence evidence = 1; + * @return {!Array} + */ +proto.tendermint.types.EvidenceList.prototype.getEvidenceList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.tendermint.types.Evidence, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.tendermint.types.EvidenceList} returns this +*/ +proto.tendermint.types.EvidenceList.prototype.setEvidenceList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.tendermint.types.Evidence=} opt_value + * @param {number=} opt_index + * @return {!proto.tendermint.types.Evidence} + */ +proto.tendermint.types.EvidenceList.prototype.addEvidence = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.tendermint.types.Evidence, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.tendermint.types.EvidenceList} returns this + */ +proto.tendermint.types.EvidenceList.prototype.clearEvidenceList = function() { + return this.setEvidenceList([]); +}; + + +goog.object.extend(exports, proto.tendermint.types); diff --git a/src/chains/penumbra/generated/tendermint/types/types_grpc_pb.js b/src/chains/penumbra/generated/tendermint/types/types_grpc_pb.js new file mode 100644 index 0000000000..97b3a2461d --- /dev/null +++ b/src/chains/penumbra/generated/tendermint/types/types_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/src/chains/penumbra/generated/tendermint/types/types_pb.d.ts b/src/chains/penumbra/generated/tendermint/types/types_pb.d.ts new file mode 100644 index 0000000000..de85b9033e --- /dev/null +++ b/src/chains/penumbra/generated/tendermint/types/types_pb.d.ts @@ -0,0 +1,513 @@ +// package: tendermint.types +// file: tendermint/types/types.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as gogoproto_gogo_pb from "../../gogoproto/gogo_pb"; +import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb"; +import * as tendermint_crypto_proof_pb from "../../tendermint/crypto/proof_pb"; +import * as tendermint_version_types_pb from "../../tendermint/version/types_pb"; +import * as tendermint_types_validator_pb from "../../tendermint/types/validator_pb"; + +export class PartSetHeader extends jspb.Message { + getTotal(): number; + setTotal(value: number): PartSetHeader; + getHash(): Uint8Array | string; + getHash_asU8(): Uint8Array; + getHash_asB64(): string; + setHash(value: Uint8Array | string): PartSetHeader; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): PartSetHeader.AsObject; + static toObject(includeInstance: boolean, msg: PartSetHeader): PartSetHeader.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: PartSetHeader, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): PartSetHeader; + static deserializeBinaryFromReader(message: PartSetHeader, reader: jspb.BinaryReader): PartSetHeader; +} + +export namespace PartSetHeader { + export type AsObject = { + total: number, + hash: Uint8Array | string, + } +} + +export class Part extends jspb.Message { + getIndex(): number; + setIndex(value: number): Part; + getBytes(): Uint8Array | string; + getBytes_asU8(): Uint8Array; + getBytes_asB64(): string; + setBytes(value: Uint8Array | string): Part; + + hasProof(): boolean; + clearProof(): void; + getProof(): tendermint_crypto_proof_pb.Proof | undefined; + setProof(value?: tendermint_crypto_proof_pb.Proof): Part; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Part.AsObject; + static toObject(includeInstance: boolean, msg: Part): Part.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Part, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Part; + static deserializeBinaryFromReader(message: Part, reader: jspb.BinaryReader): Part; +} + +export namespace Part { + export type AsObject = { + index: number, + bytes: Uint8Array | string, + proof?: tendermint_crypto_proof_pb.Proof.AsObject, + } +} + +export class BlockID extends jspb.Message { + getHash(): Uint8Array | string; + getHash_asU8(): Uint8Array; + getHash_asB64(): string; + setHash(value: Uint8Array | string): BlockID; + + hasPartSetHeader(): boolean; + clearPartSetHeader(): void; + getPartSetHeader(): PartSetHeader | undefined; + setPartSetHeader(value?: PartSetHeader): BlockID; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): BlockID.AsObject; + static toObject(includeInstance: boolean, msg: BlockID): BlockID.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: BlockID, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): BlockID; + static deserializeBinaryFromReader(message: BlockID, reader: jspb.BinaryReader): BlockID; +} + +export namespace BlockID { + export type AsObject = { + hash: Uint8Array | string, + partSetHeader?: PartSetHeader.AsObject, + } +} + +export class Header extends jspb.Message { + + hasVersion(): boolean; + clearVersion(): void; + getVersion(): tendermint_version_types_pb.Consensus | undefined; + setVersion(value?: tendermint_version_types_pb.Consensus): Header; + getChainId(): string; + setChainId(value: string): Header; + getHeight(): number; + setHeight(value: number): Header; + + hasTime(): boolean; + clearTime(): void; + getTime(): google_protobuf_timestamp_pb.Timestamp | undefined; + setTime(value?: google_protobuf_timestamp_pb.Timestamp): Header; + + hasLastBlockId(): boolean; + clearLastBlockId(): void; + getLastBlockId(): BlockID | undefined; + setLastBlockId(value?: BlockID): Header; + getLastCommitHash(): Uint8Array | string; + getLastCommitHash_asU8(): Uint8Array; + getLastCommitHash_asB64(): string; + setLastCommitHash(value: Uint8Array | string): Header; + getDataHash(): Uint8Array | string; + getDataHash_asU8(): Uint8Array; + getDataHash_asB64(): string; + setDataHash(value: Uint8Array | string): Header; + getValidatorsHash(): Uint8Array | string; + getValidatorsHash_asU8(): Uint8Array; + getValidatorsHash_asB64(): string; + setValidatorsHash(value: Uint8Array | string): Header; + getNextValidatorsHash(): Uint8Array | string; + getNextValidatorsHash_asU8(): Uint8Array; + getNextValidatorsHash_asB64(): string; + setNextValidatorsHash(value: Uint8Array | string): Header; + getConsensusHash(): Uint8Array | string; + getConsensusHash_asU8(): Uint8Array; + getConsensusHash_asB64(): string; + setConsensusHash(value: Uint8Array | string): Header; + getAppHash(): Uint8Array | string; + getAppHash_asU8(): Uint8Array; + getAppHash_asB64(): string; + setAppHash(value: Uint8Array | string): Header; + getLastResultsHash(): Uint8Array | string; + getLastResultsHash_asU8(): Uint8Array; + getLastResultsHash_asB64(): string; + setLastResultsHash(value: Uint8Array | string): Header; + getEvidenceHash(): Uint8Array | string; + getEvidenceHash_asU8(): Uint8Array; + getEvidenceHash_asB64(): string; + setEvidenceHash(value: Uint8Array | string): Header; + getProposerAddress(): Uint8Array | string; + getProposerAddress_asU8(): Uint8Array; + getProposerAddress_asB64(): string; + setProposerAddress(value: Uint8Array | string): Header; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Header.AsObject; + static toObject(includeInstance: boolean, msg: Header): Header.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Header, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Header; + static deserializeBinaryFromReader(message: Header, reader: jspb.BinaryReader): Header; +} + +export namespace Header { + export type AsObject = { + version?: tendermint_version_types_pb.Consensus.AsObject, + chainId: string, + height: number, + time?: google_protobuf_timestamp_pb.Timestamp.AsObject, + lastBlockId?: BlockID.AsObject, + lastCommitHash: Uint8Array | string, + dataHash: Uint8Array | string, + validatorsHash: Uint8Array | string, + nextValidatorsHash: Uint8Array | string, + consensusHash: Uint8Array | string, + appHash: Uint8Array | string, + lastResultsHash: Uint8Array | string, + evidenceHash: Uint8Array | string, + proposerAddress: Uint8Array | string, + } +} + +export class Data extends jspb.Message { + clearTxsList(): void; + getTxsList(): Array; + getTxsList_asU8(): Array; + getTxsList_asB64(): Array; + setTxsList(value: Array): Data; + addTxs(value: Uint8Array | string, index?: number): Uint8Array | string; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Data.AsObject; + static toObject(includeInstance: boolean, msg: Data): Data.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Data, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Data; + static deserializeBinaryFromReader(message: Data, reader: jspb.BinaryReader): Data; +} + +export namespace Data { + export type AsObject = { + txsList: Array, + } +} + +export class Vote extends jspb.Message { + getType(): SignedMsgType; + setType(value: SignedMsgType): Vote; + getHeight(): number; + setHeight(value: number): Vote; + getRound(): number; + setRound(value: number): Vote; + + hasBlockId(): boolean; + clearBlockId(): void; + getBlockId(): BlockID | undefined; + setBlockId(value?: BlockID): Vote; + + hasTimestamp(): boolean; + clearTimestamp(): void; + getTimestamp(): google_protobuf_timestamp_pb.Timestamp | undefined; + setTimestamp(value?: google_protobuf_timestamp_pb.Timestamp): Vote; + getValidatorAddress(): Uint8Array | string; + getValidatorAddress_asU8(): Uint8Array; + getValidatorAddress_asB64(): string; + setValidatorAddress(value: Uint8Array | string): Vote; + getValidatorIndex(): number; + setValidatorIndex(value: number): Vote; + getSignature(): Uint8Array | string; + getSignature_asU8(): Uint8Array; + getSignature_asB64(): string; + setSignature(value: Uint8Array | string): Vote; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Vote.AsObject; + static toObject(includeInstance: boolean, msg: Vote): Vote.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Vote, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Vote; + static deserializeBinaryFromReader(message: Vote, reader: jspb.BinaryReader): Vote; +} + +export namespace Vote { + export type AsObject = { + type: SignedMsgType, + height: number, + round: number, + blockId?: BlockID.AsObject, + timestamp?: google_protobuf_timestamp_pb.Timestamp.AsObject, + validatorAddress: Uint8Array | string, + validatorIndex: number, + signature: Uint8Array | string, + } +} + +export class Commit extends jspb.Message { + getHeight(): number; + setHeight(value: number): Commit; + getRound(): number; + setRound(value: number): Commit; + + hasBlockId(): boolean; + clearBlockId(): void; + getBlockId(): BlockID | undefined; + setBlockId(value?: BlockID): Commit; + clearSignaturesList(): void; + getSignaturesList(): Array; + setSignaturesList(value: Array): Commit; + addSignatures(value?: CommitSig, index?: number): CommitSig; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Commit.AsObject; + static toObject(includeInstance: boolean, msg: Commit): Commit.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Commit, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Commit; + static deserializeBinaryFromReader(message: Commit, reader: jspb.BinaryReader): Commit; +} + +export namespace Commit { + export type AsObject = { + height: number, + round: number, + blockId?: BlockID.AsObject, + signaturesList: Array, + } +} + +export class CommitSig extends jspb.Message { + getBlockIdFlag(): BlockIDFlag; + setBlockIdFlag(value: BlockIDFlag): CommitSig; + getValidatorAddress(): Uint8Array | string; + getValidatorAddress_asU8(): Uint8Array; + getValidatorAddress_asB64(): string; + setValidatorAddress(value: Uint8Array | string): CommitSig; + + hasTimestamp(): boolean; + clearTimestamp(): void; + getTimestamp(): google_protobuf_timestamp_pb.Timestamp | undefined; + setTimestamp(value?: google_protobuf_timestamp_pb.Timestamp): CommitSig; + getSignature(): Uint8Array | string; + getSignature_asU8(): Uint8Array; + getSignature_asB64(): string; + setSignature(value: Uint8Array | string): CommitSig; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): CommitSig.AsObject; + static toObject(includeInstance: boolean, msg: CommitSig): CommitSig.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: CommitSig, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): CommitSig; + static deserializeBinaryFromReader(message: CommitSig, reader: jspb.BinaryReader): CommitSig; +} + +export namespace CommitSig { + export type AsObject = { + blockIdFlag: BlockIDFlag, + validatorAddress: Uint8Array | string, + timestamp?: google_protobuf_timestamp_pb.Timestamp.AsObject, + signature: Uint8Array | string, + } +} + +export class Proposal extends jspb.Message { + getType(): SignedMsgType; + setType(value: SignedMsgType): Proposal; + getHeight(): number; + setHeight(value: number): Proposal; + getRound(): number; + setRound(value: number): Proposal; + getPolRound(): number; + setPolRound(value: number): Proposal; + + hasBlockId(): boolean; + clearBlockId(): void; + getBlockId(): BlockID | undefined; + setBlockId(value?: BlockID): Proposal; + + hasTimestamp(): boolean; + clearTimestamp(): void; + getTimestamp(): google_protobuf_timestamp_pb.Timestamp | undefined; + setTimestamp(value?: google_protobuf_timestamp_pb.Timestamp): Proposal; + getSignature(): Uint8Array | string; + getSignature_asU8(): Uint8Array; + getSignature_asB64(): string; + setSignature(value: Uint8Array | string): Proposal; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Proposal.AsObject; + static toObject(includeInstance: boolean, msg: Proposal): Proposal.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Proposal, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Proposal; + static deserializeBinaryFromReader(message: Proposal, reader: jspb.BinaryReader): Proposal; +} + +export namespace Proposal { + export type AsObject = { + type: SignedMsgType, + height: number, + round: number, + polRound: number, + blockId?: BlockID.AsObject, + timestamp?: google_protobuf_timestamp_pb.Timestamp.AsObject, + signature: Uint8Array | string, + } +} + +export class SignedHeader extends jspb.Message { + + hasHeader(): boolean; + clearHeader(): void; + getHeader(): Header | undefined; + setHeader(value?: Header): SignedHeader; + + hasCommit(): boolean; + clearCommit(): void; + getCommit(): Commit | undefined; + setCommit(value?: Commit): SignedHeader; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SignedHeader.AsObject; + static toObject(includeInstance: boolean, msg: SignedHeader): SignedHeader.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SignedHeader, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SignedHeader; + static deserializeBinaryFromReader(message: SignedHeader, reader: jspb.BinaryReader): SignedHeader; +} + +export namespace SignedHeader { + export type AsObject = { + header?: Header.AsObject, + commit?: Commit.AsObject, + } +} + +export class LightBlock extends jspb.Message { + + hasSignedHeader(): boolean; + clearSignedHeader(): void; + getSignedHeader(): SignedHeader | undefined; + setSignedHeader(value?: SignedHeader): LightBlock; + + hasValidatorSet(): boolean; + clearValidatorSet(): void; + getValidatorSet(): tendermint_types_validator_pb.ValidatorSet | undefined; + setValidatorSet(value?: tendermint_types_validator_pb.ValidatorSet): LightBlock; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): LightBlock.AsObject; + static toObject(includeInstance: boolean, msg: LightBlock): LightBlock.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: LightBlock, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): LightBlock; + static deserializeBinaryFromReader(message: LightBlock, reader: jspb.BinaryReader): LightBlock; +} + +export namespace LightBlock { + export type AsObject = { + signedHeader?: SignedHeader.AsObject, + validatorSet?: tendermint_types_validator_pb.ValidatorSet.AsObject, + } +} + +export class BlockMeta extends jspb.Message { + + hasBlockId(): boolean; + clearBlockId(): void; + getBlockId(): BlockID | undefined; + setBlockId(value?: BlockID): BlockMeta; + getBlockSize(): number; + setBlockSize(value: number): BlockMeta; + + hasHeader(): boolean; + clearHeader(): void; + getHeader(): Header | undefined; + setHeader(value?: Header): BlockMeta; + getNumTxs(): number; + setNumTxs(value: number): BlockMeta; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): BlockMeta.AsObject; + static toObject(includeInstance: boolean, msg: BlockMeta): BlockMeta.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: BlockMeta, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): BlockMeta; + static deserializeBinaryFromReader(message: BlockMeta, reader: jspb.BinaryReader): BlockMeta; +} + +export namespace BlockMeta { + export type AsObject = { + blockId?: BlockID.AsObject, + blockSize: number, + header?: Header.AsObject, + numTxs: number, + } +} + +export class TxProof extends jspb.Message { + getRootHash(): Uint8Array | string; + getRootHash_asU8(): Uint8Array; + getRootHash_asB64(): string; + setRootHash(value: Uint8Array | string): TxProof; + getData(): Uint8Array | string; + getData_asU8(): Uint8Array; + getData_asB64(): string; + setData(value: Uint8Array | string): TxProof; + + hasProof(): boolean; + clearProof(): void; + getProof(): tendermint_crypto_proof_pb.Proof | undefined; + setProof(value?: tendermint_crypto_proof_pb.Proof): TxProof; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): TxProof.AsObject; + static toObject(includeInstance: boolean, msg: TxProof): TxProof.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: TxProof, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): TxProof; + static deserializeBinaryFromReader(message: TxProof, reader: jspb.BinaryReader): TxProof; +} + +export namespace TxProof { + export type AsObject = { + rootHash: Uint8Array | string, + data: Uint8Array | string, + proof?: tendermint_crypto_proof_pb.Proof.AsObject, + } +} + +export enum BlockIDFlag { + BLOCK_ID_FLAG_UNKNOWN = 0, + BLOCK_ID_FLAG_ABSENT = 1, + BLOCK_ID_FLAG_COMMIT = 2, + BLOCK_ID_FLAG_NIL = 3, +} + +export enum SignedMsgType { + SIGNED_MSG_TYPE_UNKNOWN = 0, + SIGNED_MSG_TYPE_PREVOTE = 1, + SIGNED_MSG_TYPE_PRECOMMIT = 2, + SIGNED_MSG_TYPE_PROPOSAL = 32, +} diff --git a/src/chains/penumbra/generated/tendermint/types/types_pb.js b/src/chains/penumbra/generated/tendermint/types/types_pb.js new file mode 100644 index 0000000000..c9d3f6e02b --- /dev/null +++ b/src/chains/penumbra/generated/tendermint/types/types_pb.js @@ -0,0 +1,4236 @@ +// source: tendermint/types/types.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = (function() { + if (this) { return this; } + if (typeof window !== 'undefined') { return window; } + if (typeof global !== 'undefined') { return global; } + if (typeof self !== 'undefined') { return self; } + return Function('return this')(); +}.call(null)); + +var gogoproto_gogo_pb = require('../../gogoproto/gogo_pb.js'); +goog.object.extend(proto, gogoproto_gogo_pb); +var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js'); +goog.object.extend(proto, google_protobuf_timestamp_pb); +var tendermint_crypto_proof_pb = require('../../tendermint/crypto/proof_pb.js'); +goog.object.extend(proto, tendermint_crypto_proof_pb); +var tendermint_version_types_pb = require('../../tendermint/version/types_pb.js'); +goog.object.extend(proto, tendermint_version_types_pb); +var tendermint_types_validator_pb = require('../../tendermint/types/validator_pb.js'); +goog.object.extend(proto, tendermint_types_validator_pb); +goog.exportSymbol('proto.tendermint.types.BlockID', null, global); +goog.exportSymbol('proto.tendermint.types.BlockIDFlag', null, global); +goog.exportSymbol('proto.tendermint.types.BlockMeta', null, global); +goog.exportSymbol('proto.tendermint.types.Commit', null, global); +goog.exportSymbol('proto.tendermint.types.CommitSig', null, global); +goog.exportSymbol('proto.tendermint.types.Data', null, global); +goog.exportSymbol('proto.tendermint.types.Header', null, global); +goog.exportSymbol('proto.tendermint.types.LightBlock', null, global); +goog.exportSymbol('proto.tendermint.types.Part', null, global); +goog.exportSymbol('proto.tendermint.types.PartSetHeader', null, global); +goog.exportSymbol('proto.tendermint.types.Proposal', null, global); +goog.exportSymbol('proto.tendermint.types.SignedHeader', null, global); +goog.exportSymbol('proto.tendermint.types.SignedMsgType', null, global); +goog.exportSymbol('proto.tendermint.types.TxProof', null, global); +goog.exportSymbol('proto.tendermint.types.Vote', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.tendermint.types.PartSetHeader = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.tendermint.types.PartSetHeader, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.tendermint.types.PartSetHeader.displayName = 'proto.tendermint.types.PartSetHeader'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.tendermint.types.Part = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.tendermint.types.Part, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.tendermint.types.Part.displayName = 'proto.tendermint.types.Part'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.tendermint.types.BlockID = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.tendermint.types.BlockID, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.tendermint.types.BlockID.displayName = 'proto.tendermint.types.BlockID'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.tendermint.types.Header = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.tendermint.types.Header, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.tendermint.types.Header.displayName = 'proto.tendermint.types.Header'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.tendermint.types.Data = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.tendermint.types.Data.repeatedFields_, null); +}; +goog.inherits(proto.tendermint.types.Data, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.tendermint.types.Data.displayName = 'proto.tendermint.types.Data'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.tendermint.types.Vote = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.tendermint.types.Vote, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.tendermint.types.Vote.displayName = 'proto.tendermint.types.Vote'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.tendermint.types.Commit = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.tendermint.types.Commit.repeatedFields_, null); +}; +goog.inherits(proto.tendermint.types.Commit, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.tendermint.types.Commit.displayName = 'proto.tendermint.types.Commit'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.tendermint.types.CommitSig = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.tendermint.types.CommitSig, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.tendermint.types.CommitSig.displayName = 'proto.tendermint.types.CommitSig'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.tendermint.types.Proposal = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.tendermint.types.Proposal, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.tendermint.types.Proposal.displayName = 'proto.tendermint.types.Proposal'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.tendermint.types.SignedHeader = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.tendermint.types.SignedHeader, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.tendermint.types.SignedHeader.displayName = 'proto.tendermint.types.SignedHeader'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.tendermint.types.LightBlock = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.tendermint.types.LightBlock, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.tendermint.types.LightBlock.displayName = 'proto.tendermint.types.LightBlock'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.tendermint.types.BlockMeta = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.tendermint.types.BlockMeta, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.tendermint.types.BlockMeta.displayName = 'proto.tendermint.types.BlockMeta'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.tendermint.types.TxProof = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.tendermint.types.TxProof, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.tendermint.types.TxProof.displayName = 'proto.tendermint.types.TxProof'; +} + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.tendermint.types.PartSetHeader.prototype.toObject = function(opt_includeInstance) { + return proto.tendermint.types.PartSetHeader.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.tendermint.types.PartSetHeader} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.types.PartSetHeader.toObject = function(includeInstance, msg) { + var f, obj = { + total: jspb.Message.getFieldWithDefault(msg, 1, 0), + hash: msg.getHash_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.tendermint.types.PartSetHeader} + */ +proto.tendermint.types.PartSetHeader.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.tendermint.types.PartSetHeader; + return proto.tendermint.types.PartSetHeader.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.tendermint.types.PartSetHeader} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.tendermint.types.PartSetHeader} + */ +proto.tendermint.types.PartSetHeader.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readUint32()); + msg.setTotal(value); + break; + case 2: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setHash(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.tendermint.types.PartSetHeader.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.tendermint.types.PartSetHeader.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.tendermint.types.PartSetHeader} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.types.PartSetHeader.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTotal(); + if (f !== 0) { + writer.writeUint32( + 1, + f + ); + } + f = message.getHash_asU8(); + if (f.length > 0) { + writer.writeBytes( + 2, + f + ); + } +}; + + +/** + * optional uint32 total = 1; + * @return {number} + */ +proto.tendermint.types.PartSetHeader.prototype.getTotal = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.tendermint.types.PartSetHeader} returns this + */ +proto.tendermint.types.PartSetHeader.prototype.setTotal = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional bytes hash = 2; + * @return {!(string|Uint8Array)} + */ +proto.tendermint.types.PartSetHeader.prototype.getHash = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * optional bytes hash = 2; + * This is a type-conversion wrapper around `getHash()` + * @return {string} + */ +proto.tendermint.types.PartSetHeader.prototype.getHash_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getHash())); +}; + + +/** + * optional bytes hash = 2; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getHash()` + * @return {!Uint8Array} + */ +proto.tendermint.types.PartSetHeader.prototype.getHash_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getHash())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.tendermint.types.PartSetHeader} returns this + */ +proto.tendermint.types.PartSetHeader.prototype.setHash = function(value) { + return jspb.Message.setProto3BytesField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.tendermint.types.Part.prototype.toObject = function(opt_includeInstance) { + return proto.tendermint.types.Part.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.tendermint.types.Part} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.types.Part.toObject = function(includeInstance, msg) { + var f, obj = { + index: jspb.Message.getFieldWithDefault(msg, 1, 0), + bytes: msg.getBytes_asB64(), + proof: (f = msg.getProof()) && tendermint_crypto_proof_pb.Proof.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.tendermint.types.Part} + */ +proto.tendermint.types.Part.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.tendermint.types.Part; + return proto.tendermint.types.Part.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.tendermint.types.Part} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.tendermint.types.Part} + */ +proto.tendermint.types.Part.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readUint32()); + msg.setIndex(value); + break; + case 2: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setBytes(value); + break; + case 3: + var value = new tendermint_crypto_proof_pb.Proof; + reader.readMessage(value,tendermint_crypto_proof_pb.Proof.deserializeBinaryFromReader); + msg.setProof(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.tendermint.types.Part.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.tendermint.types.Part.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.tendermint.types.Part} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.types.Part.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getIndex(); + if (f !== 0) { + writer.writeUint32( + 1, + f + ); + } + f = message.getBytes_asU8(); + if (f.length > 0) { + writer.writeBytes( + 2, + f + ); + } + f = message.getProof(); + if (f != null) { + writer.writeMessage( + 3, + f, + tendermint_crypto_proof_pb.Proof.serializeBinaryToWriter + ); + } +}; + + +/** + * optional uint32 index = 1; + * @return {number} + */ +proto.tendermint.types.Part.prototype.getIndex = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.tendermint.types.Part} returns this + */ +proto.tendermint.types.Part.prototype.setIndex = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional bytes bytes = 2; + * @return {!(string|Uint8Array)} + */ +proto.tendermint.types.Part.prototype.getBytes = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * optional bytes bytes = 2; + * This is a type-conversion wrapper around `getBytes()` + * @return {string} + */ +proto.tendermint.types.Part.prototype.getBytes_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getBytes())); +}; + + +/** + * optional bytes bytes = 2; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getBytes()` + * @return {!Uint8Array} + */ +proto.tendermint.types.Part.prototype.getBytes_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getBytes())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.tendermint.types.Part} returns this + */ +proto.tendermint.types.Part.prototype.setBytes = function(value) { + return jspb.Message.setProto3BytesField(this, 2, value); +}; + + +/** + * optional tendermint.crypto.Proof proof = 3; + * @return {?proto.tendermint.crypto.Proof} + */ +proto.tendermint.types.Part.prototype.getProof = function() { + return /** @type{?proto.tendermint.crypto.Proof} */ ( + jspb.Message.getWrapperField(this, tendermint_crypto_proof_pb.Proof, 3)); +}; + + +/** + * @param {?proto.tendermint.crypto.Proof|undefined} value + * @return {!proto.tendermint.types.Part} returns this +*/ +proto.tendermint.types.Part.prototype.setProof = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.tendermint.types.Part} returns this + */ +proto.tendermint.types.Part.prototype.clearProof = function() { + return this.setProof(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.tendermint.types.Part.prototype.hasProof = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.tendermint.types.BlockID.prototype.toObject = function(opt_includeInstance) { + return proto.tendermint.types.BlockID.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.tendermint.types.BlockID} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.types.BlockID.toObject = function(includeInstance, msg) { + var f, obj = { + hash: msg.getHash_asB64(), + partSetHeader: (f = msg.getPartSetHeader()) && proto.tendermint.types.PartSetHeader.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.tendermint.types.BlockID} + */ +proto.tendermint.types.BlockID.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.tendermint.types.BlockID; + return proto.tendermint.types.BlockID.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.tendermint.types.BlockID} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.tendermint.types.BlockID} + */ +proto.tendermint.types.BlockID.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setHash(value); + break; + case 2: + var value = new proto.tendermint.types.PartSetHeader; + reader.readMessage(value,proto.tendermint.types.PartSetHeader.deserializeBinaryFromReader); + msg.setPartSetHeader(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.tendermint.types.BlockID.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.tendermint.types.BlockID.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.tendermint.types.BlockID} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.types.BlockID.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getHash_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } + f = message.getPartSetHeader(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.tendermint.types.PartSetHeader.serializeBinaryToWriter + ); + } +}; + + +/** + * optional bytes hash = 1; + * @return {!(string|Uint8Array)} + */ +proto.tendermint.types.BlockID.prototype.getHash = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes hash = 1; + * This is a type-conversion wrapper around `getHash()` + * @return {string} + */ +proto.tendermint.types.BlockID.prototype.getHash_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getHash())); +}; + + +/** + * optional bytes hash = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getHash()` + * @return {!Uint8Array} + */ +proto.tendermint.types.BlockID.prototype.getHash_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getHash())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.tendermint.types.BlockID} returns this + */ +proto.tendermint.types.BlockID.prototype.setHash = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + +/** + * optional PartSetHeader part_set_header = 2; + * @return {?proto.tendermint.types.PartSetHeader} + */ +proto.tendermint.types.BlockID.prototype.getPartSetHeader = function() { + return /** @type{?proto.tendermint.types.PartSetHeader} */ ( + jspb.Message.getWrapperField(this, proto.tendermint.types.PartSetHeader, 2)); +}; + + +/** + * @param {?proto.tendermint.types.PartSetHeader|undefined} value + * @return {!proto.tendermint.types.BlockID} returns this +*/ +proto.tendermint.types.BlockID.prototype.setPartSetHeader = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.tendermint.types.BlockID} returns this + */ +proto.tendermint.types.BlockID.prototype.clearPartSetHeader = function() { + return this.setPartSetHeader(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.tendermint.types.BlockID.prototype.hasPartSetHeader = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.tendermint.types.Header.prototype.toObject = function(opt_includeInstance) { + return proto.tendermint.types.Header.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.tendermint.types.Header} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.types.Header.toObject = function(includeInstance, msg) { + var f, obj = { + version: (f = msg.getVersion()) && tendermint_version_types_pb.Consensus.toObject(includeInstance, f), + chainId: jspb.Message.getFieldWithDefault(msg, 2, ""), + height: jspb.Message.getFieldWithDefault(msg, 3, 0), + time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + lastBlockId: (f = msg.getLastBlockId()) && proto.tendermint.types.BlockID.toObject(includeInstance, f), + lastCommitHash: msg.getLastCommitHash_asB64(), + dataHash: msg.getDataHash_asB64(), + validatorsHash: msg.getValidatorsHash_asB64(), + nextValidatorsHash: msg.getNextValidatorsHash_asB64(), + consensusHash: msg.getConsensusHash_asB64(), + appHash: msg.getAppHash_asB64(), + lastResultsHash: msg.getLastResultsHash_asB64(), + evidenceHash: msg.getEvidenceHash_asB64(), + proposerAddress: msg.getProposerAddress_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.tendermint.types.Header} + */ +proto.tendermint.types.Header.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.tendermint.types.Header; + return proto.tendermint.types.Header.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.tendermint.types.Header} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.tendermint.types.Header} + */ +proto.tendermint.types.Header.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new tendermint_version_types_pb.Consensus; + reader.readMessage(value,tendermint_version_types_pb.Consensus.deserializeBinaryFromReader); + msg.setVersion(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setChainId(value); + break; + case 3: + var value = /** @type {number} */ (reader.readInt64()); + msg.setHeight(value); + break; + case 4: + var value = new google_protobuf_timestamp_pb.Timestamp; + reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); + msg.setTime(value); + break; + case 5: + var value = new proto.tendermint.types.BlockID; + reader.readMessage(value,proto.tendermint.types.BlockID.deserializeBinaryFromReader); + msg.setLastBlockId(value); + break; + case 6: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setLastCommitHash(value); + break; + case 7: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setDataHash(value); + break; + case 8: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setValidatorsHash(value); + break; + case 9: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setNextValidatorsHash(value); + break; + case 10: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setConsensusHash(value); + break; + case 11: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setAppHash(value); + break; + case 12: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setLastResultsHash(value); + break; + case 13: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setEvidenceHash(value); + break; + case 14: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setProposerAddress(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.tendermint.types.Header.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.tendermint.types.Header.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.tendermint.types.Header} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.types.Header.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getVersion(); + if (f != null) { + writer.writeMessage( + 1, + f, + tendermint_version_types_pb.Consensus.serializeBinaryToWriter + ); + } + f = message.getChainId(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getHeight(); + if (f !== 0) { + writer.writeInt64( + 3, + f + ); + } + f = message.getTime(); + if (f != null) { + writer.writeMessage( + 4, + f, + google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter + ); + } + f = message.getLastBlockId(); + if (f != null) { + writer.writeMessage( + 5, + f, + proto.tendermint.types.BlockID.serializeBinaryToWriter + ); + } + f = message.getLastCommitHash_asU8(); + if (f.length > 0) { + writer.writeBytes( + 6, + f + ); + } + f = message.getDataHash_asU8(); + if (f.length > 0) { + writer.writeBytes( + 7, + f + ); + } + f = message.getValidatorsHash_asU8(); + if (f.length > 0) { + writer.writeBytes( + 8, + f + ); + } + f = message.getNextValidatorsHash_asU8(); + if (f.length > 0) { + writer.writeBytes( + 9, + f + ); + } + f = message.getConsensusHash_asU8(); + if (f.length > 0) { + writer.writeBytes( + 10, + f + ); + } + f = message.getAppHash_asU8(); + if (f.length > 0) { + writer.writeBytes( + 11, + f + ); + } + f = message.getLastResultsHash_asU8(); + if (f.length > 0) { + writer.writeBytes( + 12, + f + ); + } + f = message.getEvidenceHash_asU8(); + if (f.length > 0) { + writer.writeBytes( + 13, + f + ); + } + f = message.getProposerAddress_asU8(); + if (f.length > 0) { + writer.writeBytes( + 14, + f + ); + } +}; + + +/** + * optional tendermint.version.Consensus version = 1; + * @return {?proto.tendermint.version.Consensus} + */ +proto.tendermint.types.Header.prototype.getVersion = function() { + return /** @type{?proto.tendermint.version.Consensus} */ ( + jspb.Message.getWrapperField(this, tendermint_version_types_pb.Consensus, 1)); +}; + + +/** + * @param {?proto.tendermint.version.Consensus|undefined} value + * @return {!proto.tendermint.types.Header} returns this +*/ +proto.tendermint.types.Header.prototype.setVersion = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.tendermint.types.Header} returns this + */ +proto.tendermint.types.Header.prototype.clearVersion = function() { + return this.setVersion(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.tendermint.types.Header.prototype.hasVersion = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional string chain_id = 2; + * @return {string} + */ +proto.tendermint.types.Header.prototype.getChainId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.tendermint.types.Header} returns this + */ +proto.tendermint.types.Header.prototype.setChainId = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional int64 height = 3; + * @return {number} + */ +proto.tendermint.types.Header.prototype.getHeight = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.tendermint.types.Header} returns this + */ +proto.tendermint.types.Header.prototype.setHeight = function(value) { + return jspb.Message.setProto3IntField(this, 3, value); +}; + + +/** + * optional google.protobuf.Timestamp time = 4; + * @return {?proto.google.protobuf.Timestamp} + */ +proto.tendermint.types.Header.prototype.getTime = function() { + return /** @type{?proto.google.protobuf.Timestamp} */ ( + jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4)); +}; + + +/** + * @param {?proto.google.protobuf.Timestamp|undefined} value + * @return {!proto.tendermint.types.Header} returns this +*/ +proto.tendermint.types.Header.prototype.setTime = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.tendermint.types.Header} returns this + */ +proto.tendermint.types.Header.prototype.clearTime = function() { + return this.setTime(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.tendermint.types.Header.prototype.hasTime = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional BlockID last_block_id = 5; + * @return {?proto.tendermint.types.BlockID} + */ +proto.tendermint.types.Header.prototype.getLastBlockId = function() { + return /** @type{?proto.tendermint.types.BlockID} */ ( + jspb.Message.getWrapperField(this, proto.tendermint.types.BlockID, 5)); +}; + + +/** + * @param {?proto.tendermint.types.BlockID|undefined} value + * @return {!proto.tendermint.types.Header} returns this +*/ +proto.tendermint.types.Header.prototype.setLastBlockId = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.tendermint.types.Header} returns this + */ +proto.tendermint.types.Header.prototype.clearLastBlockId = function() { + return this.setLastBlockId(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.tendermint.types.Header.prototype.hasLastBlockId = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional bytes last_commit_hash = 6; + * @return {!(string|Uint8Array)} + */ +proto.tendermint.types.Header.prototype.getLastCommitHash = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * optional bytes last_commit_hash = 6; + * This is a type-conversion wrapper around `getLastCommitHash()` + * @return {string} + */ +proto.tendermint.types.Header.prototype.getLastCommitHash_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getLastCommitHash())); +}; + + +/** + * optional bytes last_commit_hash = 6; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getLastCommitHash()` + * @return {!Uint8Array} + */ +proto.tendermint.types.Header.prototype.getLastCommitHash_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getLastCommitHash())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.tendermint.types.Header} returns this + */ +proto.tendermint.types.Header.prototype.setLastCommitHash = function(value) { + return jspb.Message.setProto3BytesField(this, 6, value); +}; + + +/** + * optional bytes data_hash = 7; + * @return {!(string|Uint8Array)} + */ +proto.tendermint.types.Header.prototype.getDataHash = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * optional bytes data_hash = 7; + * This is a type-conversion wrapper around `getDataHash()` + * @return {string} + */ +proto.tendermint.types.Header.prototype.getDataHash_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getDataHash())); +}; + + +/** + * optional bytes data_hash = 7; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getDataHash()` + * @return {!Uint8Array} + */ +proto.tendermint.types.Header.prototype.getDataHash_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getDataHash())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.tendermint.types.Header} returns this + */ +proto.tendermint.types.Header.prototype.setDataHash = function(value) { + return jspb.Message.setProto3BytesField(this, 7, value); +}; + + +/** + * optional bytes validators_hash = 8; + * @return {!(string|Uint8Array)} + */ +proto.tendermint.types.Header.prototype.getValidatorsHash = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 8, "")); +}; + + +/** + * optional bytes validators_hash = 8; + * This is a type-conversion wrapper around `getValidatorsHash()` + * @return {string} + */ +proto.tendermint.types.Header.prototype.getValidatorsHash_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getValidatorsHash())); +}; + + +/** + * optional bytes validators_hash = 8; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getValidatorsHash()` + * @return {!Uint8Array} + */ +proto.tendermint.types.Header.prototype.getValidatorsHash_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getValidatorsHash())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.tendermint.types.Header} returns this + */ +proto.tendermint.types.Header.prototype.setValidatorsHash = function(value) { + return jspb.Message.setProto3BytesField(this, 8, value); +}; + + +/** + * optional bytes next_validators_hash = 9; + * @return {!(string|Uint8Array)} + */ +proto.tendermint.types.Header.prototype.getNextValidatorsHash = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 9, "")); +}; + + +/** + * optional bytes next_validators_hash = 9; + * This is a type-conversion wrapper around `getNextValidatorsHash()` + * @return {string} + */ +proto.tendermint.types.Header.prototype.getNextValidatorsHash_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getNextValidatorsHash())); +}; + + +/** + * optional bytes next_validators_hash = 9; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getNextValidatorsHash()` + * @return {!Uint8Array} + */ +proto.tendermint.types.Header.prototype.getNextValidatorsHash_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getNextValidatorsHash())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.tendermint.types.Header} returns this + */ +proto.tendermint.types.Header.prototype.setNextValidatorsHash = function(value) { + return jspb.Message.setProto3BytesField(this, 9, value); +}; + + +/** + * optional bytes consensus_hash = 10; + * @return {!(string|Uint8Array)} + */ +proto.tendermint.types.Header.prototype.getConsensusHash = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 10, "")); +}; + + +/** + * optional bytes consensus_hash = 10; + * This is a type-conversion wrapper around `getConsensusHash()` + * @return {string} + */ +proto.tendermint.types.Header.prototype.getConsensusHash_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getConsensusHash())); +}; + + +/** + * optional bytes consensus_hash = 10; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getConsensusHash()` + * @return {!Uint8Array} + */ +proto.tendermint.types.Header.prototype.getConsensusHash_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getConsensusHash())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.tendermint.types.Header} returns this + */ +proto.tendermint.types.Header.prototype.setConsensusHash = function(value) { + return jspb.Message.setProto3BytesField(this, 10, value); +}; + + +/** + * optional bytes app_hash = 11; + * @return {!(string|Uint8Array)} + */ +proto.tendermint.types.Header.prototype.getAppHash = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 11, "")); +}; + + +/** + * optional bytes app_hash = 11; + * This is a type-conversion wrapper around `getAppHash()` + * @return {string} + */ +proto.tendermint.types.Header.prototype.getAppHash_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getAppHash())); +}; + + +/** + * optional bytes app_hash = 11; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getAppHash()` + * @return {!Uint8Array} + */ +proto.tendermint.types.Header.prototype.getAppHash_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getAppHash())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.tendermint.types.Header} returns this + */ +proto.tendermint.types.Header.prototype.setAppHash = function(value) { + return jspb.Message.setProto3BytesField(this, 11, value); +}; + + +/** + * optional bytes last_results_hash = 12; + * @return {!(string|Uint8Array)} + */ +proto.tendermint.types.Header.prototype.getLastResultsHash = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 12, "")); +}; + + +/** + * optional bytes last_results_hash = 12; + * This is a type-conversion wrapper around `getLastResultsHash()` + * @return {string} + */ +proto.tendermint.types.Header.prototype.getLastResultsHash_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getLastResultsHash())); +}; + + +/** + * optional bytes last_results_hash = 12; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getLastResultsHash()` + * @return {!Uint8Array} + */ +proto.tendermint.types.Header.prototype.getLastResultsHash_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getLastResultsHash())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.tendermint.types.Header} returns this + */ +proto.tendermint.types.Header.prototype.setLastResultsHash = function(value) { + return jspb.Message.setProto3BytesField(this, 12, value); +}; + + +/** + * optional bytes evidence_hash = 13; + * @return {!(string|Uint8Array)} + */ +proto.tendermint.types.Header.prototype.getEvidenceHash = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 13, "")); +}; + + +/** + * optional bytes evidence_hash = 13; + * This is a type-conversion wrapper around `getEvidenceHash()` + * @return {string} + */ +proto.tendermint.types.Header.prototype.getEvidenceHash_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getEvidenceHash())); +}; + + +/** + * optional bytes evidence_hash = 13; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getEvidenceHash()` + * @return {!Uint8Array} + */ +proto.tendermint.types.Header.prototype.getEvidenceHash_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getEvidenceHash())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.tendermint.types.Header} returns this + */ +proto.tendermint.types.Header.prototype.setEvidenceHash = function(value) { + return jspb.Message.setProto3BytesField(this, 13, value); +}; + + +/** + * optional bytes proposer_address = 14; + * @return {!(string|Uint8Array)} + */ +proto.tendermint.types.Header.prototype.getProposerAddress = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 14, "")); +}; + + +/** + * optional bytes proposer_address = 14; + * This is a type-conversion wrapper around `getProposerAddress()` + * @return {string} + */ +proto.tendermint.types.Header.prototype.getProposerAddress_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getProposerAddress())); +}; + + +/** + * optional bytes proposer_address = 14; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getProposerAddress()` + * @return {!Uint8Array} + */ +proto.tendermint.types.Header.prototype.getProposerAddress_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getProposerAddress())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.tendermint.types.Header} returns this + */ +proto.tendermint.types.Header.prototype.setProposerAddress = function(value) { + return jspb.Message.setProto3BytesField(this, 14, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.tendermint.types.Data.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.tendermint.types.Data.prototype.toObject = function(opt_includeInstance) { + return proto.tendermint.types.Data.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.tendermint.types.Data} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.types.Data.toObject = function(includeInstance, msg) { + var f, obj = { + txsList: msg.getTxsList_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.tendermint.types.Data} + */ +proto.tendermint.types.Data.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.tendermint.types.Data; + return proto.tendermint.types.Data.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.tendermint.types.Data} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.tendermint.types.Data} + */ +proto.tendermint.types.Data.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.addTxs(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.tendermint.types.Data.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.tendermint.types.Data.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.tendermint.types.Data} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.types.Data.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTxsList_asU8(); + if (f.length > 0) { + writer.writeRepeatedBytes( + 1, + f + ); + } +}; + + +/** + * repeated bytes txs = 1; + * @return {!(Array|Array)} + */ +proto.tendermint.types.Data.prototype.getTxsList = function() { + return /** @type {!(Array|Array)} */ (jspb.Message.getRepeatedField(this, 1)); +}; + + +/** + * repeated bytes txs = 1; + * This is a type-conversion wrapper around `getTxsList()` + * @return {!Array} + */ +proto.tendermint.types.Data.prototype.getTxsList_asB64 = function() { + return /** @type {!Array} */ (jspb.Message.bytesListAsB64( + this.getTxsList())); +}; + + +/** + * repeated bytes txs = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getTxsList()` + * @return {!Array} + */ +proto.tendermint.types.Data.prototype.getTxsList_asU8 = function() { + return /** @type {!Array} */ (jspb.Message.bytesListAsU8( + this.getTxsList())); +}; + + +/** + * @param {!(Array|Array)} value + * @return {!proto.tendermint.types.Data} returns this + */ +proto.tendermint.types.Data.prototype.setTxsList = function(value) { + return jspb.Message.setField(this, 1, value || []); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @param {number=} opt_index + * @return {!proto.tendermint.types.Data} returns this + */ +proto.tendermint.types.Data.prototype.addTxs = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.tendermint.types.Data} returns this + */ +proto.tendermint.types.Data.prototype.clearTxsList = function() { + return this.setTxsList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.tendermint.types.Vote.prototype.toObject = function(opt_includeInstance) { + return proto.tendermint.types.Vote.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.tendermint.types.Vote} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.types.Vote.toObject = function(includeInstance, msg) { + var f, obj = { + type: jspb.Message.getFieldWithDefault(msg, 1, 0), + height: jspb.Message.getFieldWithDefault(msg, 2, 0), + round: jspb.Message.getFieldWithDefault(msg, 3, 0), + blockId: (f = msg.getBlockId()) && proto.tendermint.types.BlockID.toObject(includeInstance, f), + timestamp: (f = msg.getTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + validatorAddress: msg.getValidatorAddress_asB64(), + validatorIndex: jspb.Message.getFieldWithDefault(msg, 7, 0), + signature: msg.getSignature_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.tendermint.types.Vote} + */ +proto.tendermint.types.Vote.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.tendermint.types.Vote; + return proto.tendermint.types.Vote.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.tendermint.types.Vote} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.tendermint.types.Vote} + */ +proto.tendermint.types.Vote.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!proto.tendermint.types.SignedMsgType} */ (reader.readEnum()); + msg.setType(value); + break; + case 2: + var value = /** @type {number} */ (reader.readInt64()); + msg.setHeight(value); + break; + case 3: + var value = /** @type {number} */ (reader.readInt32()); + msg.setRound(value); + break; + case 4: + var value = new proto.tendermint.types.BlockID; + reader.readMessage(value,proto.tendermint.types.BlockID.deserializeBinaryFromReader); + msg.setBlockId(value); + break; + case 5: + var value = new google_protobuf_timestamp_pb.Timestamp; + reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); + msg.setTimestamp(value); + break; + case 6: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setValidatorAddress(value); + break; + case 7: + var value = /** @type {number} */ (reader.readInt32()); + msg.setValidatorIndex(value); + break; + case 8: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setSignature(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.tendermint.types.Vote.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.tendermint.types.Vote.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.tendermint.types.Vote} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.types.Vote.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getType(); + if (f !== 0.0) { + writer.writeEnum( + 1, + f + ); + } + f = message.getHeight(); + if (f !== 0) { + writer.writeInt64( + 2, + f + ); + } + f = message.getRound(); + if (f !== 0) { + writer.writeInt32( + 3, + f + ); + } + f = message.getBlockId(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.tendermint.types.BlockID.serializeBinaryToWriter + ); + } + f = message.getTimestamp(); + if (f != null) { + writer.writeMessage( + 5, + f, + google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter + ); + } + f = message.getValidatorAddress_asU8(); + if (f.length > 0) { + writer.writeBytes( + 6, + f + ); + } + f = message.getValidatorIndex(); + if (f !== 0) { + writer.writeInt32( + 7, + f + ); + } + f = message.getSignature_asU8(); + if (f.length > 0) { + writer.writeBytes( + 8, + f + ); + } +}; + + +/** + * optional SignedMsgType type = 1; + * @return {!proto.tendermint.types.SignedMsgType} + */ +proto.tendermint.types.Vote.prototype.getType = function() { + return /** @type {!proto.tendermint.types.SignedMsgType} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {!proto.tendermint.types.SignedMsgType} value + * @return {!proto.tendermint.types.Vote} returns this + */ +proto.tendermint.types.Vote.prototype.setType = function(value) { + return jspb.Message.setProto3EnumField(this, 1, value); +}; + + +/** + * optional int64 height = 2; + * @return {number} + */ +proto.tendermint.types.Vote.prototype.getHeight = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.tendermint.types.Vote} returns this + */ +proto.tendermint.types.Vote.prototype.setHeight = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + +/** + * optional int32 round = 3; + * @return {number} + */ +proto.tendermint.types.Vote.prototype.getRound = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.tendermint.types.Vote} returns this + */ +proto.tendermint.types.Vote.prototype.setRound = function(value) { + return jspb.Message.setProto3IntField(this, 3, value); +}; + + +/** + * optional BlockID block_id = 4; + * @return {?proto.tendermint.types.BlockID} + */ +proto.tendermint.types.Vote.prototype.getBlockId = function() { + return /** @type{?proto.tendermint.types.BlockID} */ ( + jspb.Message.getWrapperField(this, proto.tendermint.types.BlockID, 4)); +}; + + +/** + * @param {?proto.tendermint.types.BlockID|undefined} value + * @return {!proto.tendermint.types.Vote} returns this +*/ +proto.tendermint.types.Vote.prototype.setBlockId = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.tendermint.types.Vote} returns this + */ +proto.tendermint.types.Vote.prototype.clearBlockId = function() { + return this.setBlockId(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.tendermint.types.Vote.prototype.hasBlockId = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional google.protobuf.Timestamp timestamp = 5; + * @return {?proto.google.protobuf.Timestamp} + */ +proto.tendermint.types.Vote.prototype.getTimestamp = function() { + return /** @type{?proto.google.protobuf.Timestamp} */ ( + jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 5)); +}; + + +/** + * @param {?proto.google.protobuf.Timestamp|undefined} value + * @return {!proto.tendermint.types.Vote} returns this +*/ +proto.tendermint.types.Vote.prototype.setTimestamp = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.tendermint.types.Vote} returns this + */ +proto.tendermint.types.Vote.prototype.clearTimestamp = function() { + return this.setTimestamp(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.tendermint.types.Vote.prototype.hasTimestamp = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional bytes validator_address = 6; + * @return {!(string|Uint8Array)} + */ +proto.tendermint.types.Vote.prototype.getValidatorAddress = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * optional bytes validator_address = 6; + * This is a type-conversion wrapper around `getValidatorAddress()` + * @return {string} + */ +proto.tendermint.types.Vote.prototype.getValidatorAddress_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getValidatorAddress())); +}; + + +/** + * optional bytes validator_address = 6; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getValidatorAddress()` + * @return {!Uint8Array} + */ +proto.tendermint.types.Vote.prototype.getValidatorAddress_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getValidatorAddress())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.tendermint.types.Vote} returns this + */ +proto.tendermint.types.Vote.prototype.setValidatorAddress = function(value) { + return jspb.Message.setProto3BytesField(this, 6, value); +}; + + +/** + * optional int32 validator_index = 7; + * @return {number} + */ +proto.tendermint.types.Vote.prototype.getValidatorIndex = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.tendermint.types.Vote} returns this + */ +proto.tendermint.types.Vote.prototype.setValidatorIndex = function(value) { + return jspb.Message.setProto3IntField(this, 7, value); +}; + + +/** + * optional bytes signature = 8; + * @return {!(string|Uint8Array)} + */ +proto.tendermint.types.Vote.prototype.getSignature = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 8, "")); +}; + + +/** + * optional bytes signature = 8; + * This is a type-conversion wrapper around `getSignature()` + * @return {string} + */ +proto.tendermint.types.Vote.prototype.getSignature_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getSignature())); +}; + + +/** + * optional bytes signature = 8; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getSignature()` + * @return {!Uint8Array} + */ +proto.tendermint.types.Vote.prototype.getSignature_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getSignature())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.tendermint.types.Vote} returns this + */ +proto.tendermint.types.Vote.prototype.setSignature = function(value) { + return jspb.Message.setProto3BytesField(this, 8, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.tendermint.types.Commit.repeatedFields_ = [4]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.tendermint.types.Commit.prototype.toObject = function(opt_includeInstance) { + return proto.tendermint.types.Commit.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.tendermint.types.Commit} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.types.Commit.toObject = function(includeInstance, msg) { + var f, obj = { + height: jspb.Message.getFieldWithDefault(msg, 1, 0), + round: jspb.Message.getFieldWithDefault(msg, 2, 0), + blockId: (f = msg.getBlockId()) && proto.tendermint.types.BlockID.toObject(includeInstance, f), + signaturesList: jspb.Message.toObjectList(msg.getSignaturesList(), + proto.tendermint.types.CommitSig.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.tendermint.types.Commit} + */ +proto.tendermint.types.Commit.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.tendermint.types.Commit; + return proto.tendermint.types.Commit.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.tendermint.types.Commit} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.tendermint.types.Commit} + */ +proto.tendermint.types.Commit.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readInt64()); + msg.setHeight(value); + break; + case 2: + var value = /** @type {number} */ (reader.readInt32()); + msg.setRound(value); + break; + case 3: + var value = new proto.tendermint.types.BlockID; + reader.readMessage(value,proto.tendermint.types.BlockID.deserializeBinaryFromReader); + msg.setBlockId(value); + break; + case 4: + var value = new proto.tendermint.types.CommitSig; + reader.readMessage(value,proto.tendermint.types.CommitSig.deserializeBinaryFromReader); + msg.addSignatures(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.tendermint.types.Commit.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.tendermint.types.Commit.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.tendermint.types.Commit} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.types.Commit.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getHeight(); + if (f !== 0) { + writer.writeInt64( + 1, + f + ); + } + f = message.getRound(); + if (f !== 0) { + writer.writeInt32( + 2, + f + ); + } + f = message.getBlockId(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.tendermint.types.BlockID.serializeBinaryToWriter + ); + } + f = message.getSignaturesList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 4, + f, + proto.tendermint.types.CommitSig.serializeBinaryToWriter + ); + } +}; + + +/** + * optional int64 height = 1; + * @return {number} + */ +proto.tendermint.types.Commit.prototype.getHeight = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.tendermint.types.Commit} returns this + */ +proto.tendermint.types.Commit.prototype.setHeight = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional int32 round = 2; + * @return {number} + */ +proto.tendermint.types.Commit.prototype.getRound = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.tendermint.types.Commit} returns this + */ +proto.tendermint.types.Commit.prototype.setRound = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + +/** + * optional BlockID block_id = 3; + * @return {?proto.tendermint.types.BlockID} + */ +proto.tendermint.types.Commit.prototype.getBlockId = function() { + return /** @type{?proto.tendermint.types.BlockID} */ ( + jspb.Message.getWrapperField(this, proto.tendermint.types.BlockID, 3)); +}; + + +/** + * @param {?proto.tendermint.types.BlockID|undefined} value + * @return {!proto.tendermint.types.Commit} returns this +*/ +proto.tendermint.types.Commit.prototype.setBlockId = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.tendermint.types.Commit} returns this + */ +proto.tendermint.types.Commit.prototype.clearBlockId = function() { + return this.setBlockId(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.tendermint.types.Commit.prototype.hasBlockId = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * repeated CommitSig signatures = 4; + * @return {!Array} + */ +proto.tendermint.types.Commit.prototype.getSignaturesList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.tendermint.types.CommitSig, 4)); +}; + + +/** + * @param {!Array} value + * @return {!proto.tendermint.types.Commit} returns this +*/ +proto.tendermint.types.Commit.prototype.setSignaturesList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 4, value); +}; + + +/** + * @param {!proto.tendermint.types.CommitSig=} opt_value + * @param {number=} opt_index + * @return {!proto.tendermint.types.CommitSig} + */ +proto.tendermint.types.Commit.prototype.addSignatures = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.tendermint.types.CommitSig, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.tendermint.types.Commit} returns this + */ +proto.tendermint.types.Commit.prototype.clearSignaturesList = function() { + return this.setSignaturesList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.tendermint.types.CommitSig.prototype.toObject = function(opt_includeInstance) { + return proto.tendermint.types.CommitSig.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.tendermint.types.CommitSig} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.types.CommitSig.toObject = function(includeInstance, msg) { + var f, obj = { + blockIdFlag: jspb.Message.getFieldWithDefault(msg, 1, 0), + validatorAddress: msg.getValidatorAddress_asB64(), + timestamp: (f = msg.getTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + signature: msg.getSignature_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.tendermint.types.CommitSig} + */ +proto.tendermint.types.CommitSig.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.tendermint.types.CommitSig; + return proto.tendermint.types.CommitSig.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.tendermint.types.CommitSig} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.tendermint.types.CommitSig} + */ +proto.tendermint.types.CommitSig.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!proto.tendermint.types.BlockIDFlag} */ (reader.readEnum()); + msg.setBlockIdFlag(value); + break; + case 2: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setValidatorAddress(value); + break; + case 3: + var value = new google_protobuf_timestamp_pb.Timestamp; + reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); + msg.setTimestamp(value); + break; + case 4: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setSignature(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.tendermint.types.CommitSig.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.tendermint.types.CommitSig.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.tendermint.types.CommitSig} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.types.CommitSig.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getBlockIdFlag(); + if (f !== 0.0) { + writer.writeEnum( + 1, + f + ); + } + f = message.getValidatorAddress_asU8(); + if (f.length > 0) { + writer.writeBytes( + 2, + f + ); + } + f = message.getTimestamp(); + if (f != null) { + writer.writeMessage( + 3, + f, + google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter + ); + } + f = message.getSignature_asU8(); + if (f.length > 0) { + writer.writeBytes( + 4, + f + ); + } +}; + + +/** + * optional BlockIDFlag block_id_flag = 1; + * @return {!proto.tendermint.types.BlockIDFlag} + */ +proto.tendermint.types.CommitSig.prototype.getBlockIdFlag = function() { + return /** @type {!proto.tendermint.types.BlockIDFlag} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {!proto.tendermint.types.BlockIDFlag} value + * @return {!proto.tendermint.types.CommitSig} returns this + */ +proto.tendermint.types.CommitSig.prototype.setBlockIdFlag = function(value) { + return jspb.Message.setProto3EnumField(this, 1, value); +}; + + +/** + * optional bytes validator_address = 2; + * @return {!(string|Uint8Array)} + */ +proto.tendermint.types.CommitSig.prototype.getValidatorAddress = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * optional bytes validator_address = 2; + * This is a type-conversion wrapper around `getValidatorAddress()` + * @return {string} + */ +proto.tendermint.types.CommitSig.prototype.getValidatorAddress_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getValidatorAddress())); +}; + + +/** + * optional bytes validator_address = 2; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getValidatorAddress()` + * @return {!Uint8Array} + */ +proto.tendermint.types.CommitSig.prototype.getValidatorAddress_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getValidatorAddress())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.tendermint.types.CommitSig} returns this + */ +proto.tendermint.types.CommitSig.prototype.setValidatorAddress = function(value) { + return jspb.Message.setProto3BytesField(this, 2, value); +}; + + +/** + * optional google.protobuf.Timestamp timestamp = 3; + * @return {?proto.google.protobuf.Timestamp} + */ +proto.tendermint.types.CommitSig.prototype.getTimestamp = function() { + return /** @type{?proto.google.protobuf.Timestamp} */ ( + jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3)); +}; + + +/** + * @param {?proto.google.protobuf.Timestamp|undefined} value + * @return {!proto.tendermint.types.CommitSig} returns this +*/ +proto.tendermint.types.CommitSig.prototype.setTimestamp = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.tendermint.types.CommitSig} returns this + */ +proto.tendermint.types.CommitSig.prototype.clearTimestamp = function() { + return this.setTimestamp(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.tendermint.types.CommitSig.prototype.hasTimestamp = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional bytes signature = 4; + * @return {!(string|Uint8Array)} + */ +proto.tendermint.types.CommitSig.prototype.getSignature = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * optional bytes signature = 4; + * This is a type-conversion wrapper around `getSignature()` + * @return {string} + */ +proto.tendermint.types.CommitSig.prototype.getSignature_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getSignature())); +}; + + +/** + * optional bytes signature = 4; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getSignature()` + * @return {!Uint8Array} + */ +proto.tendermint.types.CommitSig.prototype.getSignature_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getSignature())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.tendermint.types.CommitSig} returns this + */ +proto.tendermint.types.CommitSig.prototype.setSignature = function(value) { + return jspb.Message.setProto3BytesField(this, 4, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.tendermint.types.Proposal.prototype.toObject = function(opt_includeInstance) { + return proto.tendermint.types.Proposal.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.tendermint.types.Proposal} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.types.Proposal.toObject = function(includeInstance, msg) { + var f, obj = { + type: jspb.Message.getFieldWithDefault(msg, 1, 0), + height: jspb.Message.getFieldWithDefault(msg, 2, 0), + round: jspb.Message.getFieldWithDefault(msg, 3, 0), + polRound: jspb.Message.getFieldWithDefault(msg, 4, 0), + blockId: (f = msg.getBlockId()) && proto.tendermint.types.BlockID.toObject(includeInstance, f), + timestamp: (f = msg.getTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + signature: msg.getSignature_asB64() + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.tendermint.types.Proposal} + */ +proto.tendermint.types.Proposal.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.tendermint.types.Proposal; + return proto.tendermint.types.Proposal.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.tendermint.types.Proposal} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.tendermint.types.Proposal} + */ +proto.tendermint.types.Proposal.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!proto.tendermint.types.SignedMsgType} */ (reader.readEnum()); + msg.setType(value); + break; + case 2: + var value = /** @type {number} */ (reader.readInt64()); + msg.setHeight(value); + break; + case 3: + var value = /** @type {number} */ (reader.readInt32()); + msg.setRound(value); + break; + case 4: + var value = /** @type {number} */ (reader.readInt32()); + msg.setPolRound(value); + break; + case 5: + var value = new proto.tendermint.types.BlockID; + reader.readMessage(value,proto.tendermint.types.BlockID.deserializeBinaryFromReader); + msg.setBlockId(value); + break; + case 6: + var value = new google_protobuf_timestamp_pb.Timestamp; + reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); + msg.setTimestamp(value); + break; + case 7: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setSignature(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.tendermint.types.Proposal.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.tendermint.types.Proposal.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.tendermint.types.Proposal} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.types.Proposal.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getType(); + if (f !== 0.0) { + writer.writeEnum( + 1, + f + ); + } + f = message.getHeight(); + if (f !== 0) { + writer.writeInt64( + 2, + f + ); + } + f = message.getRound(); + if (f !== 0) { + writer.writeInt32( + 3, + f + ); + } + f = message.getPolRound(); + if (f !== 0) { + writer.writeInt32( + 4, + f + ); + } + f = message.getBlockId(); + if (f != null) { + writer.writeMessage( + 5, + f, + proto.tendermint.types.BlockID.serializeBinaryToWriter + ); + } + f = message.getTimestamp(); + if (f != null) { + writer.writeMessage( + 6, + f, + google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter + ); + } + f = message.getSignature_asU8(); + if (f.length > 0) { + writer.writeBytes( + 7, + f + ); + } +}; + + +/** + * optional SignedMsgType type = 1; + * @return {!proto.tendermint.types.SignedMsgType} + */ +proto.tendermint.types.Proposal.prototype.getType = function() { + return /** @type {!proto.tendermint.types.SignedMsgType} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {!proto.tendermint.types.SignedMsgType} value + * @return {!proto.tendermint.types.Proposal} returns this + */ +proto.tendermint.types.Proposal.prototype.setType = function(value) { + return jspb.Message.setProto3EnumField(this, 1, value); +}; + + +/** + * optional int64 height = 2; + * @return {number} + */ +proto.tendermint.types.Proposal.prototype.getHeight = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.tendermint.types.Proposal} returns this + */ +proto.tendermint.types.Proposal.prototype.setHeight = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + +/** + * optional int32 round = 3; + * @return {number} + */ +proto.tendermint.types.Proposal.prototype.getRound = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.tendermint.types.Proposal} returns this + */ +proto.tendermint.types.Proposal.prototype.setRound = function(value) { + return jspb.Message.setProto3IntField(this, 3, value); +}; + + +/** + * optional int32 pol_round = 4; + * @return {number} + */ +proto.tendermint.types.Proposal.prototype.getPolRound = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.tendermint.types.Proposal} returns this + */ +proto.tendermint.types.Proposal.prototype.setPolRound = function(value) { + return jspb.Message.setProto3IntField(this, 4, value); +}; + + +/** + * optional BlockID block_id = 5; + * @return {?proto.tendermint.types.BlockID} + */ +proto.tendermint.types.Proposal.prototype.getBlockId = function() { + return /** @type{?proto.tendermint.types.BlockID} */ ( + jspb.Message.getWrapperField(this, proto.tendermint.types.BlockID, 5)); +}; + + +/** + * @param {?proto.tendermint.types.BlockID|undefined} value + * @return {!proto.tendermint.types.Proposal} returns this +*/ +proto.tendermint.types.Proposal.prototype.setBlockId = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.tendermint.types.Proposal} returns this + */ +proto.tendermint.types.Proposal.prototype.clearBlockId = function() { + return this.setBlockId(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.tendermint.types.Proposal.prototype.hasBlockId = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional google.protobuf.Timestamp timestamp = 6; + * @return {?proto.google.protobuf.Timestamp} + */ +proto.tendermint.types.Proposal.prototype.getTimestamp = function() { + return /** @type{?proto.google.protobuf.Timestamp} */ ( + jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 6)); +}; + + +/** + * @param {?proto.google.protobuf.Timestamp|undefined} value + * @return {!proto.tendermint.types.Proposal} returns this +*/ +proto.tendermint.types.Proposal.prototype.setTimestamp = function(value) { + return jspb.Message.setWrapperField(this, 6, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.tendermint.types.Proposal} returns this + */ +proto.tendermint.types.Proposal.prototype.clearTimestamp = function() { + return this.setTimestamp(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.tendermint.types.Proposal.prototype.hasTimestamp = function() { + return jspb.Message.getField(this, 6) != null; +}; + + +/** + * optional bytes signature = 7; + * @return {!(string|Uint8Array)} + */ +proto.tendermint.types.Proposal.prototype.getSignature = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * optional bytes signature = 7; + * This is a type-conversion wrapper around `getSignature()` + * @return {string} + */ +proto.tendermint.types.Proposal.prototype.getSignature_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getSignature())); +}; + + +/** + * optional bytes signature = 7; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getSignature()` + * @return {!Uint8Array} + */ +proto.tendermint.types.Proposal.prototype.getSignature_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getSignature())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.tendermint.types.Proposal} returns this + */ +proto.tendermint.types.Proposal.prototype.setSignature = function(value) { + return jspb.Message.setProto3BytesField(this, 7, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.tendermint.types.SignedHeader.prototype.toObject = function(opt_includeInstance) { + return proto.tendermint.types.SignedHeader.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.tendermint.types.SignedHeader} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.types.SignedHeader.toObject = function(includeInstance, msg) { + var f, obj = { + header: (f = msg.getHeader()) && proto.tendermint.types.Header.toObject(includeInstance, f), + commit: (f = msg.getCommit()) && proto.tendermint.types.Commit.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.tendermint.types.SignedHeader} + */ +proto.tendermint.types.SignedHeader.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.tendermint.types.SignedHeader; + return proto.tendermint.types.SignedHeader.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.tendermint.types.SignedHeader} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.tendermint.types.SignedHeader} + */ +proto.tendermint.types.SignedHeader.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.tendermint.types.Header; + reader.readMessage(value,proto.tendermint.types.Header.deserializeBinaryFromReader); + msg.setHeader(value); + break; + case 2: + var value = new proto.tendermint.types.Commit; + reader.readMessage(value,proto.tendermint.types.Commit.deserializeBinaryFromReader); + msg.setCommit(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.tendermint.types.SignedHeader.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.tendermint.types.SignedHeader.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.tendermint.types.SignedHeader} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.types.SignedHeader.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getHeader(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.tendermint.types.Header.serializeBinaryToWriter + ); + } + f = message.getCommit(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.tendermint.types.Commit.serializeBinaryToWriter + ); + } +}; + + +/** + * optional Header header = 1; + * @return {?proto.tendermint.types.Header} + */ +proto.tendermint.types.SignedHeader.prototype.getHeader = function() { + return /** @type{?proto.tendermint.types.Header} */ ( + jspb.Message.getWrapperField(this, proto.tendermint.types.Header, 1)); +}; + + +/** + * @param {?proto.tendermint.types.Header|undefined} value + * @return {!proto.tendermint.types.SignedHeader} returns this +*/ +proto.tendermint.types.SignedHeader.prototype.setHeader = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.tendermint.types.SignedHeader} returns this + */ +proto.tendermint.types.SignedHeader.prototype.clearHeader = function() { + return this.setHeader(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.tendermint.types.SignedHeader.prototype.hasHeader = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional Commit commit = 2; + * @return {?proto.tendermint.types.Commit} + */ +proto.tendermint.types.SignedHeader.prototype.getCommit = function() { + return /** @type{?proto.tendermint.types.Commit} */ ( + jspb.Message.getWrapperField(this, proto.tendermint.types.Commit, 2)); +}; + + +/** + * @param {?proto.tendermint.types.Commit|undefined} value + * @return {!proto.tendermint.types.SignedHeader} returns this +*/ +proto.tendermint.types.SignedHeader.prototype.setCommit = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.tendermint.types.SignedHeader} returns this + */ +proto.tendermint.types.SignedHeader.prototype.clearCommit = function() { + return this.setCommit(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.tendermint.types.SignedHeader.prototype.hasCommit = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.tendermint.types.LightBlock.prototype.toObject = function(opt_includeInstance) { + return proto.tendermint.types.LightBlock.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.tendermint.types.LightBlock} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.types.LightBlock.toObject = function(includeInstance, msg) { + var f, obj = { + signedHeader: (f = msg.getSignedHeader()) && proto.tendermint.types.SignedHeader.toObject(includeInstance, f), + validatorSet: (f = msg.getValidatorSet()) && tendermint_types_validator_pb.ValidatorSet.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.tendermint.types.LightBlock} + */ +proto.tendermint.types.LightBlock.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.tendermint.types.LightBlock; + return proto.tendermint.types.LightBlock.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.tendermint.types.LightBlock} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.tendermint.types.LightBlock} + */ +proto.tendermint.types.LightBlock.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.tendermint.types.SignedHeader; + reader.readMessage(value,proto.tendermint.types.SignedHeader.deserializeBinaryFromReader); + msg.setSignedHeader(value); + break; + case 2: + var value = new tendermint_types_validator_pb.ValidatorSet; + reader.readMessage(value,tendermint_types_validator_pb.ValidatorSet.deserializeBinaryFromReader); + msg.setValidatorSet(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.tendermint.types.LightBlock.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.tendermint.types.LightBlock.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.tendermint.types.LightBlock} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.types.LightBlock.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSignedHeader(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.tendermint.types.SignedHeader.serializeBinaryToWriter + ); + } + f = message.getValidatorSet(); + if (f != null) { + writer.writeMessage( + 2, + f, + tendermint_types_validator_pb.ValidatorSet.serializeBinaryToWriter + ); + } +}; + + +/** + * optional SignedHeader signed_header = 1; + * @return {?proto.tendermint.types.SignedHeader} + */ +proto.tendermint.types.LightBlock.prototype.getSignedHeader = function() { + return /** @type{?proto.tendermint.types.SignedHeader} */ ( + jspb.Message.getWrapperField(this, proto.tendermint.types.SignedHeader, 1)); +}; + + +/** + * @param {?proto.tendermint.types.SignedHeader|undefined} value + * @return {!proto.tendermint.types.LightBlock} returns this +*/ +proto.tendermint.types.LightBlock.prototype.setSignedHeader = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.tendermint.types.LightBlock} returns this + */ +proto.tendermint.types.LightBlock.prototype.clearSignedHeader = function() { + return this.setSignedHeader(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.tendermint.types.LightBlock.prototype.hasSignedHeader = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional ValidatorSet validator_set = 2; + * @return {?proto.tendermint.types.ValidatorSet} + */ +proto.tendermint.types.LightBlock.prototype.getValidatorSet = function() { + return /** @type{?proto.tendermint.types.ValidatorSet} */ ( + jspb.Message.getWrapperField(this, tendermint_types_validator_pb.ValidatorSet, 2)); +}; + + +/** + * @param {?proto.tendermint.types.ValidatorSet|undefined} value + * @return {!proto.tendermint.types.LightBlock} returns this +*/ +proto.tendermint.types.LightBlock.prototype.setValidatorSet = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.tendermint.types.LightBlock} returns this + */ +proto.tendermint.types.LightBlock.prototype.clearValidatorSet = function() { + return this.setValidatorSet(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.tendermint.types.LightBlock.prototype.hasValidatorSet = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.tendermint.types.BlockMeta.prototype.toObject = function(opt_includeInstance) { + return proto.tendermint.types.BlockMeta.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.tendermint.types.BlockMeta} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.types.BlockMeta.toObject = function(includeInstance, msg) { + var f, obj = { + blockId: (f = msg.getBlockId()) && proto.tendermint.types.BlockID.toObject(includeInstance, f), + blockSize: jspb.Message.getFieldWithDefault(msg, 2, 0), + header: (f = msg.getHeader()) && proto.tendermint.types.Header.toObject(includeInstance, f), + numTxs: jspb.Message.getFieldWithDefault(msg, 4, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.tendermint.types.BlockMeta} + */ +proto.tendermint.types.BlockMeta.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.tendermint.types.BlockMeta; + return proto.tendermint.types.BlockMeta.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.tendermint.types.BlockMeta} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.tendermint.types.BlockMeta} + */ +proto.tendermint.types.BlockMeta.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.tendermint.types.BlockID; + reader.readMessage(value,proto.tendermint.types.BlockID.deserializeBinaryFromReader); + msg.setBlockId(value); + break; + case 2: + var value = /** @type {number} */ (reader.readInt64()); + msg.setBlockSize(value); + break; + case 3: + var value = new proto.tendermint.types.Header; + reader.readMessage(value,proto.tendermint.types.Header.deserializeBinaryFromReader); + msg.setHeader(value); + break; + case 4: + var value = /** @type {number} */ (reader.readInt64()); + msg.setNumTxs(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.tendermint.types.BlockMeta.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.tendermint.types.BlockMeta.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.tendermint.types.BlockMeta} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.types.BlockMeta.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getBlockId(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.tendermint.types.BlockID.serializeBinaryToWriter + ); + } + f = message.getBlockSize(); + if (f !== 0) { + writer.writeInt64( + 2, + f + ); + } + f = message.getHeader(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.tendermint.types.Header.serializeBinaryToWriter + ); + } + f = message.getNumTxs(); + if (f !== 0) { + writer.writeInt64( + 4, + f + ); + } +}; + + +/** + * optional BlockID block_id = 1; + * @return {?proto.tendermint.types.BlockID} + */ +proto.tendermint.types.BlockMeta.prototype.getBlockId = function() { + return /** @type{?proto.tendermint.types.BlockID} */ ( + jspb.Message.getWrapperField(this, proto.tendermint.types.BlockID, 1)); +}; + + +/** + * @param {?proto.tendermint.types.BlockID|undefined} value + * @return {!proto.tendermint.types.BlockMeta} returns this +*/ +proto.tendermint.types.BlockMeta.prototype.setBlockId = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.tendermint.types.BlockMeta} returns this + */ +proto.tendermint.types.BlockMeta.prototype.clearBlockId = function() { + return this.setBlockId(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.tendermint.types.BlockMeta.prototype.hasBlockId = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional int64 block_size = 2; + * @return {number} + */ +proto.tendermint.types.BlockMeta.prototype.getBlockSize = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.tendermint.types.BlockMeta} returns this + */ +proto.tendermint.types.BlockMeta.prototype.setBlockSize = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + +/** + * optional Header header = 3; + * @return {?proto.tendermint.types.Header} + */ +proto.tendermint.types.BlockMeta.prototype.getHeader = function() { + return /** @type{?proto.tendermint.types.Header} */ ( + jspb.Message.getWrapperField(this, proto.tendermint.types.Header, 3)); +}; + + +/** + * @param {?proto.tendermint.types.Header|undefined} value + * @return {!proto.tendermint.types.BlockMeta} returns this +*/ +proto.tendermint.types.BlockMeta.prototype.setHeader = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.tendermint.types.BlockMeta} returns this + */ +proto.tendermint.types.BlockMeta.prototype.clearHeader = function() { + return this.setHeader(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.tendermint.types.BlockMeta.prototype.hasHeader = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional int64 num_txs = 4; + * @return {number} + */ +proto.tendermint.types.BlockMeta.prototype.getNumTxs = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.tendermint.types.BlockMeta} returns this + */ +proto.tendermint.types.BlockMeta.prototype.setNumTxs = function(value) { + return jspb.Message.setProto3IntField(this, 4, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.tendermint.types.TxProof.prototype.toObject = function(opt_includeInstance) { + return proto.tendermint.types.TxProof.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.tendermint.types.TxProof} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.types.TxProof.toObject = function(includeInstance, msg) { + var f, obj = { + rootHash: msg.getRootHash_asB64(), + data: msg.getData_asB64(), + proof: (f = msg.getProof()) && tendermint_crypto_proof_pb.Proof.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.tendermint.types.TxProof} + */ +proto.tendermint.types.TxProof.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.tendermint.types.TxProof; + return proto.tendermint.types.TxProof.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.tendermint.types.TxProof} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.tendermint.types.TxProof} + */ +proto.tendermint.types.TxProof.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setRootHash(value); + break; + case 2: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setData(value); + break; + case 3: + var value = new tendermint_crypto_proof_pb.Proof; + reader.readMessage(value,tendermint_crypto_proof_pb.Proof.deserializeBinaryFromReader); + msg.setProof(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.tendermint.types.TxProof.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.tendermint.types.TxProof.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.tendermint.types.TxProof} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.types.TxProof.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getRootHash_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } + f = message.getData_asU8(); + if (f.length > 0) { + writer.writeBytes( + 2, + f + ); + } + f = message.getProof(); + if (f != null) { + writer.writeMessage( + 3, + f, + tendermint_crypto_proof_pb.Proof.serializeBinaryToWriter + ); + } +}; + + +/** + * optional bytes root_hash = 1; + * @return {!(string|Uint8Array)} + */ +proto.tendermint.types.TxProof.prototype.getRootHash = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes root_hash = 1; + * This is a type-conversion wrapper around `getRootHash()` + * @return {string} + */ +proto.tendermint.types.TxProof.prototype.getRootHash_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getRootHash())); +}; + + +/** + * optional bytes root_hash = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getRootHash()` + * @return {!Uint8Array} + */ +proto.tendermint.types.TxProof.prototype.getRootHash_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getRootHash())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.tendermint.types.TxProof} returns this + */ +proto.tendermint.types.TxProof.prototype.setRootHash = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + +/** + * optional bytes data = 2; + * @return {!(string|Uint8Array)} + */ +proto.tendermint.types.TxProof.prototype.getData = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * optional bytes data = 2; + * This is a type-conversion wrapper around `getData()` + * @return {string} + */ +proto.tendermint.types.TxProof.prototype.getData_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getData())); +}; + + +/** + * optional bytes data = 2; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getData()` + * @return {!Uint8Array} + */ +proto.tendermint.types.TxProof.prototype.getData_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getData())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.tendermint.types.TxProof} returns this + */ +proto.tendermint.types.TxProof.prototype.setData = function(value) { + return jspb.Message.setProto3BytesField(this, 2, value); +}; + + +/** + * optional tendermint.crypto.Proof proof = 3; + * @return {?proto.tendermint.crypto.Proof} + */ +proto.tendermint.types.TxProof.prototype.getProof = function() { + return /** @type{?proto.tendermint.crypto.Proof} */ ( + jspb.Message.getWrapperField(this, tendermint_crypto_proof_pb.Proof, 3)); +}; + + +/** + * @param {?proto.tendermint.crypto.Proof|undefined} value + * @return {!proto.tendermint.types.TxProof} returns this +*/ +proto.tendermint.types.TxProof.prototype.setProof = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.tendermint.types.TxProof} returns this + */ +proto.tendermint.types.TxProof.prototype.clearProof = function() { + return this.setProof(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.tendermint.types.TxProof.prototype.hasProof = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * @enum {number} + */ +proto.tendermint.types.BlockIDFlag = { + BLOCK_ID_FLAG_UNKNOWN: 0, + BLOCK_ID_FLAG_ABSENT: 1, + BLOCK_ID_FLAG_COMMIT: 2, + BLOCK_ID_FLAG_NIL: 3 +}; + +/** + * @enum {number} + */ +proto.tendermint.types.SignedMsgType = { + SIGNED_MSG_TYPE_UNKNOWN: 0, + SIGNED_MSG_TYPE_PREVOTE: 1, + SIGNED_MSG_TYPE_PRECOMMIT: 2, + SIGNED_MSG_TYPE_PROPOSAL: 32 +}; + +goog.object.extend(exports, proto.tendermint.types); diff --git a/src/chains/penumbra/generated/tendermint/types/validator_grpc_pb.js b/src/chains/penumbra/generated/tendermint/types/validator_grpc_pb.js new file mode 100644 index 0000000000..97b3a2461d --- /dev/null +++ b/src/chains/penumbra/generated/tendermint/types/validator_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/src/chains/penumbra/generated/tendermint/types/validator_pb.d.ts b/src/chains/penumbra/generated/tendermint/types/validator_pb.d.ts new file mode 100644 index 0000000000..5c5417b5f4 --- /dev/null +++ b/src/chains/penumbra/generated/tendermint/types/validator_pb.d.ts @@ -0,0 +1,100 @@ +// package: tendermint.types +// file: tendermint/types/validator.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as gogoproto_gogo_pb from "../../gogoproto/gogo_pb"; +import * as tendermint_crypto_keys_pb from "../../tendermint/crypto/keys_pb"; + +export class ValidatorSet extends jspb.Message { + clearValidatorsList(): void; + getValidatorsList(): Array; + setValidatorsList(value: Array): ValidatorSet; + addValidators(value?: Validator, index?: number): Validator; + + hasProposer(): boolean; + clearProposer(): void; + getProposer(): Validator | undefined; + setProposer(value?: Validator): ValidatorSet; + getTotalVotingPower(): number; + setTotalVotingPower(value: number): ValidatorSet; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ValidatorSet.AsObject; + static toObject(includeInstance: boolean, msg: ValidatorSet): ValidatorSet.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ValidatorSet, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ValidatorSet; + static deserializeBinaryFromReader(message: ValidatorSet, reader: jspb.BinaryReader): ValidatorSet; +} + +export namespace ValidatorSet { + export type AsObject = { + validatorsList: Array, + proposer?: Validator.AsObject, + totalVotingPower: number, + } +} + +export class Validator extends jspb.Message { + getAddress(): Uint8Array | string; + getAddress_asU8(): Uint8Array; + getAddress_asB64(): string; + setAddress(value: Uint8Array | string): Validator; + + hasPubKey(): boolean; + clearPubKey(): void; + getPubKey(): tendermint_crypto_keys_pb.PublicKey | undefined; + setPubKey(value?: tendermint_crypto_keys_pb.PublicKey): Validator; + getVotingPower(): number; + setVotingPower(value: number): Validator; + getProposerPriority(): number; + setProposerPriority(value: number): Validator; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Validator.AsObject; + static toObject(includeInstance: boolean, msg: Validator): Validator.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Validator, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Validator; + static deserializeBinaryFromReader(message: Validator, reader: jspb.BinaryReader): Validator; +} + +export namespace Validator { + export type AsObject = { + address: Uint8Array | string, + pubKey?: tendermint_crypto_keys_pb.PublicKey.AsObject, + votingPower: number, + proposerPriority: number, + } +} + +export class SimpleValidator extends jspb.Message { + + hasPubKey(): boolean; + clearPubKey(): void; + getPubKey(): tendermint_crypto_keys_pb.PublicKey | undefined; + setPubKey(value?: tendermint_crypto_keys_pb.PublicKey): SimpleValidator; + getVotingPower(): number; + setVotingPower(value: number): SimpleValidator; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SimpleValidator.AsObject; + static toObject(includeInstance: boolean, msg: SimpleValidator): SimpleValidator.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SimpleValidator, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SimpleValidator; + static deserializeBinaryFromReader(message: SimpleValidator, reader: jspb.BinaryReader): SimpleValidator; +} + +export namespace SimpleValidator { + export type AsObject = { + pubKey?: tendermint_crypto_keys_pb.PublicKey.AsObject, + votingPower: number, + } +} diff --git a/src/chains/penumbra/generated/tendermint/types/validator_pb.js b/src/chains/penumbra/generated/tendermint/types/validator_pb.js new file mode 100644 index 0000000000..81e68892b6 --- /dev/null +++ b/src/chains/penumbra/generated/tendermint/types/validator_pb.js @@ -0,0 +1,781 @@ +// source: tendermint/types/validator.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = (function() { + if (this) { return this; } + if (typeof window !== 'undefined') { return window; } + if (typeof global !== 'undefined') { return global; } + if (typeof self !== 'undefined') { return self; } + return Function('return this')(); +}.call(null)); + +var gogoproto_gogo_pb = require('../../gogoproto/gogo_pb.js'); +goog.object.extend(proto, gogoproto_gogo_pb); +var tendermint_crypto_keys_pb = require('../../tendermint/crypto/keys_pb.js'); +goog.object.extend(proto, tendermint_crypto_keys_pb); +goog.exportSymbol('proto.tendermint.types.SimpleValidator', null, global); +goog.exportSymbol('proto.tendermint.types.Validator', null, global); +goog.exportSymbol('proto.tendermint.types.ValidatorSet', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.tendermint.types.ValidatorSet = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.tendermint.types.ValidatorSet.repeatedFields_, null); +}; +goog.inherits(proto.tendermint.types.ValidatorSet, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.tendermint.types.ValidatorSet.displayName = 'proto.tendermint.types.ValidatorSet'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.tendermint.types.Validator = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.tendermint.types.Validator, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.tendermint.types.Validator.displayName = 'proto.tendermint.types.Validator'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.tendermint.types.SimpleValidator = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.tendermint.types.SimpleValidator, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.tendermint.types.SimpleValidator.displayName = 'proto.tendermint.types.SimpleValidator'; +} + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.tendermint.types.ValidatorSet.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.tendermint.types.ValidatorSet.prototype.toObject = function(opt_includeInstance) { + return proto.tendermint.types.ValidatorSet.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.tendermint.types.ValidatorSet} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.types.ValidatorSet.toObject = function(includeInstance, msg) { + var f, obj = { + validatorsList: jspb.Message.toObjectList(msg.getValidatorsList(), + proto.tendermint.types.Validator.toObject, includeInstance), + proposer: (f = msg.getProposer()) && proto.tendermint.types.Validator.toObject(includeInstance, f), + totalVotingPower: jspb.Message.getFieldWithDefault(msg, 3, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.tendermint.types.ValidatorSet} + */ +proto.tendermint.types.ValidatorSet.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.tendermint.types.ValidatorSet; + return proto.tendermint.types.ValidatorSet.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.tendermint.types.ValidatorSet} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.tendermint.types.ValidatorSet} + */ +proto.tendermint.types.ValidatorSet.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.tendermint.types.Validator; + reader.readMessage(value,proto.tendermint.types.Validator.deserializeBinaryFromReader); + msg.addValidators(value); + break; + case 2: + var value = new proto.tendermint.types.Validator; + reader.readMessage(value,proto.tendermint.types.Validator.deserializeBinaryFromReader); + msg.setProposer(value); + break; + case 3: + var value = /** @type {number} */ (reader.readInt64()); + msg.setTotalVotingPower(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.tendermint.types.ValidatorSet.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.tendermint.types.ValidatorSet.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.tendermint.types.ValidatorSet} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.types.ValidatorSet.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getValidatorsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + proto.tendermint.types.Validator.serializeBinaryToWriter + ); + } + f = message.getProposer(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.tendermint.types.Validator.serializeBinaryToWriter + ); + } + f = message.getTotalVotingPower(); + if (f !== 0) { + writer.writeInt64( + 3, + f + ); + } +}; + + +/** + * repeated Validator validators = 1; + * @return {!Array} + */ +proto.tendermint.types.ValidatorSet.prototype.getValidatorsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.tendermint.types.Validator, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.tendermint.types.ValidatorSet} returns this +*/ +proto.tendermint.types.ValidatorSet.prototype.setValidatorsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.tendermint.types.Validator=} opt_value + * @param {number=} opt_index + * @return {!proto.tendermint.types.Validator} + */ +proto.tendermint.types.ValidatorSet.prototype.addValidators = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.tendermint.types.Validator, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.tendermint.types.ValidatorSet} returns this + */ +proto.tendermint.types.ValidatorSet.prototype.clearValidatorsList = function() { + return this.setValidatorsList([]); +}; + + +/** + * optional Validator proposer = 2; + * @return {?proto.tendermint.types.Validator} + */ +proto.tendermint.types.ValidatorSet.prototype.getProposer = function() { + return /** @type{?proto.tendermint.types.Validator} */ ( + jspb.Message.getWrapperField(this, proto.tendermint.types.Validator, 2)); +}; + + +/** + * @param {?proto.tendermint.types.Validator|undefined} value + * @return {!proto.tendermint.types.ValidatorSet} returns this +*/ +proto.tendermint.types.ValidatorSet.prototype.setProposer = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.tendermint.types.ValidatorSet} returns this + */ +proto.tendermint.types.ValidatorSet.prototype.clearProposer = function() { + return this.setProposer(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.tendermint.types.ValidatorSet.prototype.hasProposer = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional int64 total_voting_power = 3; + * @return {number} + */ +proto.tendermint.types.ValidatorSet.prototype.getTotalVotingPower = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.tendermint.types.ValidatorSet} returns this + */ +proto.tendermint.types.ValidatorSet.prototype.setTotalVotingPower = function(value) { + return jspb.Message.setProto3IntField(this, 3, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.tendermint.types.Validator.prototype.toObject = function(opt_includeInstance) { + return proto.tendermint.types.Validator.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.tendermint.types.Validator} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.types.Validator.toObject = function(includeInstance, msg) { + var f, obj = { + address: msg.getAddress_asB64(), + pubKey: (f = msg.getPubKey()) && tendermint_crypto_keys_pb.PublicKey.toObject(includeInstance, f), + votingPower: jspb.Message.getFieldWithDefault(msg, 3, 0), + proposerPriority: jspb.Message.getFieldWithDefault(msg, 4, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.tendermint.types.Validator} + */ +proto.tendermint.types.Validator.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.tendermint.types.Validator; + return proto.tendermint.types.Validator.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.tendermint.types.Validator} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.tendermint.types.Validator} + */ +proto.tendermint.types.Validator.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setAddress(value); + break; + case 2: + var value = new tendermint_crypto_keys_pb.PublicKey; + reader.readMessage(value,tendermint_crypto_keys_pb.PublicKey.deserializeBinaryFromReader); + msg.setPubKey(value); + break; + case 3: + var value = /** @type {number} */ (reader.readInt64()); + msg.setVotingPower(value); + break; + case 4: + var value = /** @type {number} */ (reader.readInt64()); + msg.setProposerPriority(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.tendermint.types.Validator.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.tendermint.types.Validator.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.tendermint.types.Validator} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.types.Validator.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getAddress_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } + f = message.getPubKey(); + if (f != null) { + writer.writeMessage( + 2, + f, + tendermint_crypto_keys_pb.PublicKey.serializeBinaryToWriter + ); + } + f = message.getVotingPower(); + if (f !== 0) { + writer.writeInt64( + 3, + f + ); + } + f = message.getProposerPriority(); + if (f !== 0) { + writer.writeInt64( + 4, + f + ); + } +}; + + +/** + * optional bytes address = 1; + * @return {!(string|Uint8Array)} + */ +proto.tendermint.types.Validator.prototype.getAddress = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes address = 1; + * This is a type-conversion wrapper around `getAddress()` + * @return {string} + */ +proto.tendermint.types.Validator.prototype.getAddress_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getAddress())); +}; + + +/** + * optional bytes address = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getAddress()` + * @return {!Uint8Array} + */ +proto.tendermint.types.Validator.prototype.getAddress_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getAddress())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.tendermint.types.Validator} returns this + */ +proto.tendermint.types.Validator.prototype.setAddress = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + +/** + * optional tendermint.crypto.PublicKey pub_key = 2; + * @return {?proto.tendermint.crypto.PublicKey} + */ +proto.tendermint.types.Validator.prototype.getPubKey = function() { + return /** @type{?proto.tendermint.crypto.PublicKey} */ ( + jspb.Message.getWrapperField(this, tendermint_crypto_keys_pb.PublicKey, 2)); +}; + + +/** + * @param {?proto.tendermint.crypto.PublicKey|undefined} value + * @return {!proto.tendermint.types.Validator} returns this +*/ +proto.tendermint.types.Validator.prototype.setPubKey = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.tendermint.types.Validator} returns this + */ +proto.tendermint.types.Validator.prototype.clearPubKey = function() { + return this.setPubKey(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.tendermint.types.Validator.prototype.hasPubKey = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional int64 voting_power = 3; + * @return {number} + */ +proto.tendermint.types.Validator.prototype.getVotingPower = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.tendermint.types.Validator} returns this + */ +proto.tendermint.types.Validator.prototype.setVotingPower = function(value) { + return jspb.Message.setProto3IntField(this, 3, value); +}; + + +/** + * optional int64 proposer_priority = 4; + * @return {number} + */ +proto.tendermint.types.Validator.prototype.getProposerPriority = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.tendermint.types.Validator} returns this + */ +proto.tendermint.types.Validator.prototype.setProposerPriority = function(value) { + return jspb.Message.setProto3IntField(this, 4, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.tendermint.types.SimpleValidator.prototype.toObject = function(opt_includeInstance) { + return proto.tendermint.types.SimpleValidator.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.tendermint.types.SimpleValidator} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.types.SimpleValidator.toObject = function(includeInstance, msg) { + var f, obj = { + pubKey: (f = msg.getPubKey()) && tendermint_crypto_keys_pb.PublicKey.toObject(includeInstance, f), + votingPower: jspb.Message.getFieldWithDefault(msg, 2, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.tendermint.types.SimpleValidator} + */ +proto.tendermint.types.SimpleValidator.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.tendermint.types.SimpleValidator; + return proto.tendermint.types.SimpleValidator.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.tendermint.types.SimpleValidator} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.tendermint.types.SimpleValidator} + */ +proto.tendermint.types.SimpleValidator.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new tendermint_crypto_keys_pb.PublicKey; + reader.readMessage(value,tendermint_crypto_keys_pb.PublicKey.deserializeBinaryFromReader); + msg.setPubKey(value); + break; + case 2: + var value = /** @type {number} */ (reader.readInt64()); + msg.setVotingPower(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.tendermint.types.SimpleValidator.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.tendermint.types.SimpleValidator.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.tendermint.types.SimpleValidator} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.types.SimpleValidator.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getPubKey(); + if (f != null) { + writer.writeMessage( + 1, + f, + tendermint_crypto_keys_pb.PublicKey.serializeBinaryToWriter + ); + } + f = message.getVotingPower(); + if (f !== 0) { + writer.writeInt64( + 2, + f + ); + } +}; + + +/** + * optional tendermint.crypto.PublicKey pub_key = 1; + * @return {?proto.tendermint.crypto.PublicKey} + */ +proto.tendermint.types.SimpleValidator.prototype.getPubKey = function() { + return /** @type{?proto.tendermint.crypto.PublicKey} */ ( + jspb.Message.getWrapperField(this, tendermint_crypto_keys_pb.PublicKey, 1)); +}; + + +/** + * @param {?proto.tendermint.crypto.PublicKey|undefined} value + * @return {!proto.tendermint.types.SimpleValidator} returns this +*/ +proto.tendermint.types.SimpleValidator.prototype.setPubKey = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.tendermint.types.SimpleValidator} returns this + */ +proto.tendermint.types.SimpleValidator.prototype.clearPubKey = function() { + return this.setPubKey(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.tendermint.types.SimpleValidator.prototype.hasPubKey = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional int64 voting_power = 2; + * @return {number} + */ +proto.tendermint.types.SimpleValidator.prototype.getVotingPower = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.tendermint.types.SimpleValidator} returns this + */ +proto.tendermint.types.SimpleValidator.prototype.setVotingPower = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + +goog.object.extend(exports, proto.tendermint.types); diff --git a/src/chains/penumbra/generated/tendermint/version/types_grpc_pb.js b/src/chains/penumbra/generated/tendermint/version/types_grpc_pb.js new file mode 100644 index 0000000000..97b3a2461d --- /dev/null +++ b/src/chains/penumbra/generated/tendermint/version/types_grpc_pb.js @@ -0,0 +1 @@ +// GENERATED CODE -- NO SERVICES IN PROTO \ No newline at end of file diff --git a/src/chains/penumbra/generated/tendermint/version/types_pb.d.ts b/src/chains/penumbra/generated/tendermint/version/types_pb.d.ts new file mode 100644 index 0000000000..679a48d643 --- /dev/null +++ b/src/chains/penumbra/generated/tendermint/version/types_pb.d.ts @@ -0,0 +1,54 @@ +// package: tendermint.version +// file: tendermint/version/types.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as gogoproto_gogo_pb from "../../gogoproto/gogo_pb"; + +export class App extends jspb.Message { + getProtocol(): number; + setProtocol(value: number): App; + getSoftware(): string; + setSoftware(value: string): App; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): App.AsObject; + static toObject(includeInstance: boolean, msg: App): App.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: App, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): App; + static deserializeBinaryFromReader(message: App, reader: jspb.BinaryReader): App; +} + +export namespace App { + export type AsObject = { + protocol: number, + software: string, + } +} + +export class Consensus extends jspb.Message { + getBlock(): number; + setBlock(value: number): Consensus; + getApp(): number; + setApp(value: number): Consensus; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Consensus.AsObject; + static toObject(includeInstance: boolean, msg: Consensus): Consensus.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: Consensus, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Consensus; + static deserializeBinaryFromReader(message: Consensus, reader: jspb.BinaryReader): Consensus; +} + +export namespace Consensus { + export type AsObject = { + block: number, + app: number, + } +} diff --git a/src/chains/penumbra/generated/tendermint/version/types_pb.js b/src/chains/penumbra/generated/tendermint/version/types_pb.js new file mode 100644 index 0000000000..de38393cde --- /dev/null +++ b/src/chains/penumbra/generated/tendermint/version/types_pb.js @@ -0,0 +1,390 @@ +// source: tendermint/version/types.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = (function() { + if (this) { return this; } + if (typeof window !== 'undefined') { return window; } + if (typeof global !== 'undefined') { return global; } + if (typeof self !== 'undefined') { return self; } + return Function('return this')(); +}.call(null)); + +var gogoproto_gogo_pb = require('../../gogoproto/gogo_pb.js'); +goog.object.extend(proto, gogoproto_gogo_pb); +goog.exportSymbol('proto.tendermint.version.App', null, global); +goog.exportSymbol('proto.tendermint.version.Consensus', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.tendermint.version.App = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.tendermint.version.App, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.tendermint.version.App.displayName = 'proto.tendermint.version.App'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.tendermint.version.Consensus = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.tendermint.version.Consensus, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.tendermint.version.Consensus.displayName = 'proto.tendermint.version.Consensus'; +} + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.tendermint.version.App.prototype.toObject = function(opt_includeInstance) { + return proto.tendermint.version.App.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.tendermint.version.App} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.version.App.toObject = function(includeInstance, msg) { + var f, obj = { + protocol: jspb.Message.getFieldWithDefault(msg, 1, 0), + software: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.tendermint.version.App} + */ +proto.tendermint.version.App.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.tendermint.version.App; + return proto.tendermint.version.App.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.tendermint.version.App} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.tendermint.version.App} + */ +proto.tendermint.version.App.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setProtocol(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setSoftware(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.tendermint.version.App.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.tendermint.version.App.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.tendermint.version.App} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.version.App.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getProtocol(); + if (f !== 0) { + writer.writeUint64( + 1, + f + ); + } + f = message.getSoftware(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional uint64 protocol = 1; + * @return {number} + */ +proto.tendermint.version.App.prototype.getProtocol = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.tendermint.version.App} returns this + */ +proto.tendermint.version.App.prototype.setProtocol = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional string software = 2; + * @return {string} + */ +proto.tendermint.version.App.prototype.getSoftware = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.tendermint.version.App} returns this + */ +proto.tendermint.version.App.prototype.setSoftware = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.tendermint.version.Consensus.prototype.toObject = function(opt_includeInstance) { + return proto.tendermint.version.Consensus.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.tendermint.version.Consensus} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.version.Consensus.toObject = function(includeInstance, msg) { + var f, obj = { + block: jspb.Message.getFieldWithDefault(msg, 1, 0), + app: jspb.Message.getFieldWithDefault(msg, 2, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.tendermint.version.Consensus} + */ +proto.tendermint.version.Consensus.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.tendermint.version.Consensus; + return proto.tendermint.version.Consensus.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.tendermint.version.Consensus} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.tendermint.version.Consensus} + */ +proto.tendermint.version.Consensus.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readUint64()); + msg.setBlock(value); + break; + case 2: + var value = /** @type {number} */ (reader.readUint64()); + msg.setApp(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.tendermint.version.Consensus.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.tendermint.version.Consensus.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.tendermint.version.Consensus} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.tendermint.version.Consensus.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getBlock(); + if (f !== 0) { + writer.writeUint64( + 1, + f + ); + } + f = message.getApp(); + if (f !== 0) { + writer.writeUint64( + 2, + f + ); + } +}; + + +/** + * optional uint64 block = 1; + * @return {number} + */ +proto.tendermint.version.Consensus.prototype.getBlock = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.tendermint.version.Consensus} returns this + */ +proto.tendermint.version.Consensus.prototype.setBlock = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional uint64 app = 2; + * @return {number} + */ +proto.tendermint.version.Consensus.prototype.getApp = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.tendermint.version.Consensus} returns this + */ +proto.tendermint.version.Consensus.prototype.setApp = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + +goog.object.extend(exports, proto.tendermint.version); diff --git a/src/chains/penumbra/penumbra.config.ts b/src/chains/penumbra/penumbra.config.ts new file mode 100644 index 0000000000..26a3366270 --- /dev/null +++ b/src/chains/penumbra/penumbra.config.ts @@ -0,0 +1,41 @@ +import { ConfigManagerV2 } from '../../services/config-manager-v2'; + +export interface NetworkConfig { + name: string; + rpcURL: string; +} + +export interface Config { + network: NetworkConfig; +} + +export namespace PenumbraConfig { + export const config: Config = getPenumbraConfig('penumbra'); +} + +export function getPenumbraConfig(chainName: string): Config { + const configManager = ConfigManagerV2.getInstance(); + const network = configManager.get(chainName + '.network'); + + return { + network: { + name: network, + rpcURL: configManager.get(chainName + '.networks.' + network + '.rpcURL'), + }, + }; +} + +// ! +// PROTO COMPILATION COMANDS -- Must run from base repo directory +// npm install grpc-tools @grpc/proto-loader grpc_tools_node_protoc_ts --legacy-peer-deps +/* + +find /Users/phil/Desktop/hummingbot/hummingbot-gateway/src/chains/penumbra -name "*.proto" | xargs npx grpc_tools_node_protoc \ + --js_out=import_style=commonjs,binary:/Users/phil/Desktop/hummingbot/hummingbot-gateway/src/chains/penumbra/generated \ + --grpc_out=grpc_js:/Users/phil/Desktop/hummingbot/hummingbot-gateway/src/chains/penumbra/generated \ + --plugin=protoc-gen-grpc=./node_modules/.bin/grpc_tools_node_protoc_plugin \ + --plugin=protoc-gen-ts=./node_modules/.bin/protoc-gen-ts \ + --ts_out=service=grpc-node:/Users/phil/Desktop/hummingbot/hummingbot-gateway/src/chains/penumbra/generated \ + -I/Users/phil/Desktop/hummingbot/hummingbot-gateway/src/chains/penumbra/proto/penumbra + +*/ diff --git a/src/chains/penumbra/penumbra.controller.ts b/src/chains/penumbra/penumbra.controller.ts new file mode 100644 index 0000000000..246f908e11 --- /dev/null +++ b/src/chains/penumbra/penumbra.controller.ts @@ -0,0 +1,50 @@ +import { PenumbraConfig } from './penumbra.config'; + +import { ViewProtocolServiceClient } from './generated/penumbra/view/v1alpha1/view_grpc_pb'; +import { BalancesRequest, BalancesResponse } from './generated/penumbra/view/v1alpha1/view_pb'; + +const grpc = require('@grpc/grpc-js'); + +export class PenumbraController { + static balances(req: BalancesRequest): Promise { + return new Promise((resolve, reject) => { + // Make connection + const client = new ViewProtocolServiceClient( + PenumbraConfig.config.network.rpcURL, + grpc.credentials.createInsecure() + ); + + // Get balances + const call = client.balances(req); + const responses: any[] = []; + + call.on('data', (response: any) => { + const balanceObject = BalancesResponse.toObject(false, response); + //console.log(balanceObject); + responses.push(balanceObject); + }); + + call.on('end', () => { + resolve(responses); + }); + + call.on('error', (error: any) => { + console.error('Error during streaming:', error); + reject(error); + }); + }); + } +} + +async function getBalances() { + const balances = await PenumbraController.balances(new BalancesRequest()); + + console.log('Balances: '); + balances.forEach((balance: any) => console.log(balance)); +} + +getBalances(); + +// To run this file locally +// npm install -g ts-node typescript '@types/node' +// ts-node src/chains/penumbra/penumbra.controller.ts diff --git a/src/chains/penumbra/proto/buf.gen.yaml b/src/chains/penumbra/proto/buf.gen.yaml new file mode 100644 index 0000000000..086c2eec93 --- /dev/null +++ b/src/chains/penumbra/proto/buf.gen.yaml @@ -0,0 +1,11 @@ +version: v1 +managed: + enabled: true + go_package_prefix: + default: github.com/penumbra-zone/penumbra/proto/go/gen + except: + - buf.build/cosmos/ibc +plugins: + - plugin: buf.build/protocolbuffers/go + out: go/gen + opt: paths=source_relative diff --git a/src/chains/penumbra/proto/buf.work.yaml b/src/chains/penumbra/proto/buf.work.yaml new file mode 100644 index 0000000000..7c61c8468d --- /dev/null +++ b/src/chains/penumbra/proto/buf.work.yaml @@ -0,0 +1,3 @@ +version: v1 +directories: + - penumbra diff --git a/src/chains/penumbra/proto/penumbra/buf.lock b/src/chains/penumbra/proto/penumbra/buf.lock new file mode 100644 index 0000000000..10a3ab205e --- /dev/null +++ b/src/chains/penumbra/proto/penumbra/buf.lock @@ -0,0 +1,33 @@ +# Generated by buf. DO NOT EDIT. +version: v1 +deps: + - remote: buf.build + owner: cosmos + repository: cosmos-proto + commit: 1935555c206d4afb9e94615dfd0fad31 + digest: shake256:c74d91a3ac7ae07d579e90eee33abf9b29664047ac8816500cf22c081fec0d72d62c89ce0bebafc1f6fec7aa5315be72606717740ca95007248425102c365377 + - remote: buf.build + owner: cosmos + repository: cosmos-sdk + commit: e7a85cef453e4b999ad9aff8714ae05f + digest: shake256:bc5f340b60991981d8aabefcc9c706780e25fa0d3ab7e1d9a3e75559f45c80038a913d05aa51928ad8dfebeee75feea1dc6e0e7a6311302e60c42fb3596ee262 + - remote: buf.build + owner: cosmos + repository: gogo-proto + commit: 34d970b699f84aa382f3c29773a60836 + digest: shake256:3d3bee5229ba579e7d19ffe6e140986a228b48a8c7fe74348f308537ab95e9135210e81812489d42cd8941d33ff71f11583174ccc5972e86e6112924b6ce9f04 + - remote: buf.build + owner: cosmos + repository: ibc + commit: 7ab44ae956a0488ea04e04511efa5f70 + digest: shake256:95cc5472ddf692d23654b7e5adfd79149469dcc90657f9a1f80ee3fea8af639cff59cd849efca0567d270118eea7c7ff2f7e60c562545bace410b8eece27577e + - remote: buf.build + owner: cosmos + repository: ics23 + commit: 55085f7c710a45f58fa09947208eb70b + digest: shake256:9bf0bc495b5a11c88d163d39ef521bc4b00bc1374a05758c91d82821bdc61f09e8c2c51dda8452529bf80137f34d852561eacbe9550a59015d51cecb0dacb628 + - remote: buf.build + owner: googleapis + repository: googleapis + commit: 75b4300737fb4efca0831636be94e517 + digest: shake256:d865f55b8ceb838c90c28b09894ab43d07f42551108c23760004a6a4e28fe24d3a1f7380a3c9278edb329a338a9cc5db8ad9f394de548e70d534e98504972d67 diff --git a/src/chains/penumbra/proto/penumbra/buf.yaml b/src/chains/penumbra/proto/penumbra/buf.yaml new file mode 100644 index 0000000000..3f40887723 --- /dev/null +++ b/src/chains/penumbra/proto/penumbra/buf.yaml @@ -0,0 +1,18 @@ +version: v1 +name: buf.build/penumbra-zone/penumbra +# We pin versions of the upstream cosmos deps, to avoid the chore of bumping +# the lockfile regularly, while still detecting uncommitted changes to our +# protos in CI. +deps: + # https://buf.build/cosmos/ibc/docs/7ab44ae956a0488ea04e04511efa5f70, 2023-09-13 + - buf.build/cosmos/ibc:7ab44ae956a0488ea04e04511efa5f70 + # cosmos-sdk 9d547dbea90f47afbe1898388fcebffb, 2023-05-31, breaks the build, requiring + # attributes 'extension' and 'extension_signature' on 'proto::tendermint::types::Vote'. + # https://buf.build/cosmos/cosmos-sdk/docs/e7a85cef453e4b999ad9aff8714ae05f, 2023-05-22 + - buf.build/cosmos/cosmos-sdk:e7a85cef453e4b999ad9aff8714ae05f +breaking: + use: + - FILE +lint: + use: + - DEFAULT diff --git a/src/chains/penumbra/proto/penumbra/cosmos/ics23/v1/proofs.proto b/src/chains/penumbra/proto/penumbra/cosmos/ics23/v1/proofs.proto new file mode 100644 index 0000000000..0e75dfb39b --- /dev/null +++ b/src/chains/penumbra/proto/penumbra/cosmos/ics23/v1/proofs.proto @@ -0,0 +1,234 @@ +syntax = "proto3"; + +package cosmos.ics23.v1; + +option go_package = "github.com/cosmos/ics23/go;ics23"; + +enum HashOp { + // NO_HASH is the default if no data passed. Note this is an illegal argument some places. + NO_HASH = 0; + SHA256 = 1; + SHA512 = 2; + KECCAK = 3; + RIPEMD160 = 4; + BITCOIN = 5; // ripemd160(sha256(x)) + SHA512_256 = 6; +} + +/** +LengthOp defines how to process the key and value of the LeafOp +to include length information. After encoding the length with the given +algorithm, the length will be prepended to the key and value bytes. +(Each one with it's own encoded length) +*/ +enum LengthOp { + // NO_PREFIX don't include any length info + NO_PREFIX = 0; + // VAR_PROTO uses protobuf (and go-amino) varint encoding of the length + VAR_PROTO = 1; + // VAR_RLP uses rlp int encoding of the length + VAR_RLP = 2; + // FIXED32_BIG uses big-endian encoding of the length as a 32 bit integer + FIXED32_BIG = 3; + // FIXED32_LITTLE uses little-endian encoding of the length as a 32 bit integer + FIXED32_LITTLE = 4; + // FIXED64_BIG uses big-endian encoding of the length as a 64 bit integer + FIXED64_BIG = 5; + // FIXED64_LITTLE uses little-endian encoding of the length as a 64 bit integer + FIXED64_LITTLE = 6; + // REQUIRE_32_BYTES is like NONE, but will fail if the input is not exactly 32 bytes (sha256 output) + REQUIRE_32_BYTES = 7; + // REQUIRE_64_BYTES is like NONE, but will fail if the input is not exactly 64 bytes (sha512 output) + REQUIRE_64_BYTES = 8; +} + +/** +ExistenceProof takes a key and a value and a set of steps to perform on it. +The result of peforming all these steps will provide a "root hash", which can +be compared to the value in a header. + +Since it is computationally infeasible to produce a hash collission for any of the used +cryptographic hash functions, if someone can provide a series of operations to transform +a given key and value into a root hash that matches some trusted root, these key and values +must be in the referenced merkle tree. + +The only possible issue is maliablity in LeafOp, such as providing extra prefix data, +which should be controlled by a spec. Eg. with lengthOp as NONE, + prefix = FOO, key = BAR, value = CHOICE +and + prefix = F, key = OOBAR, value = CHOICE +would produce the same value. + +With LengthOp this is tricker but not impossible. Which is why the "leafPrefixEqual" field +in the ProofSpec is valuable to prevent this mutability. And why all trees should +length-prefix the data before hashing it. +*/ +message ExistenceProof { + bytes key = 1; + bytes value = 2; + LeafOp leaf = 3; + repeated InnerOp path = 4; +} + +/* +NonExistenceProof takes a proof of two neighbors, one left of the desired key, +one right of the desired key. If both proofs are valid AND they are neighbors, +then there is no valid proof for the given key. +*/ +message NonExistenceProof { + bytes key = 1; // TODO: remove this as unnecessary??? we prove a range + ExistenceProof left = 2; + ExistenceProof right = 3; +} + +/* +CommitmentProof is either an ExistenceProof or a NonExistenceProof, or a Batch of such messages +*/ +message CommitmentProof { + oneof proof { + ExistenceProof exist = 1; + NonExistenceProof nonexist = 2; + BatchProof batch = 3; + CompressedBatchProof compressed = 4; + } +} + +/** +LeafOp represents the raw key-value data we wish to prove, and +must be flexible to represent the internal transformation from +the original key-value pairs into the basis hash, for many existing +merkle trees. + +key and value are passed in. So that the signature of this operation is: + leafOp(key, value) -> output + +To process this, first prehash the keys and values if needed (ANY means no hash in this case): + hkey = prehashKey(key) + hvalue = prehashValue(value) + +Then combine the bytes, and hash it + output = hash(prefix || length(hkey) || hkey || length(hvalue) || hvalue) +*/ +message LeafOp { + HashOp hash = 1; + HashOp prehash_key = 2; + HashOp prehash_value = 3; + LengthOp length = 4; + // prefix is a fixed bytes that may optionally be included at the beginning to differentiate + // a leaf node from an inner node. + bytes prefix = 5; +} + +/** +InnerOp represents a merkle-proof step that is not a leaf. +It represents concatenating two children and hashing them to provide the next result. + +The result of the previous step is passed in, so the signature of this op is: + innerOp(child) -> output + +The result of applying InnerOp should be: + output = op.hash(op.prefix || child || op.suffix) + + where the || operator is concatenation of binary data, +and child is the result of hashing all the tree below this step. + +Any special data, like prepending child with the length, or prepending the entire operation with +some value to differentiate from leaf nodes, should be included in prefix and suffix. +If either of prefix or suffix is empty, we just treat it as an empty string +*/ +message InnerOp { + HashOp hash = 1; + bytes prefix = 2; + bytes suffix = 3; +} + +/** +ProofSpec defines what the expected parameters are for a given proof type. +This can be stored in the client and used to validate any incoming proofs. + + verify(ProofSpec, Proof) -> Proof | Error + +As demonstrated in tests, if we don't fix the algorithm used to calculate the +LeafHash for a given tree, there are many possible key-value pairs that can +generate a given hash (by interpretting the preimage differently). +We need this for proper security, requires client knows a priori what +tree format server uses. But not in code, rather a configuration object. +*/ +message ProofSpec { + // any field in the ExistenceProof must be the same as in this spec. + // except Prefix, which is just the first bytes of prefix (spec can be longer) + LeafOp leaf_spec = 1; + InnerSpec inner_spec = 2; + // max_depth (if > 0) is the maximum number of InnerOps allowed (mainly for fixed-depth tries) + int32 max_depth = 3; + // min_depth (if > 0) is the minimum number of InnerOps allowed (mainly for fixed-depth tries) + int32 min_depth = 4; +} + +/* +InnerSpec contains all store-specific structure info to determine if two proofs from a +given store are neighbors. + +This enables: + + isLeftMost(spec: InnerSpec, op: InnerOp) + isRightMost(spec: InnerSpec, op: InnerOp) + isLeftNeighbor(spec: InnerSpec, left: InnerOp, right: InnerOp) +*/ +message InnerSpec { + // Child order is the ordering of the children node, must count from 0 + // iavl tree is [0, 1] (left then right) + // merk is [0, 2, 1] (left, right, here) + repeated int32 child_order = 1; + int32 child_size = 2; + int32 min_prefix_length = 3; + int32 max_prefix_length = 4; + // empty child is the prehash image that is used when one child is nil (eg. 20 bytes of 0) + bytes empty_child = 5; + // hash is the algorithm that must be used for each InnerOp + HashOp hash = 6; +} + +/* +BatchProof is a group of multiple proof types than can be compressed +*/ +message BatchProof { + repeated BatchEntry entries = 1; +} + +// Use BatchEntry not CommitmentProof, to avoid recursion +message BatchEntry { + oneof proof { + ExistenceProof exist = 1; + NonExistenceProof nonexist = 2; + } +} + +/****** all items here are compressed forms *******/ + +message CompressedBatchProof { + repeated CompressedBatchEntry entries = 1; + repeated InnerOp lookup_inners = 2; +} + +// Use BatchEntry not CommitmentProof, to avoid recursion +message CompressedBatchEntry { + oneof proof { + CompressedExistenceProof exist = 1; + CompressedNonExistenceProof nonexist = 2; + } +} + +message CompressedExistenceProof { + bytes key = 1; + bytes value = 2; + LeafOp leaf = 3; + // these are indexes into the lookup_inners table in CompressedBatchProof + repeated int32 path = 4; +} + +message CompressedNonExistenceProof { + bytes key = 1; // TODO: remove this as unnecessary??? we prove a range + CompressedExistenceProof left = 2; + CompressedExistenceProof right = 3; +} diff --git a/src/chains/penumbra/proto/penumbra/gogoproto/gogo.proto b/src/chains/penumbra/proto/penumbra/gogoproto/gogo.proto new file mode 100644 index 0000000000..974b36a7cc --- /dev/null +++ b/src/chains/penumbra/proto/penumbra/gogoproto/gogo.proto @@ -0,0 +1,145 @@ +// Protocol Buffers for Go with Gadgets +// +// Copyright (c) 2013, The GoGo Authors. All rights reserved. +// http://github.com/cosmos/gogoproto +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +syntax = "proto2"; +package gogoproto; + +import "google/protobuf/descriptor.proto"; + +option java_package = "com.google.protobuf"; +option java_outer_classname = "GoGoProtos"; +option go_package = "github.com/cosmos/gogoproto/gogoproto"; + +extend google.protobuf.EnumOptions { + optional bool goproto_enum_prefix = 62001; + optional bool goproto_enum_stringer = 62021; + optional bool enum_stringer = 62022; + optional string enum_customname = 62023; + optional bool enumdecl = 62024; +} + +extend google.protobuf.EnumValueOptions { + optional string enumvalue_customname = 66001; +} + +extend google.protobuf.FileOptions { + optional bool goproto_getters_all = 63001; + optional bool goproto_enum_prefix_all = 63002; + optional bool goproto_stringer_all = 63003; + optional bool verbose_equal_all = 63004; + optional bool face_all = 63005; + optional bool gostring_all = 63006; + optional bool populate_all = 63007; + optional bool stringer_all = 63008; + optional bool onlyone_all = 63009; + + optional bool equal_all = 63013; + optional bool description_all = 63014; + optional bool testgen_all = 63015; + optional bool benchgen_all = 63016; + optional bool marshaler_all = 63017; + optional bool unmarshaler_all = 63018; + optional bool stable_marshaler_all = 63019; + + optional bool sizer_all = 63020; + + optional bool goproto_enum_stringer_all = 63021; + optional bool enum_stringer_all = 63022; + + optional bool unsafe_marshaler_all = 63023; + optional bool unsafe_unmarshaler_all = 63024; + + optional bool goproto_extensions_map_all = 63025; + optional bool goproto_unrecognized_all = 63026; + optional bool gogoproto_import = 63027; + optional bool protosizer_all = 63028; + optional bool compare_all = 63029; + optional bool typedecl_all = 63030; + optional bool enumdecl_all = 63031; + + optional bool goproto_registration = 63032; + optional bool messagename_all = 63033; + + optional bool goproto_sizecache_all = 63034; + optional bool goproto_unkeyed_all = 63035; +} + +extend google.protobuf.MessageOptions { + optional bool goproto_getters = 64001; + optional bool goproto_stringer = 64003; + optional bool verbose_equal = 64004; + optional bool face = 64005; + optional bool gostring = 64006; + optional bool populate = 64007; + optional bool stringer = 67008; + optional bool onlyone = 64009; + + optional bool equal = 64013; + optional bool description = 64014; + optional bool testgen = 64015; + optional bool benchgen = 64016; + optional bool marshaler = 64017; + optional bool unmarshaler = 64018; + optional bool stable_marshaler = 64019; + + optional bool sizer = 64020; + + optional bool unsafe_marshaler = 64023; + optional bool unsafe_unmarshaler = 64024; + + optional bool goproto_extensions_map = 64025; + optional bool goproto_unrecognized = 64026; + + optional bool protosizer = 64028; + optional bool compare = 64029; + + optional bool typedecl = 64030; + + optional bool messagename = 64033; + + optional bool goproto_sizecache = 64034; + optional bool goproto_unkeyed = 64035; +} + +extend google.protobuf.FieldOptions { + optional bool nullable = 65001; + optional bool embed = 65002; + optional string customtype = 65003; + optional string customname = 65004; + optional string jsontag = 65005; + optional string moretags = 65006; + optional string casttype = 65007; + optional string castkey = 65008; + optional string castvalue = 65009; + + optional bool stdtime = 65010; + optional bool stdduration = 65011; + optional bool wktpointer = 65012; + + optional string castrepeated = 65013; +} diff --git a/src/chains/penumbra/proto/penumbra/ibc/core/client/v1/client.proto b/src/chains/penumbra/proto/penumbra/ibc/core/client/v1/client.proto new file mode 100644 index 0000000000..5da8f86a3a --- /dev/null +++ b/src/chains/penumbra/proto/penumbra/ibc/core/client/v1/client.proto @@ -0,0 +1,63 @@ +syntax = "proto3"; + +package ibc.core.client.v1; + +option go_package = "github.com/cosmos/ibc-go/v8/modules/core/02-client/types"; + +import "gogoproto/gogo.proto"; +import "google/protobuf/any.proto"; + +// IdentifiedClientState defines a client state with an additional client +// identifier field. +message IdentifiedClientState { + // client identifier + string client_id = 1; + // client state + google.protobuf.Any client_state = 2; +} + +// ConsensusStateWithHeight defines a consensus state with an additional height +// field. +message ConsensusStateWithHeight { + // consensus state height + Height height = 1 [(gogoproto.nullable) = false]; + // consensus state + google.protobuf.Any consensus_state = 2; +} + +// ClientConsensusStates defines all the stored consensus states for a given +// client. +message ClientConsensusStates { + // client identifier + string client_id = 1; + // consensus states and their heights associated with the client + repeated ConsensusStateWithHeight consensus_states = 2 [(gogoproto.nullable) = false]; +} + +// Height is a monotonically increasing data type +// that can be compared against another Height for the purposes of updating and +// freezing clients +// +// Normally the RevisionHeight is incremented at each height while keeping +// RevisionNumber the same. However some consensus algorithms may choose to +// reset the height in certain conditions e.g. hard forks, state-machine +// breaking changes In these cases, the RevisionNumber is incremented so that +// height continues to be monitonically increasing even as the RevisionHeight +// gets reset +message Height { + option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_stringer) = false; + + // the revision that the client is currently on + uint64 revision_number = 1; + // the height within the given revision + uint64 revision_height = 2; +} + +// Params defines the set of IBC light client parameters. +message Params { + // allowed_clients defines the list of allowed client state types which can be created + // and interacted with. If a client type is removed from the allowed clients list, usage + // of this client will be disabled until it is added again to the list. + repeated string allowed_clients = 1; +} diff --git a/src/chains/penumbra/proto/penumbra/ibc/core/commitment/v1/commitment.proto b/src/chains/penumbra/proto/penumbra/ibc/core/commitment/v1/commitment.proto new file mode 100644 index 0000000000..bbad400bf7 --- /dev/null +++ b/src/chains/penumbra/proto/penumbra/ibc/core/commitment/v1/commitment.proto @@ -0,0 +1,41 @@ +syntax = "proto3"; + +package ibc.core.commitment.v1; + +option go_package = "github.com/cosmos/ibc-go/v8/modules/core/23-commitment/types"; + +import "gogoproto/gogo.proto"; +import "cosmos/ics23/v1/proofs.proto"; + +// MerkleRoot defines a merkle root hash. +// In the Cosmos SDK, the AppHash of a block header becomes the root. +message MerkleRoot { + option (gogoproto.goproto_getters) = false; + + bytes hash = 1; +} + +// MerklePrefix is merkle path prefixed to the key. +// The constructed key from the Path and the key will be append(Path.KeyPath, +// append(Path.KeyPrefix, key...)) +message MerklePrefix { + bytes key_prefix = 1; +} + +// MerklePath is the path used to verify commitment proofs, which can be an +// arbitrary structured object (defined by a commitment type). +// MerklePath is represented from root-to-leaf +message MerklePath { + option (gogoproto.goproto_stringer) = false; + + repeated string key_path = 1; +} + +// MerkleProof is a wrapper type over a chain of CommitmentProofs. +// It demonstrates membership or non-membership for an element or set of +// elements, verifiable in conjunction with a known commitment root. Proofs +// should be succinct. +// MerkleProofs are ordered from leaf-to-root +message MerkleProof { + repeated cosmos.ics23.v1.CommitmentProof proofs = 1; +} diff --git a/src/chains/penumbra/proto/penumbra/penumbra/core/app/v1alpha1/app.proto b/src/chains/penumbra/proto/penumbra/penumbra/core/app/v1alpha1/app.proto new file mode 100644 index 0000000000..fb4df862c7 --- /dev/null +++ b/src/chains/penumbra/proto/penumbra/penumbra/core/app/v1alpha1/app.proto @@ -0,0 +1,110 @@ +syntax = "proto3"; +package penumbra.core.app.v1alpha1; + +import "penumbra/core/component/chain/v1alpha1/chain.proto"; +import "penumbra/core/component/stake/v1alpha1/stake.proto"; +import "penumbra/core/component/shielded_pool/v1alpha1/shielded_pool.proto"; +import "penumbra/core/component/governance/v1alpha1/governance.proto"; +import "penumbra/core/component/ibc/v1alpha1/ibc.proto"; +import "penumbra/core/component/fee/v1alpha1/fee.proto"; +import "penumbra/core/component/dao/v1alpha1/dao.proto"; +import "ibc/core/commitment/v1/commitment.proto"; + +// Query operations for the overall Penumbra application. +service QueryService { + // Gets the app parameters. + rpc AppParameters(AppParametersRequest) returns (AppParametersResponse); + + // General-purpose key-value state query API, that can be used to query + // arbitrary keys in the JMT storage. + rpc KeyValue(KeyValueRequest) returns (KeyValueResponse); + + // General-purpose prefixed key-value state query API, that can be used to query + // arbitrary prefixes in the JMT storage. + // Returns a stream of `PrefixValueResponse`s. + rpc PrefixValue(PrefixValueRequest) returns (stream PrefixValueResponse); +} + +// Performs a key-value query, either by key or by key hash. +// +// Proofs are only supported by key. +message KeyValueRequest { + // The expected chain id (empty string if no expectation). + string chain_id = 1; + // If set, the key to fetch from storage. + string key = 2; + // whether to return a proof + bool proof = 3; +} + +message KeyValueResponse { + message Value { + bytes value = 1; + } + // The value corresponding to the specified key, if it was found. + Value value = 1; + // A proof of existence or non-existence. + .ibc.core.commitment.v1.MerkleProof proof = 2; +} + +// Performs a prefixed key-value query, by string prefix. +message PrefixValueRequest { + // The expected chain id (empty string if no expectation). + string chain_id = 1; + // The prefix to fetch subkeys from storage. + string prefix = 2; +} + +message PrefixValueResponse { + string key = 1; + bytes value = 2; +} + +message AppParameters { + // Chain module parameters. + core.component.chain.v1alpha1.ChainParameters chain_params = 1; + // DAO module parameters. + core.component.dao.v1alpha1.DaoParameters dao_params = 2; + // Governance module parameters. + core.component.governance.v1alpha1.GovernanceParameters governance_params = 3; + // IBC module parameters. + core.component.ibc.v1alpha1.IbcParameters ibc_params = 4; + // Stake module parameters. + core.component.stake.v1alpha1.StakeParameters stake_params = 5; + // Fee module parameters. + core.component.fee.v1alpha1.FeeParameters fee_params = 6; +} + +// Requests the global configuration data for the app. +message AppParametersRequest { + // The expected chain id (empty string if no expectation). + string chain_id = 1; +} + +message AppParametersResponse { + AppParameters app_parameters = 1; +} + +message GenesisAppState { + oneof genesis_app_state { + GenesisContent genesis_content = 1; + bytes genesis_checkpoint = 2; + } +} + +message GenesisContent { + // Stake module genesis state. + core.component.stake.v1alpha1.GenesisContent stake_content = 1; + // Shielded pool module genesis state. + core.component.shielded_pool.v1alpha1.GenesisContent shielded_pool_content = 2; + // Governance module genesis state. + core.component.governance.v1alpha1.GenesisContent governance_content = 3; + // IBC module genesis state. + core.component.ibc.v1alpha1.GenesisContent ibc_content = 4; + // Chain module genesis state. + core.component.chain.v1alpha1.GenesisContent chain_content = 5; + // DAO module genesis state. + core.component.dao.v1alpha1.GenesisContent dao_content = 6; + // Fee module genesis state. + core.component.fee.v1alpha1.GenesisContent fee_content = 7; +} \ No newline at end of file diff --git a/src/chains/penumbra/proto/penumbra/penumbra/core/asset/v1alpha1/asset.proto b/src/chains/penumbra/proto/penumbra/penumbra/core/asset/v1alpha1/asset.proto new file mode 100644 index 0000000000..2433d7df52 --- /dev/null +++ b/src/chains/penumbra/proto/penumbra/penumbra/core/asset/v1alpha1/asset.proto @@ -0,0 +1,104 @@ +syntax = "proto3"; +package penumbra.core.asset.v1alpha1; + +import "penumbra/core/num/v1alpha1/num.proto"; + +message BalanceCommitment { + bytes inner = 1; +} + +// A Penumbra asset ID. +message AssetId { + // The bytes of the asset ID. + bytes inner = 1; + + // Alternatively, a Bech32m-encoded string representation of the `inner` + // bytes. + // + // NOTE: implementations are not required to support parsing this field. + // Implementations should prefer to encode the `inner` bytes in all messages they + // produce. Implementations must not accept messages with both `inner` and + // `alt_bech32m` set. This field exists for convenience of RPC users. + string alt_bech32m = 2; + + // Alternatively, a base denomination string which should be hashed to obtain the asset ID. + // + // NOTE: implementations are not required to support parsing this field. + // Implementations should prefer to encode the bytes in all messages they + // produce. Implementations must not accept messages with both `inner` and + // `alt_base_denom` set. This field exists for convenience of RPC users. + string alt_base_denom = 3; +} + +message Denom { + string denom = 1; +} + +// DenomMetadata represents a struct that describes a basic token. + message DenomMetadata { + string description = 1; + // denom_units represents the list of DenomUnit's for a given coin + repeated DenomUnit denom_units = 2; + // base represents the base denom (should be the DenomUnit with exponent = 0). + string base = 3; + // display indicates the suggested denom that should be + // displayed in clients. + string display = 4; + // name defines the name of the token (eg: Cosmos Atom) + string name = 5; + // symbol is the token symbol usually shown on exchanges (eg: ATOM). This can + // be the same as the display. + string symbol = 6; + // URI to a document (on or off-chain) that contains additional information. Optional. + string uri = 7; + // URIHash is a sha256 hash of a document pointed by URI. It's used to verify that + // the document didn't change. Optional. + string uri_hash = 8; + + // the asset ID on Penumbra for this denomination. + AssetId penumbra_asset_id = 1984; + } + + // DenomUnit represents a struct that describes a given denomination unit of the basic token. + message DenomUnit { + // denom represents the string name of the given denom unit (e.g uatom). + string denom = 1; + // exponent represents power of 10 exponent that one must + // raise the base_denom to in order to equal the given DenomUnit's denom + // 1 denom = 10^exponent base_denom + // (e.g. with a base_denom of uatom, one can create a DenomUnit of 'atom' with + // exponent = 6, thus: 1 atom = 10^6 uatom). + uint32 exponent = 2; + // aliases is a list of string aliases for the given denom + repeated string aliases = 3; + } + +message Value { + core.num.v1alpha1.Amount amount = 1; + AssetId asset_id = 2; +} + +// Represents a value of a known or unknown denomination. +// +// Note: unlike some other View types, we don't just store the underlying +// `Value` message together with an additional `Denom`. Instead, we record +// either an `Amount` and `Denom` (only) or an `Amount` and `AssetId`. This is +// because we don't want to allow a situation where the supplied `Denom` doesn't +// match the `AssetId`, and a consumer of the API that doesn't check is tricked. +// This way, the `Denom` will always match, because the consumer is forced to +// recompute it themselves if they want it. +message ValueView { + // A value whose asset ID has a known denomination. + message KnownDenom { + core.num.v1alpha1.Amount amount = 1; + DenomMetadata denom = 2; + } + message UnknownDenom { + core.num.v1alpha1.Amount amount = 1; + AssetId asset_id = 2; + } + oneof value_view { + KnownDenom known_denom = 1; + UnknownDenom unknown_denom = 2; + } +} \ No newline at end of file diff --git a/src/chains/penumbra/proto/penumbra/penumbra/core/component/chain/v1alpha1/chain.proto b/src/chains/penumbra/proto/penumbra/penumbra/core/component/chain/v1alpha1/chain.proto new file mode 100644 index 0000000000..f45f5acd7e --- /dev/null +++ b/src/chains/penumbra/proto/penumbra/penumbra/core/component/chain/v1alpha1/chain.proto @@ -0,0 +1,71 @@ +syntax = "proto3"; +package penumbra.core.component.chain.v1alpha1; + +import "penumbra/core/asset/v1alpha1/asset.proto"; + +// An authorization hash for a Penumbra transaction. +message EffectHash { + bytes inner = 1; +} + +// Global chain configuration data, such as chain ID, epoch duration, etc. +message ChainParameters { + // The identifier of the chain. + string chain_id = 1; + // The duration of each epoch, in number of blocks. + uint64 epoch_duration = 2; +} + +// The ratio between two numbers, used in governance to describe vote thresholds and quorums. +message Ratio { + // The numerator. + uint64 numerator = 1; + // The denominator. + uint64 denominator = 2; +} + +// Parameters for Fuzzy Message Detection +message FmdParameters { + uint32 precision_bits = 1; + uint64 as_of_block_height = 2; +} + +message KnownAssets { + repeated asset.v1alpha1.DenomMetadata assets = 1; +} + +// A spicy transaction ID +message NoteSource { + bytes inner = 1; +} + +// A NoteSource paired with the height at which the note was spent +message SpendInfo { + NoteSource note_source = 1; + uint64 spend_height = 2; +} + +// Chain-specific genesis content. +message GenesisContent { + // The ChainParameters present at genesis. + ChainParameters chain_params = 1; +} + +message Epoch { + uint64 index = 1; + uint64 start_height = 2; +} + +// Query operations for the chain component. +service QueryService { + // TODO: move to SCT cf sct/src/component/view.rs:9 "make epoch management the responsibility of this component" + rpc EpochByHeight(EpochByHeightRequest) returns (EpochByHeightResponse); +} + +message EpochByHeightRequest { + uint64 height = 1; +} + +message EpochByHeightResponse { + core.component.chain.v1alpha1.Epoch epoch = 1; +} \ No newline at end of file diff --git a/src/chains/penumbra/proto/penumbra/penumbra/core/component/compact_block/v1alpha1/compact_block.proto b/src/chains/penumbra/proto/penumbra/penumbra/core/component/compact_block/v1alpha1/compact_block.proto new file mode 100644 index 0000000000..e7de6e1783 --- /dev/null +++ b/src/chains/penumbra/proto/penumbra/penumbra/core/component/compact_block/v1alpha1/compact_block.proto @@ -0,0 +1,74 @@ +syntax = "proto3"; +package penumbra.core.component.compact_block.v1alpha1; + +import "penumbra/crypto/tct/v1alpha1/tct.proto"; +import "penumbra/core/component/sct/v1alpha1/sct.proto"; +import "penumbra/core/component/chain/v1alpha1/chain.proto"; +import "penumbra/core/component/dex/v1alpha1/dex.proto"; +import "penumbra/core/component/fee/v1alpha1/fee.proto"; +import "penumbra/core/component/shielded_pool/v1alpha1/shielded_pool.proto"; + +// Contains the minimum data needed to update client state. +message CompactBlock { + uint64 height = 1; + // State payloads describing new state fragments. + repeated StatePayload state_payloads = 2; + // Nullifiers identifying spent notes. + repeated sct.v1alpha1.Nullifier nullifiers = 3; + // The block root of this block. + crypto.tct.v1alpha1.MerkleRoot block_root = 4; + // The epoch root of this epoch (only present when the block is the last in an epoch). + crypto.tct.v1alpha1.MerkleRoot epoch_root = 17; + // If a proposal started voting in this block, this is set to `true`. + bool proposal_started = 20; + // Latest Fuzzy Message Detection parameters. + chain.v1alpha1.FmdParameters fmd_parameters = 100; + // Price data for swaps executed in this block. + repeated dex.v1alpha1.BatchSwapOutputData swap_outputs = 5; + // Indicates updated app parameters. + bool app_parameters_updated = 6; + // Updated gas prices, if they have changed. + fee.v1alpha1.GasPrices gas_prices = 7; +} + +message StatePayload { + message RolledUp { + crypto.tct.v1alpha1.StateCommitment commitment = 1; + } + message Note { + chain.v1alpha1.NoteSource source = 1; + shielded_pool.v1alpha1.NotePayload note = 2; + } + message Swap { + chain.v1alpha1.NoteSource source = 1; + dex.v1alpha1.SwapPayload swap = 2; + } + oneof state_payload { + RolledUp rolled_up = 1; + Note note = 2; + Swap swap = 3; + } +} + +// Query operations for the compact block component. +service QueryService { + // Returns a stream of `CompactBlockRangeResponse`s. + rpc CompactBlockRange(CompactBlockRangeRequest) returns (stream CompactBlockRangeResponse); +} + +// Requests a range of compact block data. +message CompactBlockRangeRequest { + // The expected chain id (empty string if no expectation). + string chain_id = 1; + // The start height of the range. + uint64 start_height = 2; + // The end height of the range, defaults to the latest block height. + uint64 end_height = 3; + // If set, keeps the connection alive past `end_height`, + // streaming new compact blocks as they are created. + bool keep_alive = 4; +} + +message CompactBlockRangeResponse { + core.component.compact_block.v1alpha1.CompactBlock compact_block = 1; +} diff --git a/src/chains/penumbra/proto/penumbra/penumbra/core/component/dao/v1alpha1/dao.proto b/src/chains/penumbra/proto/penumbra/penumbra/core/component/dao/v1alpha1/dao.proto new file mode 100644 index 0000000000..45ffc8c774 --- /dev/null +++ b/src/chains/penumbra/proto/penumbra/penumbra/core/component/dao/v1alpha1/dao.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; +package penumbra.core.component.dao.v1alpha1; + +// Dao parameter data. +message DaoParameters { + // Whether DAO spend proposals are enabled. + bool dao_spend_proposals_enabled = 1; +} + +// Dao genesis state. +message GenesisContent { + // Dao parameters. + DaoParameters dao_params = 1; +} \ No newline at end of file diff --git a/src/chains/penumbra/proto/penumbra/penumbra/core/component/dex/v1alpha1/dex.proto b/src/chains/penumbra/proto/penumbra/penumbra/core/component/dex/v1alpha1/dex.proto new file mode 100644 index 0000000000..6a81cbf8be --- /dev/null +++ b/src/chains/penumbra/proto/penumbra/penumbra/core/component/dex/v1alpha1/dex.proto @@ -0,0 +1,563 @@ +syntax = "proto3"; +package penumbra.core.component.dex.v1alpha1; + +import "penumbra/crypto/tct/v1alpha1/tct.proto"; +import "penumbra/core/num/v1alpha1/num.proto"; +import "penumbra/core/asset/v1alpha1/asset.proto"; +import "penumbra/core/keys/v1alpha1/keys.proto"; +import "penumbra/core/component/sct/v1alpha1/sct.proto"; +import "penumbra/core/component/fee/v1alpha1/fee.proto"; +import "penumbra/core/component/shielded_pool/v1alpha1/shielded_pool.proto"; + +// A Penumbra ZK swap proof. +message ZKSwapProof { + bytes inner = 1; +} + +// A Penumbra ZK swap claim proof. +message ZKSwapClaimProof { + bytes inner = 1; +} + +// A transaction action that submits a swap to the dex. +message Swap { + // Contains the Swap proof. + ZKSwapProof proof = 1; + // Encapsulates the authorized fields of the Swap action, used in signing. + SwapBody body = 4; +} + +// A transaction action that obtains assets previously confirmed +// via a Swap transaction. Does not include a spend authorization +// signature, as it is only capable of consuming the NFT from a +// Swap transaction. +message SwapClaim { + // Contains the SwapClaim proof. + ZKSwapClaimProof proof = 1; + // Encapsulates the authorized fields of the SwapClaim action, used in signing. + SwapClaimBody body = 2; + // The epoch duration of the chain when the swap claim took place. + uint64 epoch_duration = 7; +} + +// Encapsulates the authorized fields of the SwapClaim action, used in signing. +message SwapClaimBody { + // The nullifier for the Swap commitment to be consumed. + component.sct.v1alpha1.Nullifier nullifier = 1; + // The fee allows `SwapClaim` without an additional `Spend`. + component.fee.v1alpha1.Fee fee = 2; + // Note output for asset 1. + crypto.tct.v1alpha1.StateCommitment output_1_commitment = 3; + // Note output for asset 2. + crypto.tct.v1alpha1.StateCommitment output_2_commitment = 4; + // Input and output amounts, and asset IDs for the assets in the swap. + BatchSwapOutputData output_data = 6; +} + +// The authorized data of a Swap transaction. +message SwapBody { + // The trading pair to swap. + TradingPair trading_pair = 1; + // The amount for asset 1. + num.v1alpha1.Amount delta_1_i = 2; + // The amount for asset 2. + num.v1alpha1.Amount delta_2_i = 3; + // A commitment to a prepaid fee for the future SwapClaim. + // This is recorded separately from delta_j_i because it's shielded; + // in the future we'll want separate commitments to each delta_j_i + // anyways in order to prove consistency with flow encryption. + asset.v1alpha1.BalanceCommitment fee_commitment = 4; + // The swap commitment and encryption of the swap data. + SwapPayload payload = 5; +} + +message SwapPayload { + crypto.tct.v1alpha1.StateCommitment commitment = 1; + bytes encrypted_swap = 2; +} + +message SwapPlaintext { + // The trading pair to swap. + TradingPair trading_pair = 1; + // Input amount of asset 1 + num.v1alpha1.Amount delta_1_i = 2; + // Input amount of asset 2 + num.v1alpha1.Amount delta_2_i = 3; + // Pre-paid fee to claim the swap + fee.v1alpha1.Fee claim_fee = 4; + // Address that will claim the swap outputs via SwapClaim. + keys.v1alpha1.Address claim_address = 5; + // Swap rseed (blinding factors are derived from this) + bytes rseed = 6; +} + +message SwapPlan { + // The plaintext version of the swap to be performed. + dex.v1alpha1.SwapPlaintext swap_plaintext = 1; + // The blinding factor for the fee commitment. The fee in the SwapPlan is private to prevent linkability with the SwapClaim. + bytes fee_blinding = 2; + // The first blinding factor to use for the ZK swap proof. + bytes proof_blinding_r = 3; + // The second blinding factor to use for the ZK swap proof. + bytes proof_blinding_s = 4; +} + +message SwapClaimPlan { + // The plaintext version of the swap to be performed. + dex.v1alpha1.SwapPlaintext swap_plaintext = 1; + // The position of the swap commitment. + uint64 position = 2; + // Input and output amounts for the Swap. + dex.v1alpha1.BatchSwapOutputData output_data = 3; + // The epoch duration, used in proving. + uint64 epoch_duration = 4; + // The first blinding factor to use for the ZK swap claim proof. + bytes proof_blinding_r = 5; + // The second blinding factor to use for the ZK swap claim proof. + bytes proof_blinding_s = 6; +} + +message SwapView { + message Visible { + dex.v1alpha1.Swap swap = 1; + dex.v1alpha1.SwapPlaintext swap_plaintext = 3; + } + + message Opaque { + dex.v1alpha1.Swap swap = 1; + } + + oneof swap_view { + Visible visible = 1; + Opaque opaque = 2; + } +} + +message SwapClaimView { + message Visible { + dex.v1alpha1.SwapClaim swap_claim = 1; + shielded_pool.v1alpha1.NoteView output_1 = 2; + shielded_pool.v1alpha1.NoteView output_2 = 3; + } + message Opaque { + dex.v1alpha1.SwapClaim swap_claim = 1; + } + oneof swap_claim_view { + Visible visible = 1; + Opaque opaque = 2; + } +} + +// Holds two asset IDs. Ordering doesn't reflect trading direction. Instead, we +// require `asset_1 < asset_2` as field elements, to ensure a canonical +// representation of an unordered pair. +message TradingPair { + // The first asset of the pair. + asset.v1alpha1.AssetId asset_1 = 1; + // The second asset of the pair. + asset.v1alpha1.AssetId asset_2 = 2; +} + +// Encodes a trading pair starting from asset `start` +// and ending on asset `end`. +message DirectedTradingPair { + // The start asset of the pair. + asset.v1alpha1.AssetId start = 1; + // The end asset of the pair. + asset.v1alpha1.AssetId end = 2; +} + +// Records the result of a batch swap on-chain. +// +// Used as a public input to a swap claim proof, as it implies the effective +// clearing price for the batch. +message BatchSwapOutputData { + // The total amount of asset 1 that was input to the batch swap. + num.v1alpha1.Amount delta_1 = 1; + // The total amount of asset 2 that was input to the batch swap. + num.v1alpha1.Amount delta_2 = 2; + // The total amount of asset 1 that was output from the batch swap for 2=>1 trades. + num.v1alpha1.Amount lambda_1 = 3; + // The total amount of asset 2 that was output from the batch swap for 1=>2 trades. + num.v1alpha1.Amount lambda_2 = 4; + // The total amount of asset 1 that was returned unfilled from the batch swap for 1=>2 trades. + num.v1alpha1.Amount unfilled_1 = 5; + // The total amount of asset 2 that was returned unfilled from the batch swap for 2=>1 trades. + num.v1alpha1.Amount unfilled_2 = 6; + // The height for which the batch swap data is valid. + uint64 height = 7; + // The trading pair associated with the batch swap. + TradingPair trading_pair = 8; + // The starting block height of the epoch for which the batch swap data is valid. + uint64 epoch_starting_height = 9; +} + +// The trading function for a specific pair. +// For a pair (asset_1, asset_2), a trading function is defined by: +// `phi(R) = p*R_1 + q*R_2` and `gamma = 1 - fee`. +// The trading function is frequently referred to as "phi". +message TradingFunction { + BareTradingFunction component = 1; + TradingPair pair = 2; +} + +// The minimum amount of data describing a trading function. +// +// This implicitly treats the trading function as being between assets 1 and 2, +// without specifying what those assets are, to avoid duplicating data (each +// asset ID alone is twice the size of the trading function). +message BareTradingFunction { + uint32 fee = 1; + // This is not actually an amount, it's an integer the same width as an amount + num.v1alpha1.Amount p = 2; + // This is not actually an amount, it's an integer the same width as an amount + num.v1alpha1.Amount q = 3; +} + +// The reserves of a position. +// +// Like a position, this implicitly treats the trading function as being +// between assets 1 and 2, without specifying what those assets are, to avoid +// duplicating data (each asset ID alone is four times the size of the +// reserves). +message Reserves { + num.v1alpha1.Amount r1 = 1; + num.v1alpha1.Amount r2 = 2; +} + +// Data identifying a position. +message Position { + TradingFunction phi = 1; + // A random value used to disambiguate different positions with the exact same + // trading function. The chain should reject newly created positions with the + // same nonce as an existing position. This ensures that `PositionId`s will + // be unique, and allows us to track position ownership with a + // sequence of stateful NFTs based on the `PositionId`. + bytes nonce = 2; + PositionState state = 3; + Reserves reserves = 4; + /// If set to true, the position is a limit-order and will be closed + /// immediately after being filled. + bool close_on_fill = 5; +} + +// A hash of a `Position`. +message PositionId { + // The bytes of the position ID. + bytes inner = 1; + + // Alternatively, a Bech32m-encoded string representation of the `inner` + // bytes. + // + // NOTE: implementations are not required to support parsing this field. + // Implementations should prefer to encode the bytes in all messages they + // produce. Implementations must not accept messages with both `inner` and + // `alt_bech32m` set. + string alt_bech32m = 2; +} + +// The state of a position. +message PositionState { + enum PositionStateEnum { + POSITION_STATE_ENUM_UNSPECIFIED = 0; + // The position has been opened, is active, has reserves and accumulated + // fees, and can be traded against. + POSITION_STATE_ENUM_OPENED = 1; + // The position has been closed, is inactive and can no longer be traded + // against, but still has reserves and accumulated fees. + POSITION_STATE_ENUM_CLOSED = 2; + // The final reserves and accumulated fees have been withdrawn, leaving an + // empty, inactive position awaiting (possible) retroactive rewards. + POSITION_STATE_ENUM_WITHDRAWN = 3; + // Any retroactive rewards have been claimed. The position is now an inert, + // historical artefact. + POSITION_STATE_ENUM_CLAIMED = 4; + } + PositionStateEnum state = 1; +} + +// An LPNFT tracking both ownership and state of a position. +// +// Tracking the state as part of the LPNFT means that all LP-related actions can +// be authorized by spending funds: a state transition (e.g., closing a +// position) is modeled as spending an "open position LPNFT" and minting a +// "closed position LPNFT" for the same (globally unique) position ID. +// +// This means that the LP mechanics can be agnostic to the mechanism used to +// record custody and spend authorization. For instance, they can be recorded +// in the shielded pool, where custody is based on off-chain keys, or they could +// be recorded in a programmatic on-chain account (in the future, e.g., to +// support interchain accounts). This also means that LP-related actions don't +// require any cryptographic implementation (proofs, signatures, etc), other +// than hooking into the value commitment mechanism used for transaction +// balances. +message LpNft { + PositionId position_id = 1; + PositionState state = 2; +} + +// A transaction action that opens a new position. +// +// This action's contribution to the transaction's value balance is to consume +// the initial reserves and contribute an opened position NFT. +message PositionOpen { + // Contains the data defining the position, sufficient to compute its `PositionId`. + // + // Positions are immutable, so the `PositionData` (and hence the `PositionId`) + // are unchanged over the entire lifetime of the position. + Position position = 1; +} + +// A transaction action that closes a position. +// +// This action's contribution to the transaction's value balance is to consume +// an opened position NFT and contribute a closed position NFT. +// +// Closing a position does not immediately withdraw funds, because Penumbra +// transactions (like any ZK transaction model) are early-binding: the prover +// must know the state transition they prove knowledge of, and they cannot know +// the final reserves with certainty until after the position has been deactivated. +message PositionClose { + PositionId position_id = 1; +} + +// A transaction action that withdraws funds from a closed position. +// +// This action's contribution to the transaction's value balance is to consume a +// closed position NFT and contribute a withdrawn position NFT, as well as all +// of the funds that were in the position at the time of closing. +message PositionWithdraw { + PositionId position_id = 1; + // A transparent (zero blinding factor) commitment to the position's final reserves and fees. + // + // The chain will check this commitment by recomputing it with the on-chain state. + asset.v1alpha1.BalanceCommitment reserves_commitment = 2; +} + +// A transaction action that claims retroactive rewards for a historical +// position. +// +// This action's contribution to the transaction's value balance is to consume a +// withdrawn position NFT and contribute its reward balance. +message PositionRewardClaim { + PositionId position_id = 1; + // A transparent (zero blinding factor) commitment to the position's accumulated rewards. + // + // The chain will check this commitment by recomputing it with the on-chain state. + asset.v1alpha1.BalanceCommitment rewards_commitment = 2; +} + +// Contains the entire execution of a particular swap. +message SwapExecution { + // Contains all individual steps consisting of a trade trace. + message Trace { + // Each step in the trade trace. + repeated asset.v1alpha1.Value value = 1; + } + repeated Trace traces = 1; + + // The total input amount for this execution. + asset.v1alpha1.Value input = 2; + // The total output amount for this execution. + asset.v1alpha1.Value output = 3; +} + +// Contains private and public data for withdrawing funds from a closed position. +message PositionWithdrawPlan { + Reserves reserves = 1; + PositionId position_id = 2; + TradingPair pair = 3; +} + +// Contains private and public data for claiming rewards from a position. +message PositionRewardClaimPlan { + Reserves reserves = 1; +} + +// Query operations for the DEX component. +service QueryService { + // Get the batch clearing prices for a specific block height and trading pair. + rpc BatchSwapOutputData(BatchSwapOutputDataRequest) returns (BatchSwapOutputDataResponse); + // Get the precise swap execution used for a specific batch swap. + rpc SwapExecution(SwapExecutionRequest) returns (SwapExecutionResponse); + // Get the precise execution used to perform on-chain arbitrage. + rpc ArbExecution(ArbExecutionRequest) returns (ArbExecutionResponse); + + // Stream all swap executions over a range of heights, optionally subscribing to future executions. + rpc SwapExecutions(SwapExecutionsRequest) returns (stream SwapExecutionsResponse); + // Stream all arbitrage executions over a range of heights, optionally subscribing to future executions. + rpc ArbExecutions(ArbExecutionsRequest) returns (stream ArbExecutionsResponse); + + // Query all liquidity positions on the DEX. + rpc LiquidityPositions(LiquidityPositionsRequest) returns (stream LiquidityPositionsResponse); + // Query liquidity positions by ID. + // + // To get multiple positions, use `LiquidityPositionsById`. + rpc LiquidityPositionById(LiquidityPositionByIdRequest) returns (LiquidityPositionByIdResponse); + // Query multiple liquidity positions by ID. + rpc LiquidityPositionsById(LiquidityPositionsByIdRequest) returns (stream LiquidityPositionsByIdResponse); + // Query liquidity positions on a specific pair, sorted by effective price. + rpc LiquidityPositionsByPrice(LiquidityPositionsByPriceRequest) returns (stream LiquidityPositionsByPriceResponse); + + // Get the current (direct) spread on a trading pair. + // + // This method doesn't do simulation, so actually executing might result in a + // better price (if the chain takes a different route to the target asset). + rpc Spread(SpreadRequest) returns (SpreadResponse); +} + +// Simulation for the DEX component. +// +// This is a separate service from the QueryService because it's not just a +// simple read query from the state. Thus it poses greater DoS risks, and node +// operators may want to enable it separately. +service SimulationService { + // Simulate routing and trade execution. + rpc SimulateTrade(SimulateTradeRequest) returns (SimulateTradeResponse); +} + +// Requests batch swap data associated with a given height and trading pair from the view service. +message BatchSwapOutputDataRequest { + // The expected chain id (empty string if no expectation). + string chain_id = 1; + uint64 height = 2; + core.component.dex.v1alpha1.TradingPair trading_pair = 3; +} + +message BatchSwapOutputDataResponse { + core.component.dex.v1alpha1.BatchSwapOutputData data = 1; +} + +message SwapExecutionRequest { + // The expected chain id (empty string if no expectation). + string chain_id = 1; + uint64 height = 2; + core.component.dex.v1alpha1.DirectedTradingPair trading_pair = 3; +} + +message SwapExecutionResponse { + core.component.dex.v1alpha1.SwapExecution swap_execution = 1; +} + +message ArbExecutionRequest { + // The expected chain id (empty string if no expectation). + string chain_id = 1; + uint64 height = 2; +} + +message ArbExecutionResponse { + core.component.dex.v1alpha1.SwapExecution swap_execution = 1; + uint64 height = 2; +} + +message SwapExecutionsRequest { + // The expected chain id (empty string if no expectation). + string chain_id = 1; + // If present, only return swap executions occurring after the given height. + uint64 start_height = 2; + // If present, only return swap executions occurring before the given height. + uint64 end_height = 3; + // If present, filter swap executions by the given trading pair. + core.component.dex.v1alpha1.DirectedTradingPair trading_pair = 4; +} + +message SwapExecutionsResponse { + core.component.dex.v1alpha1.SwapExecution swap_execution = 1; + uint64 height = 2; + core.component.dex.v1alpha1.DirectedTradingPair trading_pair = 3; +} + +message ArbExecutionsRequest { + // The expected chain id (empty string if no expectation). + string chain_id = 1; + // If present, only return arb executions occurring after the given height. + uint64 start_height = 2; + // If present, only return arb executions occurring before the given height. + uint64 end_height = 3; +} + +message ArbExecutionsResponse { + core.component.dex.v1alpha1.SwapExecution swap_execution = 1; + uint64 height = 2; +} + +message LiquidityPositionsRequest { + // The expected chain id (empty string if no expectation). + string chain_id = 1; + // If true, include closed and withdrawn positions. + bool include_closed = 4; +} + +message LiquidityPositionsResponse { + core.component.dex.v1alpha1.Position data = 1; +} + +message LiquidityPositionByIdRequest { + // The expected chain id (empty string if no expectation). + string chain_id = 1; + core.component.dex.v1alpha1.PositionId position_id = 2; +} + +message LiquidityPositionByIdResponse { + core.component.dex.v1alpha1.Position data = 1; +} + +message LiquidityPositionsByIdRequest { + // The expected chain id (empty string if no expectation). + string chain_id = 1; + repeated core.component.dex.v1alpha1.PositionId position_id = 2; +} + +message LiquidityPositionsByIdResponse { + core.component.dex.v1alpha1.Position data = 1; +} + +message LiquidityPositionsByPriceRequest { + // The expected chain id (empty string if no expectation). + string chain_id = 1; + // The directed trading pair to request positions for + core.component.dex.v1alpha1.DirectedTradingPair trading_pair = 2; + // The maximum number of positions to return. + uint64 limit = 5; +} + +message LiquidityPositionsByPriceResponse { + core.component.dex.v1alpha1.Position data = 1; +} + +message SpreadRequest { + // The expected chain id (empty string if no expectation). + string chain_id = 1; + core.component.dex.v1alpha1.TradingPair trading_pair = 2; +} + +message SpreadResponse { + // The best position when trading 1 => 2. + core.component.dex.v1alpha1.Position best_1_to_2_position = 1; + // The best position when trading 2 => 1. + core.component.dex.v1alpha1.Position best_2_to_1_position = 2; + // An approximation of the effective price when trading 1 => 2. + double approx_effective_price_1_to_2 = 3; + // An approximation of the effective price when trading 2 => 1. + double approx_effective_price_2_to_1 = 4; +} + +message SimulateTradeRequest { + message Routing { + oneof setting { + Default default = 1; + SingleHop single_hop = 2; + } + + message SingleHop {} + message Default {} + } + + core.asset.v1alpha1.Value input = 1; + core.asset.v1alpha1.AssetId output = 2; + Routing routing = 3; +} + +message SimulateTradeResponse { + core.component.dex.v1alpha1.SwapExecution output = 1; +} \ No newline at end of file diff --git a/src/chains/penumbra/proto/penumbra/penumbra/core/component/distributions/v1alpha1/distributions.proto b/src/chains/penumbra/proto/penumbra/penumbra/core/component/distributions/v1alpha1/distributions.proto new file mode 100644 index 0000000000..5f481018fe --- /dev/null +++ b/src/chains/penumbra/proto/penumbra/penumbra/core/component/distributions/v1alpha1/distributions.proto @@ -0,0 +1,3 @@ +syntax = "proto3"; +package penumbra.core.component.distributions.v1alpha1; + diff --git a/src/chains/penumbra/proto/penumbra/penumbra/core/component/fee/v1alpha1/fee.proto b/src/chains/penumbra/proto/penumbra/penumbra/core/component/fee/v1alpha1/fee.proto new file mode 100644 index 0000000000..ddac556260 --- /dev/null +++ b/src/chains/penumbra/proto/penumbra/penumbra/core/component/fee/v1alpha1/fee.proto @@ -0,0 +1,37 @@ +syntax = "proto3"; +package penumbra.core.component.fee.v1alpha1; + +import "penumbra/core/num/v1alpha1/num.proto"; +import "penumbra/core/asset/v1alpha1/asset.proto"; + +// Specifies fees paid by a transaction. +message Fee { + // The amount of the token used to pay fees. + num.v1alpha1.Amount amount = 1; + // If present, the asset ID of the token used to pay fees. + // If absent, specifies the staking token implicitly. + asset.v1alpha1.AssetId asset_id = 2; +} + +message GasPrices { + // The price per unit block space in terms of the staking token, with an implicit 1,000 denominator. + uint64 block_space_price = 1; + // The price per unit compact block space in terms of the staking token, with an implicit 1,000 denominator. + uint64 compact_block_space_price = 2; + // The price per unit verification cost in terms of the staking token, with an implicit 1,000 denominator. + uint64 verification_price = 3; + // The price per unit execution cost in terms of the staking token, with an implicit 1,000 denominator. + uint64 execution_price = 4; +} + +// Fee component configuration data. +message FeeParameters { +} + +// Fee-specific genesis content. +message GenesisContent { + // The FeeParameters present at genesis. + FeeParameters fee_params = 1; + // The initial gas prices. + GasPrices gas_prices = 2; +} \ No newline at end of file diff --git a/src/chains/penumbra/proto/penumbra/penumbra/core/component/governance/v1alpha1/governance.proto b/src/chains/penumbra/proto/penumbra/penumbra/core/component/governance/v1alpha1/governance.proto new file mode 100644 index 0000000000..3811f6e4d5 --- /dev/null +++ b/src/chains/penumbra/proto/penumbra/penumbra/core/component/governance/v1alpha1/governance.proto @@ -0,0 +1,378 @@ +syntax = "proto3"; +package penumbra.core.component.governance.v1alpha1; + +import "google/protobuf/any.proto"; + +import "penumbra/crypto/decaf377_rdsa/v1alpha1/decaf377_rdsa.proto"; +import "penumbra/core/num/v1alpha1/num.proto"; +import "penumbra/core/asset/v1alpha1/asset.proto"; +import "penumbra/core/keys/v1alpha1/keys.proto"; +import "penumbra/core/component/chain/v1alpha1/chain.proto"; +import "penumbra/core/component/fee/v1alpha1/fee.proto"; +import "penumbra/core/component/dao/v1alpha1/dao.proto"; +import "penumbra/core/component/ibc/v1alpha1/ibc.proto"; +import "penumbra/core/component/stake/v1alpha1/stake.proto"; +import "penumbra/core/component/shielded_pool/v1alpha1/shielded_pool.proto"; + +// A Penumbra ZK delegator vote proof. +message ZKDelegatorVoteProof { + bytes inner = 1; +} + +message ProposalSubmit { + // The proposal to be submitted. + governance.v1alpha1.Proposal proposal = 1; + // The amount of the proposal deposit. + num.v1alpha1.Amount deposit_amount = 3; +} + +message ProposalWithdraw { + // The proposal to be withdrawn. + uint64 proposal = 1; + // The reason for the proposal being withdrawn. + string reason = 2; +} + +message ProposalDepositClaim { + // The proposal to claim the deposit for. + uint64 proposal = 1; + // The expected deposit amount. + num.v1alpha1.Amount deposit_amount = 2; + // The outcome of the proposal. + ProposalOutcome outcome = 3; +} + +message ValidatorVote { + // The effecting data for the vote. + ValidatorVoteBody body = 1; + // The vote authorization signature is authorizing data. + penumbra.crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature auth_sig = 2; +} + +message ValidatorVoteReason { + string reason = 1; +} + +message ValidatorVoteBody { + // The proposal being voted on. + uint64 proposal = 1; + // The vote. + governance.v1alpha1.Vote vote = 2; + // The validator identity. + keys.v1alpha1.IdentityKey identity_key = 3; + // The validator governance key. + keys.v1alpha1.GovernanceKey governance_key = 4; + // A justification of the vote. + ValidatorVoteReason reason = 5; +} + +message DelegatorVote { + // The effecting data for the vote. + DelegatorVoteBody body = 1; + // The vote authorization signature is authorizing data. + penumbra.crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature auth_sig = 2; + // The vote proof is authorizing data. + ZKDelegatorVoteProof proof = 3; +} + +message DelegatorVoteBody { + // The proposal being voted on. + uint64 proposal = 1; + // The start position of the proposal in the TCT. + uint64 start_position = 2; + // The vote. + governance.v1alpha1.Vote vote = 3; + // The value of the delegation note. + asset.v1alpha1.Value value = 4; + // The amount of the delegation note, in unbonded penumbra. + num.v1alpha1.Amount unbonded_amount = 5; + // The nullifier of the input note. + bytes nullifier = 6; + // The randomized validating key for the spend authorization signature. + bytes rk = 7; +} + +message DelegatorVoteView { + message Visible { + governance.v1alpha1.DelegatorVote delegator_vote = 1; + shielded_pool.v1alpha1.NoteView note = 2; + } + message Opaque { + governance.v1alpha1.DelegatorVote delegator_vote = 1; + } + oneof delegator_vote { + Visible visible = 1; + Opaque opaque = 2; + } +} + + +message DelegatorVotePlan { + // The proposal to vote on. + uint64 proposal = 1; + // The start position of the proposal in the TCT. + uint64 start_position = 2; + // The vote to cast. + governance.v1alpha1.Vote vote = 3; + // The delegation note to prove that we can vote. + shielded_pool.v1alpha1.Note staked_note = 4; + // The position of that delegation note. + uint64 staked_note_position = 5; + // The unbonded amount equivalent to the delegation note. + num.v1alpha1.Amount unbonded_amount = 6; + // The randomizer to use for the proof of spend capability. + bytes randomizer = 7; + // The first blinding factor to use for the ZK delegator vote proof. + bytes proof_blinding_r = 8; + // The second blinding factor to use for the ZK delegator vote proof. + bytes proof_blinding_s = 9; +} + +message DaoDeposit { + // The value to deposit into the DAO. + asset.v1alpha1.Value value = 1; +} + +message DaoSpend { + // The value to spend from the DAO. + asset.v1alpha1.Value value = 1; +} + +message DaoOutput { + // The value to output from the DAO. + asset.v1alpha1.Value value = 1; + // The address to send the output to. + keys.v1alpha1.Address address = 2; +} + +// A vote on a proposal. +message Vote { + // A vote. + enum Vote { + VOTE_UNSPECIFIED = 0; + VOTE_ABSTAIN = 1; + VOTE_YES = 2; + VOTE_NO = 3; + } + + // The vote. + Vote vote = 1; +} + +// The current state of a proposal. +message ProposalState { + // Voting is in progress and the proposal has not yet concluded voting or been withdrawn. + message Voting {} + + // The proposal has been withdrawn but the voting period is not yet concluded. + message Withdrawn { + // The reason for the withdrawal. + string reason = 1; + } + + // The voting period has ended, and the proposal has been assigned an outcome. + message Finished { + ProposalOutcome outcome = 1; + } + + // The voting period has ended, and the original proposer has claimed their deposit. + message Claimed { + ProposalOutcome outcome = 1; + } + + // The state of the proposal. + oneof state { + Voting voting = 2; + Withdrawn withdrawn = 3; + Finished finished = 4; + Claimed claimed = 5; + } +} + +// The outcome of a concluded proposal. +message ProposalOutcome { + // Whether or not the proposal was withdrawn. + message Withdrawn { + // The reason for withdrawing the proposal during the voting period. + string reason = 1; + } + + // The proposal was passed. + message Passed {} + + // The proposal did not pass. + message Failed { + // Present if the proposal was withdrawn during the voting period. + Withdrawn withdrawn = 1; + } + + // The proposal did not pass, and was slashed. + message Slashed { + // Present if the proposal was withdrawn during the voting period. + Withdrawn withdrawn = 1; + } + + oneof outcome { + Passed passed = 1; + Failed failed = 2; + Slashed slashed = 3; + } +} + +// A tally of votes on a proposal. +message Tally { + // The number of votes in favor of the proposal. + uint64 yes = 1; + // The number of votes against the proposal. + uint64 no = 2; + // The number of abstentions. + uint64 abstain = 3; +} + +// A proposal to be voted upon. +message Proposal { + // The unique identifier of the proposal. + uint64 id = 4; + + // A short title for the proposal. + string title = 1; + + // A natural-language description of the effect of the proposal and its justification. + string description = 2; + + // The different kinds of proposal. Only one of these should be set. + Signaling signaling = 5; + Emergency emergency = 6; + ParameterChange parameter_change = 7; + DaoSpend dao_spend = 8; + UpgradePlan upgrade_plan = 9; + + // A signaling proposal is meant to register a vote on-chain, but does not have an automatic + // effect when passed. + // + // It optionally contains a reference to a commit which contains code to upgrade the chain. + message Signaling { + // The commit to be voted upon, if any is relevant. + string commit = 1; + } + + // An emergency proposal can be passed instantaneously by a 2/3 majority of validators, without + // waiting for the voting period to expire. + // + // If the boolean `halt_chain` is set to `true`, then the chain will halt immediately when the + // proposal is passed. + message Emergency { + // If `true`, the chain will halt immediately when the proposal is passed. + bool halt_chain = 1; + } + + // A parameter change proposal describes a replacement of the app parameters, which should take + // effect when the proposal is passed. + message ParameterChange { + // The old app parameters to be replaced: even if the proposal passes, the update will not be + // applied if the app parameters have changed *at all* from these app parameters. Usually, + // this should be set to the current app parameters at time of proposal. + ChangedAppParameters old_parameters = 1; + + // The new app parameters to be set: the *entire* app parameters will be replaced with these + // at the time the proposal is passed, for every component's parameters that is set. If a component's + // parameters are not set, then they were not changed by the proposal, and will not be updated. + ChangedAppParameters new_parameters = 2; + } + + // A DAO spend proposal describes zero or more transactions to execute on behalf of the DAO, with + // access to its funds, and zero or more scheduled transactions from previous passed proposals to + // cancel. + message DaoSpend { + // The transaction plan to be executed at the time the proposal is passed. This must be a + // transaction plan which can be executed by the DAO, which means it can't require any witness + // data or authorization signatures, but it may use the `DaoSpend` action. + google.protobuf.Any transaction_plan = 2; + } + + // An upgrade plan describes a candidate upgrade to be executed at a certain height. If passed, the chain + // will halt at the specified height. + message UpgradePlan { + uint64 height = 1; + } +} + +// Query operations for the governance component. +service QueryService { + rpc ProposalInfo(ProposalInfoRequest) returns (ProposalInfoResponse); + // Used for computing voting power ? + rpc ProposalRateData(ProposalRateDataRequest) returns (stream ProposalRateDataResponse); +} + +message ProposalInfoRequest { + // The expected chain id (empty string if no expectation). + string chain_id = 1; + // The proposal id to request information on. + uint64 proposal_id = 2; +} + +message ProposalInfoResponse { + // The block height at which the proposal started voting. + uint64 start_block_height = 1; + // The position of the state commitment tree at which the proposal is considered to have started voting. + uint64 start_position = 2; +} + +// Requests the validator rate data for a proposal. +message ProposalRateDataRequest { + // The expected chain id (empty string if no expectation). + string chain_id = 1; + // The proposal id to request information on. + uint64 proposal_id = 2; +} + +// The rate data for a single validator. +message ProposalRateDataResponse { + core.component.stake.v1alpha1.RateData rate_data = 1; +} + +// Governance configuration data. +message GovernanceParameters { + // The number of blocks during which a proposal is voted on. + uint64 proposal_voting_blocks = 1; + // The deposit required to create a proposal. + penumbra.core.num.v1alpha1.Amount proposal_deposit_amount = 2; + // The quorum required for a proposal to be considered valid, as a fraction of the total stake + // weight of the network. + string proposal_valid_quorum = 3; + // The threshold for a proposal to pass voting, as a ratio of "yes" votes over "no" votes. + string proposal_pass_threshold = 4; + // The threshold for a proposal to be slashed, regardless of whether the "yes" and "no" votes + // would have passed it, as a ratio of "no" votes over all total votes. + string proposal_slash_threshold = 5; +} + +// Governance genesis state. +message GenesisContent { + // Governance parameters. + GovernanceParameters governance_params = 1; +} + +// Note: must be kept in sync with AppParameters. +// Each field here is optional. +message ChangedAppParameters { + // Chain module parameters. + core.component.chain.v1alpha1.ChainParameters chain_params = 1; + // DAO module parameters. + core.component.dao.v1alpha1.DaoParameters dao_params = 2; + // Governance module parameters. + core.component.governance.v1alpha1.GovernanceParameters governance_params = 3; + // IBC module parameters. + core.component.ibc.v1alpha1.IbcParameters ibc_params = 4; + // Stake module parameters. + core.component.stake.v1alpha1.StakeParameters stake_params = 5; + // Fee module parameters. + core.component.fee.v1alpha1.FeeParameters fee_params = 6; +} + +message ChangedAppParametersSet { + // The set of app parameters at the time the proposal was submitted. + ChangedAppParameters old = 1; + // The new set of parameters the proposal is trying to enact. + ChangedAppParameters new = 2; +} diff --git a/src/chains/penumbra/proto/penumbra/penumbra/core/component/ibc/v1alpha1/ibc.proto b/src/chains/penumbra/proto/penumbra/penumbra/core/component/ibc/v1alpha1/ibc.proto new file mode 100644 index 0000000000..74819f6435 --- /dev/null +++ b/src/chains/penumbra/proto/penumbra/penumbra/core/component/ibc/v1alpha1/ibc.proto @@ -0,0 +1,93 @@ +syntax = "proto3"; +package penumbra.core.component.ibc.v1alpha1; + +import "ibc/core/client/v1/client.proto"; +import "google/protobuf/any.proto"; + +import "penumbra/core/keys/v1alpha1/keys.proto"; +import "penumbra/core/num/v1alpha1/num.proto"; +import "penumbra/core/asset/v1alpha1/asset.proto"; + +message IbcAction { + .google.protobuf.Any raw_action = 1; +} + +// FungibleTokenPacketData defines a struct for the packet payload +// See FungibleTokenPacketData spec: +// https://github.com/cosmos/ibc/tree/master/spec/app/ics-020-fungible-token-transfer#data-structures +message FungibleTokenPacketData { + // the token denomination to be transferred + string denom = 1; + // the token amount to be transferred + string amount = 2; + // the sender address + string sender = 3; + // the recipient address on the destination chain + string receiver = 4; +} + +// A Penumbra transaction action requesting an ICS20 transfer. +message Ics20Withdrawal { + num.v1alpha1.Amount amount = 1; + asset.v1alpha1.Denom denom = 2; + + // the address on the destination chain to send the transfer to + string destination_chain_address = 3; + + // a "sender" penumbra address to use to return funds from this withdrawal. + // this should be an ephemeral address + keys.v1alpha1.Address return_address = 4; + + // The height on the counterparty chain at which this transfer expires, and + // funds are sent back to the return address. + .ibc.core.client.v1.Height timeout_height = 5; + + // the timestamp at which this transfer expires. + uint64 timeout_time = 6; + + // the source channel used for the withdrawal + string source_channel = 7; +} + +message ClientData { + string client_id = 1; + google.protobuf.Any client_state = 2; // NOTE: left as Any to allow us to add more client types later + string processed_time = 3; + uint64 processed_height = 4; +} + +message ClientCounter { + uint64 counter = 1; +} + +message ConsensusState { + google.protobuf.Any consensus_state = 1; +} + +message VerifiedHeights { + repeated .ibc.core.client.v1.Height heights = 1; +} + +message ConnectionCounter { + uint64 counter = 1; +} + +message ClientConnections { + repeated string connections = 1; +} + +// IBC configuration data. +message IbcParameters { + // Whether IBC (forming connections, processing IBC packets) is enabled. + bool ibc_enabled = 1; + // Whether inbound ICS-20 transfers are enabled + bool inbound_ics20_transfers_enabled = 2; + // Whether outbound ICS-20 transfers are enabled + bool outbound_ics20_transfers_enabled = 3; +} + +// IBC genesis state. +message GenesisContent { + // IBC parameters. + IbcParameters ibc_params = 1; +} \ No newline at end of file diff --git a/src/chains/penumbra/proto/penumbra/penumbra/core/component/sct/v1alpha1/sct.proto b/src/chains/penumbra/proto/penumbra/penumbra/core/component/sct/v1alpha1/sct.proto new file mode 100644 index 0000000000..55965f0c7f --- /dev/null +++ b/src/chains/penumbra/proto/penumbra/penumbra/core/component/sct/v1alpha1/sct.proto @@ -0,0 +1,26 @@ +syntax = "proto3"; +package penumbra.core.component.sct.v1alpha1; + +import "penumbra/crypto/tct/v1alpha1/tct.proto"; +import "penumbra/core/component/chain/v1alpha1/chain.proto"; + +message Nullifier { + bytes inner = 1; +} + +// Query operations for the SCT component. +service QueryService { + // TODO: change to generic tx-by-commitment + rpc TransactionByNote(TransactionByNoteRequest) returns (TransactionByNoteResponse); +} + +message TransactionByNoteRequest { + // The expected chain id (empty string if no expectation). + string chain_id = 1; + crypto.tct.v1alpha1.StateCommitment note_commitment = 2; +} + +message TransactionByNoteResponse { + core.component.chain.v1alpha1.NoteSource note_source = 1; +} + diff --git a/src/chains/penumbra/proto/penumbra/penumbra/core/component/shielded_pool/v1alpha1/shielded_pool.proto b/src/chains/penumbra/proto/penumbra/penumbra/core/component/shielded_pool/v1alpha1/shielded_pool.proto new file mode 100644 index 0000000000..d74a640be6 --- /dev/null +++ b/src/chains/penumbra/proto/penumbra/penumbra/core/component/shielded_pool/v1alpha1/shielded_pool.proto @@ -0,0 +1,189 @@ +syntax = "proto3"; +package penumbra.core.component.shielded_pool.v1alpha1; + +import "penumbra/crypto/tct/v1alpha1/tct.proto"; +import "penumbra/crypto/decaf377_rdsa/v1alpha1/decaf377_rdsa.proto"; +import "penumbra/core/asset/v1alpha1/asset.proto"; +import "penumbra/core/keys/v1alpha1/keys.proto"; +import "penumbra/core/num/v1alpha1/num.proto"; + +message Note { + asset.v1alpha1.Value value = 1; + bytes rseed = 2; + keys.v1alpha1.Address address = 3; +} + +message NoteView { + asset.v1alpha1.ValueView value = 1; + bytes rseed = 2; + keys.v1alpha1.AddressView address = 3; +} + +// An encrypted note. +// 132 = 1(type) + 11(d) + 8(amount) + 32(asset_id) + 32(rcm) + 32(pk_d) + 16(MAC) bytes. +message NoteCiphertext { + bytes inner = 1; +} + +// The body of an output description, including only the minimal +// data required to scan and process the output. +message NotePayload { + // The note commitment for the output note. 32 bytes. + crypto.tct.v1alpha1.StateCommitment note_commitment = 1; + // The encoding of an ephemeral public key. 32 bytes. + bytes ephemeral_key = 2; + // An encryption of the newly created note. + // 132 = 1(type) + 11(d) + 8(amount) + 32(asset_id) + 32(rcm) + 32(pk_d) + 16(MAC) bytes. + NoteCiphertext encrypted_note = 3; +} + +// A Penumbra ZK output proof. +message ZKOutputProof { + bytes inner = 1; +} + +// A Penumbra ZK spend proof. +message ZKSpendProof { + bytes inner = 1; +} + +// A Penumbra ZK nullifier derivation proof. +message ZKNullifierDerivationProof { + bytes inner = 1; +} + +// Spends a shielded note. +message Spend { + // The effecting data of the spend. + SpendBody body = 1; + // The authorizing signature for the spend. + crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature auth_sig = 2; + // The proof that the spend is well-formed is authorizing data. + ZKSpendProof proof = 3; +} + +// The body of a spend description, containing only the effecting data +// describing changes to the ledger, and not the authorizing data that allows +// those changes to be performed. +message SpendBody { + // A commitment to the value of the input note. + asset.v1alpha1.BalanceCommitment balance_commitment = 1; + // The nullifier of the input note. + bytes nullifier = 3; + // The randomized validating key for the spend authorization signature. + bytes rk = 4; +} +message SpendView { + message Visible { + Spend spend = 1; + NoteView note = 2; + } + message Opaque { + Spend spend = 1; + } + oneof spend_view { + Visible visible = 1; + Opaque opaque = 2; + } +} + +message SpendPlan { + // The plaintext note we plan to spend. + Note note = 1; + // The position of the note we plan to spend. + uint64 position = 2; + // The randomizer to use for the spend. + bytes randomizer = 3; + // The blinding factor to use for the value commitment. + bytes value_blinding = 4; + // The first blinding factor to use for the ZK spend proof. + bytes proof_blinding_r = 5; + // The second blinding factor to use for the ZK spend proof. + bytes proof_blinding_s = 6; +} + +// Creates a new shielded note. +message Output { + // The effecting data for the output. + OutputBody body = 1; + // The output proof is authorizing data. + ZKOutputProof proof = 2; +} + +// The body of an output description, containing only the effecting data +// describing changes to the ledger, and not the authorizing data that allows +// those changes to be performed. +message OutputBody { + // The minimal data required to scan and process the new output note. + NotePayload note_payload = 1; + // A commitment to the value of the output note. 32 bytes. + asset.v1alpha1.BalanceCommitment balance_commitment = 2; + // An encrypted key for decrypting the memo. + bytes wrapped_memo_key = 3; + // The key material used for note encryption, wrapped in encryption to the + // sender's outgoing viewing key. 80 bytes. + bytes ovk_wrapped_key = 4; +} + +message OutputView { + message Visible { + Output output = 1; + NoteView note = 2; + keys.v1alpha1.PayloadKey payload_key = 3; + } + + message Opaque { + Output output = 1; + } + oneof output_view { + Visible visible = 1; + Opaque opaque = 2; + } +} + +message OutputPlan { + // The value to send to this output. + asset.v1alpha1.Value value = 1; + // The destination address to send it to. + keys.v1alpha1.Address dest_address = 2; + // The rseed to use for the new note. + bytes rseed = 3; + // The blinding factor to use for the value commitment. + bytes value_blinding = 4; + // The first blinding factor to use for the ZK output proof. + bytes proof_blinding_r = 5; + // The second blinding factor to use for the ZK output proof. + bytes proof_blinding_s = 6; +} + +// Query operations for the shielded pool component. +service QueryService { + rpc DenomMetadataById(DenomMetadataByIdRequest) returns (DenomMetadataByIdResponse); +} + +// Requests information on an asset by asset id +message DenomMetadataByIdRequest { + // The expected chain id (empty string if no expectation). + string chain_id = 1; + // The asset id to request information on. + core.asset.v1alpha1.AssetId asset_id = 2; +} + +message DenomMetadataByIdResponse { + // If present, information on the requested asset. + // + // If the requested asset was unknown, this field will not be present. + core.asset.v1alpha1.DenomMetadata denom_metadata = 1; +} + +// Genesis data for the shielded pool component. +message GenesisContent { + message Allocation { + penumbra.core.num.v1alpha1.Amount amount = 1; + string denom = 2; + penumbra.core.keys.v1alpha1.Address address = 3; + } + + // The allocations present at genesis + repeated Allocation allocations = 2; +} diff --git a/src/chains/penumbra/proto/penumbra/penumbra/core/component/stake/v1alpha1/stake.proto b/src/chains/penumbra/proto/penumbra/penumbra/core/component/stake/v1alpha1/stake.proto new file mode 100644 index 0000000000..c75d277b4b --- /dev/null +++ b/src/chains/penumbra/proto/penumbra/penumbra/core/component/stake/v1alpha1/stake.proto @@ -0,0 +1,318 @@ +syntax = "proto3"; +package penumbra.core.component.stake.v1alpha1; + +import "penumbra/core/keys/v1alpha1/keys.proto"; +import "penumbra/core/num/v1alpha1/num.proto"; +import "penumbra/core/asset/v1alpha1/asset.proto"; + + +// A Penumbra ZK undelegate claim proof. +message ZKUndelegateClaimProof { + bytes inner = 1; +} + + +// Describes a validator's configuration data. +message Validator { + // The validator's identity verification key. + keys.v1alpha1.IdentityKey identity_key = 1; + // The validator's consensus pubkey for use in Tendermint (Ed25519). + bytes consensus_key = 2; + // The validator's (human-readable) name. + string name = 3; + // The validator's website. + string website = 4; + // The validator's description. + string description = 5; + // Whether the validator is enabled or not. + // + // Disabled validators cannot be delegated to, and immediately begin unbonding. + bool enabled = 8; + // A list of funding streams describing the validator's commission. + repeated FundingStream funding_streams = 6; + // The sequence number determines which validator data takes priority, and + // prevents replay attacks. The chain only accepts new validator definitions + // with increasing sequence numbers. + uint32 sequence_number = 7; + // The validator's governance key. + keys.v1alpha1.GovernanceKey governance_key = 9; +} + +// For storing the list of keys of known validators. +message ValidatorList { + repeated keys.v1alpha1.IdentityKey validator_keys = 1; +} + +// A portion of a validator's commission. +message FundingStream { + message ToAddress { + // The destination address for the funding stream. + string address = 1; + // The portion of the staking reward for the entire delegation pool + // allocated to this funding stream, specified in basis points. + uint32 rate_bps = 2; + } + + message ToDao { + // The portion of the staking reward for the entire delegation pool + // allocated to this funding stream, specified in basis points. + uint32 rate_bps = 2; + } + + // The recipient of the funding stream. + oneof recipient { + ToAddress to_address = 1; + ToDao to_dao = 2; + } +} + +// Describes the reward and exchange rates and voting power for a validator in some epoch. +message RateData { + keys.v1alpha1.IdentityKey identity_key = 1; + uint64 epoch_index = 2; + uint64 validator_reward_rate = 4; + uint64 validator_exchange_rate = 5; +} + +// Describes the base reward and exchange rates in some epoch. +message BaseRateData { + uint64 epoch_index = 1; + uint64 base_reward_rate = 2; + uint64 base_exchange_rate = 3; +} + +// Describes the current state of a validator on-chain +message ValidatorStatus { + keys.v1alpha1.IdentityKey identity_key = 1; + ValidatorState state = 2; + uint64 voting_power = 3; + BondingState bonding_state = 4; +} + +// Describes the unbonding state of a validator's stake pool. +message BondingState { + enum BondingStateEnum { + BONDING_STATE_ENUM_UNSPECIFIED = 0; + BONDING_STATE_ENUM_BONDED = 1; + BONDING_STATE_ENUM_UNBONDING = 2; + BONDING_STATE_ENUM_UNBONDED = 3; + } + BondingStateEnum state = 1; + uint64 unbonding_epoch = 2; +} + +// Describes the state of a validator +message ValidatorState { + enum ValidatorStateEnum { + VALIDATOR_STATE_ENUM_UNSPECIFIED = 0; + VALIDATOR_STATE_ENUM_INACTIVE = 1; + VALIDATOR_STATE_ENUM_ACTIVE = 2; + VALIDATOR_STATE_ENUM_JAILED = 3; + VALIDATOR_STATE_ENUM_TOMBSTONED = 4; + VALIDATOR_STATE_ENUM_DISABLED = 5; + } + ValidatorStateEnum state = 1; +} + + +// Combines all validator info into a single packet. +message ValidatorInfo { + Validator validator = 1; + ValidatorStatus status = 2; + RateData rate_data = 3; +} + +// A transaction action (re)defining a validator. +message ValidatorDefinition { + // The configuration data for the validator. + Validator validator = 1; + // A signature by the validator's identity key over the validator data. + bytes auth_sig = 2; +} + +// A transaction action adding stake to a validator's delegation pool. +message Delegate { + // The identity key of the validator to delegate to. + keys.v1alpha1.IdentityKey validator_identity = 1; + // The index of the epoch in which this delegation was performed. + // The delegation takes effect in the next epoch. + uint64 epoch_index = 2; + // The delegation amount, in units of unbonded stake. + // TODO: use flow aggregation to hide this, replacing it with bytes amount_ciphertext; + num.v1alpha1.Amount unbonded_amount = 3; + // The amount of delegation tokens produced by this action. + // + // This is implied by the validator's exchange rate in the specified epoch + // (and should be checked in transaction validation!), but including it allows + // stateless verification that the transaction is internally consistent. + num.v1alpha1.Amount delegation_amount = 4; +} + +// A transaction action withdrawing stake from a validator's delegation pool. +message Undelegate { + // The identity key of the validator to undelegate from. + keys.v1alpha1.IdentityKey validator_identity = 1; + // The index of the epoch in which this undelegation was performed. + uint64 start_epoch_index = 2; + // The amount to undelegate, in units of unbonding tokens. + num.v1alpha1.Amount unbonded_amount = 3; + // The amount of delegation tokens consumed by this action. + // + // This is implied by the validator's exchange rate in the specified epoch + // (and should be checked in transaction validation!), but including it allows + // stateless verification that the transaction is internally consistent. + num.v1alpha1.Amount delegation_amount = 4; +} + +// A transaction action finishing an undelegation, converting (slashable) +// "unbonding tokens" to (unslashable) staking tokens. +message UndelegateClaim { + UndelegateClaimBody body = 1; + bytes proof = 2; +} + +message UndelegateClaimBody { + // The identity key of the validator to finish undelegating from. + keys.v1alpha1.IdentityKey validator_identity = 1; + // The epoch in which unbonding began, used to verify the penalty. + uint64 start_epoch_index = 2; + // The penalty applied to undelegation, in bps^2 (10e-8). + // In the happy path (no slashing), this is 0. + Penalty penalty = 3; + // The action's contribution to the transaction's value balance. + asset.v1alpha1.BalanceCommitment balance_commitment = 4; +} + +message UndelegateClaimPlan { + // The identity key of the validator to finish undelegating from. + keys.v1alpha1.IdentityKey validator_identity = 1; + // The epoch in which unbonding began, used to verify the penalty. + uint64 start_epoch_index = 2; + // The penalty applied to undelegation, in bps^2 (10e-8). + // In the happy path (no slashing), this is 0. + Penalty penalty = 4; + // The amount of unbonding tokens to claim. + // This is a bare number because its denom is determined by the preceding data. + num.v1alpha1.Amount unbonding_amount = 5; + // The blinding factor to use for the balance commitment. + bytes balance_blinding = 6; + // The first blinding factor to use for the ZK undelegate claim proof. + bytes proof_blinding_r = 7; + // The second blinding factor to use for the ZK undelegate claim proof. + bytes proof_blinding_s = 8; +} + +// A list of pending delegations and undelegations. +message DelegationChanges { + repeated Delegate delegations = 1; + repeated Undelegate undelegations = 2; +} + +// Track's a validator's uptime. +message Uptime { + uint64 as_of_block_height = 1; + uint32 window_len = 2; + bytes bitvec = 3; +} + +// Tracks our view of Tendermint's view of the validator set, so we can keep it +// from getting confused. +message CurrentConsensusKeys { + repeated keys.v1alpha1.ConsensusKey consensus_keys = 1; +} + +// Tracks slashing penalties applied to a validator in some epoch. +message Penalty { + uint64 inner = 1; +} + +// Query operations for the staking component. +service QueryService { + // Queries the current validator set, with filtering. + rpc ValidatorInfo(ValidatorInfoRequest) returns (stream ValidatorInfoResponse); + rpc ValidatorStatus(ValidatorStatusRequest) returns (ValidatorStatusResponse); + rpc ValidatorPenalty(ValidatorPenaltyRequest) returns (ValidatorPenaltyResponse); + rpc CurrentValidatorRate(CurrentValidatorRateRequest) returns (CurrentValidatorRateResponse); + rpc NextValidatorRate(NextValidatorRateRequest) returns (NextValidatorRateResponse); +} + +// Requests information on the chain's validators. +message ValidatorInfoRequest { + // The expected chain id (empty string if no expectation). + string chain_id = 1; + // Whether or not to return inactive validators + bool show_inactive = 2; +} + +message ValidatorInfoResponse { + core.component.stake.v1alpha1.ValidatorInfo validator_info = 1; +} + +message ValidatorStatusRequest { + // The expected chain id (empty string if no expectation). + string chain_id = 1; + core.keys.v1alpha1.IdentityKey identity_key = 2; +} + +message ValidatorStatusResponse { + core.component.stake.v1alpha1.ValidatorStatus status = 1; +} + +// Requests the compounded penalty for a validator over a range of epochs. +message ValidatorPenaltyRequest { + // The expected chain id (empty string if no expectation). + string chain_id = 1; + core.keys.v1alpha1.IdentityKey identity_key = 2; + uint64 start_epoch_index = 3; + uint64 end_epoch_index = 4; +} + +message ValidatorPenaltyResponse { + core.component.stake.v1alpha1.Penalty penalty = 1; +} + +message CurrentValidatorRateRequest { + // The expected chain id (empty string if no expectation). + string chain_id = 1; + core.keys.v1alpha1.IdentityKey identity_key = 2; +} + +message CurrentValidatorRateResponse { + core.component.stake.v1alpha1.RateData data = 1; +} + +message NextValidatorRateRequest { + // The expected chain id (empty string if no expectation). + string chain_id = 1; + core.keys.v1alpha1.IdentityKey identity_key = 2; +} + +message NextValidatorRateResponse { + core.component.stake.v1alpha1.RateData data = 1; +} + +// Staking configuration data. +message StakeParameters { + // The number of epochs an unbonding note for before being released. + uint64 unbonding_epochs = 1; + // The maximum number of validators in the consensus set. + uint64 active_validator_limit = 2; + // The base reward rate, expressed in basis points of basis points + uint64 base_reward_rate = 3; + // The penalty for slashing due to misbehavior. + uint64 slashing_penalty_misbehavior = 4; + // The penalty for slashing due to downtime. + uint64 slashing_penalty_downtime = 5; + // The number of blocks in the window to check for downtime. + uint64 signed_blocks_window_len = 6; + // The maximum number of blocks in the window each validator can miss signing without slashing. + uint64 missed_blocks_maximum = 7; +} + +// Genesis data for the staking component. +message GenesisContent { + // The configuration parameters for the staking component present at genesis + StakeParameters stake_params = 1; + // The list of validators present at genesis. + repeated stake.v1alpha1.Validator validators = 2; +} \ No newline at end of file diff --git a/src/chains/penumbra/proto/penumbra/penumbra/core/keys/v1alpha1/keys.proto b/src/chains/penumbra/proto/penumbra/penumbra/core/keys/v1alpha1/keys.proto new file mode 100644 index 0000000000..8f1f5f828b --- /dev/null +++ b/src/chains/penumbra/proto/penumbra/penumbra/core/keys/v1alpha1/keys.proto @@ -0,0 +1,77 @@ +syntax = "proto3"; +package penumbra.core.keys.v1alpha1; + +// A Penumbra address. An address in Penumbra is a Bech32m-encoded +// string, with the human-readable prefix (HRP) `penumbrav2t`. +message Address { + // The bytes of the address. Must be represented as a series of + // `uint8` (i.e. values 0 through 255), with a length of 80 elements. + bytes inner = 1; + + // Alternatively, a Bech32m-encoded string representation of the `inner` + // bytes. + // + // NOTE: implementations are not required to support parsing this field. + // Implementations should prefer to encode the bytes in all messages they + // produce. Implementations must not accept messages with both `inner` and + // `alt_bech32m` set. + string alt_bech32m = 2; +} + +message AddressView { + message Visible { + Address address = 1; + AddressIndex index = 2; + WalletId wallet_id = 3; + } + message Opaque { + Address address = 1; + } + oneof address_view { + Visible visible = 1; + Opaque opaque = 2; + } +} + +message PayloadKey { + bytes inner = 1; +} + +message SpendKey { + bytes inner = 1; +} + +message SpendVerificationKey { + bytes inner = 1; +} + +message FullViewingKey { + bytes inner = 1; +} + +message WalletId { + bytes inner = 1; +} + +message Diversifier { + bytes inner = 1; +} + +message AddressIndex { + uint32 account = 2; + bytes randomizer = 3; +} + +// A validator's identity key (decaf377-rdsa spendauth verification key). +message IdentityKey { + bytes ik = 1; +} + +// A validator's governance key (decaf377-rdsa spendauth verification key). +message GovernanceKey { + bytes gk = 1; +} + +message ConsensusKey { + bytes inner = 1; +} \ No newline at end of file diff --git a/src/chains/penumbra/proto/penumbra/penumbra/core/num/v1alpha1/num.proto b/src/chains/penumbra/proto/penumbra/penumbra/core/num/v1alpha1/num.proto new file mode 100644 index 0000000000..5afe43b8ce --- /dev/null +++ b/src/chains/penumbra/proto/penumbra/penumbra/core/num/v1alpha1/num.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; +package penumbra.core.num.v1alpha1; + +// The quantity of a particular Asset. Represented as a 128-bit unsigned integer, +// split over two fields, `lo` and `hi`, representing the low- and high-order bytes +// of the 128-bit value, respectively. Clients must assemble these bits in their +// implementation into a `uint128` or comparable data structure, in order to model +// the Amount accurately. +message Amount { + uint64 lo = 1; + uint64 hi = 2; +} diff --git a/src/chains/penumbra/proto/penumbra/penumbra/core/transaction/v1alpha1/transaction.proto b/src/chains/penumbra/proto/penumbra/penumbra/core/transaction/v1alpha1/transaction.proto new file mode 100644 index 0000000000..b1dbebbc7c --- /dev/null +++ b/src/chains/penumbra/proto/penumbra/penumbra/core/transaction/v1alpha1/transaction.proto @@ -0,0 +1,327 @@ +syntax = "proto3"; +package penumbra.core.transaction.v1alpha1; + +import "penumbra/crypto/tct/v1alpha1/tct.proto"; +import "penumbra/crypto/decaf377_fmd/v1alpha1/decaf377_fmd.proto"; +import "penumbra/crypto/decaf377_rdsa/v1alpha1/decaf377_rdsa.proto"; +import "penumbra/core/asset/v1alpha1/asset.proto"; +import "penumbra/core/keys/v1alpha1/keys.proto"; +import "penumbra/core/component/sct/v1alpha1/sct.proto"; +import "penumbra/core/component/chain/v1alpha1/chain.proto"; +import "penumbra/core/component/fee/v1alpha1/fee.proto"; +import "penumbra/core/component/shielded_pool/v1alpha1/shielded_pool.proto"; +import "penumbra/core/component/dex/v1alpha1/dex.proto"; +import "penumbra/core/component/ibc/v1alpha1/ibc.proto"; +import "penumbra/core/component/stake/v1alpha1/stake.proto"; +import "penumbra/core/component/governance/v1alpha1/governance.proto"; + +// A Penumbra transaction. +message Transaction { + TransactionBody body = 1; + // The binding signature is stored separately from the transaction body that it signs. + bytes binding_sig = 2; + // The root of some previous state of the state commitment tree, used as an anchor for all + // ZK state transition proofs. + crypto.tct.v1alpha1.MerkleRoot anchor = 3; +} + +// A transaction ID, the Sha256 hash of a transaction. +message Id { + bytes hash = 1; +} + +// The body of a transaction. +message TransactionBody { + // A list of actions (state changes) performed by this transaction. + repeated Action actions = 1; + // Parameters determining if a transaction should be accepted by this chain. + TransactionParameters transaction_parameters = 2; + // The transaction fee. + component.fee.v1alpha1.Fee fee = 3; + // Detection data for use with Fuzzy Message Detection + DetectionData detection_data = 4; + // Sub-message containing memo ciphertext if a memo was added to the transaction. + MemoData memo_data = 5; +} + +// Represents the encrypted memo data. +message MemoData { + // The encrypted data. It will only be populated if there are + // outputs in the actions of the transaction. 528 bytes. + bytes encrypted_memo = 1; +} + +// The parameters determining if a transaction should be accepted by the chain. +message TransactionParameters { + // The maximum height that this transaction can be included in the chain. + // + // If zero, there is no maximum. + uint64 expiry_height = 1; + // The chain this transaction is intended for. Including this prevents + // replaying a transaction on one chain onto a different chain. + string chain_id = 2; +} + +// Detection data used by a detection server performing Fuzzy Message Detection. +message DetectionData { + // A list of clues for use with Fuzzy Message Detection. + repeated crypto.decaf377_fmd.v1alpha1.Clue fmd_clues = 4; +} + +// A state change performed by a transaction. +message Action { + oneof action { + // Common actions have numbers < 15, to save space. + component.shielded_pool.v1alpha1.Spend spend = 1; + component.shielded_pool.v1alpha1.Output output = 2; + component.dex.v1alpha1.Swap swap = 3; + component.dex.v1alpha1.SwapClaim swap_claim = 4; + + // Uncommon actions have numbers > 15. + + component.stake.v1alpha1.ValidatorDefinition validator_definition = 16; + component.ibc.v1alpha1.IbcAction ibc_action = 17; + + // Governance: + component.governance.v1alpha1.ProposalSubmit proposal_submit = 18; + component.governance.v1alpha1.ProposalWithdraw proposal_withdraw = 19; + component.governance.v1alpha1.ValidatorVote validator_vote = 20; + component.governance.v1alpha1.DelegatorVote delegator_vote = 21; + component.governance.v1alpha1.ProposalDepositClaim proposal_deposit_claim = 22; + + // Positions + component.dex.v1alpha1.PositionOpen position_open = 30; + component.dex.v1alpha1.PositionClose position_close = 31; + component.dex.v1alpha1.PositionWithdraw position_withdraw = 32; + component.dex.v1alpha1.PositionRewardClaim position_reward_claim = 34; + + // (un)delegation + component.stake.v1alpha1.Delegate delegate = 40; + component.stake.v1alpha1.Undelegate undelegate = 41; + component.stake.v1alpha1.UndelegateClaim undelegate_claim = 42; + + // DAO + component.governance.v1alpha1.DaoSpend dao_spend = 50; + component.governance.v1alpha1.DaoOutput dao_output = 51; + component.governance.v1alpha1.DaoDeposit dao_deposit = 52; + + component.ibc.v1alpha1.Ics20Withdrawal ics20_withdrawal = 200; + } +} + +// A transaction perspective is a bundle of key material and commitment openings +// that allow generating a view of a transaction from that perspective. +message TransactionPerspective { + + repeated PayloadKeyWithCommitment payload_keys = 1; + repeated NullifierWithNote spend_nullifiers = 2; + // The openings of note commitments referred to in the transaction + // but not included in the transaction. + repeated component.shielded_pool.v1alpha1.Note advice_notes = 3; + // Any relevant address views. + repeated keys.v1alpha1.AddressView address_views = 4; + // Any relevant denoms for viewed assets. + repeated asset.v1alpha1.DenomMetadata denoms = 5; + // The transaction ID associated with this TransactionPerspective + transaction.v1alpha1.Id transaction_id = 6; +} + +message PayloadKeyWithCommitment { + keys.v1alpha1.PayloadKey payload_key = 1; + crypto.tct.v1alpha1.StateCommitment commitment = 2; +} + +message NullifierWithNote { + component.sct.v1alpha1.Nullifier nullifier = 1; + component.shielded_pool.v1alpha1.Note note = 2; +} + +// View of a Penumbra transaction. +message TransactionView { + // View of the transaction body + TransactionBodyView body_view = 1; + // The binding signature is stored separately from the transaction body that it signs. + bytes binding_sig = 2; + // The root of some previous state of the state commitment tree, used as an anchor for all + // ZK state transition proofs. + crypto.tct.v1alpha1.MerkleRoot anchor = 3; +} + +message TransactionBodyView { + // A list views into of actions (state changes) performed by this transaction. + repeated ActionView action_views = 1; + // Transaction parameters. + TransactionParameters transaction_parameters = 2; + // The transaction fee. + component.fee.v1alpha1.Fee fee = 3; + // The detection data in this transaction, only populated if + // there are outputs in the actions of this transaction. + DetectionData detection_data = 4; + // An optional view of a transaction memo. It will only be populated if there are + // outputs in the actions of this transaction. + MemoView memo_view = 5; +} + +// A view of a specific state change action performed by a transaction. +message ActionView { + oneof action_view { + // Action types with visible/opaque variants + component.shielded_pool.v1alpha1.SpendView spend = 1; + component.shielded_pool.v1alpha1.OutputView output = 2; + component.dex.v1alpha1.SwapView swap = 3; + component.dex.v1alpha1.SwapClaimView swap_claim = 4; + + // Action types without visible/opaque variants + component.stake.v1alpha1.ValidatorDefinition validator_definition = 16; + component.ibc.v1alpha1.IbcAction ibc_action = 17; + + // Governance: + component.governance.v1alpha1.ProposalSubmit proposal_submit = 18; + component.governance.v1alpha1.ProposalWithdraw proposal_withdraw = 19; + component.governance.v1alpha1.ValidatorVote validator_vote = 20; + component.governance.v1alpha1.DelegatorVoteView delegator_vote = 21; + component.governance.v1alpha1.ProposalDepositClaim proposal_deposit_claim = 22; + + component.dex.v1alpha1.PositionOpen position_open = 30; + component.dex.v1alpha1.PositionClose position_close = 31; + component.dex.v1alpha1.PositionWithdraw position_withdraw = 32; + component.dex.v1alpha1.PositionRewardClaim position_reward_claim = 34; + + component.stake.v1alpha1.Delegate delegate = 41; + component.stake.v1alpha1.Undelegate undelegate = 42; + // DAO + component.governance.v1alpha1.DaoSpend dao_spend = 50; + component.governance.v1alpha1.DaoOutput dao_output = 51; + component.governance.v1alpha1.DaoDeposit dao_deposit = 52; + + // TODO: we have no way to recover the opening of the undelegate_claim's + // balance commitment, and can only infer the value from looking at the rest + // of the transaction. is that fine? + component.stake.v1alpha1.UndelegateClaim undelegate_claim = 43; + component.ibc.v1alpha1.Ics20Withdrawal ics20_withdrawal = 200; + + } +} + +// The data required to authorize a transaction plan. +message AuthorizationData { + // The computed auth hash for the approved transaction plan. + component.chain.v1alpha1.EffectHash effect_hash = 1; + // The required spend authorizations, returned in the same order as the + // Spend actions in the original request. + repeated crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature spend_auths = 2; + // The required delegator vote authorizations, returned in the same order as the + // DelegatorVote actions in the original request. + repeated crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature delegator_vote_auths = 3; +} + +// The data required for proving when building a transaction from a plan. +message WitnessData { + // The anchor for the state transition proofs. + crypto.tct.v1alpha1.MerkleRoot anchor = 1; + // The auth paths for the notes the transaction spends, in the + // same order as the spends in the transaction plan. + repeated crypto.tct.v1alpha1.StateCommitmentProof state_commitment_proofs = 2; +} + +// Describes a planned transaction. Permits clients to prepare a transaction +// prior submission, so that a user can review it prior to authorizing its execution. +message TransactionPlan { + // The planner interface(s) for Actions to be performed, such as a Spend, Swap, + // or Delegation. See the ActionPlan docs for a full list of options. + repeated ActionPlan actions = 1; + // Time, as block height, after which TransactionPlan should be considered invalid. + uint64 expiry_height = 2; + // The name of the network for which this TransactionPlan was built. + string chain_id = 3; + component.fee.v1alpha1.Fee fee = 4; + repeated CluePlan clue_plans = 5; + // Planning interface for constructing an optional Memo for the Transaction. + MemoPlan memo_plan = 6; +} + +// Describes a planned transaction action. +// +// Some transaction Actions don't have any private data and are treated as being plans +// themselves. +message ActionPlan { + oneof action { + component.shielded_pool.v1alpha1.SpendPlan spend = 1; + component.shielded_pool.v1alpha1.OutputPlan output = 2; + component.dex.v1alpha1.SwapPlan swap = 3; + component.dex.v1alpha1.SwapClaimPlan swap_claim = 4; + + // This is just a message relayed to the chain. + component.stake.v1alpha1.ValidatorDefinition validator_definition = 16; + // This is just a message relayed to the chain. + component.ibc.v1alpha1.IbcAction ibc_action = 17; + // Governance: + component.governance.v1alpha1.ProposalSubmit proposal_submit = 18; + component.governance.v1alpha1.ProposalWithdraw proposal_withdraw = 19; + component.governance.v1alpha1.ValidatorVote validator_vote = 20; + component.governance.v1alpha1.DelegatorVotePlan delegator_vote = 21; + component.governance.v1alpha1.ProposalDepositClaim proposal_deposit_claim = 22; + + component.ibc.v1alpha1.Ics20Withdrawal withdrawal = 23; + + component.dex.v1alpha1.PositionOpen position_open = 30; + component.dex.v1alpha1.PositionClose position_close = 31; + + // The position withdraw/reward claim actions require balance information so they have Plan types. + component.dex.v1alpha1.PositionWithdrawPlan position_withdraw = 32; + component.dex.v1alpha1.PositionRewardClaimPlan position_reward_claim = 34; + + // We don't need any extra information (yet) to understand delegations, + // because we don't yet use flow encryption. + component.stake.v1alpha1.Delegate delegate = 40; + // We don't need any extra information (yet) to understand undelegations, + // because we don't yet use flow encryption. + component.stake.v1alpha1.Undelegate undelegate = 41; + component.stake.v1alpha1.UndelegateClaimPlan undelegate_claim = 42; + + // DAO + component.governance.v1alpha1.DaoSpend dao_spend = 50; + component.governance.v1alpha1.DaoOutput dao_output = 51; + component.governance.v1alpha1.DaoDeposit dao_deposit = 52; + } +} + +// Describes a plan for forming a `Clue`. +message CluePlan { + // The address. + keys.v1alpha1.Address address = 1; + // The random seed to use for the clue plan. + bytes rseed = 2; + // The bits of precision. + uint64 precision_bits = 3; +} + +// Describes a plan for forming a `Memo`. +message MemoPlan { + // The plaintext. + MemoPlaintext plaintext = 1; + // The key to use to encrypt the memo. + bytes key = 2; +} + +message MemoCiphertext { bytes inner = 1; } + +message MemoPlaintext { + keys.v1alpha1.Address sender = 1; + string text = 2; +} + +message MemoView { + message Visible { + MemoCiphertext ciphertext = 1; + MemoPlaintext plaintext = 2; + } + + message Opaque { + MemoCiphertext ciphertext = 1; + } + oneof memo_view { + Visible visible = 1; + Opaque opaque = 2; + } +} diff --git a/src/chains/penumbra/proto/penumbra/penumbra/crypto/decaf377_fmd/v1alpha1/decaf377_fmd.proto b/src/chains/penumbra/proto/penumbra/penumbra/crypto/decaf377_fmd/v1alpha1/decaf377_fmd.proto new file mode 100644 index 0000000000..1ec13c8e77 --- /dev/null +++ b/src/chains/penumbra/proto/penumbra/penumbra/crypto/decaf377_fmd/v1alpha1/decaf377_fmd.proto @@ -0,0 +1,7 @@ +syntax = "proto3"; +package penumbra.crypto.decaf377_fmd.v1alpha1; + +// A clue for use with Fuzzy Message Detection. +message Clue { + bytes inner = 1; +} \ No newline at end of file diff --git a/src/chains/penumbra/proto/penumbra/penumbra/crypto/decaf377_rdsa/v1alpha1/decaf377_rdsa.proto b/src/chains/penumbra/proto/penumbra/penumbra/crypto/decaf377_rdsa/v1alpha1/decaf377_rdsa.proto new file mode 100644 index 0000000000..f754c7477d --- /dev/null +++ b/src/chains/penumbra/proto/penumbra/penumbra/crypto/decaf377_rdsa/v1alpha1/decaf377_rdsa.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; +package penumbra.crypto.decaf377_rdsa.v1alpha1; + +message SpendAuthSignature { + bytes inner = 1; +} + +message BindingSignature { + bytes inner = 1; +} \ No newline at end of file diff --git a/src/chains/penumbra/proto/penumbra/penumbra/crypto/tct/v1alpha1/tct.proto b/src/chains/penumbra/proto/penumbra/penumbra/crypto/tct/v1alpha1/tct.proto new file mode 100644 index 0000000000..740814bd99 --- /dev/null +++ b/src/chains/penumbra/proto/penumbra/penumbra/crypto/tct/v1alpha1/tct.proto @@ -0,0 +1,24 @@ +syntax = "proto3"; +package penumbra.crypto.tct.v1alpha1; + +message StateCommitment { + bytes inner = 1; +} + +message MerkleRoot { + bytes inner = 1; +} + +// An authentication path from a state commitment to the root of the state commitment tree. +message StateCommitmentProof { + StateCommitment note_commitment = 1; + uint64 position = 2; + repeated MerklePathChunk auth_path = 3; // always length 24 +} + +// A set of 3 sibling hashes in the auth path for some note commitment. +message MerklePathChunk { + bytes sibling_1 = 1; + bytes sibling_2 = 2; + bytes sibling_3 = 3; +} \ No newline at end of file diff --git a/src/chains/penumbra/proto/penumbra/penumbra/custody/v1alpha1/custody.proto b/src/chains/penumbra/proto/penumbra/penumbra/custody/v1alpha1/custody.proto new file mode 100644 index 0000000000..1a48685621 --- /dev/null +++ b/src/chains/penumbra/proto/penumbra/penumbra/custody/v1alpha1/custody.proto @@ -0,0 +1,57 @@ +syntax = "proto3"; + +package penumbra.custody.v1alpha1; + +import "penumbra/core/keys/v1alpha1/keys.proto"; +import "penumbra/core/transaction/v1alpha1/transaction.proto"; + +// The custody protocol is used by a wallet client to request authorization for +// a transaction they've constructed. +// +// Modeling transaction authorization as an asynchronous RPC call encourages +// software to be written in a way that has a compatible data flow with a "soft +// HSM", threshold signing, a hardware wallet, etc. +// +// The custody protocol does not trust the client to authorize spends, so +// custody requests must contain sufficient information for the custodian to +// understand the transaction and determine whether or not it should be +// authorized. +service CustodyProtocolService { + // Requests authorization of the transaction with the given description. + rpc Authorize(AuthorizeRequest) returns (AuthorizeResponse); +} + +message AuthorizeRequest { + // The transaction plan to authorize. + core.transaction.v1alpha1.TransactionPlan plan = 1; + // Identifies the FVK (and hence the spend authorization key) to use for signing. + core.keys.v1alpha1.WalletId wallet_id = 2; + + // Optionally, pre-authorization data, if required by the custodian. + // + // Multiple `PreAuthorization` packets can be included in a single request, + // to support multi-party pre-authorizations. + repeated PreAuthorization pre_authorizations = 3; +} + +message AuthorizeResponse { + core.transaction.v1alpha1.AuthorizationData data = 1; +} + +// A pre-authorization packet. This allows a custodian to delegate (partial) +// signing authority to other authorization mechanisms. Details of how a +// custodian manages those keys are out-of-scope for the custody protocol and +// are custodian-specific. +message PreAuthorization { + // An Ed25519-based preauthorization, containing an Ed25519 signature over the + // `TransactionPlan`. + message Ed25519 { + // The Ed25519 verification key used to verify the signature. + bytes vk = 1; + // The Ed25519 signature over the `TransactionPlan`. + bytes sig = 2; + } + oneof pre_authorization { + Ed25519 ed25519 = 1; + } +} \ No newline at end of file diff --git a/src/chains/penumbra/proto/penumbra/penumbra/storage/v1alpha1/storage.proto b/src/chains/penumbra/proto/penumbra/penumbra/storage/v1alpha1/storage.proto new file mode 100644 index 0000000000..33b5908137 --- /dev/null +++ b/src/chains/penumbra/proto/penumbra/penumbra/storage/v1alpha1/storage.proto @@ -0,0 +1,60 @@ +syntax = "proto3"; + +package penumbra.storage.v1alpha1; + + +/* +// This code really seems to belong in the storage crate, +// but it can't quite go there: the KeyValueResponse returns an IBC +// proof up to the Penumbra AppHash, which is a concern of the Penumbra +// application, not the storage layer, which doesn't know about the extra +// "dummy proof" we insert for IBC compatibility. + +import "ibc/core/commitment/v1/commitment.proto"; + +service QueryService { + // General-purpose key-value state query API, that can be used to query + // arbitrary keys in the JMT storage. + rpc KeyValue(KeyValueRequest) returns (KeyValueResponse); + + // General-purpose prefixed key-value state query API, that can be used to query + // arbitrary prefixes in the JMT storage. + // Returns a stream of `PrefixValueResponse`s. + rpc PrefixValue(PrefixValueRequest) returns (stream PrefixValueResponse); +} + +// Performs a key-value query, either by key or by key hash. +// +// Proofs are only supported by key. +message KeyValueRequest { + // The expected chain id (empty string if no expectation). + string chain_id = 1; + // If set, the key to fetch from storage. + string key = 2; + // whether to return a proof + bool proof = 3; +} + +message KeyValueResponse { + message Value { + bytes value = 1; + } + // The value corresponding to the specified key, if it was found. + Value value = 1; + // A proof of existence or non-existence. + .ibc.core.commitment.v1.MerkleProof proof = 2; +} + +// Performs a prefixed key-value query, by string prefix. +message PrefixValueRequest { + // The expected chain id (empty string if no expectation). + string chain_id = 1; + // The prefix to fetch subkeys from storage. + string prefix = 2; +} + +message PrefixValueResponse { + string key = 1; + bytes value = 2; +} +*/ \ No newline at end of file diff --git a/src/chains/penumbra/proto/penumbra/penumbra/tools/summoning/v1alpha1/summoning.proto b/src/chains/penumbra/proto/penumbra/penumbra/tools/summoning/v1alpha1/summoning.proto new file mode 100644 index 0000000000..3cbaba70c8 --- /dev/null +++ b/src/chains/penumbra/proto/penumbra/penumbra/tools/summoning/v1alpha1/summoning.proto @@ -0,0 +1,102 @@ +syntax = "proto3"; + +package penumbra.tools.summoning.v1alpha1; + +import "penumbra/core/keys/v1alpha1/keys.proto"; +import "penumbra/core/num/v1alpha1/num.proto"; + +// Runs a Phase 2 MPC ceremony with dynamic slot allocation. +service CeremonyCoordinatorService { + // The protocol used to participate in the ceremony. + // + // The message flow is + // ``` + // Client Server + // Identify ===========> + // <=========== Position (repeated) + // <=========== ContributeNow + // Contribution ===========> + // <=========== Confirm + // ``` + rpc Participate(stream ParticipateRequest) returns (stream ParticipateResponse); +} + +message ParticipateRequest { + // Sent at the beginning of the connection to identify the participant. + message Identify { + core.keys.v1alpha1.Address address = 1; + } + + // Sent by the participant after getting a `ContributeNow` message. + message Contribution { + CeremonyCrs updated = 1; + CeremonyLinkingProof update_proofs = 2; + CeremonyParentHashes parent_hashes = 3; + } + + oneof msg { + Identify identify = 1; + Contribution contribution = 2; + } +} + +message CeremonyCrs { + bytes spend = 100; + bytes output = 101; + bytes delegator_vote = 102; + bytes undelegate_claim = 103; + bytes swap = 104; + bytes swap_claim = 105; + bytes nullifer_derivation_crs = 106; +} + +message CeremonyLinkingProof { + bytes spend = 100; + bytes output = 101; + bytes delegator_vote = 102; + bytes undelegate_claim = 103; + bytes swap = 104; + bytes swap_claim = 105; + bytes nullifer_derivation_crs = 106; +} + +message CeremonyParentHashes { + bytes spend = 100; + bytes output = 101; + bytes delegator_vote = 102; + bytes undelegate_claim = 103; + bytes swap = 104; + bytes swap_claim = 105; + bytes nullifer_derivation_crs = 106; +} + +message ParticipateResponse { + // Streamed to the participant to inform them of their position in the queue. + message Position { + // The position of the participant in the queue. + uint32 position = 1; + // The total number of participants in the queue. + uint32 connected_participants = 2; + // The bid for the most recently executed contribution slot. + core.num.v1alpha1.Amount last_slot_bid = 3; + // The participant's current bid. + core.num.v1alpha1.Amount your_bid = 4; + } + + // Sent to the participant to inform them that they should contribute now. + message ContributeNow { + // The most recent CRS, which the participant should update. + CeremonyCrs parent = 1; + } + + // Sent to the participant to confim their contribution was accepted. + message Confirm { + uint64 slot = 1; + } + + oneof msg { + Position position = 1; + ContributeNow contribute_now = 2; + Confirm confirm = 3; + } +} diff --git a/src/chains/penumbra/proto/penumbra/penumbra/util/tendermint_proxy/v1alpha1/tendermint_proxy.proto b/src/chains/penumbra/proto/penumbra/penumbra/util/tendermint_proxy/v1alpha1/tendermint_proxy.proto new file mode 100644 index 0000000000..4bf40c5025 --- /dev/null +++ b/src/chains/penumbra/proto/penumbra/penumbra/util/tendermint_proxy/v1alpha1/tendermint_proxy.proto @@ -0,0 +1,155 @@ +syntax = "proto3"; +package penumbra.util.tendermint_proxy.v1alpha1; + + +import "google/protobuf/timestamp.proto"; + +import "tendermint/crypto/proof.proto"; +import "tendermint/p2p/types.proto"; +import "tendermint/types/block.proto"; +import "tendermint/types/types.proto"; +import "tendermint/types/validator.proto"; + +// Defines the gRPC query service for proxying requests to an upstream Tendermint RPC. +service TendermintProxyService { + // Status queries the current status. + rpc GetStatus(GetStatusRequest) returns (GetStatusResponse) {} + + // Broadcast a transaction asynchronously. + rpc BroadcastTxAsync(BroadcastTxAsyncRequest) returns (BroadcastTxAsyncResponse) {} + + // Broadcast a transaction synchronously. + rpc BroadcastTxSync(BroadcastTxSyncRequest) returns (BroadcastTxSyncResponse) {} + + // Fetch a transaction by hash. + rpc GetTx(GetTxRequest) returns (GetTxResponse) {} + + // ABCIQuery defines a query handler that supports ABCI queries directly to the + // application, bypassing Tendermint completely. The ABCI query must contain + // a valid and supported path, including app, custom, p2p, and store. + rpc ABCIQuery(ABCIQueryRequest) returns (ABCIQueryResponse) {} + + // GetBlockByHeight queries block for given height. + rpc GetBlockByHeight(GetBlockByHeightRequest) returns (GetBlockByHeightResponse) {} +} + +// GetTxRequest is the request type for the GetTx RPC method. +message GetTxRequest { + // Hash of transaction to retrieve + bytes hash = 1; + // Include proofs of the transaction's inclusion in the block + bool prove = 2; +} + +// GetTxResponse is the response type for the GetTx RPC method. +message GetTxResponse { + // Hash of transaction + bytes hash = 1; + uint64 height = 2; + uint64 index = 3; + TxResult tx_result = 4; + bytes tx = 5; +} + +message TxResult { + string log = 1; + uint64 gas_wanted = 2; + uint64 gas_used = 3; + repeated Tag tags = 4; +} + +message Tag { + bytes key = 1; + bytes value = 2; + bool index = 3; +} + +// BroadcastTxAsyncRequest is the request type for the BroadcastTxAsync RPC method. +message BroadcastTxAsyncRequest { + bytes params = 1; + uint64 req_id = 2; +} + +// BroadcastTxAsyncResponse is the response type for the BroadcastTxAsync RPC method. +message BroadcastTxAsyncResponse { + uint64 code = 1; + bytes data = 2; + string log = 3; + bytes hash = 4; +} + +// BroadcastTxSyncRequest is the request type for the BroadcastTxSync RPC method. +message BroadcastTxSyncRequest { + bytes params = 1; + uint64 req_id = 2; +} + +// BroadcastTxSyncResponse is the response type for the BroadcastTxSync RPC method. +message BroadcastTxSyncResponse { + uint64 code = 1; + bytes data = 2; + string log = 3; + bytes hash = 4; +} + +// GetStatusRequest is the request type for the Query/GetStatus RPC method. +message GetStatusRequest {} + +// GetStatusResponse is the response type for the Query/GetStatus RPC method. +message GetStatusResponse { + .tendermint.p2p.DefaultNodeInfo node_info = 1; + SyncInfo sync_info = 2; + .tendermint.types.Validator validator_info = 3; +} + +message SyncInfo { + bytes latest_block_hash = 1; + bytes latest_app_hash = 2; + uint64 latest_block_height = 3; + google.protobuf.Timestamp latest_block_time = 4; + // These are implemented in tendermint, but not + // in tendermint-rpc. + // bytes earliest_block_hash = 5; + // bytes earliest_app_hash = 6; + // uint64 earliest_block_height = 7; + // google.protobuf.Timestamp earliest_block_time = 8; + bool catching_up = 9; +} + +// ABCIQueryRequest defines the request structure for the ABCIQuery gRPC query. +message ABCIQueryRequest { + bytes data = 1; + string path = 2; + int64 height = 3; + bool prove = 4; +} + +// ABCIQueryResponse defines the response structure for the ABCIQuery gRPC query. +// +// Note: This type is a duplicate of the ResponseQuery proto type defined in +// Tendermint. +message ABCIQueryResponse { + uint32 code = 1; + // DEPRECATED: use "value" instead + reserved 2; + string log = 3; // nondeterministic + string info = 4; // nondeterministic + int64 index = 5; + bytes key = 6; + bytes value = 7; + .tendermint.crypto.ProofOps proof_ops = 8; + int64 height = 9; + string codespace = 10; +} + +// GetBlockByHeightRequest is the request type for the Query/GetBlockByHeight RPC method. +message GetBlockByHeightRequest { + int64 height = 1; +} + +// GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method. +message GetBlockByHeightResponse { + .tendermint.types.BlockID block_id = 1; + + .tendermint.types.Block block = 2; +} \ No newline at end of file diff --git a/src/chains/penumbra/proto/penumbra/penumbra/view/v1alpha1/view.proto b/src/chains/penumbra/proto/penumbra/penumbra/view/v1alpha1/view.proto new file mode 100644 index 0000000000..ae46b6fc0a --- /dev/null +++ b/src/chains/penumbra/proto/penumbra/penumbra/view/v1alpha1/view.proto @@ -0,0 +1,539 @@ +syntax = "proto3"; + +package penumbra.view.v1alpha1; + +import "penumbra/crypto/tct/v1alpha1/tct.proto"; +import "penumbra/core/keys/v1alpha1/keys.proto"; +import "penumbra/core/num/v1alpha1/num.proto"; +import "penumbra/core/app/v1alpha1/app.proto"; +import "penumbra/core/asset/v1alpha1/asset.proto"; +import "penumbra/core/transaction/v1alpha1/transaction.proto"; +import "penumbra/core/component/chain/v1alpha1/chain.proto"; +import "penumbra/core/component/dex/v1alpha1/dex.proto"; +import "penumbra/core/component/fee/v1alpha1/fee.proto"; +import "penumbra/core/component/ibc/v1alpha1/ibc.proto"; +import "penumbra/core/component/sct/v1alpha1/sct.proto"; +import "penumbra/core/component/shielded_pool/v1alpha1/shielded_pool.proto"; +import "penumbra/core/component/stake/v1alpha1/stake.proto"; + +// The view protocol is used by a view client, who wants to do some +// transaction-related actions, to request data from a view service, which is +// responsible for synchronizing and scanning the public chain state with one or +// more full viewing keys. +// +// View protocol requests optionally include the wallet id, used to +// identify which set of data to query. +service ViewProtocolService { + // Get current status of chain sync + rpc Status(StatusRequest) returns (StatusResponse); + + // Stream sync status updates until the view service has caught up with the chain. + // Returns a stream of `StatusStreamResponse`s. + rpc StatusStream(StatusStreamRequest) returns (stream StatusStreamResponse); + + // Queries for notes that have been accepted by the chain. + // Returns a stream of `NotesResponse`s. + rpc Notes(NotesRequest) returns (stream NotesResponse); + + // Returns a stream of `NotesForVotingResponse`s. + rpc NotesForVoting(NotesForVotingRequest) returns (stream NotesForVotingResponse); + + // Returns authentication paths for the given note commitments. + // + // This method takes a batch of input commitments, rather than just one, so + // that the client can get a consistent set of authentication paths to a + // common root. (Otherwise, if a client made multiple requests, the wallet + // service could have advanced the state commitment tree state between queries). + rpc Witness(WitnessRequest) returns (WitnessResponse); + + rpc WitnessAndBuild(WitnessAndBuildRequest) returns (WitnessAndBuildResponse); + + // Queries for assets. + // Returns a stream of `AssetsResponse`s. + rpc Assets(AssetsRequest) returns (stream AssetsResponse); + + // Query for the current app parameters. + rpc AppParameters(AppParametersRequest) returns (AppParametersResponse); + + // Query for the current gas prices. + rpc GasPrices(GasPricesRequest) returns (GasPricesResponse); + + // Query for the current FMD parameters. + rpc FMDParameters(FMDParametersRequest) returns (FMDParametersResponse); + + // Query for an address given an address index + rpc AddressByIndex(AddressByIndexRequest) returns (AddressByIndexResponse); + + // Query for wallet id + rpc WalletId(WalletIdRequest) returns (WalletIdResponse); + + // Query for an address given an address index + rpc IndexByAddress(IndexByAddressRequest) returns (IndexByAddressResponse); + + // Query for an ephemeral address + rpc EphemeralAddress(EphemeralAddressRequest) returns (EphemeralAddressResponse); + + // Query for balance of a given address. + // Returns a stream of `BalancesResponses`. + rpc Balances(BalancesRequest) returns (stream BalancesResponse); + + // Query for a note by its note commitment, optionally waiting until the note is detected. + rpc NoteByCommitment(NoteByCommitmentRequest) returns (NoteByCommitmentResponse); + + // Query for a swap by its swap commitment, optionally waiting until the swap is detected. + rpc SwapByCommitment(SwapByCommitmentRequest) returns (SwapByCommitmentResponse); + + // Query for all unclaimed swaps. + rpc UnclaimedSwaps(UnclaimedSwapsRequest) returns (stream UnclaimedSwapsResponse); + + // Query for whether a nullifier has been spent, optionally waiting until it is spent. + rpc NullifierStatus(NullifierStatusRequest) returns (NullifierStatusResponse); + + // Query for a given transaction by its hash. + rpc TransactionInfoByHash(TransactionInfoByHashRequest) returns (TransactionInfoByHashResponse); + + // Query for the full transactions in the given range of blocks. + // Returns a stream of `TransactionInfoResponse`s. + rpc TransactionInfo(TransactionInfoRequest) returns (stream TransactionInfoResponse); + + // Query for a transaction plan + rpc TransactionPlanner(TransactionPlannerRequest) returns (TransactionPlannerResponse); + + // Broadcast a transaction to the network, optionally waiting for full confirmation. + rpc BroadcastTransaction(BroadcastTransactionRequest) returns (BroadcastTransactionResponse); + + // Query for owned position IDs for the given trading pair and in the given position state. + rpc OwnedPositionIds(OwnedPositionIdsRequest) returns (stream OwnedPositionIdsResponse); + + // Authorize a transaction plan and build the transaction. + rpc AuthorizeAndBuild(AuthorizeAndBuildRequest) returns (AuthorizeAndBuildResponse); +} + +message AuthorizeAndBuildRequest { + // The transaction plan to authorize and build. + core.transaction.v1alpha1.TransactionPlan transaction_plan = 1; + // The authorization data to use to authorize the transaction plan. + core.transaction.v1alpha1.AuthorizationData authorization_data = 2; +} + +message AuthorizeAndBuildResponse { + // The transaction that was built. + core.transaction.v1alpha1.Transaction transaction = 1; +} + +message BroadcastTransactionRequest { + // The transaction to broadcast. + core.transaction.v1alpha1.Transaction transaction = 1; + // If true, wait for the view service to detect the transaction during sync. + bool await_detection = 2; +} + +message BroadcastTransactionResponse { + // The hash of the transaction that was broadcast. + core.transaction.v1alpha1.Id id = 1; + // The height in which the transaction was detected as included in the chain, if any. + // Will not be included unless await_detection was true. + uint64 detection_height = 2; +} + +message TransactionPlannerRequest { + // The expiry height for the requested TransactionPlan + uint64 expiry_height = 1; + // The fee for the requested TransactionPlan, if any. + core.component.fee.v1alpha1.Fee fee = 2; + // The memo for the requested TransactionPlan. + // The memo must be unspecified unless `outputs` is nonempty. + core.transaction.v1alpha1.MemoPlaintext memo = 3; + // If present, only spends funds from the given account. + core.keys.v1alpha1.AddressIndex source = 4; + + // Optionally identifies the wallet id to query. + core.keys.v1alpha1.WalletId wallet_id = 14; + + // Request contents + repeated Output outputs = 20; + repeated Swap swaps = 30; + repeated SwapClaim swap_claims = 31; + repeated Delegate delegations = 40; + repeated Undelegate undelegations = 50; + repeated penumbra.core.component.ibc.v1alpha1.IbcAction ibc_actions = 60; + repeated penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal ics20_withdrawals = 61; + repeated PositionOpen position_opens = 70; + repeated PositionClose position_closes = 71; + repeated PositionWithdraw position_withdraws = 72; + + // Request message subtypes + message Output { + // The amount and denomination in which the Output is issued. + core.asset.v1alpha1.Value value = 1; + // The address to which Output will be sent. + core.keys.v1alpha1.Address address = 2; + } + message Swap { + // The input amount and denomination to be traded in the Swap. + core.asset.v1alpha1.Value value = 1; + // The denomination to be received as a Output of the Swap. + core.asset.v1alpha1.AssetId target_asset = 2; + // The pre-paid fee to be paid for claiming the Swap outputs. + core.component.fee.v1alpha1.Fee fee = 3; + // The address to which swap claim output will be sent. + core.keys.v1alpha1.Address claim_address = 4; + } + message SwapClaim { + // SwapCommitment to identify the Swap to be claimed. + // Use the commitment from the Swap message: + // penumbra.core.component.dex.v1alpha1.Swap.body.payload.commitment. + crypto.tct.v1alpha1.StateCommitment swap_commitment = 1; + } + message Delegate { + core.num.v1alpha1.Amount amount = 1; + core.component.stake.v1alpha1.RateData rate_data = 3; + } + message Undelegate { + core.asset.v1alpha1.Value value = 1; + core.component.stake.v1alpha1.RateData rate_data = 2; + } + message PositionOpen { + // Contains the data defining the position, sufficient to compute its `PositionId`. + // + // Positions are immutable, so the `PositionData` (and hence the `PositionId`) + // are unchanged over the entire lifetime of the position. + core.component.dex.v1alpha1.Position position = 1; + } + message PositionClose { + // The position to close. + core.component.dex.v1alpha1.PositionId position_id = 1; + } + message PositionWithdraw { + // The position to withdraw. + core.component.dex.v1alpha1.PositionId position_id = 1; + // The position's final reserves. + core.component.dex.v1alpha1.Reserves reserves = 2; + // The trading pair of the position. + core.component.dex.v1alpha1.TradingPair trading_pair = 3; + } +} + +message TransactionPlannerResponse { + core.transaction.v1alpha1.TransactionPlan plan = 1; +} + +message AddressByIndexRequest { + core.keys.v1alpha1.AddressIndex address_index = 1; + bool display_confirm = 2; +} + +message AddressByIndexResponse { + core.keys.v1alpha1.Address address = 1; +} + +message WalletIdRequest {} + +message WalletIdResponse { + core.keys.v1alpha1.WalletId wallet_id = 1; +} + + +message IndexByAddressRequest { + core.keys.v1alpha1.Address address = 1; +} + +message IndexByAddressResponse { + // Will be absent if given an address not viewable by this viewing service + core.keys.v1alpha1.AddressIndex address_index = 1; +} + +message EphemeralAddressRequest { + core.keys.v1alpha1.AddressIndex address_index = 1; + bool display_confirm = 2; +} + +message EphemeralAddressResponse { + core.keys.v1alpha1.Address address = 1; +} + +message BalancesRequest { + // If present, filter balances to only include the account specified by the `AddressIndex`. + core.keys.v1alpha1.AddressIndex account_filter = 1; + // If present, filter balances to only include the specified asset ID. + core.asset.v1alpha1.AssetId asset_id_filter = 2; +} + +message BalancesResponse { + core.keys.v1alpha1.AddressIndex account = 1; + core.asset.v1alpha1.Value balance = 2; +} + +// Scaffolding for bearer-token authentication for the ViewService. +message ViewAuthToken { + bytes inner = 1; +} + +message ViewAuthRequest { + core.keys.v1alpha1.FullViewingKey fvk = 1; +} + +message ViewAuthResponse { + ViewAuthToken token = 1; +} + +service ViewAuthService { + rpc ViewAuth(ViewAuthRequest) returns (ViewAuthResponse); +} + +// Requests sync status of the view service. +message StatusRequest { + // Identifies the wallet id to query. + core.keys.v1alpha1.WalletId wallet_id = 14; +} + +// Returns the status of the view service and whether it is synchronized with the chain state. +message StatusResponse { + // The height the view service has synchronized to so far + uint64 sync_height = 1; + // Whether the view service is catching up with the chain state + bool catching_up = 2; +} + +// Requests streaming updates on the sync height until the view service is synchronized. +message StatusStreamRequest { + // Identifies the wallet id to query. + core.keys.v1alpha1.WalletId wallet_id = 14; +} + +// A streaming sync status update +message StatusStreamResponse { + uint64 latest_known_block_height = 1; + uint64 sync_height = 2; +} + +// A query for notes known by the view service. +// +// This message uses the fact that all proto fields are optional +// to allow various filtering on the returned notes. +message NotesRequest { + // If set, return spent notes as well as unspent notes. + bool include_spent = 2; + + // If set, only return notes with the specified asset id. + core.asset.v1alpha1.AssetId asset_id = 3; + + // If set, only return notes with the specified address incore.component.dex.v1alpha1. + core.keys.v1alpha1.AddressIndex address_index = 4; + + // If set, stop returning notes once the total exceeds this amount. + // + // Ignored if `asset_id` is unset or if `include_spent` is set. + core.num.v1alpha1.Amount amount_to_spend = 6; + + // Identifies the wallet id to query. + core.keys.v1alpha1.WalletId wallet_id = 14; +} + +// A query for notes to be used for voting on a proposal. +message NotesForVotingRequest { + // The starting height of the proposal. + uint64 votable_at_height = 1; + + // If set, only return notes with the specified asset id. + core.keys.v1alpha1.AddressIndex address_index = 3; + + // Identifies the wallet id to query. + core.keys.v1alpha1.WalletId wallet_id = 14; +} + +message WitnessRequest { + // The note commitments to obtain auth paths for. + repeated crypto.tct.v1alpha1.StateCommitment note_commitments = 2; + + // The transaction plan to witness + core.transaction.v1alpha1.TransactionPlan transaction_plan = 3; + + // Identifies the wallet id to query. + core.keys.v1alpha1.WalletId wallet_id = 14; +} + +message WitnessResponse { + core.transaction.v1alpha1.WitnessData witness_data = 1; +} + +message WitnessAndBuildRequest { + penumbra.core.transaction.v1alpha1.TransactionPlan transaction_plan = 1; + penumbra.core.transaction.v1alpha1.AuthorizationData authorization_data = 2; +} + +message WitnessAndBuildResponse { + penumbra.core.transaction.v1alpha1.Transaction transaction = 1; +} + +// Requests all assets known to the view service. +message AssetsRequest { + // If set to false (default), returns all assets, regardless of whether the rest of the fields of + // the request indicate a filter. + bool filtered = 1; + // Include these specific denominations in the response. + repeated core.asset.v1alpha1.Denom include_specific_denominations = 2; + // Include all delegation tokens, to any validator, in the response. + bool include_delegation_tokens = 3; + // Include all unbonding tokens, from any validator, in the response. + bool include_unbonding_tokens = 4; + // Include all LP NFTs in the response. + bool include_lp_nfts = 5; + // Include all proposal NFTs in the response. + bool include_proposal_nfts = 6; + // Include all voting receipt tokens in the response. + bool include_voting_receipt_tokens = 7; +} + +// Requests all assets known to the view service. +message AssetsResponse { + core.asset.v1alpha1.DenomMetadata denom_metadata = 2; +} + +// Requests the current app parameters from the view service. +message AppParametersRequest {} + +message AppParametersResponse { + core.app.v1alpha1.AppParameters parameters = 1; +} + +// Requests the current gas prices from the view service. +message GasPricesRequest {} + +message GasPricesResponse { + core.component.fee.v1alpha1.GasPrices gas_prices = 1; +} + +// Requests the current FMD parameters from the view service. +message FMDParametersRequest {} + +message FMDParametersResponse { + core.component.chain.v1alpha1.FmdParameters parameters = 1; +} + +message NoteByCommitmentRequest { + crypto.tct.v1alpha1.StateCommitment note_commitment = 2; + // If set to true, waits to return until the requested note is detected. + bool await_detection = 3; + // Identifies the wallet id to query. + core.keys.v1alpha1.WalletId wallet_id = 14; +} + +message NoteByCommitmentResponse { + SpendableNoteRecord spendable_note = 1; +} + +message SwapByCommitmentRequest { + crypto.tct.v1alpha1.StateCommitment swap_commitment = 2; + // If set to true, waits to return until the requested swap is detected. + bool await_detection = 3; + // Identifies the wallet id to query. + core.keys.v1alpha1.WalletId wallet_id = 14; +} + +message SwapByCommitmentResponse { + SwapRecord swap = 1; +} + +message UnclaimedSwapsRequest { + // Identifies the wallet id to query. + core.keys.v1alpha1.WalletId wallet_id = 1; +} + +message UnclaimedSwapsResponse { + SwapRecord swap = 1; +} + +message NullifierStatusRequest { + core.component.sct.v1alpha1.Nullifier nullifier = 2; + bool await_detection = 3; + // Identifies the wallet id to query. + core.keys.v1alpha1.WalletId wallet_id = 14; +} + +message NullifierStatusResponse { + bool spent = 1; +} + +message TransactionInfoByHashRequest { + // The transaction hash to query for. + core.transaction.v1alpha1.Id id = 2; +} + +message TransactionInfoRequest { + // If present, return only transactions after this height. + uint64 start_height = 1; + // If present, return only transactions before this height. + uint64 end_height = 2; +} + +message TransactionInfo { + // The height the transaction was included in a block, if known. + uint64 height = 1; + // The hash of the transaction. + core.transaction.v1alpha1.Id id = 2; + // The transaction data itself. + core.transaction.v1alpha1.Transaction transaction = 3; + // The transaction perspective, as seen by this view server. + core.transaction.v1alpha1.TransactionPerspective perspective = 4; + // A precomputed transaction view of `transaction` from `perspective`, included for convenience of clients that don't have support for viewing transactions on their own. + core.transaction.v1alpha1.TransactionView view = 5; +} + +message TransactionInfoResponse { + TransactionInfo tx_info = 1; +} + +message TransactionInfoByHashResponse { + TransactionInfo tx_info = 1; +} + +message NotesResponse { + SpendableNoteRecord note_record = 1; +} + +message NotesForVotingResponse { + SpendableNoteRecord note_record = 1; + core.keys.v1alpha1.IdentityKey identity_key = 2; +} + +// A note plaintext with associated metadata about its status. +message SpendableNoteRecord { + // The note commitment, identifying the note. + crypto.tct.v1alpha1.StateCommitment note_commitment = 1; + // The note plaintext itself. + core.component.shielded_pool.v1alpha1.Note note = 2; + // A precomputed decryption of the note's address incore.component.dex.v1alpha1. + core.keys.v1alpha1.AddressIndex address_index = 3; + // The note's nullifier. + core.component.sct.v1alpha1.Nullifier nullifier = 4; + // The height at which the note was created. + uint64 height_created = 5; + // Records whether the note was spent (and if so, at what height). + uint64 height_spent = 6; + // The note position. + uint64 position = 7; + // The source of the note (a tx hash or otherwise) + core.component.chain.v1alpha1.NoteSource source = 8; +} + +message SwapRecord { + crypto.tct.v1alpha1.StateCommitment swap_commitment = 1; + core.component.dex.v1alpha1.SwapPlaintext swap = 2; + uint64 position = 3; + core.component.sct.v1alpha1.Nullifier nullifier = 4; + core.component.dex.v1alpha1.BatchSwapOutputData output_data = 5; + uint64 height_claimed = 6; + core.component.chain.v1alpha1.NoteSource source = 7; +} + +message OwnedPositionIdsRequest { + // If present, return only positions with this position state. + core.component.dex.v1alpha1.PositionState position_state = 1; + // If present, return only positions for this trading pair. + core.component.dex.v1alpha1.TradingPair trading_pair = 2; + } + + message OwnedPositionIdsResponse { + core.component.dex.v1alpha1.PositionId position_id = 1; + } diff --git a/src/chains/penumbra/proto/penumbra/tendermint/crypto/keys.proto b/src/chains/penumbra/proto/penumbra/tendermint/crypto/keys.proto new file mode 100644 index 0000000000..8fa192fa4b --- /dev/null +++ b/src/chains/penumbra/proto/penumbra/tendermint/crypto/keys.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; +package tendermint.crypto; + +option go_package = "github.com/cometbft/cometbft/proto/tendermint/crypto"; + +import "gogoproto/gogo.proto"; + +// PublicKey defines the keys available for use with Validators +message PublicKey { + option (gogoproto.compare) = true; + option (gogoproto.equal) = true; + + oneof sum { + bytes ed25519 = 1; + bytes secp256k1 = 2; + } +} diff --git a/src/chains/penumbra/proto/penumbra/tendermint/crypto/proof.proto b/src/chains/penumbra/proto/penumbra/tendermint/crypto/proof.proto new file mode 100644 index 0000000000..ae72195e86 --- /dev/null +++ b/src/chains/penumbra/proto/penumbra/tendermint/crypto/proof.proto @@ -0,0 +1,41 @@ +syntax = "proto3"; +package tendermint.crypto; + +option go_package = "github.com/cometbft/cometbft/proto/tendermint/crypto"; + +import "gogoproto/gogo.proto"; + +message Proof { + int64 total = 1; + int64 index = 2; + bytes leaf_hash = 3; + repeated bytes aunts = 4; +} + +message ValueOp { + // Encoded in ProofOp.Key. + bytes key = 1; + + // To encode in ProofOp.Data + Proof proof = 2; +} + +message DominoOp { + string key = 1; + string input = 2; + string output = 3; +} + +// ProofOp defines an operation used for calculating Merkle root +// The data could be arbitrary format, providing nessecary data +// for example neighbouring node hash +message ProofOp { + string type = 1; + bytes key = 2; + bytes data = 3; +} + +// ProofOps is Merkle proof defined by the list of ProofOps +message ProofOps { + repeated ProofOp ops = 1 [(gogoproto.nullable) = false]; +} diff --git a/src/chains/penumbra/proto/penumbra/tendermint/p2p/types.proto b/src/chains/penumbra/proto/penumbra/tendermint/p2p/types.proto new file mode 100644 index 0000000000..157d8ba1ca --- /dev/null +++ b/src/chains/penumbra/proto/penumbra/tendermint/p2p/types.proto @@ -0,0 +1,34 @@ +syntax = "proto3"; +package tendermint.p2p; + +option go_package = "github.com/cometbft/cometbft/proto/tendermint/p2p"; + +import "gogoproto/gogo.proto"; + +message NetAddress { + string id = 1 [(gogoproto.customname) = "ID"]; + string ip = 2 [(gogoproto.customname) = "IP"]; + uint32 port = 3; +} + +message ProtocolVersion { + uint64 p2p = 1 [(gogoproto.customname) = "P2P"]; + uint64 block = 2; + uint64 app = 3; +} + +message DefaultNodeInfo { + ProtocolVersion protocol_version = 1 [(gogoproto.nullable) = false]; + string default_node_id = 2 [(gogoproto.customname) = "DefaultNodeID"]; + string listen_addr = 3; + string network = 4; + string version = 5; + bytes channels = 6; + string moniker = 7; + DefaultNodeInfoOther other = 8 [(gogoproto.nullable) = false]; +} + +message DefaultNodeInfoOther { + string tx_index = 1; + string rpc_address = 2 [(gogoproto.customname) = "RPCAddress"]; +} diff --git a/src/chains/penumbra/proto/penumbra/tendermint/types/block.proto b/src/chains/penumbra/proto/penumbra/tendermint/types/block.proto new file mode 100644 index 0000000000..d531c06a00 --- /dev/null +++ b/src/chains/penumbra/proto/penumbra/tendermint/types/block.proto @@ -0,0 +1,15 @@ +syntax = "proto3"; +package tendermint.types; + +option go_package = "github.com/cometbft/cometbft/proto/tendermint/types"; + +import "gogoproto/gogo.proto"; +import "tendermint/types/types.proto"; +import "tendermint/types/evidence.proto"; + +message Block { + Header header = 1 [(gogoproto.nullable) = false]; + Data data = 2 [(gogoproto.nullable) = false]; + tendermint.types.EvidenceList evidence = 3 [(gogoproto.nullable) = false]; + Commit last_commit = 4; +} diff --git a/src/chains/penumbra/proto/penumbra/tendermint/types/evidence.proto b/src/chains/penumbra/proto/penumbra/tendermint/types/evidence.proto new file mode 100644 index 0000000000..1f35049bdc --- /dev/null +++ b/src/chains/penumbra/proto/penumbra/tendermint/types/evidence.proto @@ -0,0 +1,38 @@ +syntax = "proto3"; +package tendermint.types; + +option go_package = "github.com/cometbft/cometbft/proto/tendermint/types"; + +import "gogoproto/gogo.proto"; +import "google/protobuf/timestamp.proto"; +import "tendermint/types/types.proto"; +import "tendermint/types/validator.proto"; + +message Evidence { + oneof sum { + DuplicateVoteEvidence duplicate_vote_evidence = 1; + LightClientAttackEvidence light_client_attack_evidence = 2; + } +} + +// DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. +message DuplicateVoteEvidence { + tendermint.types.Vote vote_a = 1; + tendermint.types.Vote vote_b = 2; + int64 total_voting_power = 3; + int64 validator_power = 4; + google.protobuf.Timestamp timestamp = 5 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; +} + +// LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. +message LightClientAttackEvidence { + tendermint.types.LightBlock conflicting_block = 1; + int64 common_height = 2; + repeated tendermint.types.Validator byzantine_validators = 3; + int64 total_voting_power = 4; + google.protobuf.Timestamp timestamp = 5 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; +} + +message EvidenceList { + repeated Evidence evidence = 1 [(gogoproto.nullable) = false]; +} diff --git a/src/chains/penumbra/proto/penumbra/tendermint/types/types.proto b/src/chains/penumbra/proto/penumbra/tendermint/types/types.proto new file mode 100644 index 0000000000..425f041dab --- /dev/null +++ b/src/chains/penumbra/proto/penumbra/tendermint/types/types.proto @@ -0,0 +1,157 @@ +syntax = "proto3"; +package tendermint.types; + +option go_package = "github.com/cometbft/cometbft/proto/tendermint/types"; + +import "gogoproto/gogo.proto"; +import "google/protobuf/timestamp.proto"; +import "tendermint/crypto/proof.proto"; +import "tendermint/version/types.proto"; +import "tendermint/types/validator.proto"; + +// BlockIdFlag indicates which BlcokID the signature is for +enum BlockIDFlag { + option (gogoproto.goproto_enum_stringer) = true; + option (gogoproto.goproto_enum_prefix) = false; + + BLOCK_ID_FLAG_UNKNOWN = 0 [(gogoproto.enumvalue_customname) = "BlockIDFlagUnknown"]; + BLOCK_ID_FLAG_ABSENT = 1 [(gogoproto.enumvalue_customname) = "BlockIDFlagAbsent"]; + BLOCK_ID_FLAG_COMMIT = 2 [(gogoproto.enumvalue_customname) = "BlockIDFlagCommit"]; + BLOCK_ID_FLAG_NIL = 3 [(gogoproto.enumvalue_customname) = "BlockIDFlagNil"]; +} + +// SignedMsgType is a type of signed message in the consensus. +enum SignedMsgType { + option (gogoproto.goproto_enum_stringer) = true; + option (gogoproto.goproto_enum_prefix) = false; + + SIGNED_MSG_TYPE_UNKNOWN = 0 [(gogoproto.enumvalue_customname) = "UnknownType"]; + // Votes + SIGNED_MSG_TYPE_PREVOTE = 1 [(gogoproto.enumvalue_customname) = "PrevoteType"]; + SIGNED_MSG_TYPE_PRECOMMIT = 2 [(gogoproto.enumvalue_customname) = "PrecommitType"]; + + // Proposals + SIGNED_MSG_TYPE_PROPOSAL = 32 [(gogoproto.enumvalue_customname) = "ProposalType"]; +} + +// PartsetHeader +message PartSetHeader { + uint32 total = 1; + bytes hash = 2; +} + +message Part { + uint32 index = 1; + bytes bytes = 2; + tendermint.crypto.Proof proof = 3 [(gogoproto.nullable) = false]; +} + +// BlockID +message BlockID { + bytes hash = 1; + PartSetHeader part_set_header = 2 [(gogoproto.nullable) = false]; +} + +// -------------------------------- + +// Header defines the structure of a block header. +message Header { + // basic block info + tendermint.version.Consensus version = 1 [(gogoproto.nullable) = false]; + string chain_id = 2 [(gogoproto.customname) = "ChainID"]; + int64 height = 3; + google.protobuf.Timestamp time = 4 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + + // prev block info + BlockID last_block_id = 5 [(gogoproto.nullable) = false]; + + // hashes of block data + bytes last_commit_hash = 6; // commit from validators from the last block + bytes data_hash = 7; // transactions + + // hashes from the app output from the prev block + bytes validators_hash = 8; // validators for the current block + bytes next_validators_hash = 9; // validators for the next block + bytes consensus_hash = 10; // consensus params for current block + bytes app_hash = 11; // state after txs from the previous block + bytes last_results_hash = 12; // root hash of all results from the txs from the previous block + + // consensus info + bytes evidence_hash = 13; // evidence included in the block + bytes proposer_address = 14; // original proposer of the block +} + +// Data contains the set of transactions included in the block +message Data { + // Txs that will be applied by state @ block.Height+1. + // NOTE: not all txs here are valid. We're just agreeing on the order first. + // This means that block.AppHash does not include these txs. + repeated bytes txs = 1; +} + +// Vote represents a prevote, precommit, or commit vote from validators for +// consensus. +message Vote { + SignedMsgType type = 1; + int64 height = 2; + int32 round = 3; + BlockID block_id = 4 + [(gogoproto.nullable) = false, (gogoproto.customname) = "BlockID"]; // zero if vote is nil. + google.protobuf.Timestamp timestamp = 5 + [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + bytes validator_address = 6; + int32 validator_index = 7; + bytes signature = 8; +} + +// Commit contains the evidence that a block was committed by a set of validators. +message Commit { + int64 height = 1; + int32 round = 2; + BlockID block_id = 3 [(gogoproto.nullable) = false, (gogoproto.customname) = "BlockID"]; + repeated CommitSig signatures = 4 [(gogoproto.nullable) = false]; +} + +// CommitSig is a part of the Vote included in a Commit. +message CommitSig { + BlockIDFlag block_id_flag = 1; + bytes validator_address = 2; + google.protobuf.Timestamp timestamp = 3 + [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + bytes signature = 4; +} + +message Proposal { + SignedMsgType type = 1; + int64 height = 2; + int32 round = 3; + int32 pol_round = 4; + BlockID block_id = 5 [(gogoproto.customname) = "BlockID", (gogoproto.nullable) = false]; + google.protobuf.Timestamp timestamp = 6 + [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + bytes signature = 7; +} + +message SignedHeader { + Header header = 1; + Commit commit = 2; +} + +message LightBlock { + SignedHeader signed_header = 1; + tendermint.types.ValidatorSet validator_set = 2; +} + +message BlockMeta { + BlockID block_id = 1 [(gogoproto.customname) = "BlockID", (gogoproto.nullable) = false]; + int64 block_size = 2; + Header header = 3 [(gogoproto.nullable) = false]; + int64 num_txs = 4; +} + +// TxProof represents a Merkle proof of the presence of a transaction in the Merkle tree. +message TxProof { + bytes root_hash = 1; + bytes data = 2; + tendermint.crypto.Proof proof = 3; +} diff --git a/src/chains/penumbra/proto/penumbra/tendermint/types/validator.proto b/src/chains/penumbra/proto/penumbra/tendermint/types/validator.proto new file mode 100644 index 0000000000..3e170262cc --- /dev/null +++ b/src/chains/penumbra/proto/penumbra/tendermint/types/validator.proto @@ -0,0 +1,25 @@ +syntax = "proto3"; +package tendermint.types; + +option go_package = "github.com/cometbft/cometbft/proto/tendermint/types"; + +import "gogoproto/gogo.proto"; +import "tendermint/crypto/keys.proto"; + +message ValidatorSet { + repeated Validator validators = 1; + Validator proposer = 2; + int64 total_voting_power = 3; +} + +message Validator { + bytes address = 1; + tendermint.crypto.PublicKey pub_key = 2 [(gogoproto.nullable) = false]; + int64 voting_power = 3; + int64 proposer_priority = 4; +} + +message SimpleValidator { + tendermint.crypto.PublicKey pub_key = 1; + int64 voting_power = 2; +} diff --git a/src/chains/penumbra/proto/penumbra/tendermint/version/types.proto b/src/chains/penumbra/proto/penumbra/tendermint/version/types.proto new file mode 100644 index 0000000000..3b6ef45479 --- /dev/null +++ b/src/chains/penumbra/proto/penumbra/tendermint/version/types.proto @@ -0,0 +1,24 @@ +syntax = "proto3"; +package tendermint.version; + +option go_package = "github.com/cometbft/cometbft/proto/tendermint/version"; + +import "gogoproto/gogo.proto"; + +// App includes the protocol and software version for the application. +// This information is included in ResponseInfo. The App.Protocol can be +// updated in ResponseEndBlock. +message App { + uint64 protocol = 1; + string software = 2; +} + +// Consensus captures the consensus rules for processing a block in the blockchain, +// including all blockchain data structures and the rules of the application's +// state transition machine. +message Consensus { + option (gogoproto.equal) = true; + + uint64 block = 1; + uint64 app = 2; +} diff --git a/src/services/schema/penumbra-schema.json b/src/services/schema/penumbra-schema.json new file mode 100644 index 0000000000..d8d2e939d0 --- /dev/null +++ b/src/services/schema/penumbra-schema.json @@ -0,0 +1,24 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "type": "object", + "properties": { + "networks": { + "type": "object", + "patternProperties": { + "^\\w+$": { + "type": "object", + "properties": { + "rpcURL": { "type": "string" }, + "tokenListType": { "type": "string" }, + "tokenListSource": { "type": "string" } + }, + "required": ["rpcURL", "tokenListType", "tokenListSource"], + "additionalProperties": false + } + }, + "additionalProperties": false + }, + "network": { "type": "string" } + }, + "additionalProperties": false +} diff --git a/src/templates/penumbra.yml b/src/templates/penumbra.yml new file mode 100644 index 0000000000..684ed18e84 --- /dev/null +++ b/src/templates/penumbra.yml @@ -0,0 +1,7 @@ +networks: + # No mainnet yet + testnet: + rpcURL: localhost:8081 # This should be your pclientd rpc url + tokenListType: URL + tokenListSource: https://cosmos-chain-registry-list.vercel.app/list.json +network: testnet \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index b8bd43eef5..480d71356d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3,46 +3,46 @@ "@adraffy/ens-normalize@1.9.0": - version "1.9.0" - resolved "https://registry.yarnpkg.com/@adraffy/ens-normalize/-/ens-normalize-1.9.0.tgz#223572538f6bea336750039bb43a4016dcc8182d" - integrity sha512-iowxq3U30sghZotgl4s/oJRci6WPBfNO5YYgk2cIOMCHr3LeGPcsZjCEr+33Q4N+oV3OABDAtA+pyvWjbvBifQ== + "integrity" "sha512-iowxq3U30sghZotgl4s/oJRci6WPBfNO5YYgk2cIOMCHr3LeGPcsZjCEr+33Q4N+oV3OABDAtA+pyvWjbvBifQ==" + "resolved" "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.9.0.tgz" + "version" "1.9.0" "@ampproject/remapping@^2.2.0": - version "2.2.0" - resolved "https://registry.yarnpkg.com/@ampproject/remapping/-/remapping-2.2.0.tgz#56c133824780de3174aed5ab6834f3026790154d" - integrity sha512-qRmjj8nj9qmLTQXXmaR1cck3UXSRMPrbsLJAasZpF+t3riI71BXed5ebIOYwQntykeZuhjsdweEc9BxH5Jc26w== + "integrity" "sha512-qRmjj8nj9qmLTQXXmaR1cck3UXSRMPrbsLJAasZpF+t3riI71BXed5ebIOYwQntykeZuhjsdweEc9BxH5Jc26w==" + "resolved" "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.0.tgz" + "version" "2.2.0" dependencies: "@jridgewell/gen-mapping" "^0.1.0" "@jridgewell/trace-mapping" "^0.3.9" "@apocentre/alias-sampling@^0.5.3": - version "0.5.3" - resolved "https://registry.yarnpkg.com/@apocentre/alias-sampling/-/alias-sampling-0.5.3.tgz#897ff181b48ad7b2bcb4ecf29400214888244f08" - integrity sha512-7UDWIIF9hIeJqfKXkNIzkVandlwLf1FWTSdrb9iXvOP8oF544JRXQjCbiTmCv2c9n44n/FIWtehhBfNuAx2CZA== + "integrity" "sha512-7UDWIIF9hIeJqfKXkNIzkVandlwLf1FWTSdrb9iXvOP8oF544JRXQjCbiTmCv2c9n44n/FIWtehhBfNuAx2CZA==" + "resolved" "https://registry.npmjs.org/@apocentre/alias-sampling/-/alias-sampling-0.5.3.tgz" + "version" "0.5.3" "@apollo/client@^3.5.8": - version "3.7.10" - resolved "https://registry.yarnpkg.com/@apollo/client/-/client-3.7.10.tgz#addc5fcebaf016981d9476268a06d529be83f568" - integrity sha512-/k1MfrqPKYiPNdHcOzdxg9cEx96vhAGxAcSorzfBvV29XtFQcYW2cPNQOTjK/fpSMtqVo8UNmu5vwQAWD1gfCg== + "integrity" "sha512-/k1MfrqPKYiPNdHcOzdxg9cEx96vhAGxAcSorzfBvV29XtFQcYW2cPNQOTjK/fpSMtqVo8UNmu5vwQAWD1gfCg==" + "resolved" "https://registry.npmjs.org/@apollo/client/-/client-3.7.10.tgz" + "version" "3.7.10" dependencies: "@graphql-typed-document-node/core" "^3.1.1" "@wry/context" "^0.7.0" "@wry/equality" "^0.5.0" "@wry/trie" "^0.3.0" - graphql-tag "^2.12.6" - hoist-non-react-statics "^3.3.2" - optimism "^0.16.1" - prop-types "^15.7.2" - response-iterator "^0.2.6" - symbol-observable "^4.0.0" - ts-invariant "^0.10.3" - tslib "^2.3.0" - zen-observable-ts "^1.2.5" + "graphql-tag" "^2.12.6" + "hoist-non-react-statics" "^3.3.2" + "optimism" "^0.16.1" + "prop-types" "^15.7.2" + "response-iterator" "^0.2.6" + "symbol-observable" "^4.0.0" + "ts-invariant" "^0.10.3" + "tslib" "^2.3.0" + "zen-observable-ts" "^1.2.5" "@apollo/protobufjs@1.2.6": - version "1.2.6" - resolved "https://registry.yarnpkg.com/@apollo/protobufjs/-/protobufjs-1.2.6.tgz#d601e65211e06ae1432bf5993a1a0105f2862f27" - integrity sha512-Wqo1oSHNUj/jxmsVp4iR3I480p6qdqHikn38lKrFhfzcDJ7lwd7Ck7cHRl4JE81tWNArl77xhnG/OkZhxKBYOw== + "integrity" "sha512-Wqo1oSHNUj/jxmsVp4iR3I480p6qdqHikn38lKrFhfzcDJ7lwd7Ck7cHRl4JE81tWNArl77xhnG/OkZhxKBYOw==" + "resolved" "https://registry.npmjs.org/@apollo/protobufjs/-/protobufjs-1.2.6.tgz" + "version" "1.2.6" dependencies: "@protobufjs/aspromise" "^1.1.2" "@protobufjs/base64" "^1.1.2" @@ -56,12 +56,12 @@ "@protobufjs/utf8" "^1.1.0" "@types/long" "^4.0.0" "@types/node" "^10.1.0" - long "^4.0.0" + "long" "^4.0.0" "@apollo/protobufjs@1.2.7": - version "1.2.7" - resolved "https://registry.yarnpkg.com/@apollo/protobufjs/-/protobufjs-1.2.7.tgz#3a8675512817e4a046a897e5f4f16415f16a7d8a" - integrity sha512-Lahx5zntHPZia35myYDBRuF58tlwPskwHc5CWBZC/4bMKB6siTBWwtMrkqXcsNwQiFSzSx5hKdRPUmemrEp3Gg== + "integrity" "sha512-Lahx5zntHPZia35myYDBRuF58tlwPskwHc5CWBZC/4bMKB6siTBWwtMrkqXcsNwQiFSzSx5hKdRPUmemrEp3Gg==" + "resolved" "https://registry.npmjs.org/@apollo/protobufjs/-/protobufjs-1.2.7.tgz" + "version" "1.2.7" dependencies: "@protobufjs/aspromise" "^1.1.2" "@protobufjs/base64" "^1.1.2" @@ -74,59 +74,59 @@ "@protobufjs/pool" "^1.1.0" "@protobufjs/utf8" "^1.1.0" "@types/long" "^4.0.0" - long "^4.0.0" + "long" "^4.0.0" "@apollo/usage-reporting-protobuf@^4.0.0": - version "4.1.0" - resolved "https://registry.yarnpkg.com/@apollo/usage-reporting-protobuf/-/usage-reporting-protobuf-4.1.0.tgz#b54b8c32702bbe81aa0e399076ddabaf75a13f9b" - integrity sha512-hXouMuw5pQVkzi8dgMybmr6Y11+eRmMQVoB5TF0HyTwAg9SOq/v3OCuiYqcVUKdBcskU9Msp+XvjAk0GKpWCwQ== + "integrity" "sha512-hXouMuw5pQVkzi8dgMybmr6Y11+eRmMQVoB5TF0HyTwAg9SOq/v3OCuiYqcVUKdBcskU9Msp+XvjAk0GKpWCwQ==" + "resolved" "https://registry.npmjs.org/@apollo/usage-reporting-protobuf/-/usage-reporting-protobuf-4.1.0.tgz" + "version" "4.1.0" dependencies: "@apollo/protobufjs" "1.2.7" "@apollo/utils.dropunuseddefinitions@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@apollo/utils.dropunuseddefinitions/-/utils.dropunuseddefinitions-1.1.0.tgz#02b04006442eaf037f4c4624146b12775d70d929" - integrity sha512-jU1XjMr6ec9pPoL+BFWzEPW7VHHulVdGKMkPAMiCigpVIT11VmCbnij0bWob8uS3ODJ65tZLYKAh/55vLw2rbg== + "integrity" "sha512-jU1XjMr6ec9pPoL+BFWzEPW7VHHulVdGKMkPAMiCigpVIT11VmCbnij0bWob8uS3ODJ65tZLYKAh/55vLw2rbg==" + "resolved" "https://registry.npmjs.org/@apollo/utils.dropunuseddefinitions/-/utils.dropunuseddefinitions-1.1.0.tgz" + "version" "1.1.0" "@apollo/utils.keyvaluecache@^1.0.1": - version "1.0.2" - resolved "https://registry.yarnpkg.com/@apollo/utils.keyvaluecache/-/utils.keyvaluecache-1.0.2.tgz#2bfe358c4d82f3a0950518451996758c52613f57" - integrity sha512-p7PVdLPMnPzmXSQVEsy27cYEjVON+SH/Wb7COyW3rQN8+wJgT1nv9jZouYtztWW8ZgTkii5T6tC9qfoDREd4mg== + "integrity" "sha512-p7PVdLPMnPzmXSQVEsy27cYEjVON+SH/Wb7COyW3rQN8+wJgT1nv9jZouYtztWW8ZgTkii5T6tC9qfoDREd4mg==" + "resolved" "https://registry.npmjs.org/@apollo/utils.keyvaluecache/-/utils.keyvaluecache-1.0.2.tgz" + "version" "1.0.2" dependencies: "@apollo/utils.logger" "^1.0.0" - lru-cache "7.10.1 - 7.13.1" + "lru-cache" "7.10.1 - 7.13.1" "@apollo/utils.logger@^1.0.0": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@apollo/utils.logger/-/utils.logger-1.0.1.tgz#aea0d1bb7ceb237f506c6bbf38f10a555b99a695" - integrity sha512-XdlzoY7fYNK4OIcvMD2G94RoFZbzTQaNP0jozmqqMudmaGo2I/2Jx71xlDJ801mWA/mbYRihyaw6KJii7k5RVA== + "integrity" "sha512-XdlzoY7fYNK4OIcvMD2G94RoFZbzTQaNP0jozmqqMudmaGo2I/2Jx71xlDJ801mWA/mbYRihyaw6KJii7k5RVA==" + "resolved" "https://registry.npmjs.org/@apollo/utils.logger/-/utils.logger-1.0.1.tgz" + "version" "1.0.1" "@apollo/utils.printwithreducedwhitespace@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@apollo/utils.printwithreducedwhitespace/-/utils.printwithreducedwhitespace-1.1.0.tgz#c466299a4766eef8577a2a64c8f27712e8bd7e30" - integrity sha512-GfFSkAv3n1toDZ4V6u2d7L4xMwLA+lv+6hqXicMN9KELSJ9yy9RzuEXaX73c/Ry+GzRsBy/fdSUGayGqdHfT2Q== + "integrity" "sha512-GfFSkAv3n1toDZ4V6u2d7L4xMwLA+lv+6hqXicMN9KELSJ9yy9RzuEXaX73c/Ry+GzRsBy/fdSUGayGqdHfT2Q==" + "resolved" "https://registry.npmjs.org/@apollo/utils.printwithreducedwhitespace/-/utils.printwithreducedwhitespace-1.1.0.tgz" + "version" "1.1.0" "@apollo/utils.removealiases@1.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@apollo/utils.removealiases/-/utils.removealiases-1.0.0.tgz#75f6d83098af1fcae2d3beb4f515ad4a8452a8c1" - integrity sha512-6cM8sEOJW2LaGjL/0vHV0GtRaSekrPQR4DiywaApQlL9EdROASZU5PsQibe2MWeZCOhNrPRuHh4wDMwPsWTn8A== + "integrity" "sha512-6cM8sEOJW2LaGjL/0vHV0GtRaSekrPQR4DiywaApQlL9EdROASZU5PsQibe2MWeZCOhNrPRuHh4wDMwPsWTn8A==" + "resolved" "https://registry.npmjs.org/@apollo/utils.removealiases/-/utils.removealiases-1.0.0.tgz" + "version" "1.0.0" "@apollo/utils.sortast@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@apollo/utils.sortast/-/utils.sortast-1.1.0.tgz#93218c7008daf3e2a0725196085a33f5aab5ad07" - integrity sha512-VPlTsmUnOwzPK5yGZENN069y6uUHgeiSlpEhRnLFYwYNoJHsuJq2vXVwIaSmts015WTPa2fpz1inkLYByeuRQA== + "integrity" "sha512-VPlTsmUnOwzPK5yGZENN069y6uUHgeiSlpEhRnLFYwYNoJHsuJq2vXVwIaSmts015WTPa2fpz1inkLYByeuRQA==" + "resolved" "https://registry.npmjs.org/@apollo/utils.sortast/-/utils.sortast-1.1.0.tgz" + "version" "1.1.0" dependencies: - lodash.sortby "^4.7.0" + "lodash.sortby" "^4.7.0" "@apollo/utils.stripsensitiveliterals@^1.2.0": - version "1.2.0" - resolved "https://registry.yarnpkg.com/@apollo/utils.stripsensitiveliterals/-/utils.stripsensitiveliterals-1.2.0.tgz#4920651f36beee8e260e12031a0c5863ad0c7b28" - integrity sha512-E41rDUzkz/cdikM5147d8nfCFVKovXxKBcjvLEQ7bjZm/cg9zEcXvS6vFY8ugTubI3fn6zoqo0CyU8zT+BGP9w== + "integrity" "sha512-E41rDUzkz/cdikM5147d8nfCFVKovXxKBcjvLEQ7bjZm/cg9zEcXvS6vFY8ugTubI3fn6zoqo0CyU8zT+BGP9w==" + "resolved" "https://registry.npmjs.org/@apollo/utils.stripsensitiveliterals/-/utils.stripsensitiveliterals-1.2.0.tgz" + "version" "1.2.0" "@apollo/utils.usagereporting@^1.0.0": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@apollo/utils.usagereporting/-/utils.usagereporting-1.0.1.tgz#3c70b49e554771659576fe35381c7a4b321d27fd" - integrity sha512-6dk+0hZlnDbahDBB2mP/PZ5ybrtCJdLMbeNJD+TJpKyZmSY6bA3SjI8Cr2EM9QA+AdziywuWg+SgbWUF3/zQqQ== + "integrity" "sha512-6dk+0hZlnDbahDBB2mP/PZ5ybrtCJdLMbeNJD+TJpKyZmSY6bA3SjI8Cr2EM9QA+AdziywuWg+SgbWUF3/zQqQ==" + "resolved" "https://registry.npmjs.org/@apollo/utils.usagereporting/-/utils.usagereporting-1.0.1.tgz" + "version" "1.0.1" dependencies: "@apollo/usage-reporting-protobuf" "^4.0.0" "@apollo/utils.dropunuseddefinitions" "^1.1.0" @@ -136,48 +136,48 @@ "@apollo/utils.stripsensitiveliterals" "^1.2.0" "@apollographql/apollo-tools@^0.5.3": - version "0.5.4" - resolved "https://registry.yarnpkg.com/@apollographql/apollo-tools/-/apollo-tools-0.5.4.tgz#cb3998c6cf12e494b90c733f44dd9935e2d8196c" - integrity sha512-shM3q7rUbNyXVVRkQJQseXv6bnYM3BUma/eZhwXR4xsuM+bqWnJKvW7SAfRjP7LuSCocrexa5AXhjjawNHrIlw== + "integrity" "sha512-shM3q7rUbNyXVVRkQJQseXv6bnYM3BUma/eZhwXR4xsuM+bqWnJKvW7SAfRjP7LuSCocrexa5AXhjjawNHrIlw==" + "resolved" "https://registry.npmjs.org/@apollographql/apollo-tools/-/apollo-tools-0.5.4.tgz" + "version" "0.5.4" "@apollographql/graphql-playground-html@1.6.29": - version "1.6.29" - resolved "https://registry.yarnpkg.com/@apollographql/graphql-playground-html/-/graphql-playground-html-1.6.29.tgz#a7a646614a255f62e10dcf64a7f68ead41dec453" - integrity sha512-xCcXpoz52rI4ksJSdOCxeOCn2DLocxwHf9dVT/Q90Pte1LX+LY+91SFtJF3KXVHH8kEin+g1KKCQPKBjZJfWNA== + "integrity" "sha512-xCcXpoz52rI4ksJSdOCxeOCn2DLocxwHf9dVT/Q90Pte1LX+LY+91SFtJF3KXVHH8kEin+g1KKCQPKBjZJfWNA==" + "resolved" "https://registry.npmjs.org/@apollographql/graphql-playground-html/-/graphql-playground-html-1.6.29.tgz" + "version" "1.6.29" dependencies: - xss "^1.0.8" - -"@babel/code-frame@7.12.11": - version "7.12.11" - resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.12.11.tgz#f4ad435aa263db935b8f10f2c552d23fb716a63f" - integrity sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH1RcIw== - dependencies: - "@babel/highlight" "^7.10.4" + "xss" "^1.0.8" "@babel/code-frame@^7.0.0", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.18.6.tgz#3b25d38c89600baa2dcc219edfa88a74eb2c427a" - integrity sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q== + "integrity" "sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==" + "resolved" "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz" + "version" "7.18.6" dependencies: "@babel/highlight" "^7.18.6" "@babel/code-frame@^7.22.13": - version "7.22.13" - resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.22.13.tgz#e3c1c099402598483b7a8c46a721d1038803755e" - integrity sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w== + "integrity" "sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w==" + "resolved" "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.13.tgz" + "version" "7.22.13" dependencies: "@babel/highlight" "^7.22.13" - chalk "^2.4.2" + "chalk" "^2.4.2" + +"@babel/code-frame@7.12.11": + "integrity" "sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH1RcIw==" + "resolved" "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.11.tgz" + "version" "7.12.11" + dependencies: + "@babel/highlight" "^7.10.4" "@babel/compat-data@^7.20.5": - version "7.21.0" - resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.21.0.tgz#c241dc454e5b5917e40d37e525e2f4530c399298" - integrity sha512-gMuZsmsgxk/ENC3O/fRw5QY8A9/uxQbbCEypnLIiYYc/qVJtEV7ouxC3EllIIwNzMqAQee5tanFabWsUOutS7g== + "integrity" "sha512-gMuZsmsgxk/ENC3O/fRw5QY8A9/uxQbbCEypnLIiYYc/qVJtEV7ouxC3EllIIwNzMqAQee5tanFabWsUOutS7g==" + "resolved" "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.21.0.tgz" + "version" "7.21.0" "@babel/core@^7.0.0-0", "@babel/core@^7.1.0", "@babel/core@^7.12.3", "@babel/core@^7.7.2", "@babel/core@^7.8.0": - version "7.21.3" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.21.3.tgz#cf1c877284a469da5d1ce1d1e53665253fae712e" - integrity sha512-qIJONzoa/qiHghnm0l1n4i/6IIziDpzqc36FBs4pzMhDUraHqponwJLiAKm1hGLP3OSB/TVNz6rMwVGpwxxySw== + "integrity" "sha512-qIJONzoa/qiHghnm0l1n4i/6IIziDpzqc36FBs4pzMhDUraHqponwJLiAKm1hGLP3OSB/TVNz6rMwVGpwxxySw==" + "resolved" "https://registry.npmjs.org/@babel/core/-/core-7.21.3.tgz" + "version" "7.21.3" dependencies: "@ampproject/remapping" "^2.2.0" "@babel/code-frame" "^7.18.6" @@ -189,79 +189,79 @@ "@babel/template" "^7.20.7" "@babel/traverse" "^7.21.3" "@babel/types" "^7.21.3" - convert-source-map "^1.7.0" - debug "^4.1.0" - gensync "^1.0.0-beta.2" - json5 "^2.2.2" - semver "^6.3.0" + "convert-source-map" "^1.7.0" + "debug" "^4.1.0" + "gensync" "^1.0.0-beta.2" + "json5" "^2.2.2" + "semver" "^6.3.0" "@babel/generator@^7.21.3", "@babel/generator@^7.7.2": - version "7.21.3" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.21.3.tgz#232359d0874b392df04045d72ce2fd9bb5045fce" - integrity sha512-QS3iR1GYC/YGUnW7IdggFeN5c1poPUurnGttOV/bZgPGV+izC/D8HnD6DLwod0fsatNyVn1G3EVWMYIF0nHbeA== + "integrity" "sha512-QS3iR1GYC/YGUnW7IdggFeN5c1poPUurnGttOV/bZgPGV+izC/D8HnD6DLwod0fsatNyVn1G3EVWMYIF0nHbeA==" + "resolved" "https://registry.npmjs.org/@babel/generator/-/generator-7.21.3.tgz" + "version" "7.21.3" dependencies: "@babel/types" "^7.21.3" "@jridgewell/gen-mapping" "^0.3.2" "@jridgewell/trace-mapping" "^0.3.17" - jsesc "^2.5.1" + "jsesc" "^2.5.1" "@babel/generator@^7.23.0": - version "7.23.0" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.23.0.tgz#df5c386e2218be505b34837acbcb874d7a983420" - integrity sha512-lN85QRR+5IbYrMWM6Y4pE/noaQtg4pNiqeNGX60eqOfo6gtEj6uw/JagelB8vVztSd7R6M5n1+PQkDbHbBRU4g== + "integrity" "sha512-lN85QRR+5IbYrMWM6Y4pE/noaQtg4pNiqeNGX60eqOfo6gtEj6uw/JagelB8vVztSd7R6M5n1+PQkDbHbBRU4g==" + "resolved" "https://registry.npmjs.org/@babel/generator/-/generator-7.23.0.tgz" + "version" "7.23.0" dependencies: "@babel/types" "^7.23.0" "@jridgewell/gen-mapping" "^0.3.2" "@jridgewell/trace-mapping" "^0.3.17" - jsesc "^2.5.1" + "jsesc" "^2.5.1" "@babel/helper-compilation-targets@^7.20.7": - version "7.20.7" - resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.20.7.tgz#a6cd33e93629f5eb473b021aac05df62c4cd09bb" - integrity sha512-4tGORmfQcrc+bvrjb5y3dG9Mx1IOZjsHqQVUz7XCNHO+iTmqxWnVg3KRygjGmpRLJGdQSKuvFinbIb0CnZwHAQ== + "integrity" "sha512-4tGORmfQcrc+bvrjb5y3dG9Mx1IOZjsHqQVUz7XCNHO+iTmqxWnVg3KRygjGmpRLJGdQSKuvFinbIb0CnZwHAQ==" + "resolved" "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.20.7.tgz" + "version" "7.20.7" dependencies: "@babel/compat-data" "^7.20.5" "@babel/helper-validator-option" "^7.18.6" - browserslist "^4.21.3" - lru-cache "^5.1.1" - semver "^6.3.0" + "browserslist" "^4.21.3" + "lru-cache" "^5.1.1" + "semver" "^6.3.0" "@babel/helper-environment-visitor@^7.18.9": - version "7.18.9" - resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.9.tgz#0c0cee9b35d2ca190478756865bb3528422f51be" - integrity sha512-3r/aACDJ3fhQ/EVgFy0hpj8oHyHpQc+LPtJoY9SzTThAsStm4Ptegq92vqKoE3vD706ZVFWITnMnxucw+S9Ipg== + "integrity" "sha512-3r/aACDJ3fhQ/EVgFy0hpj8oHyHpQc+LPtJoY9SzTThAsStm4Ptegq92vqKoE3vD706ZVFWITnMnxucw+S9Ipg==" + "resolved" "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.9.tgz" + "version" "7.18.9" "@babel/helper-environment-visitor@^7.22.20": - version "7.22.20" - resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz#96159db61d34a29dba454c959f5ae4a649ba9167" - integrity sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA== + "integrity" "sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==" + "resolved" "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz" + "version" "7.22.20" "@babel/helper-function-name@^7.23.0": - version "7.23.0" - resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz#1f9a3cdbd5b2698a670c30d2735f9af95ed52759" - integrity sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw== + "integrity" "sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==" + "resolved" "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz" + "version" "7.23.0" dependencies: "@babel/template" "^7.22.15" "@babel/types" "^7.23.0" "@babel/helper-hoist-variables@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz#c01a007dac05c085914e8fb652b339db50d823bb" - integrity sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw== + "integrity" "sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==" + "resolved" "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz" + "version" "7.22.5" dependencies: "@babel/types" "^7.22.5" "@babel/helper-module-imports@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz#1e3ebdbbd08aad1437b428c50204db13c5a3ca6e" - integrity sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA== + "integrity" "sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA==" + "resolved" "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz" + "version" "7.18.6" dependencies: "@babel/types" "^7.18.6" "@babel/helper-module-transforms@^7.21.2": - version "7.21.2" - resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.21.2.tgz#160caafa4978ac8c00ac66636cb0fa37b024e2d2" - integrity sha512-79yj2AR4U/Oqq/WOV7Lx6hUjau1Zfo4cI+JLAVYeMV5XIlbOhmjEk5ulbTc9fMpmlojzZHkUUxAiK+UKn+hNQQ== + "integrity" "sha512-79yj2AR4U/Oqq/WOV7Lx6hUjau1Zfo4cI+JLAVYeMV5XIlbOhmjEk5ulbTc9fMpmlojzZHkUUxAiK+UKn+hNQQ==" + "resolved" "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.21.2.tgz" + "version" "7.21.2" dependencies: "@babel/helper-environment-visitor" "^7.18.9" "@babel/helper-module-imports" "^7.18.6" @@ -273,220 +273,225 @@ "@babel/types" "^7.21.2" "@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.19.0", "@babel/helper-plugin-utils@^7.8.0": - version "7.20.2" - resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.20.2.tgz#d1b9000752b18d0877cff85a5c376ce5c3121629" - integrity sha512-8RvlJG2mj4huQ4pZ+rU9lqKi9ZKiRmuvGuM2HlWmkmgOhbs6zEAw6IEiJ5cQqGbDzGZOhwuOQNtZMi/ENLjZoQ== + "integrity" "sha512-8RvlJG2mj4huQ4pZ+rU9lqKi9ZKiRmuvGuM2HlWmkmgOhbs6zEAw6IEiJ5cQqGbDzGZOhwuOQNtZMi/ENLjZoQ==" + "resolved" "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.20.2.tgz" + "version" "7.20.2" "@babel/helper-simple-access@^7.20.2": - version "7.20.2" - resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.20.2.tgz#0ab452687fe0c2cfb1e2b9e0015de07fc2d62dd9" - integrity sha512-+0woI/WPq59IrqDYbVGfshjT5Dmk/nnbdpcF8SnMhhXObpTq2KNBdLFRFrkVdbDOyUmHBCxzm5FHV1rACIkIbA== + "integrity" "sha512-+0woI/WPq59IrqDYbVGfshjT5Dmk/nnbdpcF8SnMhhXObpTq2KNBdLFRFrkVdbDOyUmHBCxzm5FHV1rACIkIbA==" + "resolved" "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.20.2.tgz" + "version" "7.20.2" dependencies: "@babel/types" "^7.20.2" "@babel/helper-split-export-declaration@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.18.6.tgz#7367949bc75b20c6d5a5d4a97bba2824ae8ef075" - integrity sha512-bde1etTx6ZyTmobl9LLMMQsaizFVZrquTEHOqKeQESMKo4PlObf+8+JA25ZsIpZhT/WEd39+vOdLXAFG/nELpA== + "integrity" "sha512-bde1etTx6ZyTmobl9LLMMQsaizFVZrquTEHOqKeQESMKo4PlObf+8+JA25ZsIpZhT/WEd39+vOdLXAFG/nELpA==" + "resolved" "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.18.6.tgz" + "version" "7.18.6" dependencies: "@babel/types" "^7.18.6" "@babel/helper-split-export-declaration@^7.22.6": - version "7.22.6" - resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz#322c61b7310c0997fe4c323955667f18fcefb91c" - integrity sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g== + "integrity" "sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==" + "resolved" "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz" + "version" "7.22.6" dependencies: "@babel/types" "^7.22.5" "@babel/helper-string-parser@^7.19.4": - version "7.19.4" - resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz#38d3acb654b4701a9b77fb0615a96f775c3a9e63" - integrity sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw== + "integrity" "sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw==" + "resolved" "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz" + "version" "7.19.4" "@babel/helper-string-parser@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz#533f36457a25814cf1df6488523ad547d784a99f" - integrity sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw== + "integrity" "sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==" + "resolved" "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz" + "version" "7.22.5" "@babel/helper-validator-identifier@^7.18.6", "@babel/helper-validator-identifier@^7.19.1": - version "7.19.1" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz#7eea834cf32901ffdc1a7ee555e2f9c27e249ca2" - integrity sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w== + "integrity" "sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==" + "resolved" "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz" + "version" "7.19.1" "@babel/helper-validator-identifier@^7.22.20": - version "7.22.20" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz#c4ae002c61d2879e724581d96665583dbc1dc0e0" - integrity sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A== + "integrity" "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==" + "resolved" "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz" + "version" "7.22.20" "@babel/helper-validator-option@^7.18.6": - version "7.21.0" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.21.0.tgz#8224c7e13ace4bafdc4004da2cf064ef42673180" - integrity sha512-rmL/B8/f0mKS2baE9ZpyTcTavvEuWhTTW8amjzXNvYG4AwBsqTLikfXsEofsJEfKHf+HQVQbFOHy6o+4cnC/fQ== + "integrity" "sha512-rmL/B8/f0mKS2baE9ZpyTcTavvEuWhTTW8amjzXNvYG4AwBsqTLikfXsEofsJEfKHf+HQVQbFOHy6o+4cnC/fQ==" + "resolved" "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.21.0.tgz" + "version" "7.21.0" "@babel/helpers@^7.21.0": - version "7.21.0" - resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.21.0.tgz#9dd184fb5599862037917cdc9eecb84577dc4e7e" - integrity sha512-XXve0CBtOW0pd7MRzzmoyuSj0e3SEzj8pgyFxnTT1NJZL38BD1MK7yYrm8yefRPIDvNNe14xR4FdbHwpInD4rA== + "integrity" "sha512-XXve0CBtOW0pd7MRzzmoyuSj0e3SEzj8pgyFxnTT1NJZL38BD1MK7yYrm8yefRPIDvNNe14xR4FdbHwpInD4rA==" + "resolved" "https://registry.npmjs.org/@babel/helpers/-/helpers-7.21.0.tgz" + "version" "7.21.0" dependencies: "@babel/template" "^7.20.7" "@babel/traverse" "^7.21.0" "@babel/types" "^7.21.0" "@babel/highlight@^7.10.4", "@babel/highlight@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.18.6.tgz#81158601e93e2563795adcbfbdf5d64be3f2ecdf" - integrity sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g== + "integrity" "sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==" + "resolved" "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz" + "version" "7.18.6" dependencies: "@babel/helper-validator-identifier" "^7.18.6" - chalk "^2.0.0" - js-tokens "^4.0.0" + "chalk" "^2.0.0" + "js-tokens" "^4.0.0" "@babel/highlight@^7.22.13": - version "7.22.20" - resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.22.20.tgz#4ca92b71d80554b01427815e06f2df965b9c1f54" - integrity sha512-dkdMCN3py0+ksCgYmGG8jKeGA/8Tk+gJwSYYlFGxG5lmhfKNoAy004YpLxpS1W2J8m/EK2Ew+yOs9pVRwO89mg== + "integrity" "sha512-dkdMCN3py0+ksCgYmGG8jKeGA/8Tk+gJwSYYlFGxG5lmhfKNoAy004YpLxpS1W2J8m/EK2Ew+yOs9pVRwO89mg==" + "resolved" "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.20.tgz" + "version" "7.22.20" dependencies: "@babel/helper-validator-identifier" "^7.22.20" - chalk "^2.4.2" - js-tokens "^4.0.0" + "chalk" "^2.4.2" + "js-tokens" "^4.0.0" "@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.20.7", "@babel/parser@^7.21.3": - version "7.21.3" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.21.3.tgz#1d285d67a19162ff9daa358d4cb41d50c06220b3" - integrity sha512-lobG0d7aOfQRXh8AyklEAgZGvA4FShxo6xQbUrrT/cNBPUdIDojlokwJsQyCC/eKia7ifqM0yP+2DRZ4WKw2RQ== + "integrity" "sha512-lobG0d7aOfQRXh8AyklEAgZGvA4FShxo6xQbUrrT/cNBPUdIDojlokwJsQyCC/eKia7ifqM0yP+2DRZ4WKw2RQ==" + "resolved" "https://registry.npmjs.org/@babel/parser/-/parser-7.21.3.tgz" + "version" "7.21.3" -"@babel/parser@^7.22.15", "@babel/parser@^7.23.0": - version "7.23.0" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.23.0.tgz#da950e622420bf96ca0d0f2909cdddac3acd8719" - integrity sha512-vvPKKdMemU85V9WE/l5wZEmImpCtLqbnTvqDS2U1fJ96KrxoW7KrXhNsNCblQlg8Ck4b85yxdTyelsMUgFUXiw== +"@babel/parser@^7.22.15": + "integrity" "sha512-vvPKKdMemU85V9WE/l5wZEmImpCtLqbnTvqDS2U1fJ96KrxoW7KrXhNsNCblQlg8Ck4b85yxdTyelsMUgFUXiw==" + "resolved" "https://registry.npmjs.org/@babel/parser/-/parser-7.23.0.tgz" + "version" "7.23.0" + +"@babel/parser@^7.23.0": + "integrity" "sha512-vvPKKdMemU85V9WE/l5wZEmImpCtLqbnTvqDS2U1fJ96KrxoW7KrXhNsNCblQlg8Ck4b85yxdTyelsMUgFUXiw==" + "resolved" "https://registry.npmjs.org/@babel/parser/-/parser-7.23.0.tgz" + "version" "7.23.0" "@babel/plugin-syntax-async-generators@^7.8.4": - version "7.8.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz#a983fb1aeb2ec3f6ed042a210f640e90e786fe0d" - integrity sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw== + "integrity" "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==" + "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz" + "version" "7.8.4" dependencies: "@babel/helper-plugin-utils" "^7.8.0" "@babel/plugin-syntax-bigint@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz#4c9a6f669f5d0cdf1b90a1671e9a146be5300cea" - integrity sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg== + "integrity" "sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==" + "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz" + "version" "7.8.3" dependencies: "@babel/helper-plugin-utils" "^7.8.0" "@babel/plugin-syntax-class-properties@^7.8.3": - version "7.12.13" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz#b5c987274c4a3a82b89714796931a6b53544ae10" - integrity sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA== + "integrity" "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==" + "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz" + "version" "7.12.13" dependencies: "@babel/helper-plugin-utils" "^7.12.13" "@babel/plugin-syntax-import-meta@^7.8.3": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz#ee601348c370fa334d2207be158777496521fd51" - integrity sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g== + "integrity" "sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==" + "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz" + "version" "7.10.4" dependencies: "@babel/helper-plugin-utils" "^7.10.4" "@babel/plugin-syntax-json-strings@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz#01ca21b668cd8218c9e640cb6dd88c5412b2c96a" - integrity sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA== + "integrity" "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==" + "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz" + "version" "7.8.3" dependencies: "@babel/helper-plugin-utils" "^7.8.0" "@babel/plugin-syntax-logical-assignment-operators@^7.8.3": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz#ca91ef46303530448b906652bac2e9fe9941f699" - integrity sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig== + "integrity" "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==" + "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz" + "version" "7.10.4" dependencies: "@babel/helper-plugin-utils" "^7.10.4" "@babel/plugin-syntax-nullish-coalescing-operator@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz#167ed70368886081f74b5c36c65a88c03b66d1a9" - integrity sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ== + "integrity" "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==" + "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz" + "version" "7.8.3" dependencies: "@babel/helper-plugin-utils" "^7.8.0" "@babel/plugin-syntax-numeric-separator@^7.8.3": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz#b9b070b3e33570cd9fd07ba7fa91c0dd37b9af97" - integrity sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug== + "integrity" "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==" + "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz" + "version" "7.10.4" dependencies: "@babel/helper-plugin-utils" "^7.10.4" "@babel/plugin-syntax-object-rest-spread@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz#60e225edcbd98a640332a2e72dd3e66f1af55871" - integrity sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA== + "integrity" "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==" + "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz" + "version" "7.8.3" dependencies: "@babel/helper-plugin-utils" "^7.8.0" "@babel/plugin-syntax-optional-catch-binding@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz#6111a265bcfb020eb9efd0fdfd7d26402b9ed6c1" - integrity sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q== + "integrity" "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==" + "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz" + "version" "7.8.3" dependencies: "@babel/helper-plugin-utils" "^7.8.0" "@babel/plugin-syntax-optional-chaining@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz#4f69c2ab95167e0180cd5336613f8c5788f7d48a" - integrity sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg== + "integrity" "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==" + "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz" + "version" "7.8.3" dependencies: "@babel/helper-plugin-utils" "^7.8.0" "@babel/plugin-syntax-top-level-await@^7.8.3": - version "7.14.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz#c1cfdadc35a646240001f06138247b741c34d94c" - integrity sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw== + "integrity" "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==" + "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz" + "version" "7.14.5" dependencies: "@babel/helper-plugin-utils" "^7.14.5" "@babel/plugin-syntax-typescript@^7.7.2": - version "7.20.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.20.0.tgz#4e9a0cfc769c85689b77a2e642d24e9f697fc8c7" - integrity sha512-rd9TkG+u1CExzS4SM1BlMEhMXwFLKVjOAFFCDx9PbX5ycJWDoWMcwdJH9RhkPu1dOgn5TrxLot/Gx6lWFuAUNQ== + "integrity" "sha512-rd9TkG+u1CExzS4SM1BlMEhMXwFLKVjOAFFCDx9PbX5ycJWDoWMcwdJH9RhkPu1dOgn5TrxLot/Gx6lWFuAUNQ==" + "resolved" "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.20.0.tgz" + "version" "7.20.0" dependencies: "@babel/helper-plugin-utils" "^7.19.0" -"@babel/runtime@7.20.13": - version "7.20.13" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.20.13.tgz#7055ab8a7cff2b8f6058bf6ae45ff84ad2aded4b" - integrity sha512-gt3PKXs0DBoL9xCvOIIZ2NEqAGZqHjAnmVbfQtB620V0uReIQutpel14KcneZuer7UioY8ALKZ7iocavvzTNFA== +"@babel/runtime@^7.0", "@babel/runtime@^7.12.5", "@babel/runtime@^7.15.4", "@babel/runtime@^7.17.2", "@babel/runtime@^7.18.6", "@babel/runtime@^7.21.0", "@babel/runtime@^7.6.3", "@babel/runtime@^7.9.2": + "integrity" "sha512-xwII0//EObnq89Ji5AKYQaRYiW/nZ3llSv29d49IuxPhKbtJoLP+9QUUZ4nVragQVtaVGeZrpB+ZtG/Pdy/POw==" + "resolved" "https://registry.npmjs.org/@babel/runtime/-/runtime-7.21.0.tgz" + "version" "7.21.0" dependencies: - regenerator-runtime "^0.13.11" + "regenerator-runtime" "^0.13.11" -"@babel/runtime@^7.0", "@babel/runtime@^7.12.5", "@babel/runtime@^7.15.4", "@babel/runtime@^7.17.2", "@babel/runtime@^7.18.6", "@babel/runtime@^7.21.0", "@babel/runtime@^7.6.3", "@babel/runtime@^7.9.2": - version "7.21.0" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.21.0.tgz#5b55c9d394e5fcf304909a8b00c07dc217b56673" - integrity sha512-xwII0//EObnq89Ji5AKYQaRYiW/nZ3llSv29d49IuxPhKbtJoLP+9QUUZ4nVragQVtaVGeZrpB+ZtG/Pdy/POw== +"@babel/runtime@7.20.13": + "integrity" "sha512-gt3PKXs0DBoL9xCvOIIZ2NEqAGZqHjAnmVbfQtB620V0uReIQutpel14KcneZuer7UioY8ALKZ7iocavvzTNFA==" + "resolved" "https://registry.npmjs.org/@babel/runtime/-/runtime-7.20.13.tgz" + "version" "7.20.13" dependencies: - regenerator-runtime "^0.13.11" + "regenerator-runtime" "^0.13.11" "@babel/template@^7.20.7", "@babel/template@^7.3.3": - version "7.20.7" - resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.20.7.tgz#a15090c2839a83b02aa996c0b4994005841fd5a8" - integrity sha512-8SegXApWe6VoNw0r9JHpSteLKTpTiLZ4rMlGIm9JQ18KiCtyQiAMEazujAHrUS5flrcqYZa75ukev3P6QmUwUw== + "integrity" "sha512-8SegXApWe6VoNw0r9JHpSteLKTpTiLZ4rMlGIm9JQ18KiCtyQiAMEazujAHrUS5flrcqYZa75ukev3P6QmUwUw==" + "resolved" "https://registry.npmjs.org/@babel/template/-/template-7.20.7.tgz" + "version" "7.20.7" dependencies: "@babel/code-frame" "^7.18.6" "@babel/parser" "^7.20.7" "@babel/types" "^7.20.7" "@babel/template@^7.22.15": - version "7.22.15" - resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.22.15.tgz#09576efc3830f0430f4548ef971dde1350ef2f38" - integrity sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w== + "integrity" "sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==" + "resolved" "https://registry.npmjs.org/@babel/template/-/template-7.22.15.tgz" + "version" "7.22.15" dependencies: "@babel/code-frame" "^7.22.13" "@babel/parser" "^7.22.15" "@babel/types" "^7.22.15" "@babel/traverse@^7.21.0", "@babel/traverse@^7.21.2", "@babel/traverse@^7.21.3", "@babel/traverse@^7.7.2": - version "7.23.2" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.23.2.tgz#329c7a06735e144a506bdb2cad0268b7f46f4ad8" - integrity sha512-azpe59SQ48qG6nu2CzcMLbxUudtN+dOM9kDbUqGq3HXUJRlo7i8fvPoxQUzYgLZ4cMVmuZgm8vvBpNeRhd6XSw== + "integrity" "sha512-azpe59SQ48qG6nu2CzcMLbxUudtN+dOM9kDbUqGq3HXUJRlo7i8fvPoxQUzYgLZ4cMVmuZgm8vvBpNeRhd6XSw==" + "resolved" "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.2.tgz" + "version" "7.23.2" dependencies: "@babel/code-frame" "^7.22.13" "@babel/generator" "^7.23.0" @@ -496,175 +501,184 @@ "@babel/helper-split-export-declaration" "^7.22.6" "@babel/parser" "^7.23.0" "@babel/types" "^7.23.0" - debug "^4.1.0" - globals "^11.1.0" + "debug" "^4.1.0" + "globals" "^11.1.0" "@babel/types@^7.0.0", "@babel/types@^7.18.6", "@babel/types@^7.20.2", "@babel/types@^7.20.7", "@babel/types@^7.21.0", "@babel/types@^7.21.2", "@babel/types@^7.21.3", "@babel/types@^7.3.0", "@babel/types@^7.3.3": - version "7.21.3" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.21.3.tgz#4865a5357ce40f64e3400b0f3b737dc6d4f64d05" - integrity sha512-sBGdETxC+/M4o/zKC0sl6sjWv62WFR/uzxrJ6uYyMLZOUlPnwzw0tKgVHOXxaAd5l2g8pEDM5RZ495GPQI77kg== + "integrity" "sha512-sBGdETxC+/M4o/zKC0sl6sjWv62WFR/uzxrJ6uYyMLZOUlPnwzw0tKgVHOXxaAd5l2g8pEDM5RZ495GPQI77kg==" + "resolved" "https://registry.npmjs.org/@babel/types/-/types-7.21.3.tgz" + "version" "7.21.3" dependencies: "@babel/helper-string-parser" "^7.19.4" "@babel/helper-validator-identifier" "^7.19.1" - to-fast-properties "^2.0.0" + "to-fast-properties" "^2.0.0" + +"@babel/types@^7.22.15", "@babel/types@^7.23.0": + "integrity" "sha512-0oIyUfKoI3mSqMvsxBdclDwxXKXAUA8v/apZbc+iSyARYou1o8ZGDxbUYyLFoW2arqS2jDGqJuZvv1d/io1axg==" + "resolved" "https://registry.npmjs.org/@babel/types/-/types-7.23.0.tgz" + "version" "7.23.0" + dependencies: + "@babel/helper-string-parser" "^7.22.5" + "@babel/helper-validator-identifier" "^7.22.20" + "to-fast-properties" "^2.0.0" -"@babel/types@^7.22.15", "@babel/types@^7.22.5", "@babel/types@^7.23.0": - version "7.23.0" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.23.0.tgz#8c1f020c9df0e737e4e247c0619f58c68458aaeb" - integrity sha512-0oIyUfKoI3mSqMvsxBdclDwxXKXAUA8v/apZbc+iSyARYou1o8ZGDxbUYyLFoW2arqS2jDGqJuZvv1d/io1axg== +"@babel/types@^7.22.5", "@babel/types@^7.23.0": + "integrity" "sha512-0oIyUfKoI3mSqMvsxBdclDwxXKXAUA8v/apZbc+iSyARYou1o8ZGDxbUYyLFoW2arqS2jDGqJuZvv1d/io1axg==" + "resolved" "https://registry.npmjs.org/@babel/types/-/types-7.23.0.tgz" + "version" "7.23.0" dependencies: "@babel/helper-string-parser" "^7.22.5" "@babel/helper-validator-identifier" "^7.22.20" - to-fast-properties "^2.0.0" + "to-fast-properties" "^2.0.0" "@bcoe/v8-coverage@^0.2.3": - version "0.2.3" - resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" - integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== + "integrity" "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==" + "resolved" "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz" + "version" "0.2.3" "@blocto/sdk@^0.2.22": - version "0.2.22" - resolved "https://registry.yarnpkg.com/@blocto/sdk/-/sdk-0.2.22.tgz#c7fe62809de0640a0a3f7a043c5bbceb8be17e38" - integrity sha512-Ro1AiISSlOiri/It932NEFxnDuF83Ide+z0p3KHs5+CdYYLYgCMmyroQnfRtoh3mbXdrTvI+EAuSkr+meWNqrg== + "integrity" "sha512-Ro1AiISSlOiri/It932NEFxnDuF83Ide+z0p3KHs5+CdYYLYgCMmyroQnfRtoh3mbXdrTvI+EAuSkr+meWNqrg==" + "resolved" "https://registry.npmjs.org/@blocto/sdk/-/sdk-0.2.22.tgz" + "version" "0.2.22" dependencies: - bs58 "^4.0.1" - buffer "^6.0.3" - eip1193-provider "^1.0.1" - js-sha3 "^0.8.0" + "bs58" "^4.0.1" + "buffer" "^6.0.3" + "eip1193-provider" "^1.0.1" + "js-sha3" "^0.8.0" "@censo-custody/solana-wallet-adapter@^0.1.0": - version "0.1.0" - resolved "https://registry.yarnpkg.com/@censo-custody/solana-wallet-adapter/-/solana-wallet-adapter-0.1.0.tgz#064adae9f216dc4b726c1cc45b6b24cf0c734f07" - integrity sha512-iM1jFVzBMfk7iokgUVfA2xvGUegixklUISgMARa/VA2mFIjoi32t4xmD8PtWHht81fmg107aYhLnTV1cM7NkAg== + "integrity" "sha512-iM1jFVzBMfk7iokgUVfA2xvGUegixklUISgMARa/VA2mFIjoi32t4xmD8PtWHht81fmg107aYhLnTV1cM7NkAg==" + "resolved" "https://registry.npmjs.org/@censo-custody/solana-wallet-adapter/-/solana-wallet-adapter-0.1.0.tgz" + "version" "0.1.0" dependencies: "@solana/web3.js" "^1.44.3" - bs58 "^4.0.1" - eventemitter3 "^4.0.7" - uuid "^8.3.2" + "bs58" "^4.0.1" + "eventemitter3" "^4.0.7" + "uuid" "^8.3.2" "@chain-registry/types@^0.16.0": - version "0.16.0" - resolved "https://registry.yarnpkg.com/@chain-registry/types/-/types-0.16.0.tgz#f76409186899a976d33693d7f458c33d71a66730" - integrity sha512-4j6vq2Vqn/nF+UBjvRPUVs6eM3+5rJ+dPmEWpd/OoNH3wTy1k6aoilcSTZRR//vGcI5EOVGsxhhJxUzo2qqweA== + "integrity" "sha512-4j6vq2Vqn/nF+UBjvRPUVs6eM3+5rJ+dPmEWpd/OoNH3wTy1k6aoilcSTZRR//vGcI5EOVGsxhhJxUzo2qqweA==" + "resolved" "https://registry.npmjs.org/@chain-registry/types/-/types-0.16.0.tgz" + "version" "0.16.0" dependencies: "@babel/runtime" "^7.21.0" "@chainsafe/as-sha256@^0.3.1": - version "0.3.1" - resolved "https://registry.yarnpkg.com/@chainsafe/as-sha256/-/as-sha256-0.3.1.tgz#3639df0e1435cab03f4d9870cc3ac079e57a6fc9" - integrity sha512-hldFFYuf49ed7DAakWVXSJODuq3pzJEguD8tQ7h+sGkM18vja+OFoJI9krnGmgzyuZC2ETX0NOIcCTy31v2Mtg== + "integrity" "sha512-hldFFYuf49ed7DAakWVXSJODuq3pzJEguD8tQ7h+sGkM18vja+OFoJI9krnGmgzyuZC2ETX0NOIcCTy31v2Mtg==" + "resolved" "https://registry.npmjs.org/@chainsafe/as-sha256/-/as-sha256-0.3.1.tgz" + "version" "0.3.1" "@chainsafe/as-sha256@^0.4.1": - version "0.4.1" - resolved "https://registry.yarnpkg.com/@chainsafe/as-sha256/-/as-sha256-0.4.1.tgz#cfc0737e25f8c206767bdb6703e7943e5d44513e" - integrity sha512-IqeeGwQihK6Y2EYLFofqs2eY2ep1I2MvQXHzOAI+5iQN51OZlUkrLgyAugu2x86xZewDk5xas7lNczkzFzF62w== + "integrity" "sha512-IqeeGwQihK6Y2EYLFofqs2eY2ep1I2MvQXHzOAI+5iQN51OZlUkrLgyAugu2x86xZewDk5xas7lNczkzFzF62w==" + "resolved" "https://registry.npmjs.org/@chainsafe/as-sha256/-/as-sha256-0.4.1.tgz" + "version" "0.4.1" "@chainsafe/persistent-merkle-tree@^0.4.2": - version "0.4.2" - resolved "https://registry.yarnpkg.com/@chainsafe/persistent-merkle-tree/-/persistent-merkle-tree-0.4.2.tgz#4c9ee80cc57cd3be7208d98c40014ad38f36f7ff" - integrity sha512-lLO3ihKPngXLTus/L7WHKaw9PnNJWizlOF1H9NNzHP6Xvh82vzg9F2bzkXhYIFshMZ2gTCEz8tq6STe7r5NDfQ== + "integrity" "sha512-lLO3ihKPngXLTus/L7WHKaw9PnNJWizlOF1H9NNzHP6Xvh82vzg9F2bzkXhYIFshMZ2gTCEz8tq6STe7r5NDfQ==" + "resolved" "https://registry.npmjs.org/@chainsafe/persistent-merkle-tree/-/persistent-merkle-tree-0.4.2.tgz" + "version" "0.4.2" dependencies: "@chainsafe/as-sha256" "^0.3.1" "@chainsafe/persistent-merkle-tree@^0.6.1": - version "0.6.1" - resolved "https://registry.yarnpkg.com/@chainsafe/persistent-merkle-tree/-/persistent-merkle-tree-0.6.1.tgz#37bde25cf6cbe1660ad84311aa73157dc86ec7f2" - integrity sha512-gcENLemRR13+1MED2NeZBMA7FRS0xQPM7L2vhMqvKkjqtFT4YfjSVADq5U0iLuQLhFUJEMVuA8fbv5v+TN6O9A== + "integrity" "sha512-gcENLemRR13+1MED2NeZBMA7FRS0xQPM7L2vhMqvKkjqtFT4YfjSVADq5U0iLuQLhFUJEMVuA8fbv5v+TN6O9A==" + "resolved" "https://registry.npmjs.org/@chainsafe/persistent-merkle-tree/-/persistent-merkle-tree-0.6.1.tgz" + "version" "0.6.1" dependencies: "@chainsafe/as-sha256" "^0.4.1" "@noble/hashes" "^1.3.0" -"@chainsafe/ssz@0.9.4": - version "0.9.4" - resolved "https://registry.yarnpkg.com/@chainsafe/ssz/-/ssz-0.9.4.tgz#696a8db46d6975b600f8309ad3a12f7c0e310497" - integrity sha512-77Qtg2N1ayqs4Bg/wvnWfg5Bta7iy7IRh8XqXh7oNMeP2HBbBwx8m6yTpA8p0EHItWPEBkgZd5S5/LSlp3GXuQ== - dependencies: - "@chainsafe/as-sha256" "^0.3.1" - "@chainsafe/persistent-merkle-tree" "^0.4.2" - case "^1.6.3" - "@chainsafe/ssz@^0.11.1": - version "0.11.1" - resolved "https://registry.yarnpkg.com/@chainsafe/ssz/-/ssz-0.11.1.tgz#d4aec883af2ec5196ae67b96242c467da20b2476" - integrity sha512-cB8dBkgGN6ZoeOKuk+rIRHKN0L5i9JLGeC0Lui71QX0TuLcQKwgbfkUexpyJxnGFatWf8yeJxlOjozMn/OTP0g== + "integrity" "sha512-cB8dBkgGN6ZoeOKuk+rIRHKN0L5i9JLGeC0Lui71QX0TuLcQKwgbfkUexpyJxnGFatWf8yeJxlOjozMn/OTP0g==" + "resolved" "https://registry.npmjs.org/@chainsafe/ssz/-/ssz-0.11.1.tgz" + "version" "0.11.1" dependencies: "@chainsafe/as-sha256" "^0.4.1" "@chainsafe/persistent-merkle-tree" "^0.6.1" +"@chainsafe/ssz@0.9.4": + "integrity" "sha512-77Qtg2N1ayqs4Bg/wvnWfg5Bta7iy7IRh8XqXh7oNMeP2HBbBwx8m6yTpA8p0EHItWPEBkgZd5S5/LSlp3GXuQ==" + "resolved" "https://registry.npmjs.org/@chainsafe/ssz/-/ssz-0.9.4.tgz" + "version" "0.9.4" + dependencies: + "@chainsafe/as-sha256" "^0.3.1" + "@chainsafe/persistent-merkle-tree" "^0.4.2" + "case" "^1.6.3" + "@colors/colors@1.5.0": - version "1.5.0" - resolved "https://registry.yarnpkg.com/@colors/colors/-/colors-1.5.0.tgz#bb504579c1cae923e6576a4f5da43d25f97bdbd9" - integrity sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ== + "integrity" "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==" + "resolved" "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz" + "version" "1.5.0" "@confio/ics23@^0.6.8": - version "0.6.8" - resolved "https://registry.yarnpkg.com/@confio/ics23/-/ics23-0.6.8.tgz#2a6b4f1f2b7b20a35d9a0745bb5a446e72930b3d" - integrity sha512-wB6uo+3A50m0sW/EWcU64xpV/8wShZ6bMTa7pF8eYsTrSkQA7oLUIJcs/wb8g4y2Oyq701BaGiO6n/ak5WXO1w== + "integrity" "sha512-wB6uo+3A50m0sW/EWcU64xpV/8wShZ6bMTa7pF8eYsTrSkQA7oLUIJcs/wb8g4y2Oyq701BaGiO6n/ak5WXO1w==" + "resolved" "https://registry.npmjs.org/@confio/ics23/-/ics23-0.6.8.tgz" + "version" "0.6.8" dependencies: "@noble/hashes" "^1.0.0" - protobufjs "^6.8.8" + "protobufjs" "^6.8.8" "@connectis/coverage-merger@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@connectis/coverage-merger/-/coverage-merger-1.1.0.tgz#3aea911a381c04f3d544e95b093b564e420bd3d9" - integrity sha512-H/t4AIXW4/0cFybMqgZouZMZw8lawaaH0n5q8QgLfP26amAJCqyZk/JLlFrdAJtt/VWdklfXWPSOoXja6/UTsw== + "integrity" "sha512-H/t4AIXW4/0cFybMqgZouZMZw8lawaaH0n5q8QgLfP26amAJCqyZk/JLlFrdAJtt/VWdklfXWPSOoXja6/UTsw==" + "resolved" "https://registry.npmjs.org/@connectis/coverage-merger/-/coverage-merger-1.1.0.tgz" + "version" "1.1.0" dependencies: - lodash "^4.17.11" + "lodash" "^4.17.11" "@connectis/coverage-parser@^1.0.7": - version "1.0.8" - resolved "https://registry.yarnpkg.com/@connectis/coverage-parser/-/coverage-parser-1.0.8.tgz#87a8ed74dac8539b5f33c5dae32fd0f6ec3395a4" - integrity sha512-uQmq4flTwRMRP6GZQDpsy48L0NeBNWGcjLgOqmI0wLwSSt87x8sjfJb+uVIcoCbRCG4K6JnAJZEzILnExjOsAQ== + "integrity" "sha512-uQmq4flTwRMRP6GZQDpsy48L0NeBNWGcjLgOqmI0wLwSSt87x8sjfJb+uVIcoCbRCG4K6JnAJZEzILnExjOsAQ==" + "resolved" "https://registry.npmjs.org/@connectis/coverage-parser/-/coverage-parser-1.0.8.tgz" + "version" "1.0.8" dependencies: "@cvrg-report/clover-json" "^0.1.0" - bluebird "^3.5.2" - cobertura-parse "^1.0.5" - fast-glob "^2.2.3" - golang-cover-parse "^2.0.0" - jacoco-parse "^2.0.1" - lcov-parse "^1.0.0" - lodash "^4.17.11" + "bluebird" "^3.5.2" + "cobertura-parse" "^1.0.5" + "fast-glob" "^2.2.3" + "golang-cover-parse" "^2.0.0" + "jacoco-parse" "^2.0.1" + "lcov-parse" "^1.0.0" + "lodash" "^4.17.11" "@connectis/diff-test-coverage@^1.5.1": - version "1.5.3" - resolved "https://registry.yarnpkg.com/@connectis/diff-test-coverage/-/diff-test-coverage-1.5.3.tgz#cf2109027931794aeafe554f3d79cbea1422c140" - integrity sha512-YXDVxcWQeN3BA2fWLu/3O8gLyYjJO2KL+MwqmD52CJHNehjvjq/U4RzYe5IUg6UsIs/evcKP3h7pt659HSSwHQ== + "integrity" "sha512-YXDVxcWQeN3BA2fWLu/3O8gLyYjJO2KL+MwqmD52CJHNehjvjq/U4RzYe5IUg6UsIs/evcKP3h7pt659HSSwHQ==" + "resolved" "https://registry.npmjs.org/@connectis/diff-test-coverage/-/diff-test-coverage-1.5.3.tgz" + "version" "1.5.3" dependencies: "@connectis/coverage-merger" "^1.1.0" "@connectis/coverage-parser" "^1.0.7" - bluebird "^3.5.2" - chalk "^2.4.1" - diffparser "^2.0.1" - get-stdin "^6.0.0" - lodash "^4.17.11" - micromatch "^3.1.10" - strip-ansi "^5.0.0" - yargs "^12.0.2" - -"@cosmjs/amino@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@cosmjs/amino/-/amino-0.27.1.tgz#0910256b5aecd794420bb5f7319d98fc63252fa1" - integrity sha512-w56ar/nK9+qlvWDpBPRmD0Blk2wfkkLqRi1COs1x7Ll1LF0AtkIBUjbRKplENLbNovK0T3h+w8bHiFm+GBGQOA== - dependencies: - "@cosmjs/crypto" "0.27.1" - "@cosmjs/encoding" "0.27.1" - "@cosmjs/math" "0.27.1" - "@cosmjs/utils" "0.27.1" + "bluebird" "^3.5.2" + "chalk" "^2.4.1" + "diffparser" "^2.0.1" + "get-stdin" "^6.0.0" + "lodash" "^4.17.11" + "micromatch" "^3.1.10" + "strip-ansi" "^5.0.0" + "yargs" "^12.0.2" "@cosmjs/amino@^0.30.1": - version "0.30.1" - resolved "https://registry.yarnpkg.com/@cosmjs/amino/-/amino-0.30.1.tgz#7c18c14627361ba6c88e3495700ceea1f76baace" - integrity sha512-yNHnzmvAlkETDYIpeCTdVqgvrdt1qgkOXwuRVi8s27UKI5hfqyE9fJ/fuunXE6ZZPnKkjIecDznmuUOMrMvw4w== + "integrity" "sha512-yNHnzmvAlkETDYIpeCTdVqgvrdt1qgkOXwuRVi8s27UKI5hfqyE9fJ/fuunXE6ZZPnKkjIecDznmuUOMrMvw4w==" + "resolved" "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.30.1.tgz" + "version" "0.30.1" dependencies: "@cosmjs/crypto" "^0.30.1" "@cosmjs/encoding" "^0.30.1" "@cosmjs/math" "^0.30.1" "@cosmjs/utils" "^0.30.1" +"@cosmjs/amino@0.27.1": + "integrity" "sha512-w56ar/nK9+qlvWDpBPRmD0Blk2wfkkLqRi1COs1x7Ll1LF0AtkIBUjbRKplENLbNovK0T3h+w8bHiFm+GBGQOA==" + "resolved" "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.27.1.tgz" + "version" "0.27.1" + dependencies: + "@cosmjs/crypto" "0.27.1" + "@cosmjs/encoding" "0.27.1" + "@cosmjs/math" "0.27.1" + "@cosmjs/utils" "0.27.1" + "@cosmjs/cosmwasm-stargate@^0.30.1": - version "0.30.1" - resolved "https://registry.yarnpkg.com/@cosmjs/cosmwasm-stargate/-/cosmwasm-stargate-0.30.1.tgz#6f9ca310f75433a3e30d683bc6aa24eadb345d79" - integrity sha512-W/6SLUCJAJGBN+sJLXouLZikVgmqDd9LCdlMzQaxczcCHTWeJAmRvOiZGSZaSy3shw/JN1qc6g6PKpvTVgj10A== + "integrity" "sha512-W/6SLUCJAJGBN+sJLXouLZikVgmqDd9LCdlMzQaxczcCHTWeJAmRvOiZGSZaSy3shw/JN1qc6g6PKpvTVgj10A==" + "resolved" "https://registry.npmjs.org/@cosmjs/cosmwasm-stargate/-/cosmwasm-stargate-0.30.1.tgz" + "version" "0.30.1" dependencies: "@cosmjs/amino" "^0.30.1" "@cosmjs/crypto" "^0.30.1" @@ -674,119 +688,119 @@ "@cosmjs/stargate" "^0.30.1" "@cosmjs/tendermint-rpc" "^0.30.1" "@cosmjs/utils" "^0.30.1" - cosmjs-types "^0.7.1" - long "^4.0.0" - pako "^2.0.2" - -"@cosmjs/crypto@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@cosmjs/crypto/-/crypto-0.27.1.tgz#271c853089a3baf3acd6cf0b2122fd49f8815743" - integrity sha512-vbcxwSt99tIYJg8Spp00wc3zx72qx+pY3ozGuBN8gAvySnagK9dQ/jHwtWQWdammmdD6oW+75WfIHZ+gNa+Ybg== - dependencies: - "@cosmjs/encoding" "0.27.1" - "@cosmjs/math" "0.27.1" - "@cosmjs/utils" "0.27.1" - bip39 "^3.0.2" - bn.js "^5.2.0" - elliptic "^6.5.3" - js-sha3 "^0.8.0" - libsodium-wrappers "^0.7.6" - ripemd160 "^2.0.2" - sha.js "^2.4.11" + "cosmjs-types" "^0.7.1" + "long" "^4.0.0" + "pako" "^2.0.2" "@cosmjs/crypto@^0.30.1": - version "0.30.1" - resolved "https://registry.yarnpkg.com/@cosmjs/crypto/-/crypto-0.30.1.tgz#21e94d5ca8f8ded16eee1389d2639cb5c43c3eb5" - integrity sha512-rAljUlake3MSXs9xAm87mu34GfBLN0h/1uPPV6jEwClWjNkAMotzjC0ab9MARy5FFAvYHL3lWb57bhkbt2GtzQ== + "integrity" "sha512-rAljUlake3MSXs9xAm87mu34GfBLN0h/1uPPV6jEwClWjNkAMotzjC0ab9MARy5FFAvYHL3lWb57bhkbt2GtzQ==" + "resolved" "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.30.1.tgz" + "version" "0.30.1" dependencies: "@cosmjs/encoding" "^0.30.1" "@cosmjs/math" "^0.30.1" "@cosmjs/utils" "^0.30.1" "@noble/hashes" "^1" - bn.js "^5.2.0" - elliptic "^6.5.4" - libsodium-wrappers "^0.7.6" + "bn.js" "^5.2.0" + "elliptic" "^6.5.4" + "libsodium-wrappers" "^0.7.6" -"@cosmjs/encoding@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@cosmjs/encoding/-/encoding-0.27.1.tgz#3cd5bc0af743485eb2578cdb08cfa84c86d610e1" - integrity sha512-rayLsA0ojHeniaRfWWcqSsrE/T1rl1gl0OXVNtXlPwLJifKBeLEefGbOUiAQaT0wgJ8VNGBazVtAZBpJidfDhw== +"@cosmjs/crypto@0.27.1": + "integrity" "sha512-vbcxwSt99tIYJg8Spp00wc3zx72qx+pY3ozGuBN8gAvySnagK9dQ/jHwtWQWdammmdD6oW+75WfIHZ+gNa+Ybg==" + "resolved" "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.27.1.tgz" + "version" "0.27.1" dependencies: - base64-js "^1.3.0" - bech32 "^1.1.4" - readonly-date "^1.0.0" + "@cosmjs/encoding" "0.27.1" + "@cosmjs/math" "0.27.1" + "@cosmjs/utils" "0.27.1" + "bip39" "^3.0.2" + "bn.js" "^5.2.0" + "elliptic" "^6.5.3" + "js-sha3" "^0.8.0" + "libsodium-wrappers" "^0.7.6" + "ripemd160" "^2.0.2" + "sha.js" "^2.4.11" "@cosmjs/encoding@^0.30.1": - version "0.30.1" - resolved "https://registry.yarnpkg.com/@cosmjs/encoding/-/encoding-0.30.1.tgz#b5c4e0ef7ceb1f2753688eb96400ed70f35c6058" - integrity sha512-rXmrTbgqwihORwJ3xYhIgQFfMSrwLu1s43RIK9I8EBudPx3KmnmyAKzMOVsRDo9edLFNuZ9GIvysUCwQfq3WlQ== + "integrity" "sha512-rXmrTbgqwihORwJ3xYhIgQFfMSrwLu1s43RIK9I8EBudPx3KmnmyAKzMOVsRDo9edLFNuZ9GIvysUCwQfq3WlQ==" + "resolved" "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.30.1.tgz" + "version" "0.30.1" + dependencies: + "base64-js" "^1.3.0" + "bech32" "^1.1.4" + "readonly-date" "^1.0.0" + +"@cosmjs/encoding@0.27.1": + "integrity" "sha512-rayLsA0ojHeniaRfWWcqSsrE/T1rl1gl0OXVNtXlPwLJifKBeLEefGbOUiAQaT0wgJ8VNGBazVtAZBpJidfDhw==" + "resolved" "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.27.1.tgz" + "version" "0.27.1" dependencies: - base64-js "^1.3.0" - bech32 "^1.1.4" - readonly-date "^1.0.0" + "base64-js" "^1.3.0" + "bech32" "^1.1.4" + "readonly-date" "^1.0.0" "@cosmjs/json-rpc@^0.30.1": - version "0.30.1" - resolved "https://registry.yarnpkg.com/@cosmjs/json-rpc/-/json-rpc-0.30.1.tgz#16f21305fc167598c8a23a45549b85106b2372bc" - integrity sha512-pitfC/2YN9t+kXZCbNuyrZ6M8abnCC2n62m+JtU9vQUfaEtVsgy+1Fk4TRQ175+pIWSdBMFi2wT8FWVEE4RhxQ== + "integrity" "sha512-pitfC/2YN9t+kXZCbNuyrZ6M8abnCC2n62m+JtU9vQUfaEtVsgy+1Fk4TRQ175+pIWSdBMFi2wT8FWVEE4RhxQ==" + "resolved" "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.30.1.tgz" + "version" "0.30.1" dependencies: "@cosmjs/stream" "^0.30.1" - xstream "^11.14.0" + "xstream" "^11.14.0" -"@cosmjs/launchpad@0.27.1", "@cosmjs/launchpad@^0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@cosmjs/launchpad/-/launchpad-0.27.1.tgz#b6f1995748be96560f5f01e84d3ff907477dda77" - integrity sha512-DcFwGD/z5PK8CzO2sojDxa+Be9EIEtRZb2YawgVnw2Ht/p5FlNv+OVo8qlishpBdalXEN7FvQ1dVeDFEe9TuJw== +"@cosmjs/launchpad@^0.27.1", "@cosmjs/launchpad@0.27.1": + "integrity" "sha512-DcFwGD/z5PK8CzO2sojDxa+Be9EIEtRZb2YawgVnw2Ht/p5FlNv+OVo8qlishpBdalXEN7FvQ1dVeDFEe9TuJw==" + "resolved" "https://registry.npmjs.org/@cosmjs/launchpad/-/launchpad-0.27.1.tgz" + "version" "0.27.1" dependencies: "@cosmjs/amino" "0.27.1" "@cosmjs/crypto" "0.27.1" "@cosmjs/encoding" "0.27.1" "@cosmjs/math" "0.27.1" "@cosmjs/utils" "0.27.1" - axios "^0.21.2" - fast-deep-equal "^3.1.3" + "axios" "^0.21.2" + "fast-deep-equal" "^3.1.3" -"@cosmjs/math@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@cosmjs/math/-/math-0.27.1.tgz#be78857b008ffc6b1ed6fecaa1c4cd5bc38c07d7" - integrity sha512-cHWVjmfIjtRc7f80n7x+J5k8pe+vTVTQ0lA82tIxUgqUvgS6rogPP/TmGtTiZ4+NxWxd11DUISY6gVpr18/VNQ== +"@cosmjs/math@^0.30.1": + "integrity" "sha512-yaoeI23pin9ZiPHIisa6qqLngfnBR/25tSaWpkTm8Cy10MX70UF5oN4+/t1heLaM6SSmRrhk3psRkV4+7mH51Q==" + "resolved" "https://registry.npmjs.org/@cosmjs/math/-/math-0.30.1.tgz" + "version" "0.30.1" dependencies: - bn.js "^5.2.0" + "bn.js" "^5.2.0" -"@cosmjs/math@^0.30.1": - version "0.30.1" - resolved "https://registry.yarnpkg.com/@cosmjs/math/-/math-0.30.1.tgz#8b816ef4de5d3afa66cb9fdfb5df2357a7845b8a" - integrity sha512-yaoeI23pin9ZiPHIisa6qqLngfnBR/25tSaWpkTm8Cy10MX70UF5oN4+/t1heLaM6SSmRrhk3psRkV4+7mH51Q== +"@cosmjs/math@0.27.1": + "integrity" "sha512-cHWVjmfIjtRc7f80n7x+J5k8pe+vTVTQ0lA82tIxUgqUvgS6rogPP/TmGtTiZ4+NxWxd11DUISY6gVpr18/VNQ==" + "resolved" "https://registry.npmjs.org/@cosmjs/math/-/math-0.27.1.tgz" + "version" "0.27.1" dependencies: - bn.js "^5.2.0" + "bn.js" "^5.2.0" -"@cosmjs/proto-signing@0.30.1", "@cosmjs/proto-signing@^0.30.1": - version "0.30.1" - resolved "https://registry.yarnpkg.com/@cosmjs/proto-signing/-/proto-signing-0.30.1.tgz#f0dda372488df9cd2677150b89b3e9c72b3cb713" - integrity sha512-tXh8pPYXV4aiJVhTKHGyeZekjj+K9s2KKojMB93Gcob2DxUjfKapFYBMJSgfKPuWUPEmyr8Q9km2hplI38ILgQ== +"@cosmjs/proto-signing@^0.30.1", "@cosmjs/proto-signing@0.30.1": + "integrity" "sha512-tXh8pPYXV4aiJVhTKHGyeZekjj+K9s2KKojMB93Gcob2DxUjfKapFYBMJSgfKPuWUPEmyr8Q9km2hplI38ILgQ==" + "resolved" "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.30.1.tgz" + "version" "0.30.1" dependencies: "@cosmjs/amino" "^0.30.1" "@cosmjs/crypto" "^0.30.1" "@cosmjs/encoding" "^0.30.1" "@cosmjs/math" "^0.30.1" "@cosmjs/utils" "^0.30.1" - cosmjs-types "^0.7.1" - long "^4.0.0" + "cosmjs-types" "^0.7.1" + "long" "^4.0.0" "@cosmjs/socket@^0.30.1": - version "0.30.1" - resolved "https://registry.yarnpkg.com/@cosmjs/socket/-/socket-0.30.1.tgz#00b22f4b5e2ab01f4d82ccdb7b2e59536bfe5ce0" - integrity sha512-r6MpDL+9N+qOS/D5VaxnPaMJ3flwQ36G+vPvYJsXArj93BjgyFB7BwWwXCQDzZ+23cfChPUfhbINOenr8N2Kow== + "integrity" "sha512-r6MpDL+9N+qOS/D5VaxnPaMJ3flwQ36G+vPvYJsXArj93BjgyFB7BwWwXCQDzZ+23cfChPUfhbINOenr8N2Kow==" + "resolved" "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.30.1.tgz" + "version" "0.30.1" dependencies: "@cosmjs/stream" "^0.30.1" - isomorphic-ws "^4.0.1" - ws "^7" - xstream "^11.14.0" + "isomorphic-ws" "^4.0.1" + "ws" "^7" + "xstream" "^11.14.0" "@cosmjs/stargate@^0.30.1": - version "0.30.1" - resolved "https://registry.yarnpkg.com/@cosmjs/stargate/-/stargate-0.30.1.tgz#e1b22e1226cffc6e93914a410755f1f61057ba04" - integrity sha512-RdbYKZCGOH8gWebO7r6WvNnQMxHrNXInY/gPHPzMjbQF6UatA6fNM2G2tdgS5j5u7FTqlCI10stNXrknaNdzog== + "integrity" "sha512-RdbYKZCGOH8gWebO7r6WvNnQMxHrNXInY/gPHPzMjbQF6UatA6fNM2G2tdgS5j5u7FTqlCI10stNXrknaNdzog==" + "resolved" "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.30.1.tgz" + "version" "0.30.1" dependencies: "@confio/ics23" "^0.6.8" "@cosmjs/amino" "^0.30.1" @@ -796,22 +810,22 @@ "@cosmjs/stream" "^0.30.1" "@cosmjs/tendermint-rpc" "^0.30.1" "@cosmjs/utils" "^0.30.1" - cosmjs-types "^0.7.1" - long "^4.0.0" - protobufjs "~6.11.3" - xstream "^11.14.0" + "cosmjs-types" "^0.7.1" + "long" "^4.0.0" + "protobufjs" "~6.11.3" + "xstream" "^11.14.0" "@cosmjs/stream@^0.30.1": - version "0.30.1" - resolved "https://registry.yarnpkg.com/@cosmjs/stream/-/stream-0.30.1.tgz#ba038a2aaf41343696b1e6e759d8e03a9516ec1a" - integrity sha512-Fg0pWz1zXQdoxQZpdHRMGvUH5RqS6tPv+j9Eh7Q953UjMlrwZVo0YFLC8OTf/HKVf10E4i0u6aM8D69Q6cNkgQ== + "integrity" "sha512-Fg0pWz1zXQdoxQZpdHRMGvUH5RqS6tPv+j9Eh7Q953UjMlrwZVo0YFLC8OTf/HKVf10E4i0u6aM8D69Q6cNkgQ==" + "resolved" "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.30.1.tgz" + "version" "0.30.1" dependencies: - xstream "^11.14.0" + "xstream" "^11.14.0" "@cosmjs/tendermint-rpc@^0.30.1": - version "0.30.1" - resolved "https://registry.yarnpkg.com/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.30.1.tgz#c16378892ba1ac63f72803fdf7567eab9d4f0aa0" - integrity sha512-Z3nCwhXSbPZJ++v85zHObeUggrEHVfm1u18ZRwXxFE9ZMl5mXTybnwYhczuYOl7KRskgwlB+rID0WYACxj4wdQ== + "integrity" "sha512-Z3nCwhXSbPZJ++v85zHObeUggrEHVfm1u18ZRwXxFE9ZMl5mXTybnwYhczuYOl7KRskgwlB+rID0WYACxj4wdQ==" + "resolved" "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.30.1.tgz" + "version" "0.30.1" dependencies: "@cosmjs/crypto" "^0.30.1" "@cosmjs/encoding" "^0.30.1" @@ -820,435 +834,481 @@ "@cosmjs/socket" "^0.30.1" "@cosmjs/stream" "^0.30.1" "@cosmjs/utils" "^0.30.1" - axios "^0.21.2" - readonly-date "^1.0.0" - xstream "^11.14.0" - -"@cosmjs/utils@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@cosmjs/utils/-/utils-0.27.1.tgz#1c8efde17256346ef142a3bd15158ee4055470e2" - integrity sha512-VG7QPDiMUzVPxRdJahDV8PXxVdnuAHiIuG56hldV4yPnOz/si/DLNd7VAUUA5923b6jS1Hhev0Hr6AhEkcxBMg== + "axios" "^0.21.2" + "readonly-date" "^1.0.0" + "xstream" "^11.14.0" "@cosmjs/utils@^0.30.1": - version "0.30.1" - resolved "https://registry.yarnpkg.com/@cosmjs/utils/-/utils-0.30.1.tgz#6d92582341be3c2ec8d82090253cfa4b7f959edb" - integrity sha512-KvvX58MGMWh7xA+N+deCfunkA/ZNDvFLw4YbOmX3f/XBIkqrVY7qlotfy2aNb1kgp6h4B6Yc8YawJPDTfvWX7g== + "integrity" "sha512-KvvX58MGMWh7xA+N+deCfunkA/ZNDvFLw4YbOmX3f/XBIkqrVY7qlotfy2aNb1kgp6h4B6Yc8YawJPDTfvWX7g==" + "resolved" "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.30.1.tgz" + "version" "0.30.1" + +"@cosmjs/utils@0.27.1": + "integrity" "sha512-VG7QPDiMUzVPxRdJahDV8PXxVdnuAHiIuG56hldV4yPnOz/si/DLNd7VAUUA5923b6jS1Hhev0Hr6AhEkcxBMg==" + "resolved" "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.27.1.tgz" + "version" "0.27.1" "@cosmostation/extension-client@^0.1.15": - version "0.1.15" - resolved "https://registry.yarnpkg.com/@cosmostation/extension-client/-/extension-client-0.1.15.tgz#cdc6d8fce42217704c1c0d5814f0ee7ce27e8dab" - integrity sha512-HlXYJjFrNpjiV/GUKhri1UL8/bhlOIFFLpRF78YDSqq16x0+plIqx5CAvEusFcKTDpVfpeD5sfUHiKvP7euNFg== + "integrity" "sha512-HlXYJjFrNpjiV/GUKhri1UL8/bhlOIFFLpRF78YDSqq16x0+plIqx5CAvEusFcKTDpVfpeD5sfUHiKvP7euNFg==" + "resolved" "https://registry.npmjs.org/@cosmostation/extension-client/-/extension-client-0.1.15.tgz" + "version" "0.1.15" "@crocswap/sdk@^2.4.5": - version "2.4.5" - resolved "https://registry.yarnpkg.com/@crocswap/sdk/-/sdk-2.4.5.tgz#4a4765af4a16c1af42fcbcc5e540e9dd8793a6c1" - integrity sha512-nIErmtZg3xNT97L7t0Xj6xJWA6WETETOBmvZwUNmYqQN33xo7iegVPxIx7XRo5taRVH2deN/qbr6IRxSeEvmJQ== + "integrity" "sha512-nIErmtZg3xNT97L7t0Xj6xJWA6WETETOBmvZwUNmYqQN33xo7iegVPxIx7XRo5taRVH2deN/qbr6IRxSeEvmJQ==" + "resolved" "https://registry.npmjs.org/@crocswap/sdk/-/sdk-2.4.5.tgz" + "version" "2.4.5" dependencies: - big.js "^5.2.2" - decimal.js-light "^2.5.0" - jsbi "^3.1.4" - tiny-invariant "^1.1.0" - tiny-warning "^1.0.3" - toformat "^2.0.0" + "big.js" "^5.2.2" + "decimal.js-light" "^2.5.0" + "jsbi" "^3.1.4" + "tiny-invariant" "^1.1.0" + "tiny-warning" "^1.0.3" + "toformat" "^2.0.0" "@cspotcode/source-map-support@^0.8.0": - version "0.8.1" - resolved "https://registry.yarnpkg.com/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz#00629c35a688e05a88b1cda684fb9d5e73f000a1" - integrity sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw== + "integrity" "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==" + "resolved" "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz" + "version" "0.8.1" dependencies: "@jridgewell/trace-mapping" "0.3.9" "@cvrg-report/clover-json@^0.1.0": - version "0.1.1" - resolved "https://registry.yarnpkg.com/@cvrg-report/clover-json/-/clover-json-0.1.1.tgz#7e4ab3498b195c390bed9c5507c4226739ccc188" - integrity sha512-oq6hdyVVbJ0gqXydCxlAMrc4HbilQYyq4HPlTuXg+JXDU/N2XawyblhLXvE25SCcBUvgfFRvXdWI4UuEbEeJTg== + "integrity" "sha512-oq6hdyVVbJ0gqXydCxlAMrc4HbilQYyq4HPlTuXg+JXDU/N2XawyblhLXvE25SCcBUvgfFRvXdWI4UuEbEeJTg==" + "resolved" "https://registry.npmjs.org/@cvrg-report/clover-json/-/clover-json-0.1.1.tgz" + "version" "0.1.1" dependencies: - xml2js "^0.4.19" + "xml2js" "^0.4.19" "@dabh/diagnostics@^2.0.2": - version "2.0.3" - resolved "https://registry.yarnpkg.com/@dabh/diagnostics/-/diagnostics-2.0.3.tgz#7f7e97ee9a725dffc7808d93668cc984e1dc477a" - integrity sha512-hrlQOIi7hAfzsMqlGSFyVucrx38O+j6wiGOf//H2ecvIEqYN4ADBSS2iLMh5UFyDunCNniUIPk/q3riFv45xRA== + "integrity" "sha512-hrlQOIi7hAfzsMqlGSFyVucrx38O+j6wiGOf//H2ecvIEqYN4ADBSS2iLMh5UFyDunCNniUIPk/q3riFv45xRA==" + "resolved" "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.3.tgz" + "version" "2.0.3" dependencies: - colorspace "1.1.x" - enabled "2.0.x" - kuler "^2.0.0" + "colorspace" "1.1.x" + "enabled" "2.0.x" + "kuler" "^2.0.0" "@eslint/eslintrc@^0.4.3": - version "0.4.3" - resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-0.4.3.tgz#9e42981ef035beb3dd49add17acb96e8ff6f394c" - integrity sha512-J6KFFz5QCYUJq3pf0mjEcCJVERbzv71PUIDczuh9JkwGEzced6CO5ADLHB1rbf/+oPBtoPfMYNOpGDzCANlbXw== - dependencies: - ajv "^6.12.4" - debug "^4.1.1" - espree "^7.3.0" - globals "^13.9.0" - ignore "^4.0.6" - import-fresh "^3.2.1" - js-yaml "^3.13.1" - minimatch "^3.0.4" - strip-json-comments "^3.1.1" - -"@ethereumjs/common@2.5.0": - version "2.5.0" - resolved "https://registry.yarnpkg.com/@ethereumjs/common/-/common-2.5.0.tgz#ec61551b31bef7a69d1dc634d8932468866a4268" - integrity sha512-DEHjW6e38o+JmB/NO3GZBpW4lpaiBpkFgXF6jLcJ6gETBYpEyaA5nTimsWBUJR3Vmtm/didUEbNjajskugZORg== + "integrity" "sha512-J6KFFz5QCYUJq3pf0mjEcCJVERbzv71PUIDczuh9JkwGEzced6CO5ADLHB1rbf/+oPBtoPfMYNOpGDzCANlbXw==" + "resolved" "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.4.3.tgz" + "version" "0.4.3" + dependencies: + "ajv" "^6.12.4" + "debug" "^4.1.1" + "espree" "^7.3.0" + "globals" "^13.9.0" + "ignore" "^4.0.6" + "import-fresh" "^3.2.1" + "js-yaml" "^3.13.1" + "minimatch" "^3.0.4" + "strip-json-comments" "^3.1.1" + +"@ethereumjs/common@^2.5.0": + "integrity" "sha512-lRyVQOeCDaIVtgfbowla32pzeDv2Obr8oR8Put5RdUBNRGr1VGPGQNGP6elWIpgK3YdpzqTOh4GyUGOureVeeA==" + "resolved" "https://registry.npmjs.org/@ethereumjs/common/-/common-2.6.5.tgz" + "version" "2.6.5" + dependencies: + "crc-32" "^1.2.0" + "ethereumjs-util" "^7.1.5" + +"@ethereumjs/common@^2.6.4": + "integrity" "sha512-lRyVQOeCDaIVtgfbowla32pzeDv2Obr8oR8Put5RdUBNRGr1VGPGQNGP6elWIpgK3YdpzqTOh4GyUGOureVeeA==" + "resolved" "https://registry.npmjs.org/@ethereumjs/common/-/common-2.6.5.tgz" + "version" "2.6.5" + dependencies: + "crc-32" "^1.2.0" + "ethereumjs-util" "^7.1.5" + +"@ethereumjs/common@^3.1.1": + "integrity" "sha512-YV+bZfRlFhAXg+FfwC5r4UQKVj4OG7vDP5/JvvNXLLbYpNplH5Vca9jD0L+ab8y0YlTYJMQM1ALyHFu3AE3eBA==" + "resolved" "https://registry.npmjs.org/@ethereumjs/common/-/common-3.1.2.tgz" + "version" "3.1.2" dependencies: - crc-32 "^1.2.0" - ethereumjs-util "^7.1.1" + "@ethereumjs/util" "^8.0.6" + "crc-32" "^1.2.0" -"@ethereumjs/common@^2.5.0", "@ethereumjs/common@^2.6.4": - version "2.6.5" - resolved "https://registry.yarnpkg.com/@ethereumjs/common/-/common-2.6.5.tgz#0a75a22a046272579d91919cb12d84f2756e8d30" - integrity sha512-lRyVQOeCDaIVtgfbowla32pzeDv2Obr8oR8Put5RdUBNRGr1VGPGQNGP6elWIpgK3YdpzqTOh4GyUGOureVeeA== +"@ethereumjs/common@^3.1.2": + "integrity" "sha512-YV+bZfRlFhAXg+FfwC5r4UQKVj4OG7vDP5/JvvNXLLbYpNplH5Vca9jD0L+ab8y0YlTYJMQM1ALyHFu3AE3eBA==" + "resolved" "https://registry.npmjs.org/@ethereumjs/common/-/common-3.1.2.tgz" + "version" "3.1.2" dependencies: - crc-32 "^1.2.0" - ethereumjs-util "^7.1.5" + "@ethereumjs/util" "^8.0.6" + "crc-32" "^1.2.0" -"@ethereumjs/common@^3.1.1", "@ethereumjs/common@^3.1.2": - version "3.1.2" - resolved "https://registry.yarnpkg.com/@ethereumjs/common/-/common-3.1.2.tgz#c810301b78bcb7526bd690c6d7eb3f4a3c70839d" - integrity sha512-YV+bZfRlFhAXg+FfwC5r4UQKVj4OG7vDP5/JvvNXLLbYpNplH5Vca9jD0L+ab8y0YlTYJMQM1ALyHFu3AE3eBA== +"@ethereumjs/common@2.5.0": + "integrity" "sha512-DEHjW6e38o+JmB/NO3GZBpW4lpaiBpkFgXF6jLcJ6gETBYpEyaA5nTimsWBUJR3Vmtm/didUEbNjajskugZORg==" + "resolved" "https://registry.npmjs.org/@ethereumjs/common/-/common-2.5.0.tgz" + "version" "2.5.0" dependencies: - "@ethereumjs/util" "^8.0.6" - crc-32 "^1.2.0" + "crc-32" "^1.2.0" + "ethereumjs-util" "^7.1.1" "@ethereumjs/rlp@^4.0.1": - version "4.0.1" - resolved "https://registry.yarnpkg.com/@ethereumjs/rlp/-/rlp-4.0.1.tgz#626fabfd9081baab3d0a3074b0c7ecaf674aaa41" - integrity sha512-tqsQiBQDQdmPWE1xkkBq4rlSW5QZpLOUJ5RJh2/9fug+q9tnUhuZoVLk7s0scUIKTOzEtR72DFBXI4WiZcMpvw== + "integrity" "sha512-tqsQiBQDQdmPWE1xkkBq4rlSW5QZpLOUJ5RJh2/9fug+q9tnUhuZoVLk7s0scUIKTOzEtR72DFBXI4WiZcMpvw==" + "resolved" "https://registry.npmjs.org/@ethereumjs/rlp/-/rlp-4.0.1.tgz" + "version" "4.0.1" + +"@ethereumjs/tx@^4.1.1": + "integrity" "sha512-PWWyO9lAFOiLwk7nB9OQisoJUsuvMz2PN2v4/ILbBpzamC5Ug79OddVq9r4rKvIDLPY+bn4NFerxBJg29+sjaA==" + "resolved" "https://registry.npmjs.org/@ethereumjs/tx/-/tx-4.1.2.tgz" + "version" "4.1.2" + dependencies: + "@chainsafe/ssz" "^0.11.1" + "@ethereumjs/common" "^3.1.2" + "@ethereumjs/rlp" "^4.0.1" + "@ethereumjs/util" "^8.0.6" + "ethereum-cryptography" "^2.0.0" "@ethereumjs/tx@3.3.2": - version "3.3.2" - resolved "https://registry.yarnpkg.com/@ethereumjs/tx/-/tx-3.3.2.tgz#348d4624bf248aaab6c44fec2ae67265efe3db00" - integrity sha512-6AaJhwg4ucmwTvw/1qLaZUX5miWrwZ4nLOUsKyb/HtzS3BMw/CasKhdi1ims9mBKeK9sOJCH4qGKOBGyJCeeog== + "integrity" "sha512-6AaJhwg4ucmwTvw/1qLaZUX5miWrwZ4nLOUsKyb/HtzS3BMw/CasKhdi1ims9mBKeK9sOJCH4qGKOBGyJCeeog==" + "resolved" "https://registry.npmjs.org/@ethereumjs/tx/-/tx-3.3.2.tgz" + "version" "3.3.2" dependencies: "@ethereumjs/common" "^2.5.0" - ethereumjs-util "^7.1.2" + "ethereumjs-util" "^7.1.2" "@ethereumjs/tx@3.5.2": - version "3.5.2" - resolved "https://registry.yarnpkg.com/@ethereumjs/tx/-/tx-3.5.2.tgz#197b9b6299582ad84f9527ca961466fce2296c1c" - integrity sha512-gQDNJWKrSDGu2w7w0PzVXVBNMzb7wwdDOmOqczmhNjqFxFuIbhVJDwiGEnxFNC2/b8ifcZzY7MLcluizohRzNw== + "integrity" "sha512-gQDNJWKrSDGu2w7w0PzVXVBNMzb7wwdDOmOqczmhNjqFxFuIbhVJDwiGEnxFNC2/b8ifcZzY7MLcluizohRzNw==" + "resolved" "https://registry.npmjs.org/@ethereumjs/tx/-/tx-3.5.2.tgz" + "version" "3.5.2" dependencies: "@ethereumjs/common" "^2.6.4" - ethereumjs-util "^7.1.5" - -"@ethereumjs/tx@^4.1.1": - version "4.1.2" - resolved "https://registry.yarnpkg.com/@ethereumjs/tx/-/tx-4.1.2.tgz#10bc6741b74d2404331b82b87f9b2c26177b6f90" - integrity sha512-PWWyO9lAFOiLwk7nB9OQisoJUsuvMz2PN2v4/ILbBpzamC5Ug79OddVq9r4rKvIDLPY+bn4NFerxBJg29+sjaA== - dependencies: - "@chainsafe/ssz" "^0.11.1" - "@ethereumjs/common" "^3.1.2" - "@ethereumjs/rlp" "^4.0.1" - "@ethereumjs/util" "^8.0.6" - ethereum-cryptography "^2.0.0" + "ethereumjs-util" "^7.1.5" "@ethereumjs/util@^8.0.5": - version "8.0.5" - resolved "https://registry.yarnpkg.com/@ethereumjs/util/-/util-8.0.5.tgz#b9088fc687cc13f0c1243d6133d145dfcf3fe446" - integrity sha512-259rXKK3b3D8HRVdRmlOEi6QFvwxdt304hhrEAmpZhsj7ufXEOTIc9JRZPMnXatKjECokdLNBcDOFBeBSzAIaw== + "integrity" "sha512-259rXKK3b3D8HRVdRmlOEi6QFvwxdt304hhrEAmpZhsj7ufXEOTIc9JRZPMnXatKjECokdLNBcDOFBeBSzAIaw==" + "resolved" "https://registry.npmjs.org/@ethereumjs/util/-/util-8.0.5.tgz" + "version" "8.0.5" dependencies: "@chainsafe/ssz" "0.9.4" "@ethereumjs/rlp" "^4.0.1" - ethereum-cryptography "^1.1.2" + "ethereum-cryptography" "^1.1.2" "@ethereumjs/util@^8.0.6": - version "8.0.6" - resolved "https://registry.yarnpkg.com/@ethereumjs/util/-/util-8.0.6.tgz#f9716ed34235ea05eff8353bc5d483e5a6455989" - integrity sha512-zFLG/gXtF3QUC7iKFn4PT6HCr+DEnlCbwUGKGtXoqjA+64T+e0FuqMjlo4bQIY2ngRzk3EtudKdGYC4g31ehhg== + "integrity" "sha512-zFLG/gXtF3QUC7iKFn4PT6HCr+DEnlCbwUGKGtXoqjA+64T+e0FuqMjlo4bQIY2ngRzk3EtudKdGYC4g31ehhg==" + "resolved" "https://registry.npmjs.org/@ethereumjs/util/-/util-8.0.6.tgz" + "version" "8.0.6" dependencies: "@chainsafe/ssz" "^0.11.1" "@ethereumjs/rlp" "^4.0.1" - ethereum-cryptography "^2.0.0" - micro-ftch "^0.3.1" - -"@ethersproject-xdc/abi@file:vendor/@ethersproject-xdc/abi": - version "5.7.0" - dependencies: - "@ethersproject-xdc/address" "file:vendor/@ethersproject-xdc/address" - "@ethersproject-xdc/bignumber" "file:vendor/@ethersproject-xdc/bignumber" - "@ethersproject-xdc/bytes" "file:vendor/@ethersproject-xdc/bytes" - "@ethersproject-xdc/constants" "file:vendor/@ethersproject-xdc/constants" - "@ethersproject-xdc/hash" "file:vendor/@ethersproject-xdc/hash" - "@ethersproject-xdc/keccak256" "file:vendor/@ethersproject-xdc/keccak256" - "@ethersproject-xdc/logger" "file:vendor/@ethersproject-xdc/logger" - "@ethersproject-xdc/properties" "file:vendor/@ethersproject-xdc/properties" - "@ethersproject-xdc/strings" "file:vendor/@ethersproject-xdc/strings" - -"@ethersproject-xdc/abstract-provider@file:vendor/@ethersproject-xdc/abstract-provider": - version "5.7.0" - dependencies: - "@ethersproject-xdc/bignumber" "file:vendor/@ethersproject-xdc/bignumber" - "@ethersproject-xdc/bytes" "file:vendor/@ethersproject-xdc/bytes" - "@ethersproject-xdc/logger" "file:vendor/@ethersproject-xdc/logger" - "@ethersproject-xdc/networks" "file:vendor/@ethersproject-xdc/networks" - "@ethersproject-xdc/properties" "file:vendor/@ethersproject-xdc/properties" - "@ethersproject-xdc/transactions" "file:vendor/@ethersproject-xdc/transactions" - "@ethersproject-xdc/web" "file:vendor/@ethersproject-xdc/web" - -"@ethersproject-xdc/abstract-signer@file:vendor/@ethersproject-xdc/abstract-signer": - version "5.7.0" - dependencies: - "@ethersproject-xdc/abstract-provider" "file:vendor/@ethersproject-xdc/abstract-provider" - "@ethersproject-xdc/bignumber" "file:vendor/@ethersproject-xdc/bignumber" - "@ethersproject-xdc/bytes" "file:vendor/@ethersproject-xdc/bytes" - "@ethersproject-xdc/logger" "file:vendor/@ethersproject-xdc/logger" - "@ethersproject-xdc/properties" "file:vendor/@ethersproject-xdc/properties" - -"@ethersproject-xdc/address@file:vendor/@ethersproject-xdc/address": - version "5.7.0" - dependencies: - "@ethersproject-xdc/bignumber" "file:vendor/@ethersproject-xdc/bignumber" - "@ethersproject-xdc/bytes" "file:vendor/@ethersproject-xdc/bytes" - "@ethersproject-xdc/keccak256" "file:vendor/@ethersproject-xdc/keccak256" - "@ethersproject-xdc/logger" "file:vendor/@ethersproject-xdc/logger" - "@ethersproject-xdc/rlp" "file:vendor/@ethersproject-xdc/rlp" - -"@ethersproject-xdc/base64@file:vendor/@ethersproject-xdc/base64": - version "5.7.0" - dependencies: - "@ethersproject-xdc/bytes" "file:vendor/@ethersproject-xdc/bytes" - -"@ethersproject-xdc/basex@file:vendor/@ethersproject-xdc/basex": - version "5.7.0" - dependencies: - "@ethersproject-xdc/bytes" "file:vendor/@ethersproject-xdc/bytes" - "@ethersproject-xdc/properties" "file:vendor/@ethersproject-xdc/properties" - -"@ethersproject-xdc/bignumber@file:vendor/@ethersproject-xdc/bignumber": - version "5.7.0" - dependencies: - "@ethersproject-xdc/bytes" "file:vendor/@ethersproject-xdc/bytes" - "@ethersproject-xdc/logger" "file:vendor/@ethersproject-xdc/logger" - bn.js "^5.2.1" - -"@ethersproject-xdc/bytes@file:vendor/@ethersproject-xdc/bytes": - version "5.7.0" - dependencies: - "@ethersproject-xdc/logger" "file:vendor/@ethersproject-xdc/logger" - -"@ethersproject-xdc/constants@file:vendor/@ethersproject-xdc/constants": - version "5.7.0" - dependencies: - "@ethersproject-xdc/bignumber" "file:vendor/@ethersproject-xdc/bignumber" - -"@ethersproject-xdc/contracts@file:vendor/@ethersproject-xdc/contracts": - version "5.6.0" - dependencies: - "@ethersproject-xdc/abi" "file:vendor/@ethersproject-xdc/abi" - "@ethersproject-xdc/abstract-provider" "file:vendor/@ethersproject-xdc/abstract-provider" - "@ethersproject-xdc/abstract-signer" "file:vendor/@ethersproject-xdc/abstract-signer" - "@ethersproject-xdc/address" "file:vendor/@ethersproject-xdc/address" - "@ethersproject-xdc/bignumber" "file:vendor/@ethersproject-xdc/bignumber" - "@ethersproject-xdc/bytes" "file:vendor/@ethersproject-xdc/bytes" - "@ethersproject-xdc/constants" "file:vendor/@ethersproject-xdc/constants" - "@ethersproject-xdc/logger" "file:vendor/@ethersproject-xdc/logger" - "@ethersproject-xdc/properties" "file:vendor/@ethersproject-xdc/properties" - "@ethersproject-xdc/transactions" "file:vendor/@ethersproject-xdc/transactions" - -"@ethersproject-xdc/hash@file:vendor/@ethersproject-xdc/hash": - version "5.7.0" - dependencies: - "@ethersproject-xdc/abstract-signer" "file:vendor/@ethersproject-xdc/abstract-signer" - "@ethersproject-xdc/address" "file:vendor/@ethersproject-xdc/address" - "@ethersproject-xdc/base64" "file:vendor/@ethersproject-xdc/base64" - "@ethersproject-xdc/bignumber" "file:vendor/@ethersproject-xdc/bignumber" - "@ethersproject-xdc/bytes" "file:vendor/@ethersproject-xdc/bytes" - "@ethersproject-xdc/keccak256" "file:vendor/@ethersproject-xdc/keccak256" - "@ethersproject-xdc/logger" "file:vendor/@ethersproject-xdc/logger" - "@ethersproject-xdc/properties" "file:vendor/@ethersproject-xdc/properties" - "@ethersproject-xdc/strings" "file:vendor/@ethersproject-xdc/strings" - -"@ethersproject-xdc/hdnode@file:vendor/@ethersproject-xdc/hdnode": - version "5.7.0" - dependencies: - "@ethersproject-xdc/abstract-signer" "file:vendor/@ethersproject-xdc/abstract-signer" - "@ethersproject-xdc/basex" "file:vendor/@ethersproject-xdc/basex" - "@ethersproject-xdc/bignumber" "file:vendor/@ethersproject-xdc/bignumber" - "@ethersproject-xdc/bytes" "file:vendor/@ethersproject-xdc/bytes" - "@ethersproject-xdc/logger" "file:vendor/@ethersproject-xdc/logger" - "@ethersproject-xdc/pbkdf2" "file:vendor/@ethersproject-xdc/pbkdf2" - "@ethersproject-xdc/properties" "file:vendor/@ethersproject-xdc/properties" - "@ethersproject-xdc/sha2" "file:vendor/@ethersproject-xdc/sha2" - "@ethersproject-xdc/signing-key" "file:vendor/@ethersproject-xdc/signing-key" - "@ethersproject-xdc/strings" "file:vendor/@ethersproject-xdc/strings" - "@ethersproject-xdc/transactions" "file:vendor/@ethersproject-xdc/transactions" - "@ethersproject-xdc/wordlists" "file:vendor/@ethersproject-xdc/wordlists" - -"@ethersproject-xdc/json-wallets@file:vendor/@ethersproject-xdc/json-wallets": - version "5.6.0" - dependencies: - "@ethersproject-xdc/abstract-signer" "file:vendor/@ethersproject-xdc/abstract-signer" - "@ethersproject-xdc/address" "file:vendor/@ethersproject-xdc/address" - "@ethersproject-xdc/bytes" "file:vendor/@ethersproject-xdc/bytes" - "@ethersproject-xdc/hdnode" "file:vendor/@ethersproject-xdc/hdnode" - "@ethersproject-xdc/keccak256" "file:vendor/@ethersproject-xdc/keccak256" - "@ethersproject-xdc/logger" "file:vendor/@ethersproject-xdc/logger" - "@ethersproject-xdc/pbkdf2" "file:vendor/@ethersproject-xdc/pbkdf2" - "@ethersproject-xdc/properties" "file:vendor/@ethersproject-xdc/properties" - "@ethersproject-xdc/random" "file:vendor/@ethersproject-xdc/random" - "@ethersproject-xdc/strings" "file:vendor/@ethersproject-xdc/strings" - "@ethersproject-xdc/transactions" "file:vendor/@ethersproject-xdc/transactions" - aes-js "3.0.0" - scrypt-js "3.0.1" - -"@ethersproject-xdc/keccak256@file:vendor/@ethersproject-xdc/keccak256": - version "5.7.0" - dependencies: - "@ethersproject-xdc/bytes" "file:vendor/@ethersproject-xdc/bytes" - js-sha3 "0.8.0" - -"@ethersproject-xdc/logger@file:vendor/@ethersproject-xdc/logger": - version "5.7.0" - -"@ethersproject-xdc/networks@file:vendor/@ethersproject-xdc/networks": - version "5.7.1" - dependencies: - "@ethersproject-xdc/logger" "file:vendor/@ethersproject-xdc/logger" - -"@ethersproject-xdc/pbkdf2@file:vendor/@ethersproject-xdc/pbkdf2": - version "5.7.0" - dependencies: - "@ethersproject-xdc/bytes" "file:vendor/@ethersproject-xdc/bytes" - "@ethersproject-xdc/sha2" "file:vendor/@ethersproject-xdc/sha2" - -"@ethersproject-xdc/properties@file:vendor/@ethersproject-xdc/properties": - version "5.7.0" - dependencies: - "@ethersproject-xdc/logger" "file:vendor/@ethersproject-xdc/logger" - -"@ethersproject-xdc/providers@file:vendor/@ethersproject-xdc/providers": - version "5.6.2" - dependencies: - "@ethersproject-xdc/abstract-provider" "file:vendor/@ethersproject-xdc/abstract-provider" - "@ethersproject-xdc/abstract-signer" "file:vendor/@ethersproject-xdc/abstract-signer" - "@ethersproject-xdc/address" "file:vendor/@ethersproject-xdc/address" - "@ethersproject-xdc/basex" "file:vendor/@ethersproject-xdc/basex" - "@ethersproject-xdc/bignumber" "file:vendor/@ethersproject-xdc/bignumber" - "@ethersproject-xdc/bytes" "file:vendor/@ethersproject-xdc/bytes" - "@ethersproject-xdc/constants" "file:vendor/@ethersproject-xdc/constants" - "@ethersproject-xdc/hash" "file:vendor/@ethersproject-xdc/hash" - "@ethersproject-xdc/logger" "file:vendor/@ethersproject-xdc/logger" - "@ethersproject-xdc/networks" "file:vendor/@ethersproject-xdc/networks" - "@ethersproject-xdc/properties" "file:vendor/@ethersproject-xdc/properties" - "@ethersproject-xdc/random" "file:vendor/@ethersproject-xdc/random" - "@ethersproject-xdc/rlp" "file:vendor/@ethersproject-xdc/rlp" - "@ethersproject-xdc/sha2" "file:vendor/@ethersproject-xdc/sha2" - "@ethersproject-xdc/strings" "file:vendor/@ethersproject-xdc/strings" - "@ethersproject-xdc/transactions" "file:vendor/@ethersproject-xdc/transactions" - "@ethersproject-xdc/web" "file:vendor/@ethersproject-xdc/web" - bech32 "1.1.4" - ws "7.4.6" - -"@ethersproject-xdc/random@file:vendor/@ethersproject-xdc/random": - version "5.7.0" - dependencies: - "@ethersproject-xdc/bytes" "file:vendor/@ethersproject-xdc/bytes" - "@ethersproject-xdc/logger" "file:vendor/@ethersproject-xdc/logger" - -"@ethersproject-xdc/rlp@file:vendor/@ethersproject-xdc/rlp": - version "5.7.0" - dependencies: - "@ethersproject-xdc/bytes" "file:vendor/@ethersproject-xdc/bytes" - "@ethersproject-xdc/logger" "file:vendor/@ethersproject-xdc/logger" - -"@ethersproject-xdc/sha2@file:vendor/@ethersproject-xdc/sha2": - version "5.7.0" - dependencies: - "@ethersproject-xdc/bytes" "file:vendor/@ethersproject-xdc/bytes" - "@ethersproject-xdc/logger" "file:vendor/@ethersproject-xdc/logger" - hash.js "1.1.7" - -"@ethersproject-xdc/signing-key@file:vendor/@ethersproject-xdc/signing-key": - version "5.7.0" - dependencies: - "@ethersproject-xdc/bytes" "file:vendor/@ethersproject-xdc/bytes" - "@ethersproject-xdc/logger" "file:vendor/@ethersproject-xdc/logger" - "@ethersproject-xdc/properties" "file:vendor/@ethersproject-xdc/properties" - bn.js "^5.2.1" - elliptic "6.5.4" - hash.js "1.1.7" - -"@ethersproject-xdc/solidity@file:vendor/@ethersproject-xdc/solidity": - version "5.6.0" - dependencies: - "@ethersproject-xdc/bignumber" "file:vendor/@ethersproject-xdc/bignumber" - "@ethersproject-xdc/bytes" "file:vendor/@ethersproject-xdc/bytes" - "@ethersproject-xdc/keccak256" "file:vendor/@ethersproject-xdc/keccak256" - "@ethersproject-xdc/logger" "file:vendor/@ethersproject-xdc/logger" - "@ethersproject-xdc/sha2" "file:vendor/@ethersproject-xdc/sha2" - "@ethersproject-xdc/strings" "file:vendor/@ethersproject-xdc/strings" - -"@ethersproject-xdc/strings@file:vendor/@ethersproject-xdc/strings": - version "5.7.0" - dependencies: - "@ethersproject-xdc/bytes" "file:vendor/@ethersproject-xdc/bytes" - "@ethersproject-xdc/constants" "file:vendor/@ethersproject-xdc/constants" - "@ethersproject-xdc/logger" "file:vendor/@ethersproject-xdc/logger" - -"@ethersproject-xdc/transactions@file:vendor/@ethersproject-xdc/transactions": - version "5.7.0" - dependencies: - "@ethersproject-xdc/address" "file:vendor/@ethersproject-xdc/address" - "@ethersproject-xdc/bignumber" "file:vendor/@ethersproject-xdc/bignumber" - "@ethersproject-xdc/bytes" "file:vendor/@ethersproject-xdc/bytes" - "@ethersproject-xdc/constants" "file:vendor/@ethersproject-xdc/constants" - "@ethersproject-xdc/keccak256" "file:vendor/@ethersproject-xdc/keccak256" - "@ethersproject-xdc/logger" "file:vendor/@ethersproject-xdc/logger" - "@ethersproject-xdc/properties" "file:vendor/@ethersproject-xdc/properties" - "@ethersproject-xdc/rlp" "file:vendor/@ethersproject-xdc/rlp" - "@ethersproject-xdc/signing-key" "file:vendor/@ethersproject-xdc/signing-key" - -"@ethersproject-xdc/units@file:vendor/@ethersproject-xdc/units": - version "5.6.0" - dependencies: - "@ethersproject-xdc/bignumber" "file:vendor/@ethersproject-xdc/bignumber" - "@ethersproject-xdc/constants" "file:vendor/@ethersproject-xdc/constants" - "@ethersproject-xdc/logger" "file:vendor/@ethersproject-xdc/logger" - -"@ethersproject-xdc/wallet@file:vendor/@ethersproject-xdc/wallet": - version "5.6.0" - dependencies: - "@ethersproject-xdc/abstract-provider" "file:vendor/@ethersproject-xdc/abstract-provider" - "@ethersproject-xdc/abstract-signer" "file:vendor/@ethersproject-xdc/abstract-signer" - "@ethersproject-xdc/address" "file:vendor/@ethersproject-xdc/address" - "@ethersproject-xdc/bignumber" "file:vendor/@ethersproject-xdc/bignumber" - "@ethersproject-xdc/bytes" "file:vendor/@ethersproject-xdc/bytes" - "@ethersproject-xdc/hash" "file:vendor/@ethersproject-xdc/hash" - "@ethersproject-xdc/hdnode" "file:vendor/@ethersproject-xdc/hdnode" - "@ethersproject-xdc/json-wallets" "file:vendor/@ethersproject-xdc/json-wallets" - "@ethersproject-xdc/keccak256" "file:vendor/@ethersproject-xdc/keccak256" - "@ethersproject-xdc/logger" "file:vendor/@ethersproject-xdc/logger" - "@ethersproject-xdc/properties" "file:vendor/@ethersproject-xdc/properties" - "@ethersproject-xdc/random" "file:vendor/@ethersproject-xdc/random" - "@ethersproject-xdc/signing-key" "file:vendor/@ethersproject-xdc/signing-key" - "@ethersproject-xdc/transactions" "file:vendor/@ethersproject-xdc/transactions" - "@ethersproject-xdc/wordlists" "file:vendor/@ethersproject-xdc/wordlists" - -"@ethersproject-xdc/web@file:vendor/@ethersproject-xdc/web": - version "5.7.1" - dependencies: - "@ethersproject-xdc/base64" "file:vendor/@ethersproject-xdc/base64" - "@ethersproject-xdc/bytes" "file:vendor/@ethersproject-xdc/bytes" - "@ethersproject-xdc/logger" "file:vendor/@ethersproject-xdc/logger" - "@ethersproject-xdc/properties" "file:vendor/@ethersproject-xdc/properties" - "@ethersproject-xdc/strings" "file:vendor/@ethersproject-xdc/strings" - -"@ethersproject-xdc/wordlists@file:vendor/@ethersproject-xdc/wordlists": - version "5.7.0" - dependencies: - "@ethersproject-xdc/bytes" "file:vendor/@ethersproject-xdc/bytes" - "@ethersproject-xdc/hash" "file:vendor/@ethersproject-xdc/hash" - "@ethersproject-xdc/logger" "file:vendor/@ethersproject-xdc/logger" - "@ethersproject-xdc/properties" "file:vendor/@ethersproject-xdc/properties" - "@ethersproject-xdc/strings" "file:vendor/@ethersproject-xdc/strings" - -"@ethersproject/abi@5.7.0", "@ethersproject/abi@^5.0.12", "@ethersproject/abi@^5.1.2", "@ethersproject/abi@^5.4.0", "@ethersproject/abi@^5.5.0", "@ethersproject/abi@^5.6.3", "@ethersproject/abi@^5.7.0": - version "5.7.0" - resolved "https://registry.yarnpkg.com/@ethersproject/abi/-/abi-5.7.0.tgz#b3f3e045bbbeed1af3947335c247ad625a44e449" - integrity sha512-351ktp42TiRcYB3H1OP8yajPeAQstMW/yCFokj/AthP9bLHzQFPlOrxOcwYEDkUAICmOHljvN4K39OMTMUa9RA== + "ethereum-cryptography" "^2.0.0" + "micro-ftch" "^0.3.1" + +"@ethersproject-xdc/abi@file:../@ethersproject-xdc/abi", "@ethersproject-xdc/abi@file:../abi": + "resolved" "file:vendor/@ethersproject-xdc/abi" + "version" "5.7.0" + dependencies: + "@ethersproject-xdc/address" "file:../address" + "@ethersproject-xdc/bignumber" "file:../bignumber" + "@ethersproject-xdc/bytes" "file:../bytes" + "@ethersproject-xdc/constants" "file:../constants" + "@ethersproject-xdc/hash" "file:../hash" + "@ethersproject-xdc/keccak256" "file:../keccak256" + "@ethersproject-xdc/logger" "file:../logger" + "@ethersproject-xdc/properties" "file:../properties" + "@ethersproject-xdc/strings" "file:../strings" + +"@ethersproject-xdc/abstract-provider@file:../@ethersproject-xdc/abstract-provider", "@ethersproject-xdc/abstract-provider@file:../abstract-provider": + "resolved" "file:vendor/@ethersproject-xdc/abstract-provider" + "version" "5.7.0" + dependencies: + "@ethersproject-xdc/bignumber" "file:../bignumber" + "@ethersproject-xdc/bytes" "file:../bytes" + "@ethersproject-xdc/logger" "file:../logger" + "@ethersproject-xdc/networks" "file:../networks" + "@ethersproject-xdc/properties" "file:../properties" + "@ethersproject-xdc/transactions" "file:../transactions" + "@ethersproject-xdc/web" "file:../web" + +"@ethersproject-xdc/abstract-signer@file:../@ethersproject-xdc/abstract-signer", "@ethersproject-xdc/abstract-signer@file:../abstract-signer": + "resolved" "file:vendor/@ethersproject-xdc/abstract-signer" + "version" "5.7.0" + dependencies: + "@ethersproject-xdc/abstract-provider" "file:../abstract-provider" + "@ethersproject-xdc/bignumber" "file:../bignumber" + "@ethersproject-xdc/bytes" "file:../bytes" + "@ethersproject-xdc/logger" "file:../logger" + "@ethersproject-xdc/properties" "file:../properties" + +"@ethersproject-xdc/address@file:../@ethersproject-xdc/address", "@ethersproject-xdc/address@file:../address": + "resolved" "file:vendor/@ethersproject-xdc/address" + "version" "5.7.0" + dependencies: + "@ethersproject-xdc/bignumber" "file:../bignumber" + "@ethersproject-xdc/bytes" "file:../bytes" + "@ethersproject-xdc/keccak256" "file:../keccak256" + "@ethersproject-xdc/logger" "file:../logger" + "@ethersproject-xdc/rlp" "file:../rlp" + +"@ethersproject-xdc/base64@file:../@ethersproject-xdc/base64", "@ethersproject-xdc/base64@file:../base64": + "resolved" "file:vendor/@ethersproject-xdc/base64" + "version" "5.7.0" + dependencies: + "@ethersproject-xdc/bytes" "file:../bytes" + +"@ethersproject-xdc/basex@file:../@ethersproject-xdc/basex", "@ethersproject-xdc/basex@file:../basex": + "resolved" "file:vendor/@ethersproject-xdc/basex" + "version" "5.7.0" + dependencies: + "@ethersproject-xdc/bytes" "file:../bytes" + "@ethersproject-xdc/properties" "file:../properties" + +"@ethersproject-xdc/bignumber@file:../@ethersproject-xdc/bignumber", "@ethersproject-xdc/bignumber@file:../bignumber": + "resolved" "file:vendor/@ethersproject-xdc/bignumber" + "version" "5.7.0" + dependencies: + "@ethersproject-xdc/bytes" "file:../bytes" + "@ethersproject-xdc/logger" "file:../logger" + "bn.js" "^5.2.1" + +"@ethersproject-xdc/bytes@file:../@ethersproject-xdc/bytes", "@ethersproject-xdc/bytes@file:../bytes": + "resolved" "file:vendor/@ethersproject-xdc/bytes" + "version" "5.7.0" + dependencies: + "@ethersproject-xdc/logger" "file:../logger" + +"@ethersproject-xdc/constants@file:../@ethersproject-xdc/constants", "@ethersproject-xdc/constants@file:../constants": + "resolved" "file:vendor/@ethersproject-xdc/constants" + "version" "5.7.0" + dependencies: + "@ethersproject-xdc/bignumber" "file:../bignumber" + +"@ethersproject-xdc/contracts@file:../@ethersproject-xdc/contracts": + "resolved" "file:vendor/@ethersproject-xdc/contracts" + "version" "5.6.0" + dependencies: + "@ethersproject-xdc/abi" "file:../abi" + "@ethersproject-xdc/abstract-provider" "file:../abstract-provider" + "@ethersproject-xdc/abstract-signer" "file:../abstract-signer" + "@ethersproject-xdc/address" "file:../address" + "@ethersproject-xdc/bignumber" "file:../bignumber" + "@ethersproject-xdc/bytes" "file:../bytes" + "@ethersproject-xdc/constants" "file:../constants" + "@ethersproject-xdc/logger" "file:../logger" + "@ethersproject-xdc/properties" "file:../properties" + "@ethersproject-xdc/transactions" "file:../transactions" + +"@ethersproject-xdc/hash@file:../@ethersproject-xdc/hash", "@ethersproject-xdc/hash@file:../hash": + "resolved" "file:vendor/@ethersproject-xdc/hash" + "version" "5.7.0" + dependencies: + "@ethersproject-xdc/abstract-signer" "file:../abstract-signer" + "@ethersproject-xdc/address" "file:../address" + "@ethersproject-xdc/base64" "file:../base64" + "@ethersproject-xdc/bignumber" "file:../bignumber" + "@ethersproject-xdc/bytes" "file:../bytes" + "@ethersproject-xdc/keccak256" "file:../keccak256" + "@ethersproject-xdc/logger" "file:../logger" + "@ethersproject-xdc/properties" "file:../properties" + "@ethersproject-xdc/strings" "file:../strings" + +"@ethersproject-xdc/hdnode@file:../@ethersproject-xdc/hdnode", "@ethersproject-xdc/hdnode@file:../hdnode": + "resolved" "file:vendor/@ethersproject-xdc/hdnode" + "version" "5.7.0" + dependencies: + "@ethersproject-xdc/abstract-signer" "file:../abstract-signer" + "@ethersproject-xdc/basex" "file:../basex" + "@ethersproject-xdc/bignumber" "file:../bignumber" + "@ethersproject-xdc/bytes" "file:../bytes" + "@ethersproject-xdc/logger" "file:../logger" + "@ethersproject-xdc/pbkdf2" "file:../pbkdf2" + "@ethersproject-xdc/properties" "file:../properties" + "@ethersproject-xdc/sha2" "file:../sha2" + "@ethersproject-xdc/signing-key" "file:../signing-key" + "@ethersproject-xdc/strings" "file:../strings" + "@ethersproject-xdc/transactions" "file:../transactions" + "@ethersproject-xdc/wordlists" "file:../wordlists" + +"@ethersproject-xdc/json-wallets@file:../@ethersproject-xdc/json-wallets", "@ethersproject-xdc/json-wallets@file:../json-wallets": + "resolved" "file:vendor/@ethersproject-xdc/json-wallets" + "version" "5.6.0" + dependencies: + "@ethersproject-xdc/abstract-signer" "file:../abstract-signer" + "@ethersproject-xdc/address" "file:../address" + "@ethersproject-xdc/bytes" "file:../bytes" + "@ethersproject-xdc/hdnode" "file:../hdnode" + "@ethersproject-xdc/keccak256" "file:../keccak256" + "@ethersproject-xdc/logger" "file:../logger" + "@ethersproject-xdc/pbkdf2" "file:../pbkdf2" + "@ethersproject-xdc/properties" "file:../properties" + "@ethersproject-xdc/random" "file:../random" + "@ethersproject-xdc/strings" "file:../strings" + "@ethersproject-xdc/transactions" "file:../transactions" + "aes-js" "3.0.0" + "scrypt-js" "3.0.1" + +"@ethersproject-xdc/keccak256@file:../@ethersproject-xdc/keccak256", "@ethersproject-xdc/keccak256@file:../keccak256": + "resolved" "file:vendor/@ethersproject-xdc/keccak256" + "version" "5.7.0" + dependencies: + "@ethersproject-xdc/bytes" "file:../bytes" + "js-sha3" "0.8.0" + +"@ethersproject-xdc/logger@file:../@ethersproject-xdc/logger", "@ethersproject-xdc/logger@file:../logger": + "resolved" "file:vendor/@ethersproject-xdc/logger" + "version" "5.7.0" + +"@ethersproject-xdc/networks@file:../@ethersproject-xdc/networks", "@ethersproject-xdc/networks@file:../networks": + "resolved" "file:vendor/@ethersproject-xdc/networks" + "version" "5.7.1" + dependencies: + "@ethersproject-xdc/logger" "file:../logger" + +"@ethersproject-xdc/pbkdf2@file:../@ethersproject-xdc/pbkdf2", "@ethersproject-xdc/pbkdf2@file:../pbkdf2": + "resolved" "file:vendor/@ethersproject-xdc/pbkdf2" + "version" "5.7.0" + dependencies: + "@ethersproject-xdc/bytes" "file:../bytes" + "@ethersproject-xdc/sha2" "file:../sha2" + +"@ethersproject-xdc/properties@file:../@ethersproject-xdc/properties", "@ethersproject-xdc/properties@file:../properties": + "resolved" "file:vendor/@ethersproject-xdc/properties" + "version" "5.7.0" + dependencies: + "@ethersproject-xdc/logger" "file:../logger" + +"@ethersproject-xdc/providers@file:../@ethersproject-xdc/providers": + "resolved" "file:vendor/@ethersproject-xdc/providers" + "version" "5.6.2" + dependencies: + "@ethersproject-xdc/abstract-provider" "file:../abstract-provider" + "@ethersproject-xdc/abstract-signer" "file:../abstract-signer" + "@ethersproject-xdc/address" "file:../address" + "@ethersproject-xdc/basex" "file:../basex" + "@ethersproject-xdc/bignumber" "file:../bignumber" + "@ethersproject-xdc/bytes" "file:../bytes" + "@ethersproject-xdc/constants" "file:../constants" + "@ethersproject-xdc/hash" "file:../hash" + "@ethersproject-xdc/logger" "file:../logger" + "@ethersproject-xdc/networks" "file:../networks" + "@ethersproject-xdc/properties" "file:../properties" + "@ethersproject-xdc/random" "file:../random" + "@ethersproject-xdc/rlp" "file:../rlp" + "@ethersproject-xdc/sha2" "file:../sha2" + "@ethersproject-xdc/strings" "file:../strings" + "@ethersproject-xdc/transactions" "file:../transactions" + "@ethersproject-xdc/web" "file:../web" + "bech32" "1.1.4" + "ws" "7.4.6" + +"@ethersproject-xdc/random@file:../@ethersproject-xdc/random", "@ethersproject-xdc/random@file:../random": + "resolved" "file:vendor/@ethersproject-xdc/random" + "version" "5.7.0" + dependencies: + "@ethersproject-xdc/bytes" "file:../bytes" + "@ethersproject-xdc/logger" "file:../logger" + +"@ethersproject-xdc/rlp@file:../@ethersproject-xdc/rlp", "@ethersproject-xdc/rlp@file:../rlp": + "resolved" "file:vendor/@ethersproject-xdc/rlp" + "version" "5.7.0" + dependencies: + "@ethersproject-xdc/bytes" "file:../bytes" + "@ethersproject-xdc/logger" "file:../logger" + +"@ethersproject-xdc/sha2@file:../@ethersproject-xdc/sha2", "@ethersproject-xdc/sha2@file:../sha2": + "resolved" "file:vendor/@ethersproject-xdc/sha2" + "version" "5.7.0" + dependencies: + "@ethersproject-xdc/bytes" "file:../bytes" + "@ethersproject-xdc/logger" "file:../logger" + "hash.js" "1.1.7" + +"@ethersproject-xdc/signing-key@file:../@ethersproject-xdc/signing-key", "@ethersproject-xdc/signing-key@file:../signing-key": + "resolved" "file:vendor/@ethersproject-xdc/signing-key" + "version" "5.7.0" + dependencies: + "@ethersproject-xdc/bytes" "file:../bytes" + "@ethersproject-xdc/logger" "file:../logger" + "@ethersproject-xdc/properties" "file:../properties" + "bn.js" "^5.2.1" + "elliptic" "6.5.4" + "hash.js" "1.1.7" + +"@ethersproject-xdc/solidity@file:../@ethersproject-xdc/solidity": + "resolved" "file:vendor/@ethersproject-xdc/solidity" + "version" "5.6.0" + dependencies: + "@ethersproject-xdc/bignumber" "file:../bignumber" + "@ethersproject-xdc/bytes" "file:../bytes" + "@ethersproject-xdc/keccak256" "file:../keccak256" + "@ethersproject-xdc/logger" "file:../logger" + "@ethersproject-xdc/sha2" "file:../sha2" + "@ethersproject-xdc/strings" "file:../strings" + +"@ethersproject-xdc/strings@file:../@ethersproject-xdc/strings", "@ethersproject-xdc/strings@file:../strings": + "resolved" "file:vendor/@ethersproject-xdc/strings" + "version" "5.7.0" + dependencies: + "@ethersproject-xdc/bytes" "file:../bytes" + "@ethersproject-xdc/constants" "file:../constants" + "@ethersproject-xdc/logger" "file:../logger" + +"@ethersproject-xdc/transactions@file:../@ethersproject-xdc/transactions", "@ethersproject-xdc/transactions@file:../transactions": + "resolved" "file:vendor/@ethersproject-xdc/transactions" + "version" "5.7.0" + dependencies: + "@ethersproject-xdc/address" "file:../address" + "@ethersproject-xdc/bignumber" "file:../bignumber" + "@ethersproject-xdc/bytes" "file:../bytes" + "@ethersproject-xdc/constants" "file:../constants" + "@ethersproject-xdc/keccak256" "file:../keccak256" + "@ethersproject-xdc/logger" "file:../logger" + "@ethersproject-xdc/properties" "file:../properties" + "@ethersproject-xdc/rlp" "file:../rlp" + "@ethersproject-xdc/signing-key" "file:../signing-key" + +"@ethersproject-xdc/units@file:../@ethersproject-xdc/units": + "resolved" "file:vendor/@ethersproject-xdc/units" + "version" "5.6.0" + dependencies: + "@ethersproject-xdc/bignumber" "file:../bignumber" + "@ethersproject-xdc/constants" "file:../constants" + "@ethersproject-xdc/logger" "file:../logger" + +"@ethersproject-xdc/wallet@file:../@ethersproject-xdc/wallet": + "resolved" "file:vendor/@ethersproject-xdc/wallet" + "version" "5.6.0" + dependencies: + "@ethersproject-xdc/abstract-provider" "file:../abstract-provider" + "@ethersproject-xdc/abstract-signer" "file:../abstract-signer" + "@ethersproject-xdc/address" "file:../address" + "@ethersproject-xdc/bignumber" "file:../bignumber" + "@ethersproject-xdc/bytes" "file:../bytes" + "@ethersproject-xdc/hash" "file:../hash" + "@ethersproject-xdc/hdnode" "file:../hdnode" + "@ethersproject-xdc/json-wallets" "file:../json-wallets" + "@ethersproject-xdc/keccak256" "file:../keccak256" + "@ethersproject-xdc/logger" "file:../logger" + "@ethersproject-xdc/properties" "file:../properties" + "@ethersproject-xdc/random" "file:../random" + "@ethersproject-xdc/signing-key" "file:../signing-key" + "@ethersproject-xdc/transactions" "file:../transactions" + "@ethersproject-xdc/wordlists" "file:../wordlists" + +"@ethersproject-xdc/web@file:../@ethersproject-xdc/web", "@ethersproject-xdc/web@file:../web": + "resolved" "file:vendor/@ethersproject-xdc/web" + "version" "5.7.1" + dependencies: + "@ethersproject-xdc/base64" "file:../base64" + "@ethersproject-xdc/bytes" "file:../bytes" + "@ethersproject-xdc/logger" "file:../logger" + "@ethersproject-xdc/properties" "file:../properties" + "@ethersproject-xdc/strings" "file:../strings" + +"@ethersproject-xdc/wordlists@file:../@ethersproject-xdc/wordlists", "@ethersproject-xdc/wordlists@file:../wordlists": + "resolved" "file:vendor/@ethersproject-xdc/wordlists" + "version" "5.7.0" + dependencies: + "@ethersproject-xdc/bytes" "file:../bytes" + "@ethersproject-xdc/hash" "file:../hash" + "@ethersproject-xdc/logger" "file:../logger" + "@ethersproject-xdc/properties" "file:../properties" + "@ethersproject-xdc/strings" "file:../strings" + +"@ethersproject/abi@^5.0.12", "@ethersproject/abi@^5.1.2", "@ethersproject/abi@^5.4.0", "@ethersproject/abi@^5.5.0", "@ethersproject/abi@^5.6.3", "@ethersproject/abi@^5.7.0", "@ethersproject/abi@5.7.0": + "integrity" "sha512-351ktp42TiRcYB3H1OP8yajPeAQstMW/yCFokj/AthP9bLHzQFPlOrxOcwYEDkUAICmOHljvN4K39OMTMUa9RA==" + "resolved" "https://registry.npmjs.org/@ethersproject/abi/-/abi-5.7.0.tgz" + "version" "5.7.0" dependencies: "@ethersproject/address" "^5.7.0" "@ethersproject/bignumber" "^5.7.0" @@ -1260,10 +1320,10 @@ "@ethersproject/properties" "^5.7.0" "@ethersproject/strings" "^5.7.0" -"@ethersproject/abstract-provider@5.7.0", "@ethersproject/abstract-provider@^5.7.0": - version "5.7.0" - resolved "https://registry.yarnpkg.com/@ethersproject/abstract-provider/-/abstract-provider-5.7.0.tgz#b0a8550f88b6bf9d51f90e4795d48294630cb9ef" - integrity sha512-R41c9UkchKCpAqStMYUpdunjo3pkEvZC3FAwZn5S5MGbXoMQOHIdHItezTETxAO5bevtMApSyEhn9+CHcDsWBw== +"@ethersproject/abstract-provider@^5.7.0", "@ethersproject/abstract-provider@5.7.0": + "integrity" "sha512-R41c9UkchKCpAqStMYUpdunjo3pkEvZC3FAwZn5S5MGbXoMQOHIdHItezTETxAO5bevtMApSyEhn9+CHcDsWBw==" + "resolved" "https://registry.npmjs.org/@ethersproject/abstract-provider/-/abstract-provider-5.7.0.tgz" + "version" "5.7.0" dependencies: "@ethersproject/bignumber" "^5.7.0" "@ethersproject/bytes" "^5.7.0" @@ -1273,10 +1333,10 @@ "@ethersproject/transactions" "^5.7.0" "@ethersproject/web" "^5.7.0" -"@ethersproject/abstract-signer@5.7.0", "@ethersproject/abstract-signer@^5.4.0", "@ethersproject/abstract-signer@^5.7.0": - version "5.7.0" - resolved "https://registry.yarnpkg.com/@ethersproject/abstract-signer/-/abstract-signer-5.7.0.tgz#13f4f32117868452191a4649723cb086d2b596b2" - integrity sha512-a16V8bq1/Cz+TGCkE2OPMTOUDLS3grCpdjoJCYNnVBbdYEMSgKrU0+B90s8b6H+ByYTBZN7a3g76jdIJi7UfKQ== +"@ethersproject/abstract-signer@^5.4.0", "@ethersproject/abstract-signer@^5.7.0", "@ethersproject/abstract-signer@5.7.0": + "integrity" "sha512-a16V8bq1/Cz+TGCkE2OPMTOUDLS3grCpdjoJCYNnVBbdYEMSgKrU0+B90s8b6H+ByYTBZN7a3g76jdIJi7UfKQ==" + "resolved" "https://registry.npmjs.org/@ethersproject/abstract-signer/-/abstract-signer-5.7.0.tgz" + "version" "5.7.0" dependencies: "@ethersproject/abstract-provider" "^5.7.0" "@ethersproject/bignumber" "^5.7.0" @@ -1284,10 +1344,10 @@ "@ethersproject/logger" "^5.7.0" "@ethersproject/properties" "^5.7.0" -"@ethersproject/address@5.7.0", "@ethersproject/address@^5.0.0", "@ethersproject/address@^5.0.1", "@ethersproject/address@^5.0.2", "@ethersproject/address@^5.4.0", "@ethersproject/address@^5.6.0", "@ethersproject/address@^5.7.0": - version "5.7.0" - resolved "https://registry.yarnpkg.com/@ethersproject/address/-/address-5.7.0.tgz#19b56c4d74a3b0a46bfdbb6cfcc0a153fc697f37" - integrity sha512-9wYhYt7aghVGo758POM5nqcOMaE168Q6aRLJZwUmiqSrAungkG74gSSeKEIR7ukixesdRZGPgVqme6vmxs1fkA== +"@ethersproject/address@^5.0.0", "@ethersproject/address@^5.0.1", "@ethersproject/address@^5.0.2", "@ethersproject/address@^5.4.0", "@ethersproject/address@^5.6.0", "@ethersproject/address@^5.7.0", "@ethersproject/address@5.7.0": + "integrity" "sha512-9wYhYt7aghVGo758POM5nqcOMaE168Q6aRLJZwUmiqSrAungkG74gSSeKEIR7ukixesdRZGPgVqme6vmxs1fkA==" + "resolved" "https://registry.npmjs.org/@ethersproject/address/-/address-5.7.0.tgz" + "version" "5.7.0" dependencies: "@ethersproject/bignumber" "^5.7.0" "@ethersproject/bytes" "^5.7.0" @@ -1295,48 +1355,48 @@ "@ethersproject/logger" "^5.7.0" "@ethersproject/rlp" "^5.7.0" -"@ethersproject/base64@5.7.0", "@ethersproject/base64@^5.7.0": - version "5.7.0" - resolved "https://registry.yarnpkg.com/@ethersproject/base64/-/base64-5.7.0.tgz#ac4ee92aa36c1628173e221d0d01f53692059e1c" - integrity sha512-Dr8tcHt2mEbsZr/mwTPIQAf3Ai0Bks/7gTw9dSqk1mQvhW3XvRlmDJr/4n+wg1JmCl16NZue17CDh8xb/vZ0sQ== +"@ethersproject/base64@^5.7.0", "@ethersproject/base64@5.7.0": + "integrity" "sha512-Dr8tcHt2mEbsZr/mwTPIQAf3Ai0Bks/7gTw9dSqk1mQvhW3XvRlmDJr/4n+wg1JmCl16NZue17CDh8xb/vZ0sQ==" + "resolved" "https://registry.npmjs.org/@ethersproject/base64/-/base64-5.7.0.tgz" + "version" "5.7.0" dependencies: "@ethersproject/bytes" "^5.7.0" -"@ethersproject/basex@5.7.0", "@ethersproject/basex@^5.7.0": - version "5.7.0" - resolved "https://registry.yarnpkg.com/@ethersproject/basex/-/basex-5.7.0.tgz#97034dc7e8938a8ca943ab20f8a5e492ece4020b" - integrity sha512-ywlh43GwZLv2Voc2gQVTKBoVQ1mti3d8HK5aMxsfu/nRDnMmNqaSJ3r3n85HBByT8OpoY96SXM1FogC533T4zw== +"@ethersproject/basex@^5.7.0", "@ethersproject/basex@5.7.0": + "integrity" "sha512-ywlh43GwZLv2Voc2gQVTKBoVQ1mti3d8HK5aMxsfu/nRDnMmNqaSJ3r3n85HBByT8OpoY96SXM1FogC533T4zw==" + "resolved" "https://registry.npmjs.org/@ethersproject/basex/-/basex-5.7.0.tgz" + "version" "5.7.0" dependencies: "@ethersproject/bytes" "^5.7.0" "@ethersproject/properties" "^5.7.0" -"@ethersproject/bignumber@5.7.0", "@ethersproject/bignumber@^5.4.0", "@ethersproject/bignumber@^5.7.0": - version "5.7.0" - resolved "https://registry.yarnpkg.com/@ethersproject/bignumber/-/bignumber-5.7.0.tgz#e2f03837f268ba655ffba03a57853e18a18dc9c2" - integrity sha512-n1CAdIHRWjSucQO3MC1zPSVgV/6dy/fjL9pMrPP9peL+QxEg9wOsVqwD4+818B6LUEtaXzVHQiuivzRoxPxUGw== +"@ethersproject/bignumber@^5.4.0", "@ethersproject/bignumber@^5.7.0", "@ethersproject/bignumber@5.7.0": + "integrity" "sha512-n1CAdIHRWjSucQO3MC1zPSVgV/6dy/fjL9pMrPP9peL+QxEg9wOsVqwD4+818B6LUEtaXzVHQiuivzRoxPxUGw==" + "resolved" "https://registry.npmjs.org/@ethersproject/bignumber/-/bignumber-5.7.0.tgz" + "version" "5.7.0" dependencies: "@ethersproject/bytes" "^5.7.0" "@ethersproject/logger" "^5.7.0" - bn.js "^5.2.1" + "bn.js" "^5.2.1" -"@ethersproject/bytes@5.7.0", "@ethersproject/bytes@^5.4.0", "@ethersproject/bytes@^5.7.0": - version "5.7.0" - resolved "https://registry.yarnpkg.com/@ethersproject/bytes/-/bytes-5.7.0.tgz#a00f6ea8d7e7534d6d87f47188af1148d71f155d" - integrity sha512-nsbxwgFXWh9NyYWo+U8atvmMsSdKJprTcICAkvbBffT75qDocbuggBU0SJiVK2MuTrp0q+xvLkTnGMPK1+uA9A== +"@ethersproject/bytes@^5.4.0", "@ethersproject/bytes@^5.7.0", "@ethersproject/bytes@5.7.0": + "integrity" "sha512-nsbxwgFXWh9NyYWo+U8atvmMsSdKJprTcICAkvbBffT75qDocbuggBU0SJiVK2MuTrp0q+xvLkTnGMPK1+uA9A==" + "resolved" "https://registry.npmjs.org/@ethersproject/bytes/-/bytes-5.7.0.tgz" + "version" "5.7.0" dependencies: "@ethersproject/logger" "^5.7.0" -"@ethersproject/constants@5.7.0", "@ethersproject/constants@^5.7.0": - version "5.7.0" - resolved "https://registry.yarnpkg.com/@ethersproject/constants/-/constants-5.7.0.tgz#df80a9705a7e08984161f09014ea012d1c75295e" - integrity sha512-DHI+y5dBNvkpYUMiRQyxRBYBefZkJfo70VUkUAsRjcPs47muV9evftfZ0PJVCXYbAiCgght0DtcF9srFQmIgWA== +"@ethersproject/constants@^5.7.0", "@ethersproject/constants@5.7.0": + "integrity" "sha512-DHI+y5dBNvkpYUMiRQyxRBYBefZkJfo70VUkUAsRjcPs47muV9evftfZ0PJVCXYbAiCgght0DtcF9srFQmIgWA==" + "resolved" "https://registry.npmjs.org/@ethersproject/constants/-/constants-5.7.0.tgz" + "version" "5.7.0" dependencies: "@ethersproject/bignumber" "^5.7.0" -"@ethersproject/contracts@5.7.0", "@ethersproject/contracts@^5.0.1", "@ethersproject/contracts@^5.4.0", "@ethersproject/contracts@^5.7.0": - version "5.7.0" - resolved "https://registry.yarnpkg.com/@ethersproject/contracts/-/contracts-5.7.0.tgz#c305e775abd07e48aa590e1a877ed5c316f8bd1e" - integrity sha512-5GJbzEU3X+d33CdfPhcyS+z8MzsTrBGk/sc+G+59+tPa9yFkl6HQ9D6L0QMgNTA9q8dT0XKxxkyp883XsQvbbg== +"@ethersproject/contracts@^5.0.1", "@ethersproject/contracts@^5.4.0", "@ethersproject/contracts@^5.7.0", "@ethersproject/contracts@5.7.0": + "integrity" "sha512-5GJbzEU3X+d33CdfPhcyS+z8MzsTrBGk/sc+G+59+tPa9yFkl6HQ9D6L0QMgNTA9q8dT0XKxxkyp883XsQvbbg==" + "resolved" "https://registry.npmjs.org/@ethersproject/contracts/-/contracts-5.7.0.tgz" + "version" "5.7.0" dependencies: "@ethersproject/abi" "^5.7.0" "@ethersproject/abstract-provider" "^5.7.0" @@ -1350,18 +1410,18 @@ "@ethersproject/transactions" "^5.7.0" "@ethersproject/experimental@^5.4.0": - version "5.7.0" - resolved "https://registry.yarnpkg.com/@ethersproject/experimental/-/experimental-5.7.0.tgz#9759639434d37beaedfd8acab6f3af7db246b92d" - integrity sha512-DWvhuw7Dg8JPyhMbh/CNYOwsTLjXRx/HGkacIL5rBocG8jJC0kmixwoK/J3YblO4vtcyBLMa+sV74RJZK2iyHg== + "integrity" "sha512-DWvhuw7Dg8JPyhMbh/CNYOwsTLjXRx/HGkacIL5rBocG8jJC0kmixwoK/J3YblO4vtcyBLMa+sV74RJZK2iyHg==" + "resolved" "https://registry.npmjs.org/@ethersproject/experimental/-/experimental-5.7.0.tgz" + "version" "5.7.0" dependencies: "@ethersproject/web" "^5.7.0" - ethers "^5.7.0" - scrypt-js "3.0.1" + "ethers" "^5.7.0" + "scrypt-js" "3.0.1" -"@ethersproject/hash@5.7.0", "@ethersproject/hash@^5.7.0": - version "5.7.0" - resolved "https://registry.yarnpkg.com/@ethersproject/hash/-/hash-5.7.0.tgz#eb7aca84a588508369562e16e514b539ba5240a7" - integrity sha512-qX5WrQfnah1EFnO5zJv1v46a8HW0+E5xuBBDTwMFZLuVTx0tbU2kkx15NqdjxecrLGatQN9FGQKpb1FKdHCt+g== +"@ethersproject/hash@^5.7.0", "@ethersproject/hash@5.7.0": + "integrity" "sha512-qX5WrQfnah1EFnO5zJv1v46a8HW0+E5xuBBDTwMFZLuVTx0tbU2kkx15NqdjxecrLGatQN9FGQKpb1FKdHCt+g==" + "resolved" "https://registry.npmjs.org/@ethersproject/hash/-/hash-5.7.0.tgz" + "version" "5.7.0" dependencies: "@ethersproject/abstract-signer" "^5.7.0" "@ethersproject/address" "^5.7.0" @@ -1373,10 +1433,10 @@ "@ethersproject/properties" "^5.7.0" "@ethersproject/strings" "^5.7.0" -"@ethersproject/hdnode@5.7.0", "@ethersproject/hdnode@^5.7.0": - version "5.7.0" - resolved "https://registry.yarnpkg.com/@ethersproject/hdnode/-/hdnode-5.7.0.tgz#e627ddc6b466bc77aebf1a6b9e47405ca5aef9cf" - integrity sha512-OmyYo9EENBPPf4ERhR7oj6uAtUAhYGqOnIS+jE5pTXvdKBS99ikzq1E7Iv0ZQZ5V36Lqx1qZLeak0Ra16qpeOg== +"@ethersproject/hdnode@^5.7.0", "@ethersproject/hdnode@5.7.0": + "integrity" "sha512-OmyYo9EENBPPf4ERhR7oj6uAtUAhYGqOnIS+jE5pTXvdKBS99ikzq1E7Iv0ZQZ5V36Lqx1qZLeak0Ra16qpeOg==" + "resolved" "https://registry.npmjs.org/@ethersproject/hdnode/-/hdnode-5.7.0.tgz" + "version" "5.7.0" dependencies: "@ethersproject/abstract-signer" "^5.7.0" "@ethersproject/basex" "^5.7.0" @@ -1391,10 +1451,10 @@ "@ethersproject/transactions" "^5.7.0" "@ethersproject/wordlists" "^5.7.0" -"@ethersproject/json-wallets@5.7.0", "@ethersproject/json-wallets@^5.7.0": - version "5.7.0" - resolved "https://registry.yarnpkg.com/@ethersproject/json-wallets/-/json-wallets-5.7.0.tgz#5e3355287b548c32b368d91014919ebebddd5360" - integrity sha512-8oee5Xgu6+RKgJTkvEMl2wDgSPSAQ9MB/3JYjFV9jlKvcYHUXZC+cQp0njgmxdHkYWn8s6/IqIZYm0YWCjO/0g== +"@ethersproject/json-wallets@^5.7.0", "@ethersproject/json-wallets@5.7.0": + "integrity" "sha512-8oee5Xgu6+RKgJTkvEMl2wDgSPSAQ9MB/3JYjFV9jlKvcYHUXZC+cQp0njgmxdHkYWn8s6/IqIZYm0YWCjO/0g==" + "resolved" "https://registry.npmjs.org/@ethersproject/json-wallets/-/json-wallets-5.7.0.tgz" + "version" "5.7.0" dependencies: "@ethersproject/abstract-signer" "^5.7.0" "@ethersproject/address" "^5.7.0" @@ -1407,55 +1467,133 @@ "@ethersproject/random" "^5.7.0" "@ethersproject/strings" "^5.7.0" "@ethersproject/transactions" "^5.7.0" - aes-js "3.0.0" - scrypt-js "3.0.1" + "aes-js" "3.0.0" + "scrypt-js" "3.0.1" -"@ethersproject/keccak256@5.7.0", "@ethersproject/keccak256@^5.5.0", "@ethersproject/keccak256@^5.7.0": - version "5.7.0" - resolved "https://registry.yarnpkg.com/@ethersproject/keccak256/-/keccak256-5.7.0.tgz#3186350c6e1cd6aba7940384ec7d6d9db01f335a" - integrity sha512-2UcPboeL/iW+pSg6vZ6ydF8tCnv3Iu/8tUmLLzWWGzxWKFFqOBQFLo6uLUv6BDrLgCDfN28RJ/wtByx+jZ4KBg== +"@ethersproject/keccak256@^5.5.0", "@ethersproject/keccak256@^5.7.0", "@ethersproject/keccak256@5.7.0": + "integrity" "sha512-2UcPboeL/iW+pSg6vZ6ydF8tCnv3Iu/8tUmLLzWWGzxWKFFqOBQFLo6uLUv6BDrLgCDfN28RJ/wtByx+jZ4KBg==" + "resolved" "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.7.0.tgz" + "version" "5.7.0" dependencies: "@ethersproject/bytes" "^5.7.0" - js-sha3 "0.8.0" + "js-sha3" "0.8.0" + +"@ethersproject/logger@^5.7.0", "@ethersproject/logger@5.7.0": + "integrity" "sha512-0odtFdXu/XHtjQXJYA3u9G0G8btm0ND5Cu8M7i5vhEcE8/HmF4Lbdqanwyv4uQTr2tx6b7fQRmgLrsnpQlmnig==" + "resolved" "https://registry.npmjs.org/@ethersproject/logger/-/logger-5.7.0.tgz" + "version" "5.7.0" -"@ethersproject/logger@5.7.0", "@ethersproject/logger@^5.7.0": - version "5.7.0" - resolved "https://registry.yarnpkg.com/@ethersproject/logger/-/logger-5.7.0.tgz#6ce9ae168e74fecf287be17062b590852c311892" - integrity sha512-0odtFdXu/XHtjQXJYA3u9G0G8btm0ND5Cu8M7i5vhEcE8/HmF4Lbdqanwyv4uQTr2tx6b7fQRmgLrsnpQlmnig== +"@ethersproject/networks@^5.0.1", "@ethersproject/networks@^5.4.0", "@ethersproject/networks@^5.7.0", "@ethersproject/networks@5.7.1": + "integrity" "sha512-n/MufjFYv3yFcUyfhnXotyDlNdFb7onmkSy8aQERi2PjNcnWQ66xXxa3XlS8nCcA8aJKJjIIMNJTC7tu80GwpQ==" + "resolved" "https://registry.npmjs.org/@ethersproject/networks/-/networks-5.7.1.tgz" + "version" "5.7.1" + dependencies: + "@ethersproject/logger" "^5.7.0" "@ethersproject/networks@5.7.0": - version "5.7.0" - resolved "https://registry.yarnpkg.com/@ethersproject/networks/-/networks-5.7.0.tgz#df72a392f1a63a57f87210515695a31a245845ad" - integrity sha512-MG6oHSQHd4ebvJrleEQQ4HhVu8Ichr0RDYEfHzsVAVjHNM+w36x9wp9r+hf1JstMXtseXDtkiVoARAG6M959AA== + "integrity" "sha512-MG6oHSQHd4ebvJrleEQQ4HhVu8Ichr0RDYEfHzsVAVjHNM+w36x9wp9r+hf1JstMXtseXDtkiVoARAG6M959AA==" + "resolved" "https://registry.npmjs.org/@ethersproject/networks/-/networks-5.7.0.tgz" + "version" "5.7.0" dependencies: "@ethersproject/logger" "^5.7.0" -"@ethersproject/networks@5.7.1", "@ethersproject/networks@^5.0.1", "@ethersproject/networks@^5.4.0", "@ethersproject/networks@^5.7.0": - version "5.7.1" - resolved "https://registry.yarnpkg.com/@ethersproject/networks/-/networks-5.7.1.tgz#118e1a981d757d45ccea6bb58d9fd3d9db14ead6" - integrity sha512-n/MufjFYv3yFcUyfhnXotyDlNdFb7onmkSy8aQERi2PjNcnWQ66xXxa3XlS8nCcA8aJKJjIIMNJTC7tu80GwpQ== +"@ethersproject/pbkdf2@^5.7.0", "@ethersproject/pbkdf2@5.7.0": + "integrity" "sha512-oR/dBRZR6GTyaofd86DehG72hY6NpAjhabkhxgr3X2FpJtJuodEl2auADWBZfhDHgVCbu3/H/Ocq2uC6dpNjjw==" + "resolved" "https://registry.npmjs.org/@ethersproject/pbkdf2/-/pbkdf2-5.7.0.tgz" + "version" "5.7.0" + dependencies: + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/sha2" "^5.7.0" + +"@ethersproject/properties@^5.7.0", "@ethersproject/properties@5.7.0": + "integrity" "sha512-J87jy8suntrAkIZtecpxEPxY//szqr1mlBaYlQ0r4RCaiD2hjheqF9s1LVE8vVuJCXisjIP+JgtK/Do54ej4Sw==" + "resolved" "https://registry.npmjs.org/@ethersproject/properties/-/properties-5.7.0.tgz" + "version" "5.7.0" dependencies: "@ethersproject/logger" "^5.7.0" -"@ethersproject/pbkdf2@5.7.0", "@ethersproject/pbkdf2@^5.7.0": - version "5.7.0" - resolved "https://registry.yarnpkg.com/@ethersproject/pbkdf2/-/pbkdf2-5.7.0.tgz#d2267d0a1f6e123f3771007338c47cccd83d3102" - integrity sha512-oR/dBRZR6GTyaofd86DehG72hY6NpAjhabkhxgr3X2FpJtJuodEl2auADWBZfhDHgVCbu3/H/Ocq2uC6dpNjjw== +"@ethersproject/providers@^5.0.4": + "integrity" "sha512-g34EWZ1WWAVgr4aptGlVBF8mhl3VWjv+8hoAnzStu8Ah22VHBsuGzP17eb6xDVRzw895G4W7vvx60lFFur/1Rg==" + "resolved" "https://registry.npmjs.org/@ethersproject/providers/-/providers-5.7.2.tgz" + "version" "5.7.2" dependencies: + "@ethersproject/abstract-provider" "^5.7.0" + "@ethersproject/abstract-signer" "^5.7.0" + "@ethersproject/address" "^5.7.0" + "@ethersproject/base64" "^5.7.0" + "@ethersproject/basex" "^5.7.0" + "@ethersproject/bignumber" "^5.7.0" "@ethersproject/bytes" "^5.7.0" + "@ethersproject/constants" "^5.7.0" + "@ethersproject/hash" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + "@ethersproject/networks" "^5.7.0" + "@ethersproject/properties" "^5.7.0" + "@ethersproject/random" "^5.7.0" + "@ethersproject/rlp" "^5.7.0" "@ethersproject/sha2" "^5.7.0" + "@ethersproject/strings" "^5.7.0" + "@ethersproject/transactions" "^5.7.0" + "@ethersproject/web" "^5.7.0" + "bech32" "1.1.4" + "ws" "7.4.6" -"@ethersproject/properties@5.7.0", "@ethersproject/properties@^5.7.0": - version "5.7.0" - resolved "https://registry.yarnpkg.com/@ethersproject/properties/-/properties-5.7.0.tgz#a6e12cb0439b878aaf470f1902a176033067ed30" - integrity sha512-J87jy8suntrAkIZtecpxEPxY//szqr1mlBaYlQ0r4RCaiD2hjheqF9s1LVE8vVuJCXisjIP+JgtK/Do54ej4Sw== +"@ethersproject/providers@^5.4.0": + "integrity" "sha512-g34EWZ1WWAVgr4aptGlVBF8mhl3VWjv+8hoAnzStu8Ah22VHBsuGzP17eb6xDVRzw895G4W7vvx60lFFur/1Rg==" + "resolved" "https://registry.npmjs.org/@ethersproject/providers/-/providers-5.7.2.tgz" + "version" "5.7.2" dependencies: + "@ethersproject/abstract-provider" "^5.7.0" + "@ethersproject/abstract-signer" "^5.7.0" + "@ethersproject/address" "^5.7.0" + "@ethersproject/base64" "^5.7.0" + "@ethersproject/basex" "^5.7.0" + "@ethersproject/bignumber" "^5.7.0" + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/constants" "^5.7.0" + "@ethersproject/hash" "^5.7.0" "@ethersproject/logger" "^5.7.0" + "@ethersproject/networks" "^5.7.0" + "@ethersproject/properties" "^5.7.0" + "@ethersproject/random" "^5.7.0" + "@ethersproject/rlp" "^5.7.0" + "@ethersproject/sha2" "^5.7.0" + "@ethersproject/strings" "^5.7.0" + "@ethersproject/transactions" "^5.7.0" + "@ethersproject/web" "^5.7.0" + "bech32" "1.1.4" + "ws" "7.4.6" + +"@ethersproject/providers@^5.7.0": + "integrity" "sha512-g34EWZ1WWAVgr4aptGlVBF8mhl3VWjv+8hoAnzStu8Ah22VHBsuGzP17eb6xDVRzw895G4W7vvx60lFFur/1Rg==" + "resolved" "https://registry.npmjs.org/@ethersproject/providers/-/providers-5.7.2.tgz" + "version" "5.7.2" + dependencies: + "@ethersproject/abstract-provider" "^5.7.0" + "@ethersproject/abstract-signer" "^5.7.0" + "@ethersproject/address" "^5.7.0" + "@ethersproject/base64" "^5.7.0" + "@ethersproject/basex" "^5.7.0" + "@ethersproject/bignumber" "^5.7.0" + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/constants" "^5.7.0" + "@ethersproject/hash" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + "@ethersproject/networks" "^5.7.0" + "@ethersproject/properties" "^5.7.0" + "@ethersproject/random" "^5.7.0" + "@ethersproject/rlp" "^5.7.0" + "@ethersproject/sha2" "^5.7.0" + "@ethersproject/strings" "^5.7.0" + "@ethersproject/transactions" "^5.7.0" + "@ethersproject/web" "^5.7.0" + "bech32" "1.1.4" + "ws" "7.4.6" "@ethersproject/providers@5.7.0": - version "5.7.0" - resolved "https://registry.yarnpkg.com/@ethersproject/providers/-/providers-5.7.0.tgz#a885cfc7650a64385e7b03ac86fe9c2d4a9c2c63" - integrity sha512-+TTrrINMzZ0aXtlwO/95uhAggKm4USLm1PbeCBR/3XZ7+Oey+3pMyddzZEyRhizHpy1HXV0FRWRMI1O3EGYibA== + "integrity" "sha512-+TTrrINMzZ0aXtlwO/95uhAggKm4USLm1PbeCBR/3XZ7+Oey+3pMyddzZEyRhizHpy1HXV0FRWRMI1O3EGYibA==" + "resolved" "https://registry.npmjs.org/@ethersproject/providers/-/providers-5.7.0.tgz" + "version" "5.7.0" dependencies: "@ethersproject/abstract-provider" "^5.7.0" "@ethersproject/abstract-signer" "^5.7.0" @@ -1475,13 +1613,13 @@ "@ethersproject/strings" "^5.7.0" "@ethersproject/transactions" "^5.7.0" "@ethersproject/web" "^5.7.0" - bech32 "1.1.4" - ws "7.4.6" + "bech32" "1.1.4" + "ws" "7.4.6" -"@ethersproject/providers@5.7.2", "@ethersproject/providers@^5.0.4", "@ethersproject/providers@^5.4.0", "@ethersproject/providers@^5.7.0": - version "5.7.2" - resolved "https://registry.yarnpkg.com/@ethersproject/providers/-/providers-5.7.2.tgz#f8b1a4f275d7ce58cf0a2eec222269a08beb18cb" - integrity sha512-g34EWZ1WWAVgr4aptGlVBF8mhl3VWjv+8hoAnzStu8Ah22VHBsuGzP17eb6xDVRzw895G4W7vvx60lFFur/1Rg== +"@ethersproject/providers@5.7.2": + "integrity" "sha512-g34EWZ1WWAVgr4aptGlVBF8mhl3VWjv+8hoAnzStu8Ah22VHBsuGzP17eb6xDVRzw895G4W7vvx60lFFur/1Rg==" + "resolved" "https://registry.npmjs.org/@ethersproject/providers/-/providers-5.7.2.tgz" + "version" "5.7.2" dependencies: "@ethersproject/abstract-provider" "^5.7.0" "@ethersproject/abstract-signer" "^5.7.0" @@ -1501,50 +1639,50 @@ "@ethersproject/strings" "^5.7.0" "@ethersproject/transactions" "^5.7.0" "@ethersproject/web" "^5.7.0" - bech32 "1.1.4" - ws "7.4.6" + "bech32" "1.1.4" + "ws" "7.4.6" -"@ethersproject/random@5.7.0", "@ethersproject/random@^5.7.0": - version "5.7.0" - resolved "https://registry.yarnpkg.com/@ethersproject/random/-/random-5.7.0.tgz#af19dcbc2484aae078bb03656ec05df66253280c" - integrity sha512-19WjScqRA8IIeWclFme75VMXSBvi4e6InrUNuaR4s5pTF2qNhcGdCUwdxUVGtDDqC00sDLCO93jPQoDUH4HVmQ== +"@ethersproject/random@^5.7.0", "@ethersproject/random@5.7.0": + "integrity" "sha512-19WjScqRA8IIeWclFme75VMXSBvi4e6InrUNuaR4s5pTF2qNhcGdCUwdxUVGtDDqC00sDLCO93jPQoDUH4HVmQ==" + "resolved" "https://registry.npmjs.org/@ethersproject/random/-/random-5.7.0.tgz" + "version" "5.7.0" dependencies: "@ethersproject/bytes" "^5.7.0" "@ethersproject/logger" "^5.7.0" -"@ethersproject/rlp@5.7.0", "@ethersproject/rlp@^5.5.0", "@ethersproject/rlp@^5.7.0": - version "5.7.0" - resolved "https://registry.yarnpkg.com/@ethersproject/rlp/-/rlp-5.7.0.tgz#de39e4d5918b9d74d46de93af80b7685a9c21304" - integrity sha512-rBxzX2vK8mVF7b0Tol44t5Tb8gomOHkj5guL+HhzQ1yBh/ydjGnpw6at+X6Iw0Kp3OzzzkcKp8N9r0W4kYSs9w== +"@ethersproject/rlp@^5.5.0", "@ethersproject/rlp@^5.7.0", "@ethersproject/rlp@5.7.0": + "integrity" "sha512-rBxzX2vK8mVF7b0Tol44t5Tb8gomOHkj5guL+HhzQ1yBh/ydjGnpw6at+X6Iw0Kp3OzzzkcKp8N9r0W4kYSs9w==" + "resolved" "https://registry.npmjs.org/@ethersproject/rlp/-/rlp-5.7.0.tgz" + "version" "5.7.0" dependencies: "@ethersproject/bytes" "^5.7.0" "@ethersproject/logger" "^5.7.0" -"@ethersproject/sha2@5.7.0", "@ethersproject/sha2@^5.7.0": - version "5.7.0" - resolved "https://registry.yarnpkg.com/@ethersproject/sha2/-/sha2-5.7.0.tgz#9a5f7a7824ef784f7f7680984e593a800480c9fb" - integrity sha512-gKlH42riwb3KYp0reLsFTokByAKoJdgFCwI+CCiX/k+Jm2mbNs6oOaCjYQSlI1+XBVejwH2KrmCbMAT/GnRDQw== +"@ethersproject/sha2@^5.7.0", "@ethersproject/sha2@5.7.0": + "integrity" "sha512-gKlH42riwb3KYp0reLsFTokByAKoJdgFCwI+CCiX/k+Jm2mbNs6oOaCjYQSlI1+XBVejwH2KrmCbMAT/GnRDQw==" + "resolved" "https://registry.npmjs.org/@ethersproject/sha2/-/sha2-5.7.0.tgz" + "version" "5.7.0" dependencies: "@ethersproject/bytes" "^5.7.0" "@ethersproject/logger" "^5.7.0" - hash.js "1.1.7" + "hash.js" "1.1.7" -"@ethersproject/signing-key@5.7.0", "@ethersproject/signing-key@^5.4.0", "@ethersproject/signing-key@^5.7.0": - version "5.7.0" - resolved "https://registry.yarnpkg.com/@ethersproject/signing-key/-/signing-key-5.7.0.tgz#06b2df39411b00bc57c7c09b01d1e41cf1b16ab3" - integrity sha512-MZdy2nL3wO0u7gkB4nA/pEf8lu1TlFswPNmy8AiYkfKTdO6eXBJyUdmHO/ehm/htHw9K/qF8ujnTyUAD+Ry54Q== +"@ethersproject/signing-key@^5.4.0", "@ethersproject/signing-key@^5.7.0", "@ethersproject/signing-key@5.7.0": + "integrity" "sha512-MZdy2nL3wO0u7gkB4nA/pEf8lu1TlFswPNmy8AiYkfKTdO6eXBJyUdmHO/ehm/htHw9K/qF8ujnTyUAD+Ry54Q==" + "resolved" "https://registry.npmjs.org/@ethersproject/signing-key/-/signing-key-5.7.0.tgz" + "version" "5.7.0" dependencies: "@ethersproject/bytes" "^5.7.0" "@ethersproject/logger" "^5.7.0" "@ethersproject/properties" "^5.7.0" - bn.js "^5.2.1" - elliptic "6.5.4" - hash.js "1.1.7" + "bn.js" "^5.2.1" + "elliptic" "6.5.4" + "hash.js" "1.1.7" -"@ethersproject/solidity@5.7.0", "@ethersproject/solidity@^5.0.0", "@ethersproject/solidity@^5.0.1", "@ethersproject/solidity@^5.0.9", "@ethersproject/solidity@^5.4.0": - version "5.7.0" - resolved "https://registry.yarnpkg.com/@ethersproject/solidity/-/solidity-5.7.0.tgz#5e9c911d8a2acce2a5ebb48a5e2e0af20b631cb8" - integrity sha512-HmabMd2Dt/raavyaGukF4XxizWKhKQ24DoLtdNbBmNKUOPqwjsKQSdV9GQtj9CBEea9DlzETlVER1gYeXXBGaA== +"@ethersproject/solidity@^5.0.0", "@ethersproject/solidity@^5.0.1", "@ethersproject/solidity@^5.0.9", "@ethersproject/solidity@^5.4.0", "@ethersproject/solidity@5.7.0": + "integrity" "sha512-HmabMd2Dt/raavyaGukF4XxizWKhKQ24DoLtdNbBmNKUOPqwjsKQSdV9GQtj9CBEea9DlzETlVER1gYeXXBGaA==" + "resolved" "https://registry.npmjs.org/@ethersproject/solidity/-/solidity-5.7.0.tgz" + "version" "5.7.0" dependencies: "@ethersproject/bignumber" "^5.7.0" "@ethersproject/bytes" "^5.7.0" @@ -1553,19 +1691,19 @@ "@ethersproject/sha2" "^5.7.0" "@ethersproject/strings" "^5.7.0" -"@ethersproject/strings@5.7.0", "@ethersproject/strings@^5.7.0": - version "5.7.0" - resolved "https://registry.yarnpkg.com/@ethersproject/strings/-/strings-5.7.0.tgz#54c9d2a7c57ae8f1205c88a9d3a56471e14d5ed2" - integrity sha512-/9nu+lj0YswRNSH0NXYqrh8775XNyEdUQAuf3f+SmOrnVewcJ5SBNAjF7lpgehKi4abvNNXyf+HX86czCdJ8Mg== +"@ethersproject/strings@^5.7.0", "@ethersproject/strings@5.7.0": + "integrity" "sha512-/9nu+lj0YswRNSH0NXYqrh8775XNyEdUQAuf3f+SmOrnVewcJ5SBNAjF7lpgehKi4abvNNXyf+HX86czCdJ8Mg==" + "resolved" "https://registry.npmjs.org/@ethersproject/strings/-/strings-5.7.0.tgz" + "version" "5.7.0" dependencies: "@ethersproject/bytes" "^5.7.0" "@ethersproject/constants" "^5.7.0" "@ethersproject/logger" "^5.7.0" -"@ethersproject/transactions@5.7.0", "@ethersproject/transactions@^5.4.0", "@ethersproject/transactions@^5.6.2", "@ethersproject/transactions@^5.7.0": - version "5.7.0" - resolved "https://registry.yarnpkg.com/@ethersproject/transactions/-/transactions-5.7.0.tgz#91318fc24063e057885a6af13fdb703e1f993d3b" - integrity sha512-kmcNicCp1lp8qanMTC3RIikGgoJ80ztTyvtsFvCYpSCfkjhD0jZ2LOrnbcuxuToLIUYYf+4XwD1rP+B/erDIhQ== +"@ethersproject/transactions@^5.4.0", "@ethersproject/transactions@^5.6.2", "@ethersproject/transactions@^5.7.0", "@ethersproject/transactions@5.7.0": + "integrity" "sha512-kmcNicCp1lp8qanMTC3RIikGgoJ80ztTyvtsFvCYpSCfkjhD0jZ2LOrnbcuxuToLIUYYf+4XwD1rP+B/erDIhQ==" + "resolved" "https://registry.npmjs.org/@ethersproject/transactions/-/transactions-5.7.0.tgz" + "version" "5.7.0" dependencies: "@ethersproject/address" "^5.7.0" "@ethersproject/bignumber" "^5.7.0" @@ -1577,19 +1715,19 @@ "@ethersproject/rlp" "^5.7.0" "@ethersproject/signing-key" "^5.7.0" -"@ethersproject/units@5.7.0", "@ethersproject/units@^5.7.0": - version "5.7.0" - resolved "https://registry.yarnpkg.com/@ethersproject/units/-/units-5.7.0.tgz#637b563d7e14f42deeee39245275d477aae1d8b1" - integrity sha512-pD3xLMy3SJu9kG5xDGI7+xhTEmGXlEqXU4OfNapmfnxLVY4EMSSRp7j1k7eezutBPH7RBN/7QPnwR7hzNlEFeg== +"@ethersproject/units@^5.7.0", "@ethersproject/units@5.7.0": + "integrity" "sha512-pD3xLMy3SJu9kG5xDGI7+xhTEmGXlEqXU4OfNapmfnxLVY4EMSSRp7j1k7eezutBPH7RBN/7QPnwR7hzNlEFeg==" + "resolved" "https://registry.npmjs.org/@ethersproject/units/-/units-5.7.0.tgz" + "version" "5.7.0" dependencies: "@ethersproject/bignumber" "^5.7.0" "@ethersproject/constants" "^5.7.0" "@ethersproject/logger" "^5.7.0" -"@ethersproject/wallet@5.7.0", "@ethersproject/wallet@^5.7.0": - version "5.7.0" - resolved "https://registry.yarnpkg.com/@ethersproject/wallet/-/wallet-5.7.0.tgz#4e5d0790d96fe21d61d38fb40324e6c7ef350b2d" - integrity sha512-MhmXlJXEJFBFVKrDLB4ZdDzxcBxQ3rLyCkhNqVu3CDYvR97E+8r01UgrI+TI99Le+aYm/in/0vp86guJuM7FCA== +"@ethersproject/wallet@^5.7.0", "@ethersproject/wallet@5.7.0": + "integrity" "sha512-MhmXlJXEJFBFVKrDLB4ZdDzxcBxQ3rLyCkhNqVu3CDYvR97E+8r01UgrI+TI99Le+aYm/in/0vp86guJuM7FCA==" + "resolved" "https://registry.npmjs.org/@ethersproject/wallet/-/wallet-5.7.0.tgz" + "version" "5.7.0" dependencies: "@ethersproject/abstract-provider" "^5.7.0" "@ethersproject/abstract-signer" "^5.7.0" @@ -1607,10 +1745,10 @@ "@ethersproject/transactions" "^5.7.0" "@ethersproject/wordlists" "^5.7.0" -"@ethersproject/web@5.7.1", "@ethersproject/web@^5.7.0": - version "5.7.1" - resolved "https://registry.yarnpkg.com/@ethersproject/web/-/web-5.7.1.tgz#de1f285b373149bee5928f4eb7bcb87ee5fbb4ae" - integrity sha512-Gueu8lSvyjBWL4cYsWsjh6MtMwM0+H4HvqFPZfB6dV8ctbP9zFAO73VG1cMWae0FLPCtz0peKPpZY8/ugJJX2w== +"@ethersproject/web@^5.7.0", "@ethersproject/web@5.7.1": + "integrity" "sha512-Gueu8lSvyjBWL4cYsWsjh6MtMwM0+H4HvqFPZfB6dV8ctbP9zFAO73VG1cMWae0FLPCtz0peKPpZY8/ugJJX2w==" + "resolved" "https://registry.npmjs.org/@ethersproject/web/-/web-5.7.1.tgz" + "version" "5.7.1" dependencies: "@ethersproject/base64" "^5.7.0" "@ethersproject/bytes" "^5.7.0" @@ -1618,10 +1756,10 @@ "@ethersproject/properties" "^5.7.0" "@ethersproject/strings" "^5.7.0" -"@ethersproject/wordlists@5.7.0", "@ethersproject/wordlists@^5.7.0": - version "5.7.0" - resolved "https://registry.yarnpkg.com/@ethersproject/wordlists/-/wordlists-5.7.0.tgz#8fb2c07185d68c3e09eb3bfd6e779ba2774627f5" - integrity sha512-S2TFNJNfHWVHNE6cNDjbVlZ6MgE17MIxMbMg2zv3wn+3XSJGosL1m9ZVv3GXCf/2ymSsQ+hRI5IzoMJTG6aoVA== +"@ethersproject/wordlists@^5.7.0", "@ethersproject/wordlists@5.7.0": + "integrity" "sha512-S2TFNJNfHWVHNE6cNDjbVlZ6MgE17MIxMbMg2zv3wn+3XSJGosL1m9ZVv3GXCf/2ymSsQ+hRI5IzoMJTG6aoVA==" + "resolved" "https://registry.npmjs.org/@ethersproject/wordlists/-/wordlists-5.7.0.tgz" + "version" "5.7.0" dependencies: "@ethersproject/bytes" "^5.7.0" "@ethersproject/hash" "^5.7.0" @@ -1630,118 +1768,136 @@ "@ethersproject/strings" "^5.7.0" "@findeth/abi@^0.3.0": - version "0.3.1" - resolved "https://registry.yarnpkg.com/@findeth/abi/-/abi-0.3.1.tgz#fe9a25211bc0c840c8bc53f937fd9af7278b9dab" - integrity sha512-T9HUVEjEgM0MzVLY4gs52ffz5AlHeC3CSGFcEzL4ojKMVzMxa3na1GW/XCmunrhnWP2cDh4fE2MhqLxA0CHqTw== + "integrity" "sha512-T9HUVEjEgM0MzVLY4gs52ffz5AlHeC3CSGFcEzL4ojKMVzMxa3na1GW/XCmunrhnWP2cDh4fE2MhqLxA0CHqTw==" + "resolved" "https://registry.npmjs.org/@findeth/abi/-/abi-0.3.1.tgz" + "version" "0.3.1" dependencies: - keccak "^3.0.0" + "keccak" "^3.0.0" "@fractalwagmi/popup-connection@^1.0.18": - version "1.0.21" - resolved "https://registry.yarnpkg.com/@fractalwagmi/popup-connection/-/popup-connection-1.0.21.tgz#a1d76c8e6f0efa2187795c7d9db648ffaffb25f2" - integrity sha512-LpEpRwn7Y4rn58NZ/i1MAnQENyYpill4rI4MNjmXWexxIlzdiloQqF8gXqef3sMQgi4EbHLfizyn02gGtxQhjg== + "integrity" "sha512-LpEpRwn7Y4rn58NZ/i1MAnQENyYpill4rI4MNjmXWexxIlzdiloQqF8gXqef3sMQgi4EbHLfizyn02gGtxQhjg==" + "resolved" "https://registry.npmjs.org/@fractalwagmi/popup-connection/-/popup-connection-1.0.21.tgz" + "version" "1.0.21" "@fractalwagmi/solana-wallet-adapter@^0.1.1": - version "0.1.1" - resolved "https://registry.yarnpkg.com/@fractalwagmi/solana-wallet-adapter/-/solana-wallet-adapter-0.1.1.tgz#13d97bca657007a62b2118ea60f5d9e73f654a37" - integrity sha512-oTZLEuD+zLKXyhZC5tDRMPKPj8iaxKLxXiCjqRfOo4xmSbS2izGRWLJbKMYYsJysn/OI3UJ3P6CWP8WUWi0dZg== + "integrity" "sha512-oTZLEuD+zLKXyhZC5tDRMPKPj8iaxKLxXiCjqRfOo4xmSbS2izGRWLJbKMYYsJysn/OI3UJ3P6CWP8WUWi0dZg==" + "resolved" "https://registry.npmjs.org/@fractalwagmi/solana-wallet-adapter/-/solana-wallet-adapter-0.1.1.tgz" + "version" "0.1.1" dependencies: "@fractalwagmi/popup-connection" "^1.0.18" "@solana/wallet-adapter-base" "^0.9.17" - bs58 "^5.0.0" + "bs58" "^5.0.0" "@graphql-tools/batch-execute@8.5.1": - version "8.5.1" - resolved "https://registry.yarnpkg.com/@graphql-tools/batch-execute/-/batch-execute-8.5.1.tgz#fa3321d58c64041650be44250b1ebc3aab0ba7a9" - integrity sha512-hRVDduX0UDEneVyEWtc2nu5H2PxpfSfM/riUlgZvo/a/nG475uyehxR5cFGvTEPEQUKY3vGIlqvtRigzqTfCew== + "integrity" "sha512-hRVDduX0UDEneVyEWtc2nu5H2PxpfSfM/riUlgZvo/a/nG475uyehxR5cFGvTEPEQUKY3vGIlqvtRigzqTfCew==" + "resolved" "https://registry.npmjs.org/@graphql-tools/batch-execute/-/batch-execute-8.5.1.tgz" + "version" "8.5.1" dependencies: "@graphql-tools/utils" "8.9.0" - dataloader "2.1.0" - tslib "^2.4.0" - value-or-promise "1.0.11" + "dataloader" "2.1.0" + "tslib" "^2.4.0" + "value-or-promise" "1.0.11" "@graphql-tools/delegate@^8.4.3": - version "8.8.1" - resolved "https://registry.yarnpkg.com/@graphql-tools/delegate/-/delegate-8.8.1.tgz#0653a72f38947f38ab7917dfac50ebf6a6b883e9" - integrity sha512-NDcg3GEQmdEHlnF7QS8b4lM1PSF+DKeFcIlLEfZFBvVq84791UtJcDj8734sIHLukmyuAxXMfA1qLd2l4lZqzA== + "integrity" "sha512-NDcg3GEQmdEHlnF7QS8b4lM1PSF+DKeFcIlLEfZFBvVq84791UtJcDj8734sIHLukmyuAxXMfA1qLd2l4lZqzA==" + "resolved" "https://registry.npmjs.org/@graphql-tools/delegate/-/delegate-8.8.1.tgz" + "version" "8.8.1" dependencies: "@graphql-tools/batch-execute" "8.5.1" "@graphql-tools/schema" "8.5.1" "@graphql-tools/utils" "8.9.0" - dataloader "2.1.0" - tslib "~2.4.0" - value-or-promise "1.0.11" + "dataloader" "2.1.0" + "tslib" "~2.4.0" + "value-or-promise" "1.0.11" "@graphql-tools/merge@8.3.1": - version "8.3.1" - resolved "https://registry.yarnpkg.com/@graphql-tools/merge/-/merge-8.3.1.tgz#06121942ad28982a14635dbc87b5d488a041d722" - integrity sha512-BMm99mqdNZbEYeTPK3it9r9S6rsZsQKtlqJsSBknAclXq2pGEfOxjcIZi+kBSkHZKPKCRrYDd5vY0+rUmIHVLg== + "integrity" "sha512-BMm99mqdNZbEYeTPK3it9r9S6rsZsQKtlqJsSBknAclXq2pGEfOxjcIZi+kBSkHZKPKCRrYDd5vY0+rUmIHVLg==" + "resolved" "https://registry.npmjs.org/@graphql-tools/merge/-/merge-8.3.1.tgz" + "version" "8.3.1" dependencies: "@graphql-tools/utils" "8.9.0" - tslib "^2.4.0" + "tslib" "^2.4.0" "@graphql-tools/merge@8.4.0": - version "8.4.0" - resolved "https://registry.yarnpkg.com/@graphql-tools/merge/-/merge-8.4.0.tgz#47fbe5c4b6764276dc35bd19c4e7d3c46d3dc0fc" - integrity sha512-3XYCWe0d3I4F1azNj1CdShlbHfTIfiDgj00R9uvFH8tHKh7i1IWN3F7QQYovcHKhayaR6zPok3YYMESYQcBoaA== + "integrity" "sha512-3XYCWe0d3I4F1azNj1CdShlbHfTIfiDgj00R9uvFH8tHKh7i1IWN3F7QQYovcHKhayaR6zPok3YYMESYQcBoaA==" + "resolved" "https://registry.npmjs.org/@graphql-tools/merge/-/merge-8.4.0.tgz" + "version" "8.4.0" dependencies: "@graphql-tools/utils" "9.2.1" - tslib "^2.4.0" + "tslib" "^2.4.0" "@graphql-tools/mock@^8.1.2": - version "8.7.19" - resolved "https://registry.yarnpkg.com/@graphql-tools/mock/-/mock-8.7.19.tgz#b6c01ecc44074a01d6f472213de5f56fe0a3380c" - integrity sha512-LT2boYM+Y1vGFEhzmC7xDFRL8RPG20FbNcuk2/hHGH0Kh8K1hkItvL89tul3Pl7N6xerOnDZ3c3fx7Ls5GuFxA== + "integrity" "sha512-LT2boYM+Y1vGFEhzmC7xDFRL8RPG20FbNcuk2/hHGH0Kh8K1hkItvL89tul3Pl7N6xerOnDZ3c3fx7Ls5GuFxA==" + "resolved" "https://registry.npmjs.org/@graphql-tools/mock/-/mock-8.7.19.tgz" + "version" "8.7.19" dependencies: "@graphql-tools/schema" "9.0.17" "@graphql-tools/utils" "9.2.1" - fast-json-stable-stringify "^2.1.0" - tslib "^2.4.0" + "fast-json-stable-stringify" "^2.1.0" + "tslib" "^2.4.0" -"@graphql-tools/schema@8.5.1", "@graphql-tools/schema@^8.0.0", "@graphql-tools/schema@^8.3.1": - version "8.5.1" - resolved "https://registry.yarnpkg.com/@graphql-tools/schema/-/schema-8.5.1.tgz#c2f2ff1448380919a330312399c9471db2580b58" - integrity sha512-0Esilsh0P/qYcB5DKQpiKeQs/jevzIadNTaT0jeWklPMwNbT7yMX4EqZany7mbeRRlSRwMzNzL5olyFdffHBZg== +"@graphql-tools/schema@^8.0.0", "@graphql-tools/schema@^8.3.1", "@graphql-tools/schema@8.5.1": + "integrity" "sha512-0Esilsh0P/qYcB5DKQpiKeQs/jevzIadNTaT0jeWklPMwNbT7yMX4EqZany7mbeRRlSRwMzNzL5olyFdffHBZg==" + "resolved" "https://registry.npmjs.org/@graphql-tools/schema/-/schema-8.5.1.tgz" + "version" "8.5.1" dependencies: "@graphql-tools/merge" "8.3.1" "@graphql-tools/utils" "8.9.0" - tslib "^2.4.0" - value-or-promise "1.0.11" + "tslib" "^2.4.0" + "value-or-promise" "1.0.11" "@graphql-tools/schema@9.0.17": - version "9.0.17" - resolved "https://registry.yarnpkg.com/@graphql-tools/schema/-/schema-9.0.17.tgz#d731e9899465f88d5b9bf69e607ec465bb88b062" - integrity sha512-HVLq0ecbkuXhJlpZ50IHP5nlISqH2GbNgjBJhhRzHeXhfwlUOT4ISXGquWTmuq61K0xSaO0aCjMpxe4QYbKTng== + "integrity" "sha512-HVLq0ecbkuXhJlpZ50IHP5nlISqH2GbNgjBJhhRzHeXhfwlUOT4ISXGquWTmuq61K0xSaO0aCjMpxe4QYbKTng==" + "resolved" "https://registry.npmjs.org/@graphql-tools/schema/-/schema-9.0.17.tgz" + "version" "9.0.17" dependencies: "@graphql-tools/merge" "8.4.0" "@graphql-tools/utils" "9.2.1" - tslib "^2.4.0" - value-or-promise "1.0.12" + "tslib" "^2.4.0" + "value-or-promise" "1.0.12" "@graphql-tools/utils@8.9.0": - version "8.9.0" - resolved "https://registry.yarnpkg.com/@graphql-tools/utils/-/utils-8.9.0.tgz#c6aa5f651c9c99e1aca55510af21b56ec296cdb7" - integrity sha512-pjJIWH0XOVnYGXCqej8g/u/tsfV4LvLlj0eATKQu5zwnxd/TiTHq7Cg313qUPTFFHZ3PP5wJ15chYVtLDwaymg== + "integrity" "sha512-pjJIWH0XOVnYGXCqej8g/u/tsfV4LvLlj0eATKQu5zwnxd/TiTHq7Cg313qUPTFFHZ3PP5wJ15chYVtLDwaymg==" + "resolved" "https://registry.npmjs.org/@graphql-tools/utils/-/utils-8.9.0.tgz" + "version" "8.9.0" dependencies: - tslib "^2.4.0" + "tslib" "^2.4.0" "@graphql-tools/utils@9.2.1": - version "9.2.1" - resolved "https://registry.yarnpkg.com/@graphql-tools/utils/-/utils-9.2.1.tgz#1b3df0ef166cfa3eae706e3518b17d5922721c57" - integrity sha512-WUw506Ql6xzmOORlriNrD6Ugx+HjVgYxt9KCXD9mHAak+eaXSwuGGPyE60hy9xaDEoXKBsG7SkG69ybitaVl6A== + "integrity" "sha512-WUw506Ql6xzmOORlriNrD6Ugx+HjVgYxt9KCXD9mHAak+eaXSwuGGPyE60hy9xaDEoXKBsG7SkG69ybitaVl6A==" + "resolved" "https://registry.npmjs.org/@graphql-tools/utils/-/utils-9.2.1.tgz" + "version" "9.2.1" dependencies: "@graphql-typed-document-node/core" "^3.1.1" - tslib "^2.4.0" + "tslib" "^2.4.0" "@graphql-typed-document-node/core@^3.1.1": - version "3.2.0" - resolved "https://registry.yarnpkg.com/@graphql-typed-document-node/core/-/core-3.2.0.tgz#5f3d96ec6b2354ad6d8a28bf216a1d97b5426861" - integrity sha512-mB9oAsNCm9aM3/SOv4YtBMqZbYj10R7dkq8byBqxGY/ncFwhf2oQzMV+LCRlWoDSEBJ3COiR1yeDvMtsoOsuFQ== + "integrity" "sha512-mB9oAsNCm9aM3/SOv4YtBMqZbYj10R7dkq8byBqxGY/ncFwhf2oQzMV+LCRlWoDSEBJ3COiR1yeDvMtsoOsuFQ==" + "resolved" "https://registry.npmjs.org/@graphql-typed-document-node/core/-/core-3.2.0.tgz" + "version" "3.2.0" + +"@grpc/grpc-js@^1.9.9": + "integrity" "sha512-vQ1qwi/Kiyprt+uhb1+rHMpyk4CVRMTGNUGGPRGS7pLNfWkdCHrGEnT6T3/JyC2VZgoOX/X1KwdoU0WYQAeYcQ==" + "resolved" "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.9.9.tgz" + "version" "1.9.9" + dependencies: + "@grpc/proto-loader" "^0.7.8" + "@types/node" ">=12.12.47" + +"@grpc/proto-loader@^0.7.10", "@grpc/proto-loader@^0.7.8": + "integrity" "sha512-CAqDfoaQ8ykFd9zqBDn4k6iWT9loLAlc2ETmDFS9JCD70gDcnA4L3AFEo2iV7KyAtAAHFW9ftq1Fz+Vsgq80RQ==" + "resolved" "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.7.10.tgz" + "version" "0.7.10" + dependencies: + "lodash.camelcase" "^4.3.0" + "long" "^5.0.0" + "protobufjs" "^7.2.4" + "yargs" "^17.7.2" "@harmony-js/account@0.1.56": - version "0.1.56" - resolved "https://registry.yarnpkg.com/@harmony-js/account/-/account-0.1.56.tgz#74d008d199b81af6bd554a6cc455c882e85d61e7" - integrity sha512-VX3+NAirUxxowAc2QBuKEpHSN0XGYHqogYIf63XGFfg2BACS3RdN/tkJTzPPyIPejEKC3yDylm5c+8NzmsOjhQ== + "integrity" "sha512-VX3+NAirUxxowAc2QBuKEpHSN0XGYHqogYIf63XGFfg2BACS3RdN/tkJTzPPyIPejEKC3yDylm5c+8NzmsOjhQ==" + "resolved" "https://registry.npmjs.org/@harmony-js/account/-/account-0.1.56.tgz" + "version" "0.1.56" dependencies: "@harmony-js/core" "0.1.56" "@harmony-js/crypto" "0.1.56" @@ -1751,9 +1907,9 @@ "@harmony-js/utils" "0.1.56" "@harmony-js/account@0.1.57": - version "0.1.57" - resolved "https://registry.yarnpkg.com/@harmony-js/account/-/account-0.1.57.tgz#d6e1e4955658ab25e89f512e12d9d9ecd28c738d" - integrity sha512-2Q0aX49m9IDDf9AvQHEgnxVBfvQ4wnXJqMo1y3g+9VuoyibNLFy/7GRwywwjrKTtfERXegTGHdZYo/CCO0PrpQ== + "integrity" "sha512-2Q0aX49m9IDDf9AvQHEgnxVBfvQ4wnXJqMo1y3g+9VuoyibNLFy/7GRwywwjrKTtfERXegTGHdZYo/CCO0PrpQ==" + "resolved" "https://registry.npmjs.org/@harmony-js/account/-/account-0.1.57.tgz" + "version" "0.1.57" dependencies: "@harmony-js/core" "0.1.57" "@harmony-js/crypto" "0.1.56" @@ -1763,9 +1919,9 @@ "@harmony-js/utils" "0.1.56" "@harmony-js/contract@0.1.56": - version "0.1.56" - resolved "https://registry.yarnpkg.com/@harmony-js/contract/-/contract-0.1.56.tgz#cfe8ffca6332008137f248d5bce59c4f3c5f22f3" - integrity sha512-4yKBjUtMkiaMvhwbEFps7qZV/NIWRgkJuO2yZYsqbkzdFf3eMXXrq60HpDZcWhNf+rsL0VpDso9i09mW+DDZJQ== + "integrity" "sha512-4yKBjUtMkiaMvhwbEFps7qZV/NIWRgkJuO2yZYsqbkzdFf3eMXXrq60HpDZcWhNf+rsL0VpDso9i09mW+DDZJQ==" + "resolved" "https://registry.npmjs.org/@harmony-js/contract/-/contract-0.1.56.tgz" + "version" "0.1.56" dependencies: "@harmony-js/account" "0.1.56" "@harmony-js/crypto" "0.1.56" @@ -1773,12 +1929,12 @@ "@harmony-js/transaction" "0.1.56" "@harmony-js/utils" "0.1.56" -"@harmony-js/core@0.1.56": - version "0.1.56" - resolved "https://registry.yarnpkg.com/@harmony-js/core/-/core-0.1.56.tgz#52c986c0ecfa881b57aaeb0448ae92d2d30c3f18" - integrity sha512-mYVIewX2oL0PHZJU64HD65M/QMA756d19MosATRqbfj8MLLgdMdTuXHF525NWDRxBiYlSh6BGSNJakNbtq8g3Q== +"@harmony-js/core@^0.1.57", "@harmony-js/core@0.1.57": + "integrity" "sha512-4d48MoR/3xabsoiV0fXjVwtL4u9AeNO72+UZWSZl2ZzrPvij2ucn14wvIZwCL69xJwD4bsqgy68Ju+DRLFVW3A==" + "resolved" "https://registry.npmjs.org/@harmony-js/core/-/core-0.1.57.tgz" + "version" "0.1.57" dependencies: - "@harmony-js/account" "0.1.56" + "@harmony-js/account" "0.1.57" "@harmony-js/contract" "0.1.56" "@harmony-js/crypto" "0.1.56" "@harmony-js/network" "0.1.56" @@ -1786,12 +1942,12 @@ "@harmony-js/transaction" "0.1.56" "@harmony-js/utils" "0.1.56" -"@harmony-js/core@0.1.57", "@harmony-js/core@^0.1.57": - version "0.1.57" - resolved "https://registry.yarnpkg.com/@harmony-js/core/-/core-0.1.57.tgz#bf10eb017f0086868fa8aefab097894e7b36acb3" - integrity sha512-4d48MoR/3xabsoiV0fXjVwtL4u9AeNO72+UZWSZl2ZzrPvij2ucn14wvIZwCL69xJwD4bsqgy68Ju+DRLFVW3A== +"@harmony-js/core@0.1.56": + "integrity" "sha512-mYVIewX2oL0PHZJU64HD65M/QMA756d19MosATRqbfj8MLLgdMdTuXHF525NWDRxBiYlSh6BGSNJakNbtq8g3Q==" + "resolved" "https://registry.npmjs.org/@harmony-js/core/-/core-0.1.56.tgz" + "version" "0.1.56" dependencies: - "@harmony-js/account" "0.1.57" + "@harmony-js/account" "0.1.56" "@harmony-js/contract" "0.1.56" "@harmony-js/crypto" "0.1.56" "@harmony-js/network" "0.1.56" @@ -1800,172 +1956,172 @@ "@harmony-js/utils" "0.1.56" "@harmony-js/crypto@0.1.56": - version "0.1.56" - resolved "https://registry.yarnpkg.com/@harmony-js/crypto/-/crypto-0.1.56.tgz#62bdd850de8b98df6049bd2c43e096113852287d" - integrity sha512-JMOWte8d3HXO2b038MqQpZ6al6OHsB9aZTretuzijxwrOIOdPKu9sDNHhmyJhQTIOKqG2+gErlj9AclZbXGk5g== + "integrity" "sha512-JMOWte8d3HXO2b038MqQpZ6al6OHsB9aZTretuzijxwrOIOdPKu9sDNHhmyJhQTIOKqG2+gErlj9AclZbXGk5g==" + "resolved" "https://registry.npmjs.org/@harmony-js/crypto/-/crypto-0.1.56.tgz" + "version" "0.1.56" dependencies: "@harmony-js/utils" "0.1.56" - aes-js "^3.1.2" - bip39 "^2.5.0" - bn.js "^4.11.8" - elliptic "^6.4.1" - hdkey "^1.1.1" - hmac-drbg "^1.0.1" - js-sha3 "^0.8.0" - pbkdf2 "^3.0.17" - scrypt-shim "github:web3-js/scrypt-shim" - uuid "^3.3.2" + "aes-js" "^3.1.2" + "bip39" "^2.5.0" + "bn.js" "^4.11.8" + "elliptic" "^6.4.1" + "hdkey" "^1.1.1" + "hmac-drbg" "^1.0.1" + "js-sha3" "^0.8.0" + "pbkdf2" "^3.0.17" + "scrypt-shim" "github:web3-js/scrypt-shim" + "uuid" "^3.3.2" "@harmony-js/network@0.1.56": - version "0.1.56" - resolved "https://registry.yarnpkg.com/@harmony-js/network/-/network-0.1.56.tgz#86d08923d5963fb8ad15cb3beb85de045afd9969" - integrity sha512-ItwgvQPjcFyVKKa1mFAqRMno6yyp1cjM2UNIdHOHtWG+H8BgObcw2ZM4LJpAPVF/XSoaTcZZwfB2hD7zOFnnYQ== + "integrity" "sha512-ItwgvQPjcFyVKKa1mFAqRMno6yyp1cjM2UNIdHOHtWG+H8BgObcw2ZM4LJpAPVF/XSoaTcZZwfB2hD7zOFnnYQ==" + "resolved" "https://registry.npmjs.org/@harmony-js/network/-/network-0.1.56.tgz" + "version" "0.1.56" dependencies: "@harmony-js/utils" "0.1.56" - cross-fetch "^3.0.2" - mitt "^1.2.0" - websocket "^1.0.28" + "cross-fetch" "^3.0.2" + "mitt" "^1.2.0" + "websocket" "^1.0.28" "@harmony-js/staking@0.1.56": - version "0.1.56" - resolved "https://registry.yarnpkg.com/@harmony-js/staking/-/staking-0.1.56.tgz#34a0c873760b54f68c1301aa2567572d338b8810" - integrity sha512-i0tliihg/7llJNp3uMjW5NZjJzLGz9iIESA4ST/cD2yT3KeRviwmlQPVf4uZpxIlmGgtk/oR4tLPLzmZEgSTOw== + "integrity" "sha512-i0tliihg/7llJNp3uMjW5NZjJzLGz9iIESA4ST/cD2yT3KeRviwmlQPVf4uZpxIlmGgtk/oR4tLPLzmZEgSTOw==" + "resolved" "https://registry.npmjs.org/@harmony-js/staking/-/staking-0.1.56.tgz" + "version" "0.1.56" dependencies: "@harmony-js/crypto" "0.1.56" "@harmony-js/network" "0.1.56" "@harmony-js/transaction" "0.1.56" "@harmony-js/utils" "0.1.56" - text-encoding "^0.7.0" + "text-encoding" "^0.7.0" "@harmony-js/transaction@0.1.56": - version "0.1.56" - resolved "https://registry.yarnpkg.com/@harmony-js/transaction/-/transaction-0.1.56.tgz#6b68607ccd83b0d9c1871dbaf5bfdb5152203e7f" - integrity sha512-+eX1+xBGsi6aGMyeZf7cvd2gncItPPifP7Hyjh9wNxbpyxpgBLvVnhD8hGaUQ6MJ9xJkFeWfkQPduEQBsCZj7A== + "integrity" "sha512-+eX1+xBGsi6aGMyeZf7cvd2gncItPPifP7Hyjh9wNxbpyxpgBLvVnhD8hGaUQ6MJ9xJkFeWfkQPduEQBsCZj7A==" + "resolved" "https://registry.npmjs.org/@harmony-js/transaction/-/transaction-0.1.56.tgz" + "version" "0.1.56" dependencies: "@harmony-js/crypto" "0.1.56" "@harmony-js/network" "0.1.56" "@harmony-js/utils" "0.1.56" -"@harmony-js/utils@0.1.56", "@harmony-js/utils@^0.1.56": - version "0.1.56" - resolved "https://registry.yarnpkg.com/@harmony-js/utils/-/utils-0.1.56.tgz#89d77d07989ecfb5679776917f2b78b7b698c854" - integrity sha512-XoYYIMoK/mSxPkxFd25dY/wScIWWevoTrHoFdlFd8N7GWlilfdgQEF5vO+4BA6hyDJ4ryfdLnGc6W6Hz+5qs2A== +"@harmony-js/utils@^0.1.56", "@harmony-js/utils@0.1.56": + "integrity" "sha512-XoYYIMoK/mSxPkxFd25dY/wScIWWevoTrHoFdlFd8N7GWlilfdgQEF5vO+4BA6hyDJ4ryfdLnGc6W6Hz+5qs2A==" + "resolved" "https://registry.npmjs.org/@harmony-js/utils/-/utils-0.1.56.tgz" + "version" "0.1.56" dependencies: "@types/bn.js" "^4.11.3" - bn.js "^4.11.8" + "bn.js" "^4.11.8" "@humanwhocodes/config-array@^0.5.0": - version "0.5.0" - resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.5.0.tgz#1407967d4c6eecd7388f83acf1eaf4d0c6e58ef9" - integrity sha512-FagtKFz74XrTl7y6HCzQpwDfXP0yhxe9lHLD1UZxjvZIcbyRz8zTFF/yYNfSfzU414eDwZ1SrO0Qvtyf+wFMQg== + "integrity" "sha512-FagtKFz74XrTl7y6HCzQpwDfXP0yhxe9lHLD1UZxjvZIcbyRz8zTFF/yYNfSfzU414eDwZ1SrO0Qvtyf+wFMQg==" + "resolved" "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.5.0.tgz" + "version" "0.5.0" dependencies: "@humanwhocodes/object-schema" "^1.2.0" - debug "^4.1.1" - minimatch "^3.0.4" + "debug" "^4.1.1" + "minimatch" "^3.0.4" "@humanwhocodes/object-schema@^1.2.0": - version "1.2.1" - resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz#b520529ec21d8e5945a1851dfd1c32e94e39ff45" - integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA== + "integrity" "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==" + "resolved" "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz" + "version" "1.2.1" "@improbable-eng/grpc-web@^0.13.0": - version "0.13.0" - resolved "https://registry.yarnpkg.com/@improbable-eng/grpc-web/-/grpc-web-0.13.0.tgz#289e6fc4dafc00b1af8e2b93b970e6892299014d" - integrity sha512-vaxxT+Qwb7GPqDQrBV4vAAfH0HywgOLw6xGIKXd9Q8hcV63CQhmS3p4+pZ9/wVvt4Ph3ZDK9fdC983b9aGMUFg== + "integrity" "sha512-vaxxT+Qwb7GPqDQrBV4vAAfH0HywgOLw6xGIKXd9Q8hcV63CQhmS3p4+pZ9/wVvt4Ph3ZDK9fdC983b9aGMUFg==" + "resolved" "https://registry.npmjs.org/@improbable-eng/grpc-web/-/grpc-web-0.13.0.tgz" + "version" "0.13.0" dependencies: - browser-headers "^0.4.0" + "browser-headers" "^0.4.0" "@injectivelabs/chain-api@1.9.9": - version "1.9.9" - resolved "https://registry.yarnpkg.com/@injectivelabs/chain-api/-/chain-api-1.9.9.tgz#8dbdbf64a4c2880db8ce34c5e2b6d68543bf2333" - integrity sha512-hOsyBReyemJGMGUXgW1zmeI8YPpnkDliXnpOGA84X7FWxoM2htkycQHW01dB1FIWnMdx3IOVSMNxi34vxUPEdA== + "integrity" "sha512-hOsyBReyemJGMGUXgW1zmeI8YPpnkDliXnpOGA84X7FWxoM2htkycQHW01dB1FIWnMdx3IOVSMNxi34vxUPEdA==" + "resolved" "https://registry.npmjs.org/@injectivelabs/chain-api/-/chain-api-1.9.9.tgz" + "version" "1.9.9" dependencies: "@improbable-eng/grpc-web" "^0.13.0" - google-protobuf "^3.13.0" + "google-protobuf" "^3.13.0" "@injectivelabs/core-proto-ts@^0.0.12": - version "0.0.12" - resolved "https://registry.yarnpkg.com/@injectivelabs/core-proto-ts/-/core-proto-ts-0.0.12.tgz#77dd5e774ed2591f6f41156db33a281a3522c588" - integrity sha512-axdL+KWuv4aORIdYqJQy5k9H+bPsi5Y4KWNcYPxrFQ0FAu+sjpvm5PmbIzBSgv/hnIB2cHcLuKvE3BtEa3vJ/w== + "integrity" "sha512-axdL+KWuv4aORIdYqJQy5k9H+bPsi5Y4KWNcYPxrFQ0FAu+sjpvm5PmbIzBSgv/hnIB2cHcLuKvE3BtEa3vJ/w==" + "resolved" "https://registry.npmjs.org/@injectivelabs/core-proto-ts/-/core-proto-ts-0.0.12.tgz" + "version" "0.0.12" dependencies: "@injectivelabs/grpc-web" "^0.0.1" - google-protobuf "^3.14.0" - protobufjs "^7.0.0" - rxjs "^7.4.0" + "google-protobuf" "^3.14.0" + "protobufjs" "^7.0.0" + "rxjs" "^7.4.0" "@injectivelabs/core-proto-ts@^0.0.18": - version "0.0.18" - resolved "https://registry.yarnpkg.com/@injectivelabs/core-proto-ts/-/core-proto-ts-0.0.18.tgz#aa60ffde2b52cbbf80a18ba77833ecad605d8fd6" - integrity sha512-WSZS7SQ+I/m8jdc7fhzkMTUhA7i5nVTeKbN6QGqKmOwQ/F+PqM75vDHD9Y9NbLPx9P+m7hyUzSHz4zmajth5jw== + "integrity" "sha512-WSZS7SQ+I/m8jdc7fhzkMTUhA7i5nVTeKbN6QGqKmOwQ/F+PqM75vDHD9Y9NbLPx9P+m7hyUzSHz4zmajth5jw==" + "resolved" "https://registry.npmjs.org/@injectivelabs/core-proto-ts/-/core-proto-ts-0.0.18.tgz" + "version" "0.0.18" dependencies: "@injectivelabs/grpc-web" "^0.0.1" - google-protobuf "^3.14.0" - protobufjs "^7.0.0" - rxjs "^7.4.0" + "google-protobuf" "^3.14.0" + "protobufjs" "^7.0.0" + "rxjs" "^7.4.0" "@injectivelabs/exceptions@^1.10.6": - version "1.10.6" - resolved "https://registry.yarnpkg.com/@injectivelabs/exceptions/-/exceptions-1.10.6.tgz#7d3e23d1123148afe050064e8524be1e58e55f0f" - integrity sha512-bJvsDIYfX9vBu5eXA80bqzipsBbvHTNhnrKfB4TheG5jX9lihbuyguDOZv8mZmP4nPGi2XfSCT+3TVFCzzPrFg== + "integrity" "sha512-bJvsDIYfX9vBu5eXA80bqzipsBbvHTNhnrKfB4TheG5jX9lihbuyguDOZv8mZmP4nPGi2XfSCT+3TVFCzzPrFg==" + "resolved" "https://registry.npmjs.org/@injectivelabs/exceptions/-/exceptions-1.10.6.tgz" + "version" "1.10.6" dependencies: "@injectivelabs/grpc-web" "^0.0.1" "@injectivelabs/ts-types" "^1.10.5" - http-status-codes "^2.2.0" - link-module-alias "^1.2.0" - shx "^0.3.2" + "http-status-codes" "^2.2.0" + "link-module-alias" "^1.2.0" + "shx" "^0.3.2" "@injectivelabs/grpc-web-node-http-transport@^0.0.2": - version "0.0.2" - resolved "https://registry.yarnpkg.com/@injectivelabs/grpc-web-node-http-transport/-/grpc-web-node-http-transport-0.0.2.tgz#87c9bbd4db1f70cf18d6a55b54b2cf17d3cf30c0" - integrity sha512-rpyhXLiGY/UMs6v6YmgWHJHiO9l0AgDyVNv+jcutNVt4tQrmNvnpvz2wCAGOFtq5LuX/E9ChtTVpk3gWGqXcGA== + "integrity" "sha512-rpyhXLiGY/UMs6v6YmgWHJHiO9l0AgDyVNv+jcutNVt4tQrmNvnpvz2wCAGOFtq5LuX/E9ChtTVpk3gWGqXcGA==" + "resolved" "https://registry.npmjs.org/@injectivelabs/grpc-web-node-http-transport/-/grpc-web-node-http-transport-0.0.2.tgz" + "version" "0.0.2" "@injectivelabs/grpc-web-react-native-transport@^0.0.2": - version "0.0.2" - resolved "https://registry.yarnpkg.com/@injectivelabs/grpc-web-react-native-transport/-/grpc-web-react-native-transport-0.0.2.tgz#07601b76bf1f165c7a9b97ee42d0d42b9e2b76fa" - integrity sha512-mk+aukQXnYNgPsPnu3KBi+FD0ZHQpazIlaBZ2jNZG7QAVmxTWtv3R66Zoq99Wx2dnE946NsZBYAoa0K5oSjnow== + "integrity" "sha512-mk+aukQXnYNgPsPnu3KBi+FD0ZHQpazIlaBZ2jNZG7QAVmxTWtv3R66Zoq99Wx2dnE946NsZBYAoa0K5oSjnow==" + "resolved" "https://registry.npmjs.org/@injectivelabs/grpc-web-react-native-transport/-/grpc-web-react-native-transport-0.0.2.tgz" + "version" "0.0.2" "@injectivelabs/grpc-web@^0.0.1": - version "0.0.1" - resolved "https://registry.yarnpkg.com/@injectivelabs/grpc-web/-/grpc-web-0.0.1.tgz#24c028f6db50e589e30505efd2077110c8b492ba" - integrity sha512-Pu5YgaZp+OvR5UWfqbrPdHer3+gDf+b5fQoY+t2VZx1IAVHX8bzbN9EreYTvTYtFeDpYRWM8P7app2u4EX5wTw== + "integrity" "sha512-Pu5YgaZp+OvR5UWfqbrPdHer3+gDf+b5fQoY+t2VZx1IAVHX8bzbN9EreYTvTYtFeDpYRWM8P7app2u4EX5wTw==" + "resolved" "https://registry.npmjs.org/@injectivelabs/grpc-web/-/grpc-web-0.0.1.tgz" + "version" "0.0.1" dependencies: - browser-headers "^0.4.1" + "browser-headers" "^0.4.1" "@injectivelabs/indexer-proto-ts@1.10.8-rc.4": - version "1.10.8-rc.4" - resolved "https://registry.yarnpkg.com/@injectivelabs/indexer-proto-ts/-/indexer-proto-ts-1.10.8-rc.4.tgz#ab8424cd713bb5a69ab130b64bf0b3f9f9089946" - integrity sha512-IwbepTfsHHAv3Z36As6yH/+HIplOEpUu6SFHBCVgdSIaQ8GuvTib4HETiVnV4mjYqoyVgWs+zLSAfih46rdMJQ== + "integrity" "sha512-IwbepTfsHHAv3Z36As6yH/+HIplOEpUu6SFHBCVgdSIaQ8GuvTib4HETiVnV4mjYqoyVgWs+zLSAfih46rdMJQ==" + "resolved" "https://registry.npmjs.org/@injectivelabs/indexer-proto-ts/-/indexer-proto-ts-1.10.8-rc.4.tgz" + "version" "1.10.8-rc.4" dependencies: "@injectivelabs/grpc-web" "^0.0.1" - google-protobuf "^3.14.0" - protobufjs "^7.0.0" - rxjs "^7.4.0" + "google-protobuf" "^3.14.0" + "protobufjs" "^7.0.0" + "rxjs" "^7.4.0" "@injectivelabs/mito-proto-ts@1.0.9": - version "1.0.9" - resolved "https://registry.yarnpkg.com/@injectivelabs/mito-proto-ts/-/mito-proto-ts-1.0.9.tgz#ad04165ad63f52a9f67082318e0620cccc4986f2" - integrity sha512-+TZMvJ4SHwcn6SFPdqaiQFZdNhjH7hyRFozY15nOTC2utdGij9jEsjz1NsyOejfYDA0s1z5Wm1SgrMYKaVpAmQ== + "integrity" "sha512-+TZMvJ4SHwcn6SFPdqaiQFZdNhjH7hyRFozY15nOTC2utdGij9jEsjz1NsyOejfYDA0s1z5Wm1SgrMYKaVpAmQ==" + "resolved" "https://registry.npmjs.org/@injectivelabs/mito-proto-ts/-/mito-proto-ts-1.0.9.tgz" + "version" "1.0.9" dependencies: "@injectivelabs/grpc-web" "^0.0.1" - google-protobuf "^3.14.0" - protobufjs "^7.0.0" - rxjs "^7.4.0" + "google-protobuf" "^3.14.0" + "protobufjs" "^7.0.0" + "rxjs" "^7.4.0" "@injectivelabs/networks@^1.10.8": - version "1.10.8" - resolved "https://registry.yarnpkg.com/@injectivelabs/networks/-/networks-1.10.8.tgz#96d8723203feb891999bab0a5bae9191c3994b61" - integrity sha512-/yVgC7uDzuq1ERmlqdVcVwEfYk9/5KFJySNtz2TcpfhAPAzsIcw9ccoUDKig6DohkAW0DtJFna9marVndM5g5w== + "integrity" "sha512-/yVgC7uDzuq1ERmlqdVcVwEfYk9/5KFJySNtz2TcpfhAPAzsIcw9ccoUDKig6DohkAW0DtJFna9marVndM5g5w==" + "resolved" "https://registry.npmjs.org/@injectivelabs/networks/-/networks-1.10.8.tgz" + "version" "1.10.8" dependencies: "@injectivelabs/exceptions" "^1.10.6" "@injectivelabs/ts-types" "^1.10.5" "@injectivelabs/utils" "^1.10.6" - link-module-alias "^1.2.0" - shx "^0.3.2" + "link-module-alias" "^1.2.0" + "shx" "^0.3.2" "@injectivelabs/sdk-ts@^1.10.58": - version "1.10.58" - resolved "https://registry.yarnpkg.com/@injectivelabs/sdk-ts/-/sdk-ts-1.10.58.tgz#fd452c3919ccb70ae0c3102a410b7334d2013704" - integrity sha512-1OnpHFjWBiQRLo33AU44ndYGBWUOVQjNaRSq0KYOzbOZlJDd2xmJGXIIKmBsD2Qg/xlTyweJwm6EQcQVvP80mg== + "integrity" "sha512-1OnpHFjWBiQRLo33AU44ndYGBWUOVQjNaRSq0KYOzbOZlJDd2xmJGXIIKmBsD2Qg/xlTyweJwm6EQcQVvP80mg==" + "resolved" "https://registry.npmjs.org/@injectivelabs/sdk-ts/-/sdk-ts-1.10.58.tgz" + "version" "1.10.58" dependencies: "@apollo/client" "^3.5.8" "@cosmjs/amino" "^0.30.1" @@ -1985,89 +2141,89 @@ "@injectivelabs/ts-types" "^1.10.5" "@injectivelabs/utils" "^1.10.6" "@metamask/eth-sig-util" "^4.0.0" - axios "^0.27.2" - bech32 "^2.0.0" - bip39 "^3.0.4" - cosmjs-types "^0.7.1" - eth-crypto "^2.6.0" - ethereumjs-util "^7.1.4" - ethers "^5.7.2" - google-protobuf "^3.21.0" - graphql "^16.3.0" - http-status-codes "^2.2.0" - js-sha3 "^0.8.0" - jscrypto "^1.0.3" - keccak256 "^1.0.6" - link-module-alias "^1.2.0" - rxjs "^7.8.0" - secp256k1 "^4.0.3" - shx "^0.3.2" - snakecase-keys "^5.4.1" + "axios" "^0.27.2" + "bech32" "^2.0.0" + "bip39" "^3.0.4" + "cosmjs-types" "^0.7.1" + "eth-crypto" "^2.6.0" + "ethereumjs-util" "^7.1.4" + "ethers" "^5.7.2" + "google-protobuf" "^3.21.0" + "graphql" "^16.3.0" + "http-status-codes" "^2.2.0" + "js-sha3" "^0.8.0" + "jscrypto" "^1.0.3" + "keccak256" "^1.0.6" + "link-module-alias" "^1.2.0" + "rxjs" "^7.8.0" + "secp256k1" "^4.0.3" + "shx" "^0.3.2" + "snakecase-keys" "^5.4.1" "@injectivelabs/test-utils@^1.10.3": - version "1.10.3" - resolved "https://registry.yarnpkg.com/@injectivelabs/test-utils/-/test-utils-1.10.3.tgz#38be0fcea1af04aa1c02ba0fc647239c880fc385" - integrity sha512-5lSGj8eo4tXMRcIdA1JCKEDlFdWvFvnGp08rogCjrrUooELWU+OMQhweS8+0zgcnjR569BE1VCluH1wE8MZCKg== + "integrity" "sha512-5lSGj8eo4tXMRcIdA1JCKEDlFdWvFvnGp08rogCjrrUooELWU+OMQhweS8+0zgcnjR569BE1VCluH1wE8MZCKg==" + "resolved" "https://registry.npmjs.org/@injectivelabs/test-utils/-/test-utils-1.10.3.tgz" + "version" "1.10.3" dependencies: - axios "^0.21.1" - bignumber.js "^9.0.1" - link-module-alias "^1.2.0" - shx "^0.3.2" - snakecase-keys "^5.1.2" - store2 "^2.12.0" + "axios" "^0.21.1" + "bignumber.js" "^9.0.1" + "link-module-alias" "^1.2.0" + "shx" "^0.3.2" + "snakecase-keys" "^5.1.2" + "store2" "^2.12.0" "@injectivelabs/token-metadata@^1.10.31": - version "1.10.31" - resolved "https://registry.yarnpkg.com/@injectivelabs/token-metadata/-/token-metadata-1.10.31.tgz#a61b8488fffd843c18bad8c43490af8eeda764a4" - integrity sha512-FnLWHgtT7HQRDD7jdETKw0LnxBi1iYytLA7rR2vPUiPoHBvRHw2OiIwqDJ19NatIEV4kE7tBtg3v76h5veiAFg== + "integrity" "sha512-FnLWHgtT7HQRDD7jdETKw0LnxBi1iYytLA7rR2vPUiPoHBvRHw2OiIwqDJ19NatIEV4kE7tBtg3v76h5veiAFg==" + "resolved" "https://registry.npmjs.org/@injectivelabs/token-metadata/-/token-metadata-1.10.31.tgz" + "version" "1.10.31" dependencies: "@injectivelabs/exceptions" "^1.10.6" "@injectivelabs/networks" "^1.10.8" "@injectivelabs/ts-types" "^1.10.5" "@injectivelabs/utils" "^1.10.6" "@types/lodash.values" "^4.3.6" - copyfiles "^2.4.1" - jsonschema "^1.4.0" - link-module-alias "^1.2.0" - lodash "^4.17.21" - lodash.values "^4.3.0" - shx "^0.3.2" + "copyfiles" "^2.4.1" + "jsonschema" "^1.4.0" + "link-module-alias" "^1.2.0" + "lodash" "^4.17.21" + "lodash.values" "^4.3.0" + "shx" "^0.3.2" "@injectivelabs/ts-types@^1.0.29": - version "1.0.39" - resolved "https://registry.yarnpkg.com/@injectivelabs/ts-types/-/ts-types-1.0.39.tgz#87e552aa42eec4f022d54429b51dd26bbd9eb364" - integrity sha512-K0sVn4AbEaltBTHlTzaHOvSWEqMGWHruMulYEsc6NlMjf+5i/1i66BzgvRkV1dj4VDagEjVNeooioLhbDAYYeg== + "integrity" "sha512-K0sVn4AbEaltBTHlTzaHOvSWEqMGWHruMulYEsc6NlMjf+5i/1i66BzgvRkV1dj4VDagEjVNeooioLhbDAYYeg==" + "resolved" "https://registry.npmjs.org/@injectivelabs/ts-types/-/ts-types-1.0.39.tgz" + "version" "1.0.39" dependencies: - link-module-alias "^1.2.0" - shx "^0.3.2" + "link-module-alias" "^1.2.0" + "shx" "^0.3.2" "@injectivelabs/ts-types@^1.10.5": - version "1.10.5" - resolved "https://registry.yarnpkg.com/@injectivelabs/ts-types/-/ts-types-1.10.5.tgz#c8672fe6b1394162ec1828590051c92062799ac8" - integrity sha512-VdiF1DAOUxjhAAD3r9a6njpNkCH3nX6cP+ADwn1nCdDGjeltSdMpq2O45FcfZZkbchb+qcyNRJpusWPd0rFn3w== + "integrity" "sha512-VdiF1DAOUxjhAAD3r9a6njpNkCH3nX6cP+ADwn1nCdDGjeltSdMpq2O45FcfZZkbchb+qcyNRJpusWPd0rFn3w==" + "resolved" "https://registry.npmjs.org/@injectivelabs/ts-types/-/ts-types-1.10.5.tgz" + "version" "1.10.5" dependencies: - link-module-alias "^1.2.0" - shx "^0.3.2" + "link-module-alias" "^1.2.0" + "shx" "^0.3.2" "@injectivelabs/utils@^1.10.6": - version "1.10.6" - resolved "https://registry.yarnpkg.com/@injectivelabs/utils/-/utils-1.10.6.tgz#d01360a458edc552bd8668776bb137b34b0a6b01" - integrity sha512-JVRHmFDuo7MCsDS7ZmQ3hKiKQeRAOOKwPefcKdwa6Vc+BPJRgDEy+J84FU30jNz4imzoTjHG0c2Qq2D1K0JgXQ== + "integrity" "sha512-JVRHmFDuo7MCsDS7ZmQ3hKiKQeRAOOKwPefcKdwa6Vc+BPJRgDEy+J84FU30jNz4imzoTjHG0c2Qq2D1K0JgXQ==" + "resolved" "https://registry.npmjs.org/@injectivelabs/utils/-/utils-1.10.6.tgz" + "version" "1.10.6" dependencies: "@injectivelabs/exceptions" "^1.10.6" "@injectivelabs/ts-types" "^1.10.5" - axios "^0.21.1" - bignumber.js "^9.0.1" - http-status-codes "^2.2.0" - link-module-alias "^1.2.0" - shx "^0.3.2" - snakecase-keys "^5.1.2" - store2 "^2.12.0" + "axios" "^0.21.1" + "bignumber.js" "^9.0.1" + "http-status-codes" "^2.2.0" + "link-module-alias" "^1.2.0" + "shx" "^0.3.2" + "snakecase-keys" "^5.1.2" + "store2" "^2.12.0" "@injectivelabs/wallet-ts@^1.10.63": - version "1.10.63" - resolved "https://registry.yarnpkg.com/@injectivelabs/wallet-ts/-/wallet-ts-1.10.63.tgz#e731f7996d3e2f0c0d45bf680e628147d0ae535b" - integrity sha512-AaA40P78pPOVmrHsoqCfVrsGGcpW6Xvbww7pslg19yePzNtOmDYKc+Y5yWDi/EQrU2nnu96WR2Ouq4fNBmoB8Q== + "integrity" "sha512-AaA40P78pPOVmrHsoqCfVrsGGcpW6Xvbww7pslg19yePzNtOmDYKc+Y5yWDi/EQrU2nnu96WR2Ouq4fNBmoB8Q==" + "resolved" "https://registry.npmjs.org/@injectivelabs/wallet-ts/-/wallet-ts-1.10.63.tgz" + "version" "1.10.63" dependencies: "@cosmjs/launchpad" "0.27.1" "@cosmjs/proto-signing" "0.30.1" @@ -2091,57 +2247,57 @@ "@solana/wallet-adapter-wallets" "^0.19.5" "@toruslabs/torus-embed" "^1.39.0" "@trezor/connect-web" "^9.0.6" - alchemy-sdk "^2.6.3" - eip1193-provider "^1.0.1" - eth-sig-util "^3.0.1" - ethereumjs-util "^7.1.0" - ethers "^5.7.2" - hdkey "^2.0.1" - link-module-alias "^1.2.0" - long "^5.2.1" - shx "^0.3.3" + "alchemy-sdk" "^2.6.3" + "eip1193-provider" "^1.0.1" + "eth-sig-util" "^3.0.1" + "ethereumjs-util" "^7.1.0" + "ethers" "^5.7.2" + "hdkey" "^2.0.1" + "link-module-alias" "^1.2.0" + "long" "^5.2.1" + "shx" "^0.3.3" "@istanbuljs/load-nyc-config@^1.0.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz#fd3db1d59ecf7cf121e80650bb86712f9b55eced" - integrity sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ== + "integrity" "sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==" + "resolved" "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz" + "version" "1.1.0" dependencies: - camelcase "^5.3.1" - find-up "^4.1.0" - get-package-type "^0.1.0" - js-yaml "^3.13.1" - resolve-from "^5.0.0" + "camelcase" "^5.3.1" + "find-up" "^4.1.0" + "get-package-type" "^0.1.0" + "js-yaml" "^3.13.1" + "resolve-from" "^5.0.0" "@istanbuljs/schema@^0.1.2": - version "0.1.3" - resolved "https://registry.yarnpkg.com/@istanbuljs/schema/-/schema-0.1.3.tgz#e45e384e4b8ec16bce2fd903af78450f6bf7ec98" - integrity sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA== + "integrity" "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==" + "resolved" "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz" + "version" "0.1.3" "@jest/console@^24.9.0": - version "24.9.0" - resolved "https://registry.yarnpkg.com/@jest/console/-/console-24.9.0.tgz#79b1bc06fb74a8cfb01cbdedf945584b1b9707f0" - integrity sha512-Zuj6b8TnKXi3q4ymac8EQfc3ea/uhLeCGThFqXeC8H9/raaH8ARPUTdId+XyGd03Z4In0/VjD2OYFcBF09fNLQ== + "integrity" "sha512-Zuj6b8TnKXi3q4ymac8EQfc3ea/uhLeCGThFqXeC8H9/raaH8ARPUTdId+XyGd03Z4In0/VjD2OYFcBF09fNLQ==" + "resolved" "https://registry.npmjs.org/@jest/console/-/console-24.9.0.tgz" + "version" "24.9.0" dependencies: "@jest/source-map" "^24.9.0" - chalk "^2.0.1" - slash "^2.0.0" + "chalk" "^2.0.1" + "slash" "^2.0.0" "@jest/console@^27.5.1": - version "27.5.1" - resolved "https://registry.yarnpkg.com/@jest/console/-/console-27.5.1.tgz#260fe7239602fe5130a94f1aa386eff54b014bba" - integrity sha512-kZ/tNpS3NXn0mlXXXPNuDZnb4c0oZ20r4K5eemM2k30ZC3G0T02nXUvyhf5YdbXWHPEJLc9qGLxEZ216MdL+Zg== + "integrity" "sha512-kZ/tNpS3NXn0mlXXXPNuDZnb4c0oZ20r4K5eemM2k30ZC3G0T02nXUvyhf5YdbXWHPEJLc9qGLxEZ216MdL+Zg==" + "resolved" "https://registry.npmjs.org/@jest/console/-/console-27.5.1.tgz" + "version" "27.5.1" dependencies: "@jest/types" "^27.5.1" "@types/node" "*" - chalk "^4.0.0" - jest-message-util "^27.5.1" - jest-util "^27.5.1" - slash "^3.0.0" + "chalk" "^4.0.0" + "jest-message-util" "^27.5.1" + "jest-util" "^27.5.1" + "slash" "^3.0.0" "@jest/core@^27.5.1": - version "27.5.1" - resolved "https://registry.yarnpkg.com/@jest/core/-/core-27.5.1.tgz#267ac5f704e09dc52de2922cbf3af9edcd64b626" - integrity sha512-AK6/UTrvQD0Cd24NSqmIA6rKsu0tKIxfiCducZvqxYdmMisOYAsdItspT+fQDQYARPf8XgjAFZi0ogW2agH5nQ== + "integrity" "sha512-AK6/UTrvQD0Cd24NSqmIA6rKsu0tKIxfiCducZvqxYdmMisOYAsdItspT+fQDQYARPf8XgjAFZi0ogW2agH5nQ==" + "resolved" "https://registry.npmjs.org/@jest/core/-/core-27.5.1.tgz" + "version" "27.5.1" dependencies: "@jest/console" "^27.5.1" "@jest/reporters" "^27.5.1" @@ -2149,64 +2305,64 @@ "@jest/transform" "^27.5.1" "@jest/types" "^27.5.1" "@types/node" "*" - ansi-escapes "^4.2.1" - chalk "^4.0.0" - emittery "^0.8.1" - exit "^0.1.2" - graceful-fs "^4.2.9" - jest-changed-files "^27.5.1" - jest-config "^27.5.1" - jest-haste-map "^27.5.1" - jest-message-util "^27.5.1" - jest-regex-util "^27.5.1" - jest-resolve "^27.5.1" - jest-resolve-dependencies "^27.5.1" - jest-runner "^27.5.1" - jest-runtime "^27.5.1" - jest-snapshot "^27.5.1" - jest-util "^27.5.1" - jest-validate "^27.5.1" - jest-watcher "^27.5.1" - micromatch "^4.0.4" - rimraf "^3.0.0" - slash "^3.0.0" - strip-ansi "^6.0.0" + "ansi-escapes" "^4.2.1" + "chalk" "^4.0.0" + "emittery" "^0.8.1" + "exit" "^0.1.2" + "graceful-fs" "^4.2.9" + "jest-changed-files" "^27.5.1" + "jest-config" "^27.5.1" + "jest-haste-map" "^27.5.1" + "jest-message-util" "^27.5.1" + "jest-regex-util" "^27.5.1" + "jest-resolve" "^27.5.1" + "jest-resolve-dependencies" "^27.5.1" + "jest-runner" "^27.5.1" + "jest-runtime" "^27.5.1" + "jest-snapshot" "^27.5.1" + "jest-util" "^27.5.1" + "jest-validate" "^27.5.1" + "jest-watcher" "^27.5.1" + "micromatch" "^4.0.4" + "rimraf" "^3.0.0" + "slash" "^3.0.0" + "strip-ansi" "^6.0.0" "@jest/environment@^27.5.1": - version "27.5.1" - resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-27.5.1.tgz#d7425820511fe7158abbecc010140c3fd3be9c74" - integrity sha512-/WQjhPJe3/ghaol/4Bq480JKXV/Rfw8nQdN7f41fM8VDHLcxKXou6QyXAh3EFr9/bVG3x74z1NWDkP87EiY8gA== + "integrity" "sha512-/WQjhPJe3/ghaol/4Bq480JKXV/Rfw8nQdN7f41fM8VDHLcxKXou6QyXAh3EFr9/bVG3x74z1NWDkP87EiY8gA==" + "resolved" "https://registry.npmjs.org/@jest/environment/-/environment-27.5.1.tgz" + "version" "27.5.1" dependencies: "@jest/fake-timers" "^27.5.1" "@jest/types" "^27.5.1" "@types/node" "*" - jest-mock "^27.5.1" + "jest-mock" "^27.5.1" "@jest/fake-timers@^27.5.1": - version "27.5.1" - resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-27.5.1.tgz#76979745ce0579c8a94a4678af7a748eda8ada74" - integrity sha512-/aPowoolwa07k7/oM3aASneNeBGCmGQsc3ugN4u6s4C/+s5M64MFo/+djTdiwcbQlRfFElGuDXWzaWj6QgKObQ== + "integrity" "sha512-/aPowoolwa07k7/oM3aASneNeBGCmGQsc3ugN4u6s4C/+s5M64MFo/+djTdiwcbQlRfFElGuDXWzaWj6QgKObQ==" + "resolved" "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-27.5.1.tgz" + "version" "27.5.1" dependencies: "@jest/types" "^27.5.1" "@sinonjs/fake-timers" "^8.0.1" "@types/node" "*" - jest-message-util "^27.5.1" - jest-mock "^27.5.1" - jest-util "^27.5.1" + "jest-message-util" "^27.5.1" + "jest-mock" "^27.5.1" + "jest-util" "^27.5.1" "@jest/globals@^27.5.1": - version "27.5.1" - resolved "https://registry.yarnpkg.com/@jest/globals/-/globals-27.5.1.tgz#7ac06ce57ab966566c7963431cef458434601b2b" - integrity sha512-ZEJNB41OBQQgGzgyInAv0UUfDDj3upmHydjieSxFvTRuZElrx7tXg/uVQ5hYVEwiXs3+aMsAeEc9X7xiSKCm4Q== + "integrity" "sha512-ZEJNB41OBQQgGzgyInAv0UUfDDj3upmHydjieSxFvTRuZElrx7tXg/uVQ5hYVEwiXs3+aMsAeEc9X7xiSKCm4Q==" + "resolved" "https://registry.npmjs.org/@jest/globals/-/globals-27.5.1.tgz" + "version" "27.5.1" dependencies: "@jest/environment" "^27.5.1" "@jest/types" "^27.5.1" - expect "^27.5.1" + "expect" "^27.5.1" "@jest/reporters@^27.5.1": - version "27.5.1" - resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-27.5.1.tgz#ceda7be96170b03c923c37987b64015812ffec04" - integrity sha512-cPXh9hWIlVJMQkVk84aIvXuBB4uQQmFqZiacloFuGiP3ah1sbCxCosidXFDfqG8+6fO1oR2dTJTlsOy4VFmUfw== + "integrity" "sha512-cPXh9hWIlVJMQkVk84aIvXuBB4uQQmFqZiacloFuGiP3ah1sbCxCosidXFDfqG8+6fO1oR2dTJTlsOy4VFmUfw==" + "resolved" "https://registry.npmjs.org/@jest/reporters/-/reporters-27.5.1.tgz" + "version" "27.5.1" dependencies: "@bcoe/v8-coverage" "^0.2.3" "@jest/console" "^27.5.1" @@ -2214,215 +2370,215 @@ "@jest/transform" "^27.5.1" "@jest/types" "^27.5.1" "@types/node" "*" - chalk "^4.0.0" - collect-v8-coverage "^1.0.0" - exit "^0.1.2" - glob "^7.1.2" - graceful-fs "^4.2.9" - istanbul-lib-coverage "^3.0.0" - istanbul-lib-instrument "^5.1.0" - istanbul-lib-report "^3.0.0" - istanbul-lib-source-maps "^4.0.0" - istanbul-reports "^3.1.3" - jest-haste-map "^27.5.1" - jest-resolve "^27.5.1" - jest-util "^27.5.1" - jest-worker "^27.5.1" - slash "^3.0.0" - source-map "^0.6.0" - string-length "^4.0.1" - terminal-link "^2.0.0" - v8-to-istanbul "^8.1.0" + "chalk" "^4.0.0" + "collect-v8-coverage" "^1.0.0" + "exit" "^0.1.2" + "glob" "^7.1.2" + "graceful-fs" "^4.2.9" + "istanbul-lib-coverage" "^3.0.0" + "istanbul-lib-instrument" "^5.1.0" + "istanbul-lib-report" "^3.0.0" + "istanbul-lib-source-maps" "^4.0.0" + "istanbul-reports" "^3.1.3" + "jest-haste-map" "^27.5.1" + "jest-resolve" "^27.5.1" + "jest-util" "^27.5.1" + "jest-worker" "^27.5.1" + "slash" "^3.0.0" + "source-map" "^0.6.0" + "string-length" "^4.0.1" + "terminal-link" "^2.0.0" + "v8-to-istanbul" "^8.1.0" "@jest/source-map@^24.9.0": - version "24.9.0" - resolved "https://registry.yarnpkg.com/@jest/source-map/-/source-map-24.9.0.tgz#0e263a94430be4b41da683ccc1e6bffe2a191714" - integrity sha512-/Xw7xGlsZb4MJzNDgB7PW5crou5JqWiBQaz6xyPd3ArOg2nfn/PunV8+olXbbEZzNl591o5rWKE9BRDaFAuIBg== + "integrity" "sha512-/Xw7xGlsZb4MJzNDgB7PW5crou5JqWiBQaz6xyPd3ArOg2nfn/PunV8+olXbbEZzNl591o5rWKE9BRDaFAuIBg==" + "resolved" "https://registry.npmjs.org/@jest/source-map/-/source-map-24.9.0.tgz" + "version" "24.9.0" dependencies: - callsites "^3.0.0" - graceful-fs "^4.1.15" - source-map "^0.6.0" + "callsites" "^3.0.0" + "graceful-fs" "^4.1.15" + "source-map" "^0.6.0" "@jest/source-map@^27.5.1": - version "27.5.1" - resolved "https://registry.yarnpkg.com/@jest/source-map/-/source-map-27.5.1.tgz#6608391e465add4205eae073b55e7f279e04e8cf" - integrity sha512-y9NIHUYF3PJRlHk98NdC/N1gl88BL08aQQgu4k4ZopQkCw9t9cV8mtl3TV8b/YCB8XaVTFrmUTAJvjsntDireg== + "integrity" "sha512-y9NIHUYF3PJRlHk98NdC/N1gl88BL08aQQgu4k4ZopQkCw9t9cV8mtl3TV8b/YCB8XaVTFrmUTAJvjsntDireg==" + "resolved" "https://registry.npmjs.org/@jest/source-map/-/source-map-27.5.1.tgz" + "version" "27.5.1" dependencies: - callsites "^3.0.0" - graceful-fs "^4.2.9" - source-map "^0.6.0" + "callsites" "^3.0.0" + "graceful-fs" "^4.2.9" + "source-map" "^0.6.0" "@jest/test-result@^24.9.0": - version "24.9.0" - resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-24.9.0.tgz#11796e8aa9dbf88ea025757b3152595ad06ba0ca" - integrity sha512-XEFrHbBonBJ8dGp2JmF8kP/nQI/ImPpygKHwQ/SY+es59Z3L5PI4Qb9TQQMAEeYsThG1xF0k6tmG0tIKATNiiA== + "integrity" "sha512-XEFrHbBonBJ8dGp2JmF8kP/nQI/ImPpygKHwQ/SY+es59Z3L5PI4Qb9TQQMAEeYsThG1xF0k6tmG0tIKATNiiA==" + "resolved" "https://registry.npmjs.org/@jest/test-result/-/test-result-24.9.0.tgz" + "version" "24.9.0" dependencies: "@jest/console" "^24.9.0" "@jest/types" "^24.9.0" "@types/istanbul-lib-coverage" "^2.0.0" "@jest/test-result@^27.5.1": - version "27.5.1" - resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-27.5.1.tgz#56a6585fa80f7cdab72b8c5fc2e871d03832f5bb" - integrity sha512-EW35l2RYFUcUQxFJz5Cv5MTOxlJIQs4I7gxzi2zVU7PJhOwfYq1MdC5nhSmYjX1gmMmLPvB3sIaC+BkcHRBfag== + "integrity" "sha512-EW35l2RYFUcUQxFJz5Cv5MTOxlJIQs4I7gxzi2zVU7PJhOwfYq1MdC5nhSmYjX1gmMmLPvB3sIaC+BkcHRBfag==" + "resolved" "https://registry.npmjs.org/@jest/test-result/-/test-result-27.5.1.tgz" + "version" "27.5.1" dependencies: "@jest/console" "^27.5.1" "@jest/types" "^27.5.1" "@types/istanbul-lib-coverage" "^2.0.0" - collect-v8-coverage "^1.0.0" + "collect-v8-coverage" "^1.0.0" "@jest/test-sequencer@^27.5.1": - version "27.5.1" - resolved "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-27.5.1.tgz#4057e0e9cea4439e544c6353c6affe58d095745b" - integrity sha512-LCheJF7WB2+9JuCS7VB/EmGIdQuhtqjRNI9A43idHv3E4KltCTsPsLxvdaubFHSYwY/fNjMWjl6vNRhDiN7vpQ== + "integrity" "sha512-LCheJF7WB2+9JuCS7VB/EmGIdQuhtqjRNI9A43idHv3E4KltCTsPsLxvdaubFHSYwY/fNjMWjl6vNRhDiN7vpQ==" + "resolved" "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-27.5.1.tgz" + "version" "27.5.1" dependencies: "@jest/test-result" "^27.5.1" - graceful-fs "^4.2.9" - jest-haste-map "^27.5.1" - jest-runtime "^27.5.1" + "graceful-fs" "^4.2.9" + "jest-haste-map" "^27.5.1" + "jest-runtime" "^27.5.1" "@jest/transform@^27.5.1": - version "27.5.1" - resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-27.5.1.tgz#6c3501dcc00c4c08915f292a600ece5ecfe1f409" - integrity sha512-ipON6WtYgl/1329g5AIJVbUuEh0wZVbdpGwC99Jw4LwuoBNS95MVphU6zOeD9pDkon+LLbFL7lOQRapbB8SCHw== + "integrity" "sha512-ipON6WtYgl/1329g5AIJVbUuEh0wZVbdpGwC99Jw4LwuoBNS95MVphU6zOeD9pDkon+LLbFL7lOQRapbB8SCHw==" + "resolved" "https://registry.npmjs.org/@jest/transform/-/transform-27.5.1.tgz" + "version" "27.5.1" dependencies: "@babel/core" "^7.1.0" "@jest/types" "^27.5.1" - babel-plugin-istanbul "^6.1.1" - chalk "^4.0.0" - convert-source-map "^1.4.0" - fast-json-stable-stringify "^2.0.0" - graceful-fs "^4.2.9" - jest-haste-map "^27.5.1" - jest-regex-util "^27.5.1" - jest-util "^27.5.1" - micromatch "^4.0.4" - pirates "^4.0.4" - slash "^3.0.0" - source-map "^0.6.1" - write-file-atomic "^3.0.0" + "babel-plugin-istanbul" "^6.1.1" + "chalk" "^4.0.0" + "convert-source-map" "^1.4.0" + "fast-json-stable-stringify" "^2.0.0" + "graceful-fs" "^4.2.9" + "jest-haste-map" "^27.5.1" + "jest-regex-util" "^27.5.1" + "jest-util" "^27.5.1" + "micromatch" "^4.0.4" + "pirates" "^4.0.4" + "slash" "^3.0.0" + "source-map" "^0.6.1" + "write-file-atomic" "^3.0.0" "@jest/types@^24.9.0": - version "24.9.0" - resolved "https://registry.yarnpkg.com/@jest/types/-/types-24.9.0.tgz#63cb26cb7500d069e5a389441a7c6ab5e909fc59" - integrity sha512-XKK7ze1apu5JWQ5eZjHITP66AX+QsLlbaJRBGYr8pNzwcAE2JVkwnf0yqjHTsDRcjR0mujy/NmZMXw5kl+kGBw== + "integrity" "sha512-XKK7ze1apu5JWQ5eZjHITP66AX+QsLlbaJRBGYr8pNzwcAE2JVkwnf0yqjHTsDRcjR0mujy/NmZMXw5kl+kGBw==" + "resolved" "https://registry.npmjs.org/@jest/types/-/types-24.9.0.tgz" + "version" "24.9.0" dependencies: "@types/istanbul-lib-coverage" "^2.0.0" "@types/istanbul-reports" "^1.1.1" "@types/yargs" "^13.0.0" "@jest/types@^27.5.1": - version "27.5.1" - resolved "https://registry.yarnpkg.com/@jest/types/-/types-27.5.1.tgz#3c79ec4a8ba61c170bf937bcf9e98a9df175ec80" - integrity sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw== + "integrity" "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==" + "resolved" "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz" + "version" "27.5.1" dependencies: "@types/istanbul-lib-coverage" "^2.0.0" "@types/istanbul-reports" "^3.0.0" "@types/node" "*" "@types/yargs" "^16.0.0" - chalk "^4.0.0" + "chalk" "^4.0.0" "@jnwng/walletconnect-solana@^0.1.5": - version "0.1.5" - resolved "https://registry.yarnpkg.com/@jnwng/walletconnect-solana/-/walletconnect-solana-0.1.5.tgz#54d71c0667fe317376490c337c36d0d19da95e5a" - integrity sha512-n8YLfF6NIVOqn+YeJEFRaZbbeNTGXL+VPBl+hqMpxLH+Fp+qgdm4CYH+ULH/OSszL2DBO1j+hB/XFDPiswCNeA== + "integrity" "sha512-n8YLfF6NIVOqn+YeJEFRaZbbeNTGXL+VPBl+hqMpxLH+Fp+qgdm4CYH+ULH/OSszL2DBO1j+hB/XFDPiswCNeA==" + "resolved" "https://registry.npmjs.org/@jnwng/walletconnect-solana/-/walletconnect-solana-0.1.5.tgz" + "version" "0.1.5" dependencies: "@walletconnect/qrcode-modal" "^1.8.0" "@walletconnect/sign-client" "^2.4.5" "@walletconnect/utils" "^2.4.5" - bs58 "^5.0.0" + "bs58" "^5.0.0" "@josephg/resolvable@^1.0.0": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@josephg/resolvable/-/resolvable-1.0.1.tgz#69bc4db754d79e1a2f17a650d3466e038d94a5eb" - integrity sha512-CtzORUwWTTOTqfVtHaKRJ0I1kNQd1bpn3sUh8I3nJDVY+5/M/Oe1DnEWzPQvqq/xPIIkzzzIP7mfCoAjFRvDhg== + "integrity" "sha512-CtzORUwWTTOTqfVtHaKRJ0I1kNQd1bpn3sUh8I3nJDVY+5/M/Oe1DnEWzPQvqq/xPIIkzzzIP7mfCoAjFRvDhg==" + "resolved" "https://registry.npmjs.org/@josephg/resolvable/-/resolvable-1.0.1.tgz" + "version" "1.0.1" "@jridgewell/gen-mapping@^0.1.0": - version "0.1.1" - resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz#e5d2e450306a9491e3bd77e323e38d7aff315996" - integrity sha512-sQXCasFk+U8lWYEe66WxRDOE9PjVz4vSM51fTu3Hw+ClTpUSQb718772vH3pyS5pShp6lvQM7SxgIDXXXmOX7w== + "integrity" "sha512-sQXCasFk+U8lWYEe66WxRDOE9PjVz4vSM51fTu3Hw+ClTpUSQb718772vH3pyS5pShp6lvQM7SxgIDXXXmOX7w==" + "resolved" "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz" + "version" "0.1.1" dependencies: "@jridgewell/set-array" "^1.0.0" "@jridgewell/sourcemap-codec" "^1.4.10" "@jridgewell/gen-mapping@^0.3.2": - version "0.3.2" - resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz#c1aedc61e853f2bb9f5dfe6d4442d3b565b253b9" - integrity sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A== + "integrity" "sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A==" + "resolved" "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz" + "version" "0.3.2" dependencies: "@jridgewell/set-array" "^1.0.1" "@jridgewell/sourcemap-codec" "^1.4.10" "@jridgewell/trace-mapping" "^0.3.9" -"@jridgewell/resolve-uri@3.1.0", "@jridgewell/resolve-uri@^3.0.3": - version "3.1.0" - resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz#2203b118c157721addfe69d47b70465463066d78" - integrity sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w== +"@jridgewell/resolve-uri@^3.0.3", "@jridgewell/resolve-uri@3.1.0": + "integrity" "sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==" + "resolved" "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz" + "version" "3.1.0" "@jridgewell/set-array@^1.0.0", "@jridgewell/set-array@^1.0.1": - version "1.1.2" - resolved "https://registry.yarnpkg.com/@jridgewell/set-array/-/set-array-1.1.2.tgz#7c6cf998d6d20b914c0a55a91ae928ff25965e72" - integrity sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw== - -"@jridgewell/sourcemap-codec@1.4.14", "@jridgewell/sourcemap-codec@^1.4.10": - version "1.4.14" - resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz#add4c98d341472a289190b424efbdb096991bb24" - integrity sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw== + "integrity" "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==" + "resolved" "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz" + "version" "1.1.2" -"@jridgewell/trace-mapping@0.3.9": - version "0.3.9" - resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz#6534fd5933a53ba7cbf3a17615e273a0d1273ff9" - integrity sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ== - dependencies: - "@jridgewell/resolve-uri" "^3.0.3" - "@jridgewell/sourcemap-codec" "^1.4.10" +"@jridgewell/sourcemap-codec@^1.4.10", "@jridgewell/sourcemap-codec@1.4.14": + "integrity" "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==" + "resolved" "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz" + "version" "1.4.14" "@jridgewell/trace-mapping@^0.3.17", "@jridgewell/trace-mapping@^0.3.9": - version "0.3.17" - resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.17.tgz#793041277af9073b0951a7fe0f0d8c4c98c36985" - integrity sha512-MCNzAp77qzKca9+W/+I0+sEpaUnZoeasnghNeVc41VZCEKaCH73Vq3BZZ/SzWIgrqE4H4ceI+p+b6C0mHf9T4g== + "integrity" "sha512-MCNzAp77qzKca9+W/+I0+sEpaUnZoeasnghNeVc41VZCEKaCH73Vq3BZZ/SzWIgrqE4H4ceI+p+b6C0mHf9T4g==" + "resolved" "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.17.tgz" + "version" "0.3.17" dependencies: "@jridgewell/resolve-uri" "3.1.0" "@jridgewell/sourcemap-codec" "1.4.14" +"@jridgewell/trace-mapping@0.3.9": + "integrity" "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==" + "resolved" "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz" + "version" "0.3.9" + dependencies: + "@jridgewell/resolve-uri" "^3.0.3" + "@jridgewell/sourcemap-codec" "^1.4.10" + "@json-rpc-tools/provider@^1.5.5": - version "1.7.6" - resolved "https://registry.yarnpkg.com/@json-rpc-tools/provider/-/provider-1.7.6.tgz#8a17c34c493fa892632e278fd9331104e8491ec6" - integrity sha512-z7D3xvJ33UfCGv77n40lbzOYjZKVM3k2+5cV7xS8G6SCvKTzMkhkUYuD/qzQUNT4cG/lv0e9mRToweEEVLVVmA== + "integrity" "sha512-z7D3xvJ33UfCGv77n40lbzOYjZKVM3k2+5cV7xS8G6SCvKTzMkhkUYuD/qzQUNT4cG/lv0e9mRToweEEVLVVmA==" + "resolved" "https://registry.npmjs.org/@json-rpc-tools/provider/-/provider-1.7.6.tgz" + "version" "1.7.6" dependencies: "@json-rpc-tools/utils" "^1.7.6" - axios "^0.21.0" - safe-json-utils "^1.1.1" - ws "^7.4.0" + "axios" "^0.21.0" + "safe-json-utils" "^1.1.1" + "ws" "^7.4.0" "@json-rpc-tools/types@^1.7.6": - version "1.7.6" - resolved "https://registry.yarnpkg.com/@json-rpc-tools/types/-/types-1.7.6.tgz#5abd5fde01364a130c46093b501715bcce5bdc0e" - integrity sha512-nDSqmyRNEqEK9TZHtM15uNnDljczhCUdBmRhpNZ95bIPKEDQ+nTDmGMFd2lLin3upc5h2VVVd9tkTDdbXUhDIQ== + "integrity" "sha512-nDSqmyRNEqEK9TZHtM15uNnDljczhCUdBmRhpNZ95bIPKEDQ+nTDmGMFd2lLin3upc5h2VVVd9tkTDdbXUhDIQ==" + "resolved" "https://registry.npmjs.org/@json-rpc-tools/types/-/types-1.7.6.tgz" + "version" "1.7.6" dependencies: - keyvaluestorage-interface "^1.0.0" + "keyvaluestorage-interface" "^1.0.0" "@json-rpc-tools/utils@^1.7.6": - version "1.7.6" - resolved "https://registry.yarnpkg.com/@json-rpc-tools/utils/-/utils-1.7.6.tgz#67f04987dbaa2e7adb6adff1575367b75a9a9ba1" - integrity sha512-HjA8x/U/Q78HRRe19yh8HVKoZ+Iaoo3YZjakJYxR+rw52NHo6jM+VE9b8+7ygkCFXl/EHID5wh/MkXaE/jGyYw== + "integrity" "sha512-HjA8x/U/Q78HRRe19yh8HVKoZ+Iaoo3YZjakJYxR+rw52NHo6jM+VE9b8+7ygkCFXl/EHID5wh/MkXaE/jGyYw==" + "resolved" "https://registry.npmjs.org/@json-rpc-tools/utils/-/utils-1.7.6.tgz" + "version" "1.7.6" dependencies: "@json-rpc-tools/types" "^1.7.6" "@pedrouid/environment" "^1.0.1" "@keplr-wallet/common@0.11.58": - version "0.11.58" - resolved "https://registry.yarnpkg.com/@keplr-wallet/common/-/common-0.11.58.tgz#4b273f8f0076d5ae01414fe2adee23b2a555928d" - integrity sha512-kYImv8gBqZBDLR0ipkCXfpgrqfatR3l0X32nrNBP/mGF9ofRtcNnf+MKja5UFUTVLhOvqMXTBQabiT5+nHjPPw== + "integrity" "sha512-kYImv8gBqZBDLR0ipkCXfpgrqfatR3l0X32nrNBP/mGF9ofRtcNnf+MKja5UFUTVLhOvqMXTBQabiT5+nHjPPw==" + "resolved" "https://registry.npmjs.org/@keplr-wallet/common/-/common-0.11.58.tgz" + "version" "0.11.58" dependencies: "@keplr-wallet/crypto" "0.11.58" - buffer "^6.0.3" - delay "^4.4.0" + "buffer" "^6.0.3" + "delay" "^4.4.0" "@keplr-wallet/cosmos@^0.11.58": - version "0.11.58" - resolved "https://registry.yarnpkg.com/@keplr-wallet/cosmos/-/cosmos-0.11.58.tgz#724247fc496acf8e22db2ca1bd1ada415cf8bc66" - integrity sha512-TuejHcKVxi9KaZEwGMayyRbavw8x8BaKuk+QwFHLCzZRJ3UV1/nJR2swoDDLbH6fEDmte9pr8+n7CGdgO2Marg== + "integrity" "sha512-TuejHcKVxi9KaZEwGMayyRbavw8x8BaKuk+QwFHLCzZRJ3UV1/nJR2swoDDLbH6fEDmte9pr8+n7CGdgO2Marg==" + "resolved" "https://registry.npmjs.org/@keplr-wallet/cosmos/-/cosmos-0.11.58.tgz" + "version" "0.11.58" dependencies: "@ethersproject/address" "^5.6.0" "@keplr-wallet/common" "0.11.58" @@ -2430,154 +2586,154 @@ "@keplr-wallet/proto-types" "0.11.58" "@keplr-wallet/types" "0.11.58" "@keplr-wallet/unit" "0.11.58" - axios "^0.27.2" - bech32 "^1.1.4" - buffer "^6.0.3" - long "^4.0.0" - protobufjs "^6.11.2" + "axios" "^0.27.2" + "bech32" "^1.1.4" + "buffer" "^6.0.3" + "long" "^4.0.0" + "protobufjs" "^6.11.2" "@keplr-wallet/crypto@0.11.58": - version "0.11.58" - resolved "https://registry.yarnpkg.com/@keplr-wallet/crypto/-/crypto-0.11.58.tgz#4bf432a7520dd6fa841d06e2f6356c2c293f74d1" - integrity sha512-FdKTgF/16GWCZOE3QJYmBWH3wx86C6d3GvHZQMe5Fsmh/Q/aIIb0HxqB/H4AfqayUScE/yX4ej8nd9u0cPrOFQ== + "integrity" "sha512-FdKTgF/16GWCZOE3QJYmBWH3wx86C6d3GvHZQMe5Fsmh/Q/aIIb0HxqB/H4AfqayUScE/yX4ej8nd9u0cPrOFQ==" + "resolved" "https://registry.npmjs.org/@keplr-wallet/crypto/-/crypto-0.11.58.tgz" + "version" "0.11.58" dependencies: "@ethersproject/keccak256" "^5.5.0" - bip32 "^2.0.6" - bip39 "^3.0.3" - bs58check "^2.1.2" - buffer "^6.0.3" - crypto-js "^4.0.0" - elliptic "^6.5.3" - sha.js "^2.4.11" + "bip32" "^2.0.6" + "bip39" "^3.0.3" + "bs58check" "^2.1.2" + "buffer" "^6.0.3" + "crypto-js" "^4.0.0" + "elliptic" "^6.5.3" + "sha.js" "^2.4.11" "@keplr-wallet/proto-types@0.11.58": - version "0.11.58" - resolved "https://registry.yarnpkg.com/@keplr-wallet/proto-types/-/proto-types-0.11.58.tgz#9de07b194674462101c2281c9ad1a701ca54c758" - integrity sha512-qDK965gGbdTM/oJH0beDBIHUiu8GEabf57hKrkv64FhAJ4HPw3+HK5fKn4Omo/3spkVCp6S9vdCGWEUhelkNFQ== + "integrity" "sha512-qDK965gGbdTM/oJH0beDBIHUiu8GEabf57hKrkv64FhAJ4HPw3+HK5fKn4Omo/3spkVCp6S9vdCGWEUhelkNFQ==" + "resolved" "https://registry.npmjs.org/@keplr-wallet/proto-types/-/proto-types-0.11.58.tgz" + "version" "0.11.58" dependencies: - long "^4.0.0" - protobufjs "^6.11.2" + "long" "^4.0.0" + "protobufjs" "^6.11.2" -"@keplr-wallet/types@0.11.58", "@keplr-wallet/types@^0.11.58": - version "0.11.58" - resolved "https://registry.yarnpkg.com/@keplr-wallet/types/-/types-0.11.58.tgz#b142f1f6b47106466d81acf89485575a184aae3a" - integrity sha512-dct9JVXuSlutgnUO8E9WoAxp4dmK+X2fDTWNA4mkgJhUQyN0VzCaKyC9whWLRuYRnAe9xFQ1g9Xo1OlCLPlH8w== +"@keplr-wallet/types@^0.11.12": + "integrity" "sha512-+TS3XkNMfE/s8iN008eOeWzfWGxzY/pKoX+/I44rAJW382NGUzpIW9GLlmraardTsEp40joon1KVVPV/ApNpaw==" + "resolved" "https://registry.npmjs.org/@keplr-wallet/types/-/types-0.11.49.tgz" + "version" "0.11.49" dependencies: - axios "^0.27.2" - long "^4.0.0" + "axios" "^0.27.2" + "long" "^4.0.0" -"@keplr-wallet/types@^0.11.12": - version "0.11.49" - resolved "https://registry.yarnpkg.com/@keplr-wallet/types/-/types-0.11.49.tgz#bd88a8da711e56faa0684917aae9d7befee57e74" - integrity sha512-+TS3XkNMfE/s8iN008eOeWzfWGxzY/pKoX+/I44rAJW382NGUzpIW9GLlmraardTsEp40joon1KVVPV/ApNpaw== +"@keplr-wallet/types@^0.11.58", "@keplr-wallet/types@0.11.58": + "integrity" "sha512-dct9JVXuSlutgnUO8E9WoAxp4dmK+X2fDTWNA4mkgJhUQyN0VzCaKyC9whWLRuYRnAe9xFQ1g9Xo1OlCLPlH8w==" + "resolved" "https://registry.npmjs.org/@keplr-wallet/types/-/types-0.11.58.tgz" + "version" "0.11.58" dependencies: - axios "^0.27.2" - long "^4.0.0" + "axios" "^0.27.2" + "long" "^4.0.0" "@keplr-wallet/unit@0.11.58": - version "0.11.58" - resolved "https://registry.yarnpkg.com/@keplr-wallet/unit/-/unit-0.11.58.tgz#9b9e71668e7b9bc5c29ecf1881c48b115eea3f51" - integrity sha512-6SRoUEtWjyQA96cox9AhKHrNZcY75ol46or0BaXBJVhhraf4wQjdtqmiOV9NZtBEID8qX6e/3DRkB8E4zCnVIw== + "integrity" "sha512-6SRoUEtWjyQA96cox9AhKHrNZcY75ol46or0BaXBJVhhraf4wQjdtqmiOV9NZtBEID8qX6e/3DRkB8E4zCnVIw==" + "resolved" "https://registry.npmjs.org/@keplr-wallet/unit/-/unit-0.11.58.tgz" + "version" "0.11.58" dependencies: "@keplr-wallet/types" "0.11.58" - big-integer "^1.6.48" - utility-types "^3.10.0" + "big-integer" "^1.6.48" + "utility-types" "^3.10.0" "@keystonehq/bc-ur-registry-sol@^0.3.1": - version "0.3.1" - resolved "https://registry.yarnpkg.com/@keystonehq/bc-ur-registry-sol/-/bc-ur-registry-sol-0.3.1.tgz#5319c7c4a22cc83bbacfa6fe09aaa6fb21363f24" - integrity sha512-Okr5hwPxBZxB4EKLK1GSC9vsrh/tFMQ5dvs3EQ9NCOmCn7CXdXIMSeafrpGCHk484Jf5c6X0Wq0yf0VqY2A/8Q== + "integrity" "sha512-Okr5hwPxBZxB4EKLK1GSC9vsrh/tFMQ5dvs3EQ9NCOmCn7CXdXIMSeafrpGCHk484Jf5c6X0Wq0yf0VqY2A/8Q==" + "resolved" "https://registry.npmjs.org/@keystonehq/bc-ur-registry-sol/-/bc-ur-registry-sol-0.3.1.tgz" + "version" "0.3.1" dependencies: "@keystonehq/bc-ur-registry" "^0.5.0" - bs58check "^2.1.2" - uuid "^8.3.2" + "bs58check" "^2.1.2" + "uuid" "^8.3.2" "@keystonehq/bc-ur-registry@^0.5.0": - version "0.5.4" - resolved "https://registry.yarnpkg.com/@keystonehq/bc-ur-registry/-/bc-ur-registry-0.5.4.tgz#5802486a29f5d772520d15579d40fba02860e27f" - integrity sha512-z7bZe10I5k0zz9znmDTXh+o3Rzb5XsRVpwAzexubOaLxVdZ0F7aMbe2LoEsw766Hpox/7zARi7UGmLz5C8BAzA== + "integrity" "sha512-z7bZe10I5k0zz9znmDTXh+o3Rzb5XsRVpwAzexubOaLxVdZ0F7aMbe2LoEsw766Hpox/7zARi7UGmLz5C8BAzA==" + "resolved" "https://registry.npmjs.org/@keystonehq/bc-ur-registry/-/bc-ur-registry-0.5.4.tgz" + "version" "0.5.4" dependencies: "@ngraveio/bc-ur" "^1.1.5" - bs58check "^2.1.2" - tslib "^2.3.0" + "bs58check" "^2.1.2" + "tslib" "^2.3.0" "@keystonehq/sdk@^0.13.1": - version "0.13.1" - resolved "https://registry.yarnpkg.com/@keystonehq/sdk/-/sdk-0.13.1.tgz#782a1f71cfc38a7635a8bcb0cb99ae403a6316a8" - integrity sha512-545l83TE5t1cyUZUaNqZOAh15ibWOg9QbK/YeLwnrxt+GOod+ATk3j9SpN6yTSLO8DNl2/x6dKRIFVtTEkZDAg== + "integrity" "sha512-545l83TE5t1cyUZUaNqZOAh15ibWOg9QbK/YeLwnrxt+GOod+ATk3j9SpN6yTSLO8DNl2/x6dKRIFVtTEkZDAg==" + "resolved" "https://registry.npmjs.org/@keystonehq/sdk/-/sdk-0.13.1.tgz" + "version" "0.13.1" dependencies: "@ngraveio/bc-ur" "^1.0.0" - qrcode.react "^1.0.1" - react "16.13.1" - react-dom "16.13.1" - react-modal "^3.12.1" - react-qr-reader "^2.2.1" - rxjs "^6.6.3" - typescript "^4.6.2" + "qrcode.react" "^1.0.1" + "react" "16.13.1" + "react-dom" "16.13.1" + "react-modal" "^3.12.1" + "react-qr-reader" "^2.2.1" + "rxjs" "^6.6.3" + "typescript" "^4.6.2" "@keystonehq/sol-keyring@^0.3.1": - version "0.3.1" - resolved "https://registry.yarnpkg.com/@keystonehq/sol-keyring/-/sol-keyring-0.3.1.tgz#9ed61269bab92601eedb7f1adb9ca3258634dbbc" - integrity sha512-RU6I3HQrQ9NpRDP9TwlBIy5DftVcNcyk0NWfhkPy/YanhMcCB0cRPw68iQl1rMnR6n1G2+YrBHMxm6swCW+B4Q== + "integrity" "sha512-RU6I3HQrQ9NpRDP9TwlBIy5DftVcNcyk0NWfhkPy/YanhMcCB0cRPw68iQl1rMnR6n1G2+YrBHMxm6swCW+B4Q==" + "resolved" "https://registry.npmjs.org/@keystonehq/sol-keyring/-/sol-keyring-0.3.1.tgz" + "version" "0.3.1" dependencies: "@keystonehq/bc-ur-registry" "^0.5.0" "@keystonehq/bc-ur-registry-sol" "^0.3.1" "@keystonehq/sdk" "^0.13.1" "@solana/web3.js" "^1.36.0" - bs58 "^5.0.0" - uuid "^8.3.2" + "bs58" "^5.0.0" + "uuid" "^8.3.2" "@ledgerhq/cryptoassets@^9.2.0": - version "9.4.0" - resolved "https://registry.yarnpkg.com/@ledgerhq/cryptoassets/-/cryptoassets-9.4.0.tgz#1e30b4d84de570020cca9ccedadfefb2cd587180" - integrity sha512-x12C6e71NxYzw4kZkddjvTrH2Whv1owDcWArNKmWj90P2g8jsaakH1ajCMU9D9BsG35BsdOf9EsR+y73jCjdwg== + "integrity" "sha512-x12C6e71NxYzw4kZkddjvTrH2Whv1owDcWArNKmWj90P2g8jsaakH1ajCMU9D9BsG35BsdOf9EsR+y73jCjdwg==" + "resolved" "https://registry.npmjs.org/@ledgerhq/cryptoassets/-/cryptoassets-9.4.0.tgz" + "version" "9.4.0" dependencies: - invariant "2" + "invariant" "2" -"@ledgerhq/devices@6.27.1", "@ledgerhq/devices@^6.27.1": - version "6.27.1" - resolved "https://registry.yarnpkg.com/@ledgerhq/devices/-/devices-6.27.1.tgz#3b13ab1d1ba8201e9e74a08f390560483978c962" - integrity sha512-jX++oy89jtv7Dp2X6gwt3MMkoajel80JFWcdc0HCouwDsV1mVJ3SQdwl/bQU0zd8HI6KebvUP95QTwbQLLK/RQ== +"@ledgerhq/devices@^6.27.1", "@ledgerhq/devices@6.27.1": + "integrity" "sha512-jX++oy89jtv7Dp2X6gwt3MMkoajel80JFWcdc0HCouwDsV1mVJ3SQdwl/bQU0zd8HI6KebvUP95QTwbQLLK/RQ==" + "resolved" "https://registry.npmjs.org/@ledgerhq/devices/-/devices-6.27.1.tgz" + "version" "6.27.1" dependencies: "@ledgerhq/errors" "^6.10.0" "@ledgerhq/logs" "^6.10.0" - rxjs "6" - semver "^7.3.5" + "rxjs" "6" + "semver" "^7.3.5" "@ledgerhq/devices@^8.0.0": - version "8.0.0" - resolved "https://registry.yarnpkg.com/@ledgerhq/devices/-/devices-8.0.0.tgz#8fe9f9e442e28b7a20bcdf4c2eed06ce7b8f76ae" - integrity sha512-gSnRT0KPca+LIpaC6D/WZQjOAlSI5uCvK1dmxXtKhODLAj735rX5Z3SnGnLUavRCHNbUi44FzgvloF5BKTkh7A== + "integrity" "sha512-gSnRT0KPca+LIpaC6D/WZQjOAlSI5uCvK1dmxXtKhODLAj735rX5Z3SnGnLUavRCHNbUi44FzgvloF5BKTkh7A==" + "resolved" "https://registry.npmjs.org/@ledgerhq/devices/-/devices-8.0.0.tgz" + "version" "8.0.0" dependencies: "@ledgerhq/errors" "^6.12.3" "@ledgerhq/logs" "^6.10.1" - rxjs "6" - semver "^7.3.5" + "rxjs" "6" + "semver" "^7.3.5" "@ledgerhq/devices@^8.0.1": - version "8.0.1" - resolved "https://registry.yarnpkg.com/@ledgerhq/devices/-/devices-8.0.1.tgz#4c475f6ae249daf00ef08f5098924206233f3179" - integrity sha512-8uuyR8DGowYBLatur+MyJtRJ8RYDWSFFqGnNmgBBdlRG6VPf9vjhrFZlmYqukWesPwkZNZstP475W4TS+j6EFw== + "integrity" "sha512-8uuyR8DGowYBLatur+MyJtRJ8RYDWSFFqGnNmgBBdlRG6VPf9vjhrFZlmYqukWesPwkZNZstP475W4TS+j6EFw==" + "resolved" "https://registry.npmjs.org/@ledgerhq/devices/-/devices-8.0.1.tgz" + "version" "8.0.1" dependencies: "@ledgerhq/errors" "^6.12.4" "@ledgerhq/logs" "^6.10.1" - rxjs "6" - semver "^7.3.5" + "rxjs" "6" + "semver" "^7.3.5" "@ledgerhq/errors@^6.10.0", "@ledgerhq/errors@^6.12.3": - version "6.12.3" - resolved "https://registry.yarnpkg.com/@ledgerhq/errors/-/errors-6.12.3.tgz#a610caae1eeeb7cb038525e5212fe03217dda683" - integrity sha512-djiMSgB/7hnK3aLR/c5ZMMivxjcI7o2+y3VKcsZZpydPoVf9+FXqeJPRfOwmJ0JxbQ//LinUfWpIfHew8LkaVw== + "integrity" "sha512-djiMSgB/7hnK3aLR/c5ZMMivxjcI7o2+y3VKcsZZpydPoVf9+FXqeJPRfOwmJ0JxbQ//LinUfWpIfHew8LkaVw==" + "resolved" "https://registry.npmjs.org/@ledgerhq/errors/-/errors-6.12.3.tgz" + "version" "6.12.3" "@ledgerhq/errors@^6.12.4": - version "6.12.4" - resolved "https://registry.yarnpkg.com/@ledgerhq/errors/-/errors-6.12.4.tgz#1c2f75dc3dee91b069f3446be484fa28676d1b45" - integrity sha512-qi5poMrcIuFuivdzRjjQsNp7rRwUA5v3eo6D4yEy+l+w8wT4d4JtQ5u1TbrlGfFHfgLq7Lv6dsvh2ooLyWTyfg== + "integrity" "sha512-qi5poMrcIuFuivdzRjjQsNp7rRwUA5v3eo6D4yEy+l+w8wT4d4JtQ5u1TbrlGfFHfgLq7Lv6dsvh2ooLyWTyfg==" + "resolved" "https://registry.npmjs.org/@ledgerhq/errors/-/errors-6.12.4.tgz" + "version" "6.12.4" "@ledgerhq/hw-app-eth@6.32.2": - version "6.32.2" - resolved "https://registry.yarnpkg.com/@ledgerhq/hw-app-eth/-/hw-app-eth-6.32.2.tgz#a6dd250c327426ded1e825dd504d2844b20703a5" - integrity sha512-5RmRw+vhzCE88hFPcpFOXelLTk9cjscweYJLritdAcTSkXV3jOdmAYvY1KLhG5Ungy561r8AQHm6NleR/Qjpjw== + "integrity" "sha512-5RmRw+vhzCE88hFPcpFOXelLTk9cjscweYJLritdAcTSkXV3jOdmAYvY1KLhG5Ungy561r8AQHm6NleR/Qjpjw==" + "resolved" "https://registry.npmjs.org/@ledgerhq/hw-app-eth/-/hw-app-eth-6.32.2.tgz" + "version" "6.32.2" dependencies: "@ethersproject/abi" "^5.5.0" "@ethersproject/rlp" "^5.5.0" @@ -2586,22 +2742,22 @@ "@ledgerhq/hw-transport" "^6.28.2" "@ledgerhq/hw-transport-mocker" "^6.27.13" "@ledgerhq/logs" "^6.10.1" - axios "^0.26.1" - bignumber.js "^9.1.0" - crypto-js "^4.1.1" + "axios" "^0.26.1" + "bignumber.js" "^9.1.0" + "crypto-js" "^4.1.1" "@ledgerhq/hw-transport-mocker@^6.27.13": - version "6.27.13" - resolved "https://registry.yarnpkg.com/@ledgerhq/hw-transport-mocker/-/hw-transport-mocker-6.27.13.tgz#4bbb0ce1d039adbf6bb05fe2fe038decd7ece356" - integrity sha512-GYik5D45/U8SIkVUeaio6KV6xkIf73v+i6gegMbUFO712x+TgkG/EH1fpF6+sTwLmNxqjaTyi8LYqYeZNW0GMg== + "integrity" "sha512-GYik5D45/U8SIkVUeaio6KV6xkIf73v+i6gegMbUFO712x+TgkG/EH1fpF6+sTwLmNxqjaTyi8LYqYeZNW0GMg==" + "resolved" "https://registry.npmjs.org/@ledgerhq/hw-transport-mocker/-/hw-transport-mocker-6.27.13.tgz" + "version" "6.27.13" dependencies: "@ledgerhq/hw-transport" "^6.28.2" "@ledgerhq/logs" "^6.10.1" "@ledgerhq/hw-transport-webhid@6.27.1": - version "6.27.1" - resolved "https://registry.yarnpkg.com/@ledgerhq/hw-transport-webhid/-/hw-transport-webhid-6.27.1.tgz#8fd1710d23b6bd7cbe2382dd02054dfabe788447" - integrity sha512-u74rBYlibpbyGblSn74fRs2pMM19gEAkYhfVibq0RE1GNFjxDMFC1n7Sb+93Jqmz8flyfB4UFJsxs8/l1tm2Kw== + "integrity" "sha512-u74rBYlibpbyGblSn74fRs2pMM19gEAkYhfVibq0RE1GNFjxDMFC1n7Sb+93Jqmz8flyfB4UFJsxs8/l1tm2Kw==" + "resolved" "https://registry.npmjs.org/@ledgerhq/hw-transport-webhid/-/hw-transport-webhid-6.27.1.tgz" + "version" "6.27.1" dependencies: "@ledgerhq/devices" "^6.27.1" "@ledgerhq/errors" "^6.10.0" @@ -2609,9 +2765,9 @@ "@ledgerhq/logs" "^6.10.0" "@ledgerhq/hw-transport-webhid@6.27.13": - version "6.27.13" - resolved "https://registry.yarnpkg.com/@ledgerhq/hw-transport-webhid/-/hw-transport-webhid-6.27.13.tgz#c14a2b4b64241cf6206c49e618edb86b28573796" - integrity sha512-VDQ8i08Atc7QQJ1+JE+EtuKoxBNL+ySyxMnzVAABMzhy6LGCwxzfNKP7Pb9vZNruWyRYVNCN3RiNPCMmiCDd1g== + "integrity" "sha512-VDQ8i08Atc7QQJ1+JE+EtuKoxBNL+ySyxMnzVAABMzhy6LGCwxzfNKP7Pb9vZNruWyRYVNCN3RiNPCMmiCDd1g==" + "resolved" "https://registry.npmjs.org/@ledgerhq/hw-transport-webhid/-/hw-transport-webhid-6.27.13.tgz" + "version" "6.27.13" dependencies: "@ledgerhq/devices" "^8.0.1" "@ledgerhq/errors" "^6.12.4" @@ -2619,166 +2775,181 @@ "@ledgerhq/logs" "^6.10.1" "@ledgerhq/hw-transport-webusb@6.27.13": - version "6.27.13" - resolved "https://registry.yarnpkg.com/@ledgerhq/hw-transport-webusb/-/hw-transport-webusb-6.27.13.tgz#272c38aad7d090c748f6c7fd85e5a579aa1bbae4" - integrity sha512-1X7xMdcEE/XVD0k5yO8DygR/gik3M9jDHynu8WxpIFDxAULWN5nyM2vWeXXGYl/MM75jV+OehWJ4oFhYGsn3rw== + "integrity" "sha512-1X7xMdcEE/XVD0k5yO8DygR/gik3M9jDHynu8WxpIFDxAULWN5nyM2vWeXXGYl/MM75jV+OehWJ4oFhYGsn3rw==" + "resolved" "https://registry.npmjs.org/@ledgerhq/hw-transport-webusb/-/hw-transport-webusb-6.27.13.tgz" + "version" "6.27.13" dependencies: "@ledgerhq/devices" "^8.0.1" "@ledgerhq/errors" "^6.12.4" "@ledgerhq/hw-transport" "^6.28.2" "@ledgerhq/logs" "^6.10.1" -"@ledgerhq/hw-transport@6.27.1": - version "6.27.1" - resolved "https://registry.yarnpkg.com/@ledgerhq/hw-transport/-/hw-transport-6.27.1.tgz#88072278f69c279cb6569352acd4ae2fec33ace3" - integrity sha512-hnE4/Fq1YzQI4PA1W0H8tCkI99R3UWDb3pJeZd6/Xs4Qw/q1uiQO+vNLC6KIPPhK0IajUfuI/P2jk0qWcMsuAQ== +"@ledgerhq/hw-transport@^6.27.1": + "integrity" "sha512-RaZe+abn0zBIz82cE9tp7Y7aZkHWWbEaE2yJpfxT8AhFz3fx+BU0kLYzuRN9fmA7vKueNJ1MTVUCY+Ex9/CHSQ==" + "resolved" "https://registry.npmjs.org/@ledgerhq/hw-transport/-/hw-transport-6.28.1.tgz" + "version" "6.28.1" dependencies: - "@ledgerhq/devices" "^6.27.1" - "@ledgerhq/errors" "^6.10.0" - events "^3.3.0" + "@ledgerhq/devices" "^8.0.0" + "@ledgerhq/errors" "^6.12.3" + "events" "^3.3.0" -"@ledgerhq/hw-transport@6.28.2", "@ledgerhq/hw-transport@^6.28.2": - version "6.28.2" - resolved "https://registry.yarnpkg.com/@ledgerhq/hw-transport/-/hw-transport-6.28.2.tgz#483f9a39403ee63b03d452e30bfe8189dcca5785" - integrity sha512-2LxQdZnhSzu394brKuUZIWfuT2YAyNI3glRMf8+yHx3wUFqi10v8NzII99SHDyT8tN3Ovzmq+hbGHvrR2PqYRA== +"@ledgerhq/hw-transport@^6.28.2", "@ledgerhq/hw-transport@6.28.2": + "integrity" "sha512-2LxQdZnhSzu394brKuUZIWfuT2YAyNI3glRMf8+yHx3wUFqi10v8NzII99SHDyT8tN3Ovzmq+hbGHvrR2PqYRA==" + "resolved" "https://registry.npmjs.org/@ledgerhq/hw-transport/-/hw-transport-6.28.2.tgz" + "version" "6.28.2" dependencies: "@ledgerhq/devices" "^8.0.1" "@ledgerhq/errors" "^6.12.4" - events "^3.3.0" + "events" "^3.3.0" -"@ledgerhq/hw-transport@^6.27.1": - version "6.28.1" - resolved "https://registry.yarnpkg.com/@ledgerhq/hw-transport/-/hw-transport-6.28.1.tgz#cb22fe9bc23af4682c30f2aac7fe6f7ab13ed65a" - integrity sha512-RaZe+abn0zBIz82cE9tp7Y7aZkHWWbEaE2yJpfxT8AhFz3fx+BU0kLYzuRN9fmA7vKueNJ1MTVUCY+Ex9/CHSQ== +"@ledgerhq/hw-transport@6.27.1": + "integrity" "sha512-hnE4/Fq1YzQI4PA1W0H8tCkI99R3UWDb3pJeZd6/Xs4Qw/q1uiQO+vNLC6KIPPhK0IajUfuI/P2jk0qWcMsuAQ==" + "resolved" "https://registry.npmjs.org/@ledgerhq/hw-transport/-/hw-transport-6.27.1.tgz" + "version" "6.27.1" dependencies: - "@ledgerhq/devices" "^8.0.0" - "@ledgerhq/errors" "^6.12.3" - events "^3.3.0" + "@ledgerhq/devices" "^6.27.1" + "@ledgerhq/errors" "^6.10.0" + "events" "^3.3.0" "@ledgerhq/logs@^6.10.0", "@ledgerhq/logs@^6.10.1": - version "6.10.1" - resolved "https://registry.yarnpkg.com/@ledgerhq/logs/-/logs-6.10.1.tgz#5bd16082261d7364eabb511c788f00937dac588d" - integrity sha512-z+ILK8Q3y+nfUl43ctCPuR4Y2bIxk/ooCQFwZxhtci1EhAtMDzMAx2W25qx8G1PPL9UUOdnUax19+F0OjXoj4w== + "integrity" "sha512-z+ILK8Q3y+nfUl43ctCPuR4Y2bIxk/ooCQFwZxhtci1EhAtMDzMAx2W25qx8G1PPL9UUOdnUax19+F0OjXoj4w==" + "resolved" "https://registry.npmjs.org/@ledgerhq/logs/-/logs-6.10.1.tgz" + "version" "6.10.1" + +"@mapbox/node-pre-gyp@^1.0.5": + "integrity" "sha512-Yhlar6v9WQgUp/He7BdgzOz8lqMQ8sU+jkCq7Wx8Myc5YFJLbEe7lgui/V7G1qB1DJykHSGwreceSaD60Y0PUQ==" + "resolved" "https://registry.npmjs.org/@mapbox/node-pre-gyp/-/node-pre-gyp-1.0.11.tgz" + "version" "1.0.11" + dependencies: + "detect-libc" "^2.0.0" + "https-proxy-agent" "^5.0.0" + "make-dir" "^3.1.0" + "node-fetch" "^2.6.7" + "nopt" "^5.0.0" + "npmlog" "^5.0.1" + "rimraf" "^3.0.2" + "semver" "^7.3.5" + "tar" "^6.1.11" "@metamask/detect-provider@^2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@metamask/detect-provider/-/detect-provider-2.0.0.tgz#4bc2795e5e6f7d8b84b2e845058d2f222c99917d" - integrity sha512-sFpN+TX13E9fdBDh9lvQeZdJn4qYoRb/6QF2oZZK/Pn559IhCFacPMU1rMuqyXoFQF3JSJfii2l98B87QDPeCQ== + "integrity" "sha512-sFpN+TX13E9fdBDh9lvQeZdJn4qYoRb/6QF2oZZK/Pn559IhCFacPMU1rMuqyXoFQF3JSJfii2l98B87QDPeCQ==" + "resolved" "https://registry.npmjs.org/@metamask/detect-provider/-/detect-provider-2.0.0.tgz" + "version" "2.0.0" "@metamask/eth-sig-util@^4.0.0": - version "4.0.1" - resolved "https://registry.yarnpkg.com/@metamask/eth-sig-util/-/eth-sig-util-4.0.1.tgz#3ad61f6ea9ad73ba5b19db780d40d9aae5157088" - integrity sha512-tghyZKLHZjcdlDqCA3gNZmLeR0XvOE9U1qoQO9ohyAZT6Pya+H9vkBPcsyXytmYLNgVoin7CKCmweo/R43V+tQ== + "integrity" "sha512-tghyZKLHZjcdlDqCA3gNZmLeR0XvOE9U1qoQO9ohyAZT6Pya+H9vkBPcsyXytmYLNgVoin7CKCmweo/R43V+tQ==" + "resolved" "https://registry.npmjs.org/@metamask/eth-sig-util/-/eth-sig-util-4.0.1.tgz" + "version" "4.0.1" dependencies: - ethereumjs-abi "^0.6.8" - ethereumjs-util "^6.2.1" - ethjs-util "^0.1.6" - tweetnacl "^1.0.3" - tweetnacl-util "^0.15.1" + "ethereumjs-abi" "^0.6.8" + "ethereumjs-util" "^6.2.1" + "ethjs-util" "^0.1.6" + "tweetnacl" "^1.0.3" + "tweetnacl-util" "^0.15.1" "@metamask/obs-store@^7.0.0": - version "7.0.0" - resolved "https://registry.yarnpkg.com/@metamask/obs-store/-/obs-store-7.0.0.tgz#6cae5f28306bb3e83a381bc9ae22682316095bd3" - integrity sha512-Tr61Uu9CGXkCg5CZwOYRMQERd+y6fbtrtLd/PzDTPHO5UJpmSbU+7MPcQK7d1DwZCOCeCIvhmZSUCvYliC8uGw== + "integrity" "sha512-Tr61Uu9CGXkCg5CZwOYRMQERd+y6fbtrtLd/PzDTPHO5UJpmSbU+7MPcQK7d1DwZCOCeCIvhmZSUCvYliC8uGw==" + "resolved" "https://registry.npmjs.org/@metamask/obs-store/-/obs-store-7.0.0.tgz" + "version" "7.0.0" dependencies: "@metamask/safe-event-emitter" "^2.0.0" - through2 "^2.0.3" + "through2" "^2.0.3" "@metamask/safe-event-emitter@^2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@metamask/safe-event-emitter/-/safe-event-emitter-2.0.0.tgz#af577b477c683fad17c619a78208cede06f9605c" - integrity sha512-/kSXhY692qiV1MXu6EeOZvg5nECLclxNXcKCxJ3cXQgYuRymRHpdx/t7JXfsK+JLjwA1e1c1/SBrlQYpusC29Q== + "integrity" "sha512-/kSXhY692qiV1MXu6EeOZvg5nECLclxNXcKCxJ3cXQgYuRymRHpdx/t7JXfsK+JLjwA1e1c1/SBrlQYpusC29Q==" + "resolved" "https://registry.npmjs.org/@metamask/safe-event-emitter/-/safe-event-emitter-2.0.0.tgz" + "version" "2.0.0" "@mrmlnc/readdir-enhanced@^2.2.1": - version "2.2.1" - resolved "https://registry.yarnpkg.com/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz#524af240d1a360527b730475ecfa1344aa540dde" - integrity sha512-bPHp6Ji8b41szTOcaP63VlnbbO5Ny6dwAATtY6JTjh5N2OLrb5Qk/Th5cRkRQhkWCt+EJsYrNB0MiL+Gpn6e3g== + "integrity" "sha512-bPHp6Ji8b41szTOcaP63VlnbbO5Ny6dwAATtY6JTjh5N2OLrb5Qk/Th5cRkRQhkWCt+EJsYrNB0MiL+Gpn6e3g==" + "resolved" "https://registry.npmjs.org/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz" + "version" "2.2.1" dependencies: - call-me-maybe "^1.0.1" - glob-to-regexp "^0.3.0" + "call-me-maybe" "^1.0.1" + "glob-to-regexp" "^0.3.0" "@ngraveio/bc-ur@^1.0.0", "@ngraveio/bc-ur@^1.1.5": - version "1.1.6" - resolved "https://registry.yarnpkg.com/@ngraveio/bc-ur/-/bc-ur-1.1.6.tgz#8f8c75fff22f6a5e4dfbc5a6b540d7fe8f42cd39" - integrity sha512-G+2XgjXde2IOcEQeCwR250aS43/Swi7gw0FuETgJy2c3HqF8f88SXDMsIGgJlZ8jXd0GeHR4aX0MfjXf523UZg== + "integrity" "sha512-G+2XgjXde2IOcEQeCwR250aS43/Swi7gw0FuETgJy2c3HqF8f88SXDMsIGgJlZ8jXd0GeHR4aX0MfjXf523UZg==" + "resolved" "https://registry.npmjs.org/@ngraveio/bc-ur/-/bc-ur-1.1.6.tgz" + "version" "1.1.6" dependencies: "@apocentre/alias-sampling" "^0.5.3" - assert "^2.0.0" - bignumber.js "^9.0.1" - cbor-sync "^1.0.4" - crc "^3.8.0" - jsbi "^3.1.5" - sha.js "^2.4.11" - -"@noble/curves@1.0.0", "@noble/curves@~1.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@noble/curves/-/curves-1.0.0.tgz#e40be8c7daf088aaf291887cbc73f43464a92932" - integrity sha512-2upgEu0iLiDVDZkNLeFV2+ht0BAVgQnEmCk6JsOch9Rp8xfkMCbvbAZlA2pBHQc73dbl+vFOXfqkf4uemdn0bw== + "assert" "^2.0.0" + "bignumber.js" "^9.0.1" + "cbor-sync" "^1.0.4" + "crc" "^3.8.0" + "jsbi" "^3.1.5" + "sha.js" "^2.4.11" + +"@noble/curves@~1.0.0", "@noble/curves@1.0.0": + "integrity" "sha512-2upgEu0iLiDVDZkNLeFV2+ht0BAVgQnEmCk6JsOch9Rp8xfkMCbvbAZlA2pBHQc73dbl+vFOXfqkf4uemdn0bw==" + "resolved" "https://registry.npmjs.org/@noble/curves/-/curves-1.0.0.tgz" + "version" "1.0.0" dependencies: "@noble/hashes" "1.3.0" "@noble/ed25519@^1.7.0": - version "1.7.3" - resolved "https://registry.yarnpkg.com/@noble/ed25519/-/ed25519-1.7.3.tgz#57e1677bf6885354b466c38e2b620c62f45a7123" - integrity sha512-iR8GBkDt0Q3GyaVcIu7mSsVIqnFbkbRzGLWlvhwunacoLwt4J3swfKhfaM6rN6WY+TBGoYT1GtT1mIh2/jGbRQ== + "integrity" "sha512-iR8GBkDt0Q3GyaVcIu7mSsVIqnFbkbRzGLWlvhwunacoLwt4J3swfKhfaM6rN6WY+TBGoYT1GtT1mIh2/jGbRQ==" + "resolved" "https://registry.npmjs.org/@noble/ed25519/-/ed25519-1.7.3.tgz" + "version" "1.7.3" -"@noble/hashes@1.2.0", "@noble/hashes@~1.2.0": - version "1.2.0" - resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.2.0.tgz#a3150eeb09cc7ab207ebf6d7b9ad311a9bdbed12" - integrity sha512-FZfhjEDbT5GRswV3C6uvLPHMiVD6lQBmpoX5+eSiPaMTXte/IKqI5dykDxzZB/WBeK/CDuQRBWarPdi3FNY2zQ== +"@noble/hashes@^1", "@noble/hashes@^1.0.0", "@noble/hashes@^1.1.2", "@noble/hashes@^1.2.0", "@noble/hashes@^1.3.0", "@noble/hashes@~1.3.0", "@noble/hashes@1.3.0": + "integrity" "sha512-ilHEACi9DwqJB0pw7kv+Apvh50jiiSyR/cQ3y4W7lOR5mhvn/50FLUfsnfJz0BDZtl/RR16kXvptiv6q1msYZg==" + "resolved" "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.0.tgz" + "version" "1.3.0" -"@noble/hashes@1.3.0", "@noble/hashes@^1", "@noble/hashes@^1.0.0", "@noble/hashes@^1.1.2", "@noble/hashes@^1.2.0", "@noble/hashes@^1.3.0", "@noble/hashes@~1.3.0": - version "1.3.0" - resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.3.0.tgz#085fd70f6d7d9d109671090ccae1d3bec62554a1" - integrity sha512-ilHEACi9DwqJB0pw7kv+Apvh50jiiSyR/cQ3y4W7lOR5mhvn/50FLUfsnfJz0BDZtl/RR16kXvptiv6q1msYZg== +"@noble/hashes@~1.2.0", "@noble/hashes@1.2.0": + "integrity" "sha512-FZfhjEDbT5GRswV3C6uvLPHMiVD6lQBmpoX5+eSiPaMTXte/IKqI5dykDxzZB/WBeK/CDuQRBWarPdi3FNY2zQ==" + "resolved" "https://registry.npmjs.org/@noble/hashes/-/hashes-1.2.0.tgz" + "version" "1.2.0" -"@noble/secp256k1@1.7.1", "@noble/secp256k1@^1.6.3", "@noble/secp256k1@~1.7.0": - version "1.7.1" - resolved "https://registry.yarnpkg.com/@noble/secp256k1/-/secp256k1-1.7.1.tgz#b251c70f824ce3ca7f8dc3df08d58f005cc0507c" - integrity sha512-hOUk6AyBFmqVrv7k5WAw/LpszxVbj9gGN4JRkIX52fdFAj1UA61KXmZDvqVEm+pOyec3+fIeZB02LYa/pWOArw== +"@noble/secp256k1@^1.6.3", "@noble/secp256k1@~1.7.0", "@noble/secp256k1@1.7.1": + "integrity" "sha512-hOUk6AyBFmqVrv7k5WAw/LpszxVbj9gGN4JRkIX52fdFAj1UA61KXmZDvqVEm+pOyec3+fIeZB02LYa/pWOArw==" + "resolved" "https://registry.npmjs.org/@noble/secp256k1/-/secp256k1-1.7.1.tgz" + "version" "1.7.1" "@nodelib/fs.scandir@2.1.5": - version "2.1.5" - resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5" - integrity sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g== + "integrity" "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==" + "resolved" "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz" + "version" "2.1.5" dependencies: "@nodelib/fs.stat" "2.0.5" - run-parallel "^1.1.9" - -"@nodelib/fs.stat@2.0.5", "@nodelib/fs.stat@^2.0.2": - version "2.0.5" - resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz#5bd262af94e9d25bd1e71b05deed44876a222e8b" - integrity sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A== + "run-parallel" "^1.1.9" "@nodelib/fs.stat@^1.1.2": - version "1.1.3" - resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-1.1.3.tgz#2b5a3ab3f918cca48a8c754c08168e3f03eba61b" - integrity sha512-shAmDyaQC4H92APFoIaVDHCx5bStIocgvbwQyxPRrbUY20V1EYTbSDchWbuwlMG3V17cprZhA6+78JfB+3DTPw== + "integrity" "sha512-shAmDyaQC4H92APFoIaVDHCx5bStIocgvbwQyxPRrbUY20V1EYTbSDchWbuwlMG3V17cprZhA6+78JfB+3DTPw==" + "resolved" "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-1.1.3.tgz" + "version" "1.1.3" + +"@nodelib/fs.stat@^2.0.2", "@nodelib/fs.stat@2.0.5": + "integrity" "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==" + "resolved" "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz" + "version" "2.0.5" "@nodelib/fs.walk@^1.2.3": - version "1.2.8" - resolved "https://registry.yarnpkg.com/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz#e95737e8bb6746ddedf69c556953494f196fe69a" - integrity sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg== + "integrity" "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==" + "resolved" "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz" + "version" "1.2.8" dependencies: "@nodelib/fs.scandir" "2.1.5" - fastq "^1.6.0" + "fastq" "^1.6.0" -"@nomicfoundation/ethereumjs-block@4.2.2", "@nomicfoundation/ethereumjs-block@^4.0.0": - version "4.2.2" - resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-block/-/ethereumjs-block-4.2.2.tgz#f317078c810a54381c682d0c12e1e81acfc11599" - integrity sha512-atjpt4gc6ZGZUPHBAQaUJsm1l/VCo7FmyQ780tMGO8QStjLdhz09dXynmhwVTy5YbRr0FOh/uX3QaEM0yIB2Zg== +"@nomicfoundation/ethereumjs-block@^4.0.0", "@nomicfoundation/ethereumjs-block@4.2.2": + "integrity" "sha512-atjpt4gc6ZGZUPHBAQaUJsm1l/VCo7FmyQ780tMGO8QStjLdhz09dXynmhwVTy5YbRr0FOh/uX3QaEM0yIB2Zg==" + "resolved" "https://registry.npmjs.org/@nomicfoundation/ethereumjs-block/-/ethereumjs-block-4.2.2.tgz" + "version" "4.2.2" dependencies: "@nomicfoundation/ethereumjs-common" "3.1.2" "@nomicfoundation/ethereumjs-rlp" "4.0.3" "@nomicfoundation/ethereumjs-trie" "5.0.5" "@nomicfoundation/ethereumjs-tx" "4.1.2" "@nomicfoundation/ethereumjs-util" "8.0.6" - ethereum-cryptography "0.1.3" + "ethereum-cryptography" "0.1.3" -"@nomicfoundation/ethereumjs-blockchain@6.2.2", "@nomicfoundation/ethereumjs-blockchain@^6.0.0": - version "6.2.2" - resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-blockchain/-/ethereumjs-blockchain-6.2.2.tgz#9f79dd2b3dc73f5d5a220f7d8a734330c4c26320" - integrity sha512-6AIB2MoTEPZJLl6IRKcbd8mUmaBAQ/NMe3O7OsAOIiDjMNPPH5KaUQiLfbVlegT4wKIg/GOsFH7XlH2KDVoJNg== +"@nomicfoundation/ethereumjs-blockchain@^6.0.0", "@nomicfoundation/ethereumjs-blockchain@6.2.2": + "integrity" "sha512-6AIB2MoTEPZJLl6IRKcbd8mUmaBAQ/NMe3O7OsAOIiDjMNPPH5KaUQiLfbVlegT4wKIg/GOsFH7XlH2KDVoJNg==" + "resolved" "https://registry.npmjs.org/@nomicfoundation/ethereumjs-blockchain/-/ethereumjs-blockchain-6.2.2.tgz" + "version" "6.2.2" dependencies: "@nomicfoundation/ethereumjs-block" "4.2.2" "@nomicfoundation/ethereumjs-common" "3.1.2" @@ -2786,97 +2957,97 @@ "@nomicfoundation/ethereumjs-rlp" "4.0.3" "@nomicfoundation/ethereumjs-trie" "5.0.5" "@nomicfoundation/ethereumjs-util" "8.0.6" - abstract-level "^1.0.3" - debug "^4.3.3" - ethereum-cryptography "0.1.3" - level "^8.0.0" - lru-cache "^5.1.1" - memory-level "^1.0.0" - -"@nomicfoundation/ethereumjs-common@3.1.2", "@nomicfoundation/ethereumjs-common@^3.0.0": - version "3.1.2" - resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-common/-/ethereumjs-common-3.1.2.tgz#041086da66ed40f2bf2a2116a1f2f0fcf33fb80d" - integrity sha512-JAEBpIua62dyObHM9KI2b4wHZcRQYYge9gxiygTWa3lNCr2zo+K0TbypDpgiNij5MCGNWP1eboNfNfx1a3vkvA== + "abstract-level" "^1.0.3" + "debug" "^4.3.3" + "ethereum-cryptography" "0.1.3" + "level" "^8.0.0" + "lru-cache" "^5.1.1" + "memory-level" "^1.0.0" + +"@nomicfoundation/ethereumjs-common@^3.0.0", "@nomicfoundation/ethereumjs-common@3.1.2": + "integrity" "sha512-JAEBpIua62dyObHM9KI2b4wHZcRQYYge9gxiygTWa3lNCr2zo+K0TbypDpgiNij5MCGNWP1eboNfNfx1a3vkvA==" + "resolved" "https://registry.npmjs.org/@nomicfoundation/ethereumjs-common/-/ethereumjs-common-3.1.2.tgz" + "version" "3.1.2" dependencies: "@nomicfoundation/ethereumjs-util" "8.0.6" - crc-32 "^1.2.0" + "crc-32" "^1.2.0" "@nomicfoundation/ethereumjs-ethash@2.0.5": - version "2.0.5" - resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-ethash/-/ethereumjs-ethash-2.0.5.tgz#0c605812f6f4589a9f6d597db537bbf3b86469db" - integrity sha512-xlLdcICGgAYyYmnI3r1t0R5fKGBJNDQSOQxXNjVO99JmxJIdXR5MgPo5CSJO1RpyzKOgzi3uIFn8agv564dZEQ== + "integrity" "sha512-xlLdcICGgAYyYmnI3r1t0R5fKGBJNDQSOQxXNjVO99JmxJIdXR5MgPo5CSJO1RpyzKOgzi3uIFn8agv564dZEQ==" + "resolved" "https://registry.npmjs.org/@nomicfoundation/ethereumjs-ethash/-/ethereumjs-ethash-2.0.5.tgz" + "version" "2.0.5" dependencies: "@nomicfoundation/ethereumjs-block" "4.2.2" "@nomicfoundation/ethereumjs-rlp" "4.0.3" "@nomicfoundation/ethereumjs-util" "8.0.6" - abstract-level "^1.0.3" - bigint-crypto-utils "^3.0.23" - ethereum-cryptography "0.1.3" + "abstract-level" "^1.0.3" + "bigint-crypto-utils" "^3.0.23" + "ethereum-cryptography" "0.1.3" -"@nomicfoundation/ethereumjs-evm@1.3.2", "@nomicfoundation/ethereumjs-evm@^1.0.0": - version "1.3.2" - resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-evm/-/ethereumjs-evm-1.3.2.tgz#f9d6bafd5c23d07ab75b8649d589af1a43b60bfc" - integrity sha512-I00d4MwXuobyoqdPe/12dxUQxTYzX8OckSaWsMcWAfQhgVDvBx6ffPyP/w1aL0NW7MjyerySPcSVfDJAMHjilw== +"@nomicfoundation/ethereumjs-evm@^1.0.0", "@nomicfoundation/ethereumjs-evm@1.3.2": + "integrity" "sha512-I00d4MwXuobyoqdPe/12dxUQxTYzX8OckSaWsMcWAfQhgVDvBx6ffPyP/w1aL0NW7MjyerySPcSVfDJAMHjilw==" + "resolved" "https://registry.npmjs.org/@nomicfoundation/ethereumjs-evm/-/ethereumjs-evm-1.3.2.tgz" + "version" "1.3.2" dependencies: "@nomicfoundation/ethereumjs-common" "3.1.2" "@nomicfoundation/ethereumjs-util" "8.0.6" "@types/async-eventemitter" "^0.2.1" - async-eventemitter "^0.2.4" - debug "^4.3.3" - ethereum-cryptography "0.1.3" - mcl-wasm "^0.7.1" - rustbn.js "~0.2.0" - -"@nomicfoundation/ethereumjs-rlp@4.0.3", "@nomicfoundation/ethereumjs-rlp@^4.0.0": - version "4.0.3" - resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-rlp/-/ethereumjs-rlp-4.0.3.tgz#8d9147fbd0d49e8f4c5ce729d226694a8fe03eb8" - integrity sha512-DZMzB/lqPK78T6MluyXqtlRmOMcsZbTTbbEyAjo0ncaff2mqu/k8a79PBcyvpgAhWD/R59Fjq/x3ro5Lof0AtA== - -"@nomicfoundation/ethereumjs-statemanager@1.0.5", "@nomicfoundation/ethereumjs-statemanager@^1.0.0": - version "1.0.5" - resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-statemanager/-/ethereumjs-statemanager-1.0.5.tgz#951cc9ff2c421d40233d2e9d0fe033db2391ee44" - integrity sha512-CAhzpzTR5toh/qOJIZUUOnWekUXuRqkkzaGAQrVcF457VhtCmr+ddZjjK50KNZ524c1XP8cISguEVNqJ6ij1sA== + "async-eventemitter" "^0.2.4" + "debug" "^4.3.3" + "ethereum-cryptography" "0.1.3" + "mcl-wasm" "^0.7.1" + "rustbn.js" "~0.2.0" + +"@nomicfoundation/ethereumjs-rlp@^4.0.0", "@nomicfoundation/ethereumjs-rlp@4.0.3": + "integrity" "sha512-DZMzB/lqPK78T6MluyXqtlRmOMcsZbTTbbEyAjo0ncaff2mqu/k8a79PBcyvpgAhWD/R59Fjq/x3ro5Lof0AtA==" + "resolved" "https://registry.npmjs.org/@nomicfoundation/ethereumjs-rlp/-/ethereumjs-rlp-4.0.3.tgz" + "version" "4.0.3" + +"@nomicfoundation/ethereumjs-statemanager@^1.0.0", "@nomicfoundation/ethereumjs-statemanager@1.0.5": + "integrity" "sha512-CAhzpzTR5toh/qOJIZUUOnWekUXuRqkkzaGAQrVcF457VhtCmr+ddZjjK50KNZ524c1XP8cISguEVNqJ6ij1sA==" + "resolved" "https://registry.npmjs.org/@nomicfoundation/ethereumjs-statemanager/-/ethereumjs-statemanager-1.0.5.tgz" + "version" "1.0.5" dependencies: "@nomicfoundation/ethereumjs-common" "3.1.2" "@nomicfoundation/ethereumjs-rlp" "4.0.3" "@nomicfoundation/ethereumjs-trie" "5.0.5" "@nomicfoundation/ethereumjs-util" "8.0.6" - debug "^4.3.3" - ethereum-cryptography "0.1.3" - functional-red-black-tree "^1.0.1" + "debug" "^4.3.3" + "ethereum-cryptography" "0.1.3" + "functional-red-black-tree" "^1.0.1" -"@nomicfoundation/ethereumjs-trie@5.0.5", "@nomicfoundation/ethereumjs-trie@^5.0.0": - version "5.0.5" - resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-trie/-/ethereumjs-trie-5.0.5.tgz#bf31c9306dcbba2007fad668e96109ddb147040c" - integrity sha512-+8sNZrXkzvA1NH5F4kz5RSYl1I6iaRz7mAZRsyxOm0IVY4UaP43Ofvfp/TwOalFunurQrYB5pRO40+8FBcxFMA== +"@nomicfoundation/ethereumjs-trie@^5.0.0", "@nomicfoundation/ethereumjs-trie@5.0.5": + "integrity" "sha512-+8sNZrXkzvA1NH5F4kz5RSYl1I6iaRz7mAZRsyxOm0IVY4UaP43Ofvfp/TwOalFunurQrYB5pRO40+8FBcxFMA==" + "resolved" "https://registry.npmjs.org/@nomicfoundation/ethereumjs-trie/-/ethereumjs-trie-5.0.5.tgz" + "version" "5.0.5" dependencies: "@nomicfoundation/ethereumjs-rlp" "4.0.3" "@nomicfoundation/ethereumjs-util" "8.0.6" - ethereum-cryptography "0.1.3" - readable-stream "^3.6.0" + "ethereum-cryptography" "0.1.3" + "readable-stream" "^3.6.0" -"@nomicfoundation/ethereumjs-tx@4.1.2", "@nomicfoundation/ethereumjs-tx@^4.0.0": - version "4.1.2" - resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-tx/-/ethereumjs-tx-4.1.2.tgz#8659fad7f9094b7eb82aa6cc3c8097cb1c42ff31" - integrity sha512-emJBJZpmTdUa09cqxQqHaysbBI9Od353ZazeH7WgPb35miMgNY6mb7/3vBA98N5lUW/rgkiItjX0KZfIzihSoQ== +"@nomicfoundation/ethereumjs-tx@^4.0.0", "@nomicfoundation/ethereumjs-tx@4.1.2": + "integrity" "sha512-emJBJZpmTdUa09cqxQqHaysbBI9Od353ZazeH7WgPb35miMgNY6mb7/3vBA98N5lUW/rgkiItjX0KZfIzihSoQ==" + "resolved" "https://registry.npmjs.org/@nomicfoundation/ethereumjs-tx/-/ethereumjs-tx-4.1.2.tgz" + "version" "4.1.2" dependencies: "@nomicfoundation/ethereumjs-common" "3.1.2" "@nomicfoundation/ethereumjs-rlp" "4.0.3" "@nomicfoundation/ethereumjs-util" "8.0.6" - ethereum-cryptography "0.1.3" + "ethereum-cryptography" "0.1.3" -"@nomicfoundation/ethereumjs-util@8.0.6", "@nomicfoundation/ethereumjs-util@^8.0.0": - version "8.0.6" - resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-util/-/ethereumjs-util-8.0.6.tgz#dbce5d258b017b37aa58b3a7c330ad59d10ccf0b" - integrity sha512-jOQfF44laa7xRfbfLXojdlcpkvxeHrE2Xu7tSeITsWFgoII163MzjOwFEzSNozHYieFysyoEMhCdP+NY5ikstw== +"@nomicfoundation/ethereumjs-util@^8.0.0", "@nomicfoundation/ethereumjs-util@8.0.6": + "integrity" "sha512-jOQfF44laa7xRfbfLXojdlcpkvxeHrE2Xu7tSeITsWFgoII163MzjOwFEzSNozHYieFysyoEMhCdP+NY5ikstw==" + "resolved" "https://registry.npmjs.org/@nomicfoundation/ethereumjs-util/-/ethereumjs-util-8.0.6.tgz" + "version" "8.0.6" dependencies: "@nomicfoundation/ethereumjs-rlp" "4.0.3" - ethereum-cryptography "0.1.3" + "ethereum-cryptography" "0.1.3" "@nomicfoundation/ethereumjs-vm@^6.0.0": - version "6.4.2" - resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-vm/-/ethereumjs-vm-6.4.2.tgz#af1cf62e6c0054bc2b7febc8556d032433d1b18c" - integrity sha512-PRTyxZMP6kx+OdAzBhuH1LD2Yw+hrSpaytftvaK//thDy2OI07S0nrTdbrdk7b8ZVPAc9H9oTwFBl3/wJ3w15g== + "integrity" "sha512-PRTyxZMP6kx+OdAzBhuH1LD2Yw+hrSpaytftvaK//thDy2OI07S0nrTdbrdk7b8ZVPAc9H9oTwFBl3/wJ3w15g==" + "resolved" "https://registry.npmjs.org/@nomicfoundation/ethereumjs-vm/-/ethereumjs-vm-6.4.2.tgz" + "version" "6.4.2" dependencies: "@nomicfoundation/ethereumjs-block" "4.2.2" "@nomicfoundation/ethereumjs-blockchain" "6.2.2" @@ -2888,67 +3059,22 @@ "@nomicfoundation/ethereumjs-tx" "4.1.2" "@nomicfoundation/ethereumjs-util" "8.0.6" "@types/async-eventemitter" "^0.2.1" - async-eventemitter "^0.2.4" - debug "^4.3.3" - ethereum-cryptography "0.1.3" - functional-red-black-tree "^1.0.1" - mcl-wasm "^0.7.1" - rustbn.js "~0.2.0" + "async-eventemitter" "^0.2.4" + "debug" "^4.3.3" + "ethereum-cryptography" "0.1.3" + "functional-red-black-tree" "^1.0.1" + "mcl-wasm" "^0.7.1" + "rustbn.js" "~0.2.0" "@nomicfoundation/solidity-analyzer-darwin-arm64@0.1.1": - version "0.1.1" - resolved "https://registry.yarnpkg.com/@nomicfoundation/solidity-analyzer-darwin-arm64/-/solidity-analyzer-darwin-arm64-0.1.1.tgz#4c858096b1c17fe58a474fe81b46815f93645c15" - integrity sha512-KcTodaQw8ivDZyF+D76FokN/HdpgGpfjc/gFCImdLUyqB6eSWVaZPazMbeAjmfhx3R0zm/NYVzxwAokFKgrc0w== - -"@nomicfoundation/solidity-analyzer-darwin-x64@0.1.1": - version "0.1.1" - resolved "https://registry.yarnpkg.com/@nomicfoundation/solidity-analyzer-darwin-x64/-/solidity-analyzer-darwin-x64-0.1.1.tgz#6e25ccdf6e2d22389c35553b64fe6f3fdaec432c" - integrity sha512-XhQG4BaJE6cIbjAVtzGOGbK3sn1BO9W29uhk9J8y8fZF1DYz0Doj8QDMfpMu+A6TjPDs61lbsmeYodIDnfveSA== - -"@nomicfoundation/solidity-analyzer-freebsd-x64@0.1.1": - version "0.1.1" - resolved "https://registry.yarnpkg.com/@nomicfoundation/solidity-analyzer-freebsd-x64/-/solidity-analyzer-freebsd-x64-0.1.1.tgz#0a224ea50317139caeebcdedd435c28a039d169c" - integrity sha512-GHF1VKRdHW3G8CndkwdaeLkVBi5A9u2jwtlS7SLhBc8b5U/GcoL39Q+1CSO3hYqePNP+eV5YI7Zgm0ea6kMHoA== - -"@nomicfoundation/solidity-analyzer-linux-arm64-gnu@0.1.1": - version "0.1.1" - resolved "https://registry.yarnpkg.com/@nomicfoundation/solidity-analyzer-linux-arm64-gnu/-/solidity-analyzer-linux-arm64-gnu-0.1.1.tgz#dfa085d9ffab9efb2e7b383aed3f557f7687ac2b" - integrity sha512-g4Cv2fO37ZsUENQ2vwPnZc2zRenHyAxHcyBjKcjaSmmkKrFr64yvzeNO8S3GBFCo90rfochLs99wFVGT/0owpg== - -"@nomicfoundation/solidity-analyzer-linux-arm64-musl@0.1.1": - version "0.1.1" - resolved "https://registry.yarnpkg.com/@nomicfoundation/solidity-analyzer-linux-arm64-musl/-/solidity-analyzer-linux-arm64-musl-0.1.1.tgz#c9e06b5d513dd3ab02a7ac069c160051675889a4" - integrity sha512-WJ3CE5Oek25OGE3WwzK7oaopY8xMw9Lhb0mlYuJl/maZVo+WtP36XoQTb7bW/i8aAdHW5Z+BqrHMux23pvxG3w== - -"@nomicfoundation/solidity-analyzer-linux-x64-gnu@0.1.1": - version "0.1.1" - resolved "https://registry.yarnpkg.com/@nomicfoundation/solidity-analyzer-linux-x64-gnu/-/solidity-analyzer-linux-x64-gnu-0.1.1.tgz#8d328d16839e52571f72f2998c81e46bf320f893" - integrity sha512-5WN7leSr5fkUBBjE4f3wKENUy9HQStu7HmWqbtknfXkkil+eNWiBV275IOlpXku7v3uLsXTOKpnnGHJYI2qsdA== - -"@nomicfoundation/solidity-analyzer-linux-x64-musl@0.1.1": - version "0.1.1" - resolved "https://registry.yarnpkg.com/@nomicfoundation/solidity-analyzer-linux-x64-musl/-/solidity-analyzer-linux-x64-musl-0.1.1.tgz#9b49d0634b5976bb5ed1604a1e1b736f390959bb" - integrity sha512-KdYMkJOq0SYPQMmErv/63CwGwMm5XHenEna9X9aB8mQmhDBrYrlAOSsIPgFCUSL0hjxE3xHP65/EPXR/InD2+w== - -"@nomicfoundation/solidity-analyzer-win32-arm64-msvc@0.1.1": - version "0.1.1" - resolved "https://registry.yarnpkg.com/@nomicfoundation/solidity-analyzer-win32-arm64-msvc/-/solidity-analyzer-win32-arm64-msvc-0.1.1.tgz#e2867af7264ebbcc3131ef837878955dd6a3676f" - integrity sha512-VFZASBfl4qiBYwW5xeY20exWhmv6ww9sWu/krWSesv3q5hA0o1JuzmPHR4LPN6SUZj5vcqci0O6JOL8BPw+APg== - -"@nomicfoundation/solidity-analyzer-win32-ia32-msvc@0.1.1": - version "0.1.1" - resolved "https://registry.yarnpkg.com/@nomicfoundation/solidity-analyzer-win32-ia32-msvc/-/solidity-analyzer-win32-ia32-msvc-0.1.1.tgz#0685f78608dd516c8cdfb4896ed451317e559585" - integrity sha512-JnFkYuyCSA70j6Si6cS1A9Gh1aHTEb8kOTBApp/c7NRTFGNMH8eaInKlyuuiIbvYFhlXW4LicqyYuWNNq9hkpQ== - -"@nomicfoundation/solidity-analyzer-win32-x64-msvc@0.1.1": - version "0.1.1" - resolved "https://registry.yarnpkg.com/@nomicfoundation/solidity-analyzer-win32-x64-msvc/-/solidity-analyzer-win32-x64-msvc-0.1.1.tgz#c9a44f7108646f083b82e851486e0f6aeb785836" - integrity sha512-HrVJr6+WjIXGnw3Q9u6KQcbZCtk0caVWhCdFADySvRyUxJ8PnzlaP+MhwNE8oyT8OZ6ejHBRrrgjSqDCFXGirw== + "integrity" "sha512-KcTodaQw8ivDZyF+D76FokN/HdpgGpfjc/gFCImdLUyqB6eSWVaZPazMbeAjmfhx3R0zm/NYVzxwAokFKgrc0w==" + "resolved" "https://registry.npmjs.org/@nomicfoundation/solidity-analyzer-darwin-arm64/-/solidity-analyzer-darwin-arm64-0.1.1.tgz" + "version" "0.1.1" "@nomicfoundation/solidity-analyzer@^0.1.0": - version "0.1.1" - resolved "https://registry.yarnpkg.com/@nomicfoundation/solidity-analyzer/-/solidity-analyzer-0.1.1.tgz#f5f4d36d3f66752f59a57e7208cd856f3ddf6f2d" - integrity sha512-1LMtXj1puAxyFusBgUIy5pZk3073cNXYnXUpuNKFghHbIit/xZgbk0AokpUADbNm3gyD6bFWl3LRFh3dhVdREg== + "integrity" "sha512-1LMtXj1puAxyFusBgUIy5pZk3073cNXYnXUpuNKFghHbIit/xZgbk0AokpUADbNm3gyD6bFWl3LRFh3dhVdREg==" + "resolved" "https://registry.npmjs.org/@nomicfoundation/solidity-analyzer/-/solidity-analyzer-0.1.1.tgz" + "version" "0.1.1" optionalDependencies: "@nomicfoundation/solidity-analyzer-darwin-arm64" "0.1.1" "@nomicfoundation/solidity-analyzer-darwin-x64" "0.1.1" @@ -2962,163 +3088,163 @@ "@nomicfoundation/solidity-analyzer-win32-x64-msvc" "0.1.1" "@openzeppelin/contracts@3.4.1-solc-0.7-2": - version "3.4.1-solc-0.7-2" - resolved "https://registry.yarnpkg.com/@openzeppelin/contracts/-/contracts-3.4.1-solc-0.7-2.tgz#371c67ebffe50f551c3146a9eec5fe6ffe862e92" - integrity sha512-tAG9LWg8+M2CMu7hIsqHPaTyG4uDzjr6mhvH96LvOpLZZj6tgzTluBt+LsCf1/QaYrlis6pITvpIaIhE+iZB+Q== + "integrity" "sha512-tAG9LWg8+M2CMu7hIsqHPaTyG4uDzjr6mhvH96LvOpLZZj6tgzTluBt+LsCf1/QaYrlis6pITvpIaIhE+iZB+Q==" + "resolved" "https://registry.npmjs.org/@openzeppelin/contracts/-/contracts-3.4.1-solc-0.7-2.tgz" + "version" "3.4.1-solc-0.7-2" "@openzeppelin/contracts@3.4.2-solc-0.7": - version "3.4.2-solc-0.7" - resolved "https://registry.yarnpkg.com/@openzeppelin/contracts/-/contracts-3.4.2-solc-0.7.tgz#38f4dbab672631034076ccdf2f3201fab1726635" - integrity sha512-W6QmqgkADuFcTLzHL8vVoNBtkwjvQRpYIAom7KiUNoLKghyx3FgH0GBjt8NRvigV1ZmMOBllvE1By1C+bi8WpA== + "integrity" "sha512-W6QmqgkADuFcTLzHL8vVoNBtkwjvQRpYIAom7KiUNoLKghyx3FgH0GBjt8NRvigV1ZmMOBllvE1By1C+bi8WpA==" + "resolved" "https://registry.npmjs.org/@openzeppelin/contracts/-/contracts-3.4.2-solc-0.7.tgz" + "version" "3.4.2-solc-0.7" "@pancakeswap-libs/pancake-swap-core@^0.1.0": - version "0.1.0" - resolved "https://registry.yarnpkg.com/@pancakeswap-libs/pancake-swap-core/-/pancake-swap-core-0.1.0.tgz#6957f1fa02170531a2ffbf95f2c0e145e9d21bc2" - integrity sha512-2jYiD1Ec3xAbP4JTa/Ozylx0xI4VwC7diCm5ak4AtGrIRhfRLSanaZSQdVpLigUnIFszma/4nVWtt3cup4Poxw== + "integrity" "sha512-2jYiD1Ec3xAbP4JTa/Ozylx0xI4VwC7diCm5ak4AtGrIRhfRLSanaZSQdVpLigUnIFszma/4nVWtt3cup4Poxw==" + "resolved" "https://registry.npmjs.org/@pancakeswap-libs/pancake-swap-core/-/pancake-swap-core-0.1.0.tgz" + "version" "0.1.0" dependencies: - truffle "^5.1.41" - truffle-flattener "^1.4.4" - truffle-hdwallet-provider "^1.0.17" + "truffle" "^5.1.41" + "truffle-flattener" "^1.4.4" + "truffle-hdwallet-provider" "^1.0.17" "@pancakeswap/sdk@^2.4.5": - version "2.4.5" - resolved "https://registry.yarnpkg.com/@pancakeswap/sdk/-/sdk-2.4.5.tgz#783c02efc7ca89d2297b0b07040639d90c3e610d" - integrity sha512-qfHOPGXitDQ5y1dmYloe6UQe/0Ki0enow4MLtr5W49Jl7ZXr8oB6XV7usYtT63R7vqLSKY83rd8Wyw18vxP7dA== + "integrity" "sha512-qfHOPGXitDQ5y1dmYloe6UQe/0Ki0enow4MLtr5W49Jl7ZXr8oB6XV7usYtT63R7vqLSKY83rd8Wyw18vxP7dA==" + "resolved" "https://registry.npmjs.org/@pancakeswap/sdk/-/sdk-2.4.5.tgz" + "version" "2.4.5" dependencies: - big.js "^5.2.2" - decimal.js-light "^2.5.0" - jsbi "^3.1.4" - tiny-invariant "^1.1.0" - tiny-warning "^1.0.3" - toformat "^2.0.0" + "big.js" "^5.2.2" + "decimal.js-light" "^2.5.0" + "jsbi" "^3.1.4" + "tiny-invariant" "^1.1.0" + "tiny-warning" "^1.0.3" + "toformat" "^2.0.0" "@pangolindex/exchange-contracts@^1.0.1": - version "1.0.2" - resolved "https://registry.yarnpkg.com/@pangolindex/exchange-contracts/-/exchange-contracts-1.0.2.tgz#2d5be49d9e63a311cb3c2de53b21815923b3a996" - integrity sha512-G0imyN39C/vGX1VT/dn5do9SB8rJjRViT4p76KbseKNZ2wPChtFsz6yRFkqEJjeDRvqhBk7TZZlPGcbNvz/mBA== + "integrity" "sha512-G0imyN39C/vGX1VT/dn5do9SB8rJjRViT4p76KbseKNZ2wPChtFsz6yRFkqEJjeDRvqhBk7TZZlPGcbNvz/mBA==" + "resolved" "https://registry.npmjs.org/@pangolindex/exchange-contracts/-/exchange-contracts-1.0.2.tgz" + "version" "1.0.2" dependencies: - hardhat-tracer "^1.0.0-alpha.5" + "hardhat-tracer" "^1.0.0-alpha.5" "@pangolindex/sdk@^1.1.0": - version "1.5.0" - resolved "https://registry.yarnpkg.com/@pangolindex/sdk/-/sdk-1.5.0.tgz#5b51d76775b2e6fc23aa82264dea291fc12fbd8a" - integrity sha512-b/OLh0wGygl/6unrlJ1VtzepV9DpeNz/ifNVsQOkDUZFlGQT3Gv6DvSXWJelYKPUSK24ZPoNXbu0bvqHfnjhIg== + "integrity" "sha512-b/OLh0wGygl/6unrlJ1VtzepV9DpeNz/ifNVsQOkDUZFlGQT3Gv6DvSXWJelYKPUSK24ZPoNXbu0bvqHfnjhIg==" + "resolved" "https://registry.npmjs.org/@pangolindex/sdk/-/sdk-1.5.0.tgz" + "version" "1.5.0" dependencies: "@pangolindex/exchange-contracts" "^1.0.1" - big.js "^5.2.2" - decimal.js-light "^2.5.0" - jsbi "^3.1.1" - tiny-invariant "^1.1.0" - tiny-warning "^1.0.3" - toformat "^2.0.0" + "big.js" "^5.2.2" + "decimal.js-light" "^2.5.0" + "jsbi" "^3.1.1" + "tiny-invariant" "^1.1.0" + "tiny-warning" "^1.0.3" + "toformat" "^2.0.0" "@particle-network/auth@^0.5.5": - version "0.5.6" - resolved "https://registry.yarnpkg.com/@particle-network/auth/-/auth-0.5.6.tgz#058e00980511fdf72189b6d4a7576e67934a008a" - integrity sha512-QhRr76BamasIatyWc68Whk/JpjomKUFbxT4KoHxrSWD8lmyWTOP5T8Jo8hQliyjtO2Iuzv9KLpuJ55w7mgaC/A== + "integrity" "sha512-QhRr76BamasIatyWc68Whk/JpjomKUFbxT4KoHxrSWD8lmyWTOP5T8Jo8hQliyjtO2Iuzv9KLpuJ55w7mgaC/A==" + "resolved" "https://registry.npmjs.org/@particle-network/auth/-/auth-0.5.6.tgz" + "version" "0.5.6" dependencies: - crypto-js "^4.1.1" - uuid "^8.3.2" + "crypto-js" "^4.1.1" + "uuid" "^8.3.2" "@particle-network/solana-wallet@^0.5.6": - version "0.5.6" - resolved "https://registry.yarnpkg.com/@particle-network/solana-wallet/-/solana-wallet-0.5.6.tgz#701d431820c54c8c592999de29928670a26d5978" - integrity sha512-Ad0hwJsWRCbptp+mmLFsbrERDQbW+QhFQOmWRT8+6gGrY6qNTApwI9+jlpkxOzEI9rvSqFD1qKKMlqy1n+fJNA== + "integrity" "sha512-Ad0hwJsWRCbptp+mmLFsbrERDQbW+QhFQOmWRT8+6gGrY6qNTApwI9+jlpkxOzEI9rvSqFD1qKKMlqy1n+fJNA==" + "resolved" "https://registry.npmjs.org/@particle-network/solana-wallet/-/solana-wallet-0.5.6.tgz" + "version" "0.5.6" dependencies: "@particle-network/auth" "^0.5.5" "@pedrouid/environment@^1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@pedrouid/environment/-/environment-1.0.1.tgz#858f0f8a057340e0b250398b75ead77d6f4342ec" - integrity sha512-HaW78NszGzRZd9SeoI3JD11JqY+lubnaOx7Pewj5pfjqWXOEATpeKIFb9Z4t2WBUK2iryiXX3lzWwmYWgUL0Ug== + "integrity" "sha512-HaW78NszGzRZd9SeoI3JD11JqY+lubnaOx7Pewj5pfjqWXOEATpeKIFb9Z4t2WBUK2iryiXX3lzWwmYWgUL0Ug==" + "resolved" "https://registry.npmjs.org/@pedrouid/environment/-/environment-1.0.1.tgz" + "version" "1.0.1" "@perp/curie-deployments@2022.12.20-1671509278203": - version "2022.12.20-1671509278203" - resolved "https://registry.yarnpkg.com/@perp/curie-deployments/-/curie-deployments-2022.12.20-1671509278203.tgz#16c716936741df41cd91171d3d75575eb49971d8" - integrity sha512-zEHFTzg7S/4V2uRmFQZVrQDghWE8uyMYedp/tMdgKdNCiUaGbsm7c0dBAdO1HxFA49JrshhefJ9rjoaCMLvGTQ== + "integrity" "sha512-zEHFTzg7S/4V2uRmFQZVrQDghWE8uyMYedp/tMdgKdNCiUaGbsm7c0dBAdO1HxFA49JrshhefJ9rjoaCMLvGTQ==" + "resolved" "https://registry.npmjs.org/@perp/curie-deployments/-/curie-deployments-2022.12.20-1671509278203.tgz" + "version" "2022.12.20-1671509278203" "@perp/sdk-curie@^1.16.0": - version "1.18.0" - resolved "https://registry.yarnpkg.com/@perp/sdk-curie/-/sdk-curie-1.18.0.tgz#8b1400390b066ed6109140d7c2ae7f42462e932e" - integrity sha512-im2uk0xq42PzLw2OHcDmp/I9Nie1eSBD0D+xFd4N6MlJ1ilVSzex88jdZfxJJG9aKts9DLxNNzz6hFh0poDxGA== + "integrity" "sha512-im2uk0xq42PzLw2OHcDmp/I9Nie1eSBD0D+xFd4N6MlJ1ilVSzex88jdZfxJJG9aKts9DLxNNzz6hFh0poDxGA==" + "resolved" "https://registry.npmjs.org/@perp/sdk-curie/-/sdk-curie-1.18.0.tgz" + "version" "1.18.0" dependencies: "@perp/curie-deployments" "2022.12.20-1671509278203" - cross-fetch "3.1.5" - exponential-backoff "3.1.0" + "cross-fetch" "3.1.5" + "exponential-backoff" "3.1.0" -"@project-serum/sol-wallet-adapter@0.2.0": - version "0.2.0" - resolved "https://registry.yarnpkg.com/@project-serum/sol-wallet-adapter/-/sol-wallet-adapter-0.2.0.tgz#e1fa5508bf13110429bf26e10b818182015f2161" - integrity sha512-ed7wZwlDqjF88VCq7eHVO8njHqdUkBxBL8WEVOnB47ooLO4btOJt6GBdkKpKqKX86c86LiEROJclcdW8e7kIjg== +"@project-serum/sol-wallet-adapter@^0.2.6": + "integrity" "sha512-cpIb13aWPW8y4KzkZAPDgw+Kb+DXjCC6rZoH74MGm3I/6e/zKyGnfAuW5olb2zxonFqsYgnv7ev8MQnvSgJ3/g==" + "resolved" "https://registry.npmjs.org/@project-serum/sol-wallet-adapter/-/sol-wallet-adapter-0.2.6.tgz" + "version" "0.2.6" dependencies: - bs58 "^4.0.1" - eventemitter3 "^4.0.4" + "bs58" "^4.0.1" + "eventemitter3" "^4.0.7" -"@project-serum/sol-wallet-adapter@^0.2.6": - version "0.2.6" - resolved "https://registry.yarnpkg.com/@project-serum/sol-wallet-adapter/-/sol-wallet-adapter-0.2.6.tgz#b4cd25a566294354427c97c26d716112b91a0107" - integrity sha512-cpIb13aWPW8y4KzkZAPDgw+Kb+DXjCC6rZoH74MGm3I/6e/zKyGnfAuW5olb2zxonFqsYgnv7ev8MQnvSgJ3/g== +"@project-serum/sol-wallet-adapter@0.2.0": + "integrity" "sha512-ed7wZwlDqjF88VCq7eHVO8njHqdUkBxBL8WEVOnB47ooLO4btOJt6GBdkKpKqKX86c86LiEROJclcdW8e7kIjg==" + "resolved" "https://registry.npmjs.org/@project-serum/sol-wallet-adapter/-/sol-wallet-adapter-0.2.0.tgz" + "version" "0.2.0" dependencies: - bs58 "^4.0.1" - eventemitter3 "^4.0.7" + "bs58" "^4.0.1" + "eventemitter3" "^4.0.4" "@protobufjs/aspromise@^1.1.1", "@protobufjs/aspromise@^1.1.2": - version "1.1.2" - resolved "https://registry.yarnpkg.com/@protobufjs/aspromise/-/aspromise-1.1.2.tgz#9b8b0cc663d669a7d8f6f5d0893a14d348f30fbf" - integrity sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ== + "integrity" "sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==" + "resolved" "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz" + "version" "1.1.2" "@protobufjs/base64@^1.1.2": - version "1.1.2" - resolved "https://registry.yarnpkg.com/@protobufjs/base64/-/base64-1.1.2.tgz#4c85730e59b9a1f1f349047dbf24296034bb2735" - integrity sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg== + "integrity" "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==" + "resolved" "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz" + "version" "1.1.2" "@protobufjs/codegen@^2.0.4": - version "2.0.4" - resolved "https://registry.yarnpkg.com/@protobufjs/codegen/-/codegen-2.0.4.tgz#7ef37f0d010fb028ad1ad59722e506d9262815cb" - integrity sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg== + "integrity" "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==" + "resolved" "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz" + "version" "2.0.4" "@protobufjs/eventemitter@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz#355cbc98bafad5978f9ed095f397621f1d066b70" - integrity sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q== + "integrity" "sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q==" + "resolved" "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz" + "version" "1.1.0" "@protobufjs/fetch@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@protobufjs/fetch/-/fetch-1.1.0.tgz#ba99fb598614af65700c1619ff06d454b0d84c45" - integrity sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ== + "integrity" "sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ==" + "resolved" "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz" + "version" "1.1.0" dependencies: "@protobufjs/aspromise" "^1.1.1" "@protobufjs/inquire" "^1.1.0" "@protobufjs/float@^1.0.2": - version "1.0.2" - resolved "https://registry.yarnpkg.com/@protobufjs/float/-/float-1.0.2.tgz#5e9e1abdcb73fc0a7cb8b291df78c8cbd97b87d1" - integrity sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ== + "integrity" "sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ==" + "resolved" "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz" + "version" "1.0.2" "@protobufjs/inquire@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@protobufjs/inquire/-/inquire-1.1.0.tgz#ff200e3e7cf2429e2dcafc1140828e8cc638f089" - integrity sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q== + "integrity" "sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q==" + "resolved" "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz" + "version" "1.1.0" "@protobufjs/path@^1.1.2": - version "1.1.2" - resolved "https://registry.yarnpkg.com/@protobufjs/path/-/path-1.1.2.tgz#6cc2b20c5c9ad6ad0dccfd21ca7673d8d7fbf68d" - integrity sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA== + "integrity" "sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA==" + "resolved" "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz" + "version" "1.1.2" "@protobufjs/pool@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@protobufjs/pool/-/pool-1.1.0.tgz#09fd15f2d6d3abfa9b65bc366506d6ad7846ff54" - integrity sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw== + "integrity" "sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==" + "resolved" "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz" + "version" "1.1.0" "@protobufjs/utf8@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570" - integrity sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw== + "integrity" "sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==" + "resolved" "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz" + "version" "1.1.0" "@redux-saga/core@^1.0.0": - version "1.2.3" - resolved "https://registry.yarnpkg.com/@redux-saga/core/-/core-1.2.3.tgz#882ed9ac58b5f42c6abb23349542315b871de305" - integrity sha512-U1JO6ncFBAklFTwoQ3mjAeQZ6QGutsJzwNBjgVLSWDpZTRhobUzuVDS1qH3SKGJD8fvqoaYOjp6XJ3gCmeZWgA== + "integrity" "sha512-U1JO6ncFBAklFTwoQ3mjAeQZ6QGutsJzwNBjgVLSWDpZTRhobUzuVDS1qH3SKGJD8fvqoaYOjp6XJ3gCmeZWgA==" + "resolved" "https://registry.npmjs.org/@redux-saga/core/-/core-1.2.3.tgz" + "version" "1.2.3" dependencies: "@babel/runtime" "^7.6.3" "@redux-saga/deferred" "^1.2.1" @@ -3126,559 +3252,559 @@ "@redux-saga/is" "^1.1.3" "@redux-saga/symbols" "^1.1.3" "@redux-saga/types" "^1.2.1" - redux "^4.0.4" - typescript-tuple "^2.2.1" + "redux" "^4.0.4" + "typescript-tuple" "^2.2.1" "@redux-saga/deferred@^1.2.1": - version "1.2.1" - resolved "https://registry.yarnpkg.com/@redux-saga/deferred/-/deferred-1.2.1.tgz#aca373a08ccafd6f3481037f2f7ee97f2c87c3ec" - integrity sha512-cmin3IuuzMdfQjA0lG4B+jX+9HdTgHZZ+6u3jRAOwGUxy77GSlTi4Qp2d6PM1PUoTmQUR5aijlA39scWWPF31g== + "integrity" "sha512-cmin3IuuzMdfQjA0lG4B+jX+9HdTgHZZ+6u3jRAOwGUxy77GSlTi4Qp2d6PM1PUoTmQUR5aijlA39scWWPF31g==" + "resolved" "https://registry.npmjs.org/@redux-saga/deferred/-/deferred-1.2.1.tgz" + "version" "1.2.1" "@redux-saga/delay-p@^1.2.1": - version "1.2.1" - resolved "https://registry.yarnpkg.com/@redux-saga/delay-p/-/delay-p-1.2.1.tgz#e72ac4731c5080a21f75b61bedc31cb639d9e446" - integrity sha512-MdiDxZdvb1m+Y0s4/hgdcAXntpUytr9g0hpcOO1XFVyyzkrDu3SKPgBFOtHn7lhu7n24ZKIAT1qtKyQjHqRd+w== + "integrity" "sha512-MdiDxZdvb1m+Y0s4/hgdcAXntpUytr9g0hpcOO1XFVyyzkrDu3SKPgBFOtHn7lhu7n24ZKIAT1qtKyQjHqRd+w==" + "resolved" "https://registry.npmjs.org/@redux-saga/delay-p/-/delay-p-1.2.1.tgz" + "version" "1.2.1" dependencies: "@redux-saga/symbols" "^1.1.3" "@redux-saga/is@^1.1.3": - version "1.1.3" - resolved "https://registry.yarnpkg.com/@redux-saga/is/-/is-1.1.3.tgz#b333f31967e87e32b4e6b02c75b78d609dd4ad73" - integrity sha512-naXrkETG1jLRfVfhOx/ZdLj0EyAzHYbgJWkXbB3qFliPcHKiWbv/ULQryOAEKyjrhiclmr6AMdgsXFyx7/yE6Q== + "integrity" "sha512-naXrkETG1jLRfVfhOx/ZdLj0EyAzHYbgJWkXbB3qFliPcHKiWbv/ULQryOAEKyjrhiclmr6AMdgsXFyx7/yE6Q==" + "resolved" "https://registry.npmjs.org/@redux-saga/is/-/is-1.1.3.tgz" + "version" "1.1.3" dependencies: "@redux-saga/symbols" "^1.1.3" "@redux-saga/types" "^1.2.1" "@redux-saga/symbols@^1.1.3": - version "1.1.3" - resolved "https://registry.yarnpkg.com/@redux-saga/symbols/-/symbols-1.1.3.tgz#b731d56201719e96dc887dc3ae9016e761654367" - integrity sha512-hCx6ZvU4QAEUojETnX8EVg4ubNLBFl1Lps4j2tX7o45x/2qg37m3c6v+kSp8xjDJY+2tJw4QB3j8o8dsl1FDXg== + "integrity" "sha512-hCx6ZvU4QAEUojETnX8EVg4ubNLBFl1Lps4j2tX7o45x/2qg37m3c6v+kSp8xjDJY+2tJw4QB3j8o8dsl1FDXg==" + "resolved" "https://registry.npmjs.org/@redux-saga/symbols/-/symbols-1.1.3.tgz" + "version" "1.1.3" "@redux-saga/types@^1.2.1": - version "1.2.1" - resolved "https://registry.yarnpkg.com/@redux-saga/types/-/types-1.2.1.tgz#9403f51c17cae37edf870c6bc0c81c1ece5ccef8" - integrity sha512-1dgmkh+3so0+LlBWRhGA33ua4MYr7tUOj+a9Si28vUi0IUFNbff1T3sgpeDJI/LaC75bBYnQ0A3wXjn0OrRNBA== + "integrity" "sha512-1dgmkh+3so0+LlBWRhGA33ua4MYr7tUOj+a9Si28vUi0IUFNbff1T3sgpeDJI/LaC75bBYnQ0A3wXjn0OrRNBA==" + "resolved" "https://registry.npmjs.org/@redux-saga/types/-/types-1.2.1.tgz" + "version" "1.2.1" "@resolver-engine/core@^0.2.1": - version "0.2.1" - resolved "https://registry.yarnpkg.com/@resolver-engine/core/-/core-0.2.1.tgz#0d71803f6d3b8cb2e9ed481a1bf0ca5f5256d0c0" - integrity sha512-nsLQHmPJ77QuifqsIvqjaF5B9aHnDzJjp73Q1z6apY3e9nqYrx4Dtowhpsf7Jwftg/XzVDEMQC+OzUBNTS+S1A== + "integrity" "sha512-nsLQHmPJ77QuifqsIvqjaF5B9aHnDzJjp73Q1z6apY3e9nqYrx4Dtowhpsf7Jwftg/XzVDEMQC+OzUBNTS+S1A==" + "resolved" "https://registry.npmjs.org/@resolver-engine/core/-/core-0.2.1.tgz" + "version" "0.2.1" dependencies: - debug "^3.1.0" - request "^2.85.0" + "debug" "^3.1.0" + "request" "^2.85.0" "@resolver-engine/fs@^0.2.1": - version "0.2.1" - resolved "https://registry.yarnpkg.com/@resolver-engine/fs/-/fs-0.2.1.tgz#f98a308d77568cc02651d03636f46536b941b241" - integrity sha512-7kJInM1Qo2LJcKyDhuYzh9ZWd+mal/fynfL9BNjWOiTcOpX+jNfqb/UmGUqros5pceBITlWGqS4lU709yHFUbg== + "integrity" "sha512-7kJInM1Qo2LJcKyDhuYzh9ZWd+mal/fynfL9BNjWOiTcOpX+jNfqb/UmGUqros5pceBITlWGqS4lU709yHFUbg==" + "resolved" "https://registry.npmjs.org/@resolver-engine/fs/-/fs-0.2.1.tgz" + "version" "0.2.1" dependencies: "@resolver-engine/core" "^0.2.1" - debug "^3.1.0" + "debug" "^3.1.0" "@resolver-engine/imports-fs@^0.2.2": - version "0.2.2" - resolved "https://registry.yarnpkg.com/@resolver-engine/imports-fs/-/imports-fs-0.2.2.tgz#5a81ef3285dbf0411ab3b15205080a1ad7622d9e" - integrity sha512-gFCgMvCwyppjwq0UzIjde/WI+yDs3oatJhozG9xdjJdewwtd7LiF0T5i9lrHAUtqrQbqoFE4E+ZMRVHWpWHpKQ== + "integrity" "sha512-gFCgMvCwyppjwq0UzIjde/WI+yDs3oatJhozG9xdjJdewwtd7LiF0T5i9lrHAUtqrQbqoFE4E+ZMRVHWpWHpKQ==" + "resolved" "https://registry.npmjs.org/@resolver-engine/imports-fs/-/imports-fs-0.2.2.tgz" + "version" "0.2.2" dependencies: "@resolver-engine/fs" "^0.2.1" "@resolver-engine/imports" "^0.2.2" - debug "^3.1.0" + "debug" "^3.1.0" "@resolver-engine/imports@^0.2.2": - version "0.2.2" - resolved "https://registry.yarnpkg.com/@resolver-engine/imports/-/imports-0.2.2.tgz#d3de55a1bb5f3beb7703fdde743298f321175843" - integrity sha512-u5/HUkvo8q34AA+hnxxqqXGfby5swnH0Myw91o3Sm2TETJlNKXibFGSKBavAH+wvWdBi4Z5gS2Odu0PowgVOUg== + "integrity" "sha512-u5/HUkvo8q34AA+hnxxqqXGfby5swnH0Myw91o3Sm2TETJlNKXibFGSKBavAH+wvWdBi4Z5gS2Odu0PowgVOUg==" + "resolved" "https://registry.npmjs.org/@resolver-engine/imports/-/imports-0.2.2.tgz" + "version" "0.2.2" dependencies: "@resolver-engine/core" "^0.2.1" - debug "^3.1.0" - hosted-git-info "^2.6.0" + "debug" "^3.1.0" + "hosted-git-info" "^2.6.0" "@scure/base@~1.1.0": - version "1.1.1" - resolved "https://registry.yarnpkg.com/@scure/base/-/base-1.1.1.tgz#ebb651ee52ff84f420097055f4bf46cfba403938" - integrity sha512-ZxOhsSyxYwLJj3pLZCefNitxsj093tb2vq90mp2txoYeBqbcjDjqFhyM8eUjq/uFm6zJ+mUuqxlS2FkuSY1MTA== + "integrity" "sha512-ZxOhsSyxYwLJj3pLZCefNitxsj093tb2vq90mp2txoYeBqbcjDjqFhyM8eUjq/uFm6zJ+mUuqxlS2FkuSY1MTA==" + "resolved" "https://registry.npmjs.org/@scure/base/-/base-1.1.1.tgz" + "version" "1.1.1" "@scure/bip32@1.1.5": - version "1.1.5" - resolved "https://registry.yarnpkg.com/@scure/bip32/-/bip32-1.1.5.tgz#d2ccae16dcc2e75bc1d75f5ef3c66a338d1ba300" - integrity sha512-XyNh1rB0SkEqd3tXcXMi+Xe1fvg+kUIcoRIEujP1Jgv7DqW2r9lg3Ah0NkFaCs9sTkQAQA8kw7xiRXzENi9Rtw== + "integrity" "sha512-XyNh1rB0SkEqd3tXcXMi+Xe1fvg+kUIcoRIEujP1Jgv7DqW2r9lg3Ah0NkFaCs9sTkQAQA8kw7xiRXzENi9Rtw==" + "resolved" "https://registry.npmjs.org/@scure/bip32/-/bip32-1.1.5.tgz" + "version" "1.1.5" dependencies: "@noble/hashes" "~1.2.0" "@noble/secp256k1" "~1.7.0" "@scure/base" "~1.1.0" "@scure/bip32@1.3.0": - version "1.3.0" - resolved "https://registry.yarnpkg.com/@scure/bip32/-/bip32-1.3.0.tgz#6c8d980ef3f290987736acd0ee2e0f0d50068d87" - integrity sha512-bcKpo1oj54hGholplGLpqPHRbIsnbixFtc06nwuNM5/dwSXOq/AAYoIBRsBmnZJSdfeNW5rnff7NTAz3ZCqR9Q== + "integrity" "sha512-bcKpo1oj54hGholplGLpqPHRbIsnbixFtc06nwuNM5/dwSXOq/AAYoIBRsBmnZJSdfeNW5rnff7NTAz3ZCqR9Q==" + "resolved" "https://registry.npmjs.org/@scure/bip32/-/bip32-1.3.0.tgz" + "version" "1.3.0" dependencies: "@noble/curves" "~1.0.0" "@noble/hashes" "~1.3.0" "@scure/base" "~1.1.0" "@scure/bip39@1.1.1": - version "1.1.1" - resolved "https://registry.yarnpkg.com/@scure/bip39/-/bip39-1.1.1.tgz#b54557b2e86214319405db819c4b6a370cf340c5" - integrity sha512-t+wDck2rVkh65Hmv280fYdVdY25J9YeEUIgn2LG1WM6gxFkGzcksoDiUkWVpVp3Oex9xGC68JU2dSbUfwZ2jPg== + "integrity" "sha512-t+wDck2rVkh65Hmv280fYdVdY25J9YeEUIgn2LG1WM6gxFkGzcksoDiUkWVpVp3Oex9xGC68JU2dSbUfwZ2jPg==" + "resolved" "https://registry.npmjs.org/@scure/bip39/-/bip39-1.1.1.tgz" + "version" "1.1.1" dependencies: "@noble/hashes" "~1.2.0" "@scure/base" "~1.1.0" "@scure/bip39@1.2.0": - version "1.2.0" - resolved "https://registry.yarnpkg.com/@scure/bip39/-/bip39-1.2.0.tgz#a207e2ef96de354de7d0002292ba1503538fc77b" - integrity sha512-SX/uKq52cuxm4YFXWFaVByaSHJh2w3BnokVSeUJVCv6K7WulT9u2BuNRBhuFl8vAuYnzx9bEu9WgpcNYTrYieg== + "integrity" "sha512-SX/uKq52cuxm4YFXWFaVByaSHJh2w3BnokVSeUJVCv6K7WulT9u2BuNRBhuFl8vAuYnzx9bEu9WgpcNYTrYieg==" + "resolved" "https://registry.npmjs.org/@scure/bip39/-/bip39-1.2.0.tgz" + "version" "1.2.0" dependencies: "@noble/hashes" "~1.3.0" "@scure/base" "~1.1.0" "@sentry/core@5.30.0": - version "5.30.0" - resolved "https://registry.yarnpkg.com/@sentry/core/-/core-5.30.0.tgz#6b203664f69e75106ee8b5a2fe1d717379b331f3" - integrity sha512-TmfrII8w1PQZSZgPpUESqjB+jC6MvZJZdLtE/0hZ+SrnKhW3x5WlYLvTXZpcWePYBku7rl2wn1RZu6uT0qCTeg== + "integrity" "sha512-TmfrII8w1PQZSZgPpUESqjB+jC6MvZJZdLtE/0hZ+SrnKhW3x5WlYLvTXZpcWePYBku7rl2wn1RZu6uT0qCTeg==" + "resolved" "https://registry.npmjs.org/@sentry/core/-/core-5.30.0.tgz" + "version" "5.30.0" dependencies: "@sentry/hub" "5.30.0" "@sentry/minimal" "5.30.0" "@sentry/types" "5.30.0" "@sentry/utils" "5.30.0" - tslib "^1.9.3" + "tslib" "^1.9.3" "@sentry/hub@5.30.0": - version "5.30.0" - resolved "https://registry.yarnpkg.com/@sentry/hub/-/hub-5.30.0.tgz#2453be9b9cb903404366e198bd30c7ca74cdc100" - integrity sha512-2tYrGnzb1gKz2EkMDQcfLrDTvmGcQPuWxLnJKXJvYTQDGLlEvi2tWz1VIHjunmOvJrB5aIQLhm+dcMRwFZDCqQ== + "integrity" "sha512-2tYrGnzb1gKz2EkMDQcfLrDTvmGcQPuWxLnJKXJvYTQDGLlEvi2tWz1VIHjunmOvJrB5aIQLhm+dcMRwFZDCqQ==" + "resolved" "https://registry.npmjs.org/@sentry/hub/-/hub-5.30.0.tgz" + "version" "5.30.0" dependencies: "@sentry/types" "5.30.0" "@sentry/utils" "5.30.0" - tslib "^1.9.3" + "tslib" "^1.9.3" "@sentry/minimal@5.30.0": - version "5.30.0" - resolved "https://registry.yarnpkg.com/@sentry/minimal/-/minimal-5.30.0.tgz#ce3d3a6a273428e0084adcb800bc12e72d34637b" - integrity sha512-BwWb/owZKtkDX+Sc4zCSTNcvZUq7YcH3uAVlmh/gtR9rmUvbzAA3ewLuB3myi4wWRAMEtny6+J/FN/x+2wn9Xw== + "integrity" "sha512-BwWb/owZKtkDX+Sc4zCSTNcvZUq7YcH3uAVlmh/gtR9rmUvbzAA3ewLuB3myi4wWRAMEtny6+J/FN/x+2wn9Xw==" + "resolved" "https://registry.npmjs.org/@sentry/minimal/-/minimal-5.30.0.tgz" + "version" "5.30.0" dependencies: "@sentry/hub" "5.30.0" "@sentry/types" "5.30.0" - tslib "^1.9.3" + "tslib" "^1.9.3" "@sentry/node@^5.18.1": - version "5.30.0" - resolved "https://registry.yarnpkg.com/@sentry/node/-/node-5.30.0.tgz#4ca479e799b1021285d7fe12ac0858951c11cd48" - integrity sha512-Br5oyVBF0fZo6ZS9bxbJZG4ApAjRqAnqFFurMVJJdunNb80brh7a5Qva2kjhm+U6r9NJAB5OmDyPkA1Qnt+QVg== + "integrity" "sha512-Br5oyVBF0fZo6ZS9bxbJZG4ApAjRqAnqFFurMVJJdunNb80brh7a5Qva2kjhm+U6r9NJAB5OmDyPkA1Qnt+QVg==" + "resolved" "https://registry.npmjs.org/@sentry/node/-/node-5.30.0.tgz" + "version" "5.30.0" dependencies: "@sentry/core" "5.30.0" "@sentry/hub" "5.30.0" "@sentry/tracing" "5.30.0" "@sentry/types" "5.30.0" "@sentry/utils" "5.30.0" - cookie "^0.4.1" - https-proxy-agent "^5.0.0" - lru_map "^0.3.3" - tslib "^1.9.3" + "cookie" "^0.4.1" + "https-proxy-agent" "^5.0.0" + "lru_map" "^0.3.3" + "tslib" "^1.9.3" "@sentry/tracing@5.30.0": - version "5.30.0" - resolved "https://registry.yarnpkg.com/@sentry/tracing/-/tracing-5.30.0.tgz#501d21f00c3f3be7f7635d8710da70d9419d4e1f" - integrity sha512-dUFowCr0AIMwiLD7Fs314Mdzcug+gBVo/+NCMyDw8tFxJkwWAKl7Qa2OZxLQ0ZHjakcj1hNKfCQJ9rhyfOl4Aw== + "integrity" "sha512-dUFowCr0AIMwiLD7Fs314Mdzcug+gBVo/+NCMyDw8tFxJkwWAKl7Qa2OZxLQ0ZHjakcj1hNKfCQJ9rhyfOl4Aw==" + "resolved" "https://registry.npmjs.org/@sentry/tracing/-/tracing-5.30.0.tgz" + "version" "5.30.0" dependencies: "@sentry/hub" "5.30.0" "@sentry/minimal" "5.30.0" "@sentry/types" "5.30.0" "@sentry/utils" "5.30.0" - tslib "^1.9.3" + "tslib" "^1.9.3" "@sentry/types@5.30.0": - version "5.30.0" - resolved "https://registry.yarnpkg.com/@sentry/types/-/types-5.30.0.tgz#19709bbe12a1a0115bc790b8942917da5636f402" - integrity sha512-R8xOqlSTZ+htqrfteCWU5Nk0CDN5ApUTvrlvBuiH1DyP6czDZ4ktbZB0hAgBlVcK0U+qpD3ag3Tqqpa5Q67rPw== + "integrity" "sha512-R8xOqlSTZ+htqrfteCWU5Nk0CDN5ApUTvrlvBuiH1DyP6czDZ4ktbZB0hAgBlVcK0U+qpD3ag3Tqqpa5Q67rPw==" + "resolved" "https://registry.npmjs.org/@sentry/types/-/types-5.30.0.tgz" + "version" "5.30.0" "@sentry/utils@5.30.0": - version "5.30.0" - resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-5.30.0.tgz#9a5bd7ccff85ccfe7856d493bffa64cabc41e980" - integrity sha512-zaYmoH0NWWtvnJjC9/CBseXMtKHm/tm40sz3YfJRxeQjyzRqNQPgivpd9R/oDJCYj999mzdW382p/qi2ypjLww== + "integrity" "sha512-zaYmoH0NWWtvnJjC9/CBseXMtKHm/tm40sz3YfJRxeQjyzRqNQPgivpd9R/oDJCYj999mzdW382p/qi2ypjLww==" + "resolved" "https://registry.npmjs.org/@sentry/utils/-/utils-5.30.0.tgz" + "version" "5.30.0" dependencies: "@sentry/types" "5.30.0" - tslib "^1.9.3" + "tslib" "^1.9.3" "@sindresorhus/is@^0.14.0": - version "0.14.0" - resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-0.14.0.tgz#9fb3a3cf3132328151f353de4632e01e52102bea" - integrity sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ== + "integrity" "sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ==" + "resolved" "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz" + "version" "0.14.0" "@sindresorhus/is@^4.0.0", "@sindresorhus/is@^4.6.0": - version "4.6.0" - resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-4.6.0.tgz#3c7c9c46e678feefe7a2e5bb609d3dbd665ffb3f" - integrity sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw== + "integrity" "sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==" + "resolved" "https://registry.npmjs.org/@sindresorhus/is/-/is-4.6.0.tgz" + "version" "4.6.0" "@sinonjs/commons@^1.7.0": - version "1.8.6" - resolved "https://registry.yarnpkg.com/@sinonjs/commons/-/commons-1.8.6.tgz#80c516a4dc264c2a69115e7578d62581ff455ed9" - integrity sha512-Ky+XkAkqPZSm3NLBeUng77EBQl3cmeJhITaGHdYH8kjVB+aun3S4XBRti2zt17mtt0mIUDiNxYeoJm6drVvBJQ== + "integrity" "sha512-Ky+XkAkqPZSm3NLBeUng77EBQl3cmeJhITaGHdYH8kjVB+aun3S4XBRti2zt17mtt0mIUDiNxYeoJm6drVvBJQ==" + "resolved" "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.6.tgz" + "version" "1.8.6" dependencies: - type-detect "4.0.8" + "type-detect" "4.0.8" "@sinonjs/fake-timers@^8.0.1": - version "8.1.0" - resolved "https://registry.yarnpkg.com/@sinonjs/fake-timers/-/fake-timers-8.1.0.tgz#3fdc2b6cb58935b21bfb8d1625eb1300484316e7" - integrity sha512-OAPJUAtgeINhh/TAlUID4QTs53Njm7xzddaVlEs/SXwgtiD1tW22zAB/W1wdqfrpmikgaWQ9Fw6Ws+hsiRm5Vg== + "integrity" "sha512-OAPJUAtgeINhh/TAlUID4QTs53Njm7xzddaVlEs/SXwgtiD1tW22zAB/W1wdqfrpmikgaWQ9Fw6Ws+hsiRm5Vg==" + "resolved" "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-8.1.0.tgz" + "version" "8.1.0" dependencies: "@sinonjs/commons" "^1.7.0" "@socket.io/component-emitter@~3.1.0": - version "3.1.0" - resolved "https://registry.yarnpkg.com/@socket.io/component-emitter/-/component-emitter-3.1.0.tgz#96116f2a912e0c02817345b3c10751069920d553" - integrity sha512-+9jVqKhRSpsc591z5vX+X5Yyw+he/HCB4iQ/RYxw35CEPaY1gnsNE43nf9n9AaYjAQrTiI/mOwKUKdUs9vf7Xg== + "integrity" "sha512-+9jVqKhRSpsc591z5vX+X5Yyw+he/HCB4iQ/RYxw35CEPaY1gnsNE43nf9n9AaYjAQrTiI/mOwKUKdUs9vf7Xg==" + "resolved" "https://registry.npmjs.org/@socket.io/component-emitter/-/component-emitter-3.1.0.tgz" + "version" "3.1.0" "@solana/buffer-layout@^4.0.0": - version "4.0.1" - resolved "https://registry.yarnpkg.com/@solana/buffer-layout/-/buffer-layout-4.0.1.tgz#b996235eaec15b1e0b5092a8ed6028df77fa6c15" - integrity sha512-E1ImOIAD1tBZFRdjeM4/pzTiTApC0AOBGwyAMS4fwIodCWArzJ3DWdoh8cKxeFM2fElkxBh2Aqts1BPC373rHA== + "integrity" "sha512-E1ImOIAD1tBZFRdjeM4/pzTiTApC0AOBGwyAMS4fwIodCWArzJ3DWdoh8cKxeFM2fElkxBh2Aqts1BPC373rHA==" + "resolved" "https://registry.npmjs.org/@solana/buffer-layout/-/buffer-layout-4.0.1.tgz" + "version" "4.0.1" dependencies: - buffer "~6.0.3" + "buffer" "~6.0.3" "@solana/wallet-adapter-alpha@^0.1.9": - version "0.1.9" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-alpha/-/wallet-adapter-alpha-0.1.9.tgz#863ae3f7108046c9e022c80023bb1b0877a6dec5" - integrity sha512-GruswNb+4ft/OaqEvFsSJkA6UDOAtyMazgcqHZycWm3axd215KdBB0Jyx3lpOIafU+3IRqbUc773LUzqrYG6VA== + "integrity" "sha512-GruswNb+4ft/OaqEvFsSJkA6UDOAtyMazgcqHZycWm3axd215KdBB0Jyx3lpOIafU+3IRqbUc773LUzqrYG6VA==" + "resolved" "https://registry.npmjs.org/@solana/wallet-adapter-alpha/-/wallet-adapter-alpha-0.1.9.tgz" + "version" "0.1.9" dependencies: "@solana/wallet-adapter-base" "^0.9.22" "@solana/wallet-adapter-avana@^0.1.12": - version "0.1.12" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-avana/-/wallet-adapter-avana-0.1.12.tgz#1e10429a22cf92f1310f48f41c3432c5025e72f5" - integrity sha512-BIvddokNhRx+NKfIx+Y8tqiAzI4xloY6bGcrBVNUJF9gcMOX2sDaF6Q1iFxFuxja9ZfIabdb6lyzcjf1bYlzqg== + "integrity" "sha512-BIvddokNhRx+NKfIx+Y8tqiAzI4xloY6bGcrBVNUJF9gcMOX2sDaF6Q1iFxFuxja9ZfIabdb6lyzcjf1bYlzqg==" + "resolved" "https://registry.npmjs.org/@solana/wallet-adapter-avana/-/wallet-adapter-avana-0.1.12.tgz" + "version" "0.1.12" dependencies: "@solana/wallet-adapter-base" "^0.9.22" "@solana/wallet-adapter-backpack@^0.1.13": - version "0.1.13" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-backpack/-/wallet-adapter-backpack-0.1.13.tgz#36a816bc6d620cde3ab9cb161194ecd201fb21a4" - integrity sha512-vt2OcV39uvuS2bBJU4xFwZkWwjRci6TsnQDs6pGQcbrryt8ahICxyCybhRKY3Y58uRnaejW0EDc7P3tBSsDmig== + "integrity" "sha512-vt2OcV39uvuS2bBJU4xFwZkWwjRci6TsnQDs6pGQcbrryt8ahICxyCybhRKY3Y58uRnaejW0EDc7P3tBSsDmig==" + "resolved" "https://registry.npmjs.org/@solana/wallet-adapter-backpack/-/wallet-adapter-backpack-0.1.13.tgz" + "version" "0.1.13" dependencies: "@solana/wallet-adapter-base" "^0.9.22" "@solana/wallet-adapter-base@^0.9.17", "@solana/wallet-adapter-base@^0.9.22": - version "0.9.22" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-base/-/wallet-adapter-base-0.9.22.tgz#97812eaf6aebe01e5fe714326b3c9a0614ae6112" - integrity sha512-xbLEZPGSJFvgTeldG9D55evhl7QK/3e/F7vhvcA97mEt1eieTgeKMnGlmmjs3yivI3/gtZNZeSk1XZLnhKcQvw== + "integrity" "sha512-xbLEZPGSJFvgTeldG9D55evhl7QK/3e/F7vhvcA97mEt1eieTgeKMnGlmmjs3yivI3/gtZNZeSk1XZLnhKcQvw==" + "resolved" "https://registry.npmjs.org/@solana/wallet-adapter-base/-/wallet-adapter-base-0.9.22.tgz" + "version" "0.9.22" dependencies: "@solana/wallet-standard-features" "^1.0.1" "@wallet-standard/base" "^1.0.1" "@wallet-standard/features" "^1.0.3" - eventemitter3 "^4.0.7" + "eventemitter3" "^4.0.7" "@solana/wallet-adapter-bitkeep@^0.3.18": - version "0.3.18" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-bitkeep/-/wallet-adapter-bitkeep-0.3.18.tgz#00e500d216b9d363bdb024aeb7eb8d7e33f584af" - integrity sha512-RtF0utV6y7Otmquh/Pc8MxfzGGOejrNRlsV6gbK7+vzmLueNgRWi2m++pqpEDUvaSWMU/s+Cd9cgkKHyVju7nw== + "integrity" "sha512-RtF0utV6y7Otmquh/Pc8MxfzGGOejrNRlsV6gbK7+vzmLueNgRWi2m++pqpEDUvaSWMU/s+Cd9cgkKHyVju7nw==" + "resolved" "https://registry.npmjs.org/@solana/wallet-adapter-bitkeep/-/wallet-adapter-bitkeep-0.3.18.tgz" + "version" "0.3.18" dependencies: "@solana/wallet-adapter-base" "^0.9.22" "@solana/wallet-adapter-bitpie@^0.5.17": - version "0.5.17" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-bitpie/-/wallet-adapter-bitpie-0.5.17.tgz#f1eebce0c0cefdf19f21b639d7eca4b8987eaca5" - integrity sha512-fYcNz3Sn44217olI6qWiOaozpwpQIIntgVUwr0pnmxJuLanaxE/CO+mnw2UAps68k7p5/CXBY1VqFmWZwExEUg== + "integrity" "sha512-fYcNz3Sn44217olI6qWiOaozpwpQIIntgVUwr0pnmxJuLanaxE/CO+mnw2UAps68k7p5/CXBY1VqFmWZwExEUg==" + "resolved" "https://registry.npmjs.org/@solana/wallet-adapter-bitpie/-/wallet-adapter-bitpie-0.5.17.tgz" + "version" "0.5.17" dependencies: "@solana/wallet-adapter-base" "^0.9.22" "@solana/wallet-adapter-blocto@^0.5.21": - version "0.5.21" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-blocto/-/wallet-adapter-blocto-0.5.21.tgz#c0c554861f64efad75bfd600dd21c80d98e56f00" - integrity sha512-USspnk+qQiGrt+cGfhtkIXyV+WW8NW9z4ni+AniVEgqSlooV2ByF1KSCx/K9pwrXHQEFkqVBmSpn632M49IoKw== + "integrity" "sha512-USspnk+qQiGrt+cGfhtkIXyV+WW8NW9z4ni+AniVEgqSlooV2ByF1KSCx/K9pwrXHQEFkqVBmSpn632M49IoKw==" + "resolved" "https://registry.npmjs.org/@solana/wallet-adapter-blocto/-/wallet-adapter-blocto-0.5.21.tgz" + "version" "0.5.21" dependencies: "@blocto/sdk" "^0.2.22" "@solana/wallet-adapter-base" "^0.9.22" "@solana/wallet-adapter-brave@^0.1.16": - version "0.1.16" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-brave/-/wallet-adapter-brave-0.1.16.tgz#54bd17028eae9f37a9371205a291ecb3d48faacc" - integrity sha512-ypdweCoRzL8l0aT1Zp7Lbfu9oht2ucYLpqd17DCEBUFtCv4yMZ/dOoW06pV3u8ykdhFz7M8aVsXI2TXvVzwqDQ== + "integrity" "sha512-ypdweCoRzL8l0aT1Zp7Lbfu9oht2ucYLpqd17DCEBUFtCv4yMZ/dOoW06pV3u8ykdhFz7M8aVsXI2TXvVzwqDQ==" + "resolved" "https://registry.npmjs.org/@solana/wallet-adapter-brave/-/wallet-adapter-brave-0.1.16.tgz" + "version" "0.1.16" dependencies: "@solana/wallet-adapter-base" "^0.9.22" "@solana/wallet-adapter-censo@^0.1.3": - version "0.1.3" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-censo/-/wallet-adapter-censo-0.1.3.tgz#c948df54d8cb5569dea8a350bf01f08eb1d8cb20" - integrity sha512-+eUF2VfOc04uc/qZIR3Y4UcM4tFLfN46myk1tCd1r3g7iZSeDa7mo5vD1WZXAyjcG756WPpiR08nVim5DHDeJw== + "integrity" "sha512-+eUF2VfOc04uc/qZIR3Y4UcM4tFLfN46myk1tCd1r3g7iZSeDa7mo5vD1WZXAyjcG756WPpiR08nVim5DHDeJw==" + "resolved" "https://registry.npmjs.org/@solana/wallet-adapter-censo/-/wallet-adapter-censo-0.1.3.tgz" + "version" "0.1.3" dependencies: "@censo-custody/solana-wallet-adapter" "^0.1.0" "@solana/wallet-adapter-base" "^0.9.22" "@solana/wallet-adapter-clover@^0.4.18": - version "0.4.18" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-clover/-/wallet-adapter-clover-0.4.18.tgz#6592db21bc26e489b311330dee3847fc2a55ff27" - integrity sha512-n2MtGi81+KeWxy6sd3zkTylZ1yRD7Hcpg1WYZURwa1H7nZ808HSoU5aSzwpRUQ75VWyi5Ks2l28sP3oLOugmsQ== + "integrity" "sha512-n2MtGi81+KeWxy6sd3zkTylZ1yRD7Hcpg1WYZURwa1H7nZ808HSoU5aSzwpRUQ75VWyi5Ks2l28sP3oLOugmsQ==" + "resolved" "https://registry.npmjs.org/@solana/wallet-adapter-clover/-/wallet-adapter-clover-0.4.18.tgz" + "version" "0.4.18" dependencies: "@solana/wallet-adapter-base" "^0.9.22" "@solana/wallet-adapter-coin98@^0.5.19": - version "0.5.19" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-coin98/-/wallet-adapter-coin98-0.5.19.tgz#40f704b0b6f327f98c1dd89a5c0b6e0bd8db4179" - integrity sha512-as32x9i8OEjHHSXSeBWEnIKBqCDvmFVHpRoCWuJUtiogE4OHwhmnF9wRPk1ljmce/FGTFwdkTksxNYRI69qOfw== + "integrity" "sha512-as32x9i8OEjHHSXSeBWEnIKBqCDvmFVHpRoCWuJUtiogE4OHwhmnF9wRPk1ljmce/FGTFwdkTksxNYRI69qOfw==" + "resolved" "https://registry.npmjs.org/@solana/wallet-adapter-coin98/-/wallet-adapter-coin98-0.5.19.tgz" + "version" "0.5.19" dependencies: "@solana/wallet-adapter-base" "^0.9.22" - bs58 "^4.0.1" + "bs58" "^4.0.1" "@solana/wallet-adapter-coinbase@^0.1.17": - version "0.1.17" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-coinbase/-/wallet-adapter-coinbase-0.1.17.tgz#0685fd9ac68b21b8d30eea5c41f7f77ddafea23f" - integrity sha512-3Le+FlLUwdhCGsOGwcy3b7U1268+xEfjY5/IYQE6Ez9DJNDB2ymZkuF7kpJnJMJEvXR94jSAnJvlTMzANAVtIQ== + "integrity" "sha512-3Le+FlLUwdhCGsOGwcy3b7U1268+xEfjY5/IYQE6Ez9DJNDB2ymZkuF7kpJnJMJEvXR94jSAnJvlTMzANAVtIQ==" + "resolved" "https://registry.npmjs.org/@solana/wallet-adapter-coinbase/-/wallet-adapter-coinbase-0.1.17.tgz" + "version" "0.1.17" dependencies: "@solana/wallet-adapter-base" "^0.9.22" "@solana/wallet-adapter-coinhub@^0.3.17": - version "0.3.17" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-coinhub/-/wallet-adapter-coinhub-0.3.17.tgz#ddd4406852617abfe3479b8621124290f75c4070" - integrity sha512-bdniCFBh//ubx+cQVc6p4zNWpiTkF97yalckeTW2PSN5a76jHQeZPzDDsNk8Bvzo08gO2JuK+B+eCvhWK13QJg== + "integrity" "sha512-bdniCFBh//ubx+cQVc6p4zNWpiTkF97yalckeTW2PSN5a76jHQeZPzDDsNk8Bvzo08gO2JuK+B+eCvhWK13QJg==" + "resolved" "https://registry.npmjs.org/@solana/wallet-adapter-coinhub/-/wallet-adapter-coinhub-0.3.17.tgz" + "version" "0.3.17" dependencies: "@solana/wallet-adapter-base" "^0.9.22" "@solana/wallet-adapter-exodus@^0.1.17": - version "0.1.17" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-exodus/-/wallet-adapter-exodus-0.1.17.tgz#16d8ba4c4b851dd76a86d2ffa2b5dee1a7431ecc" - integrity sha512-oGP8Z8Irjdk7ofiqR/Vy4MRMOb5nm69IyI/rsI5MBfEOBzxK15Tmh21yQagneVkl7OSVZMjuXu2ImJQLpZtZJw== + "integrity" "sha512-oGP8Z8Irjdk7ofiqR/Vy4MRMOb5nm69IyI/rsI5MBfEOBzxK15Tmh21yQagneVkl7OSVZMjuXu2ImJQLpZtZJw==" + "resolved" "https://registry.npmjs.org/@solana/wallet-adapter-exodus/-/wallet-adapter-exodus-0.1.17.tgz" + "version" "0.1.17" dependencies: "@solana/wallet-adapter-base" "^0.9.22" "@solana/wallet-adapter-fractal@^0.1.7": - version "0.1.7" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-fractal/-/wallet-adapter-fractal-0.1.7.tgz#8ed049f62b5b3957336ad50ee8d1df7bf51467e0" - integrity sha512-lhIo8hFbRSOsOxKgBB+t78ymM0pqj2PZG0myMeMqgNP4O6mpvaVcqZ9/tEVoEK+ceraRMuHMLoOfDZhg4coYTw== + "integrity" "sha512-lhIo8hFbRSOsOxKgBB+t78ymM0pqj2PZG0myMeMqgNP4O6mpvaVcqZ9/tEVoEK+ceraRMuHMLoOfDZhg4coYTw==" + "resolved" "https://registry.npmjs.org/@solana/wallet-adapter-fractal/-/wallet-adapter-fractal-0.1.7.tgz" + "version" "0.1.7" dependencies: "@fractalwagmi/solana-wallet-adapter" "^0.1.1" "@solana/wallet-adapter-base" "^0.9.22" "@solana/wallet-adapter-glow@^0.1.17": - version "0.1.17" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-glow/-/wallet-adapter-glow-0.1.17.tgz#f99751ed32b780146258b92fde7982ed176a3e40" - integrity sha512-DcRMKUQSVenPDOjs+O2ouNk9F5YlzKZ+uG2KMTAE9hzBS6CQoQkb+4skLVrs16l+RhU5HTQV+EOw2tFkkW/Teg== + "integrity" "sha512-DcRMKUQSVenPDOjs+O2ouNk9F5YlzKZ+uG2KMTAE9hzBS6CQoQkb+4skLVrs16l+RhU5HTQV+EOw2tFkkW/Teg==" + "resolved" "https://registry.npmjs.org/@solana/wallet-adapter-glow/-/wallet-adapter-glow-0.1.17.tgz" + "version" "0.1.17" dependencies: "@solana/wallet-adapter-base" "^0.9.22" "@solana/wallet-adapter-huobi@^0.1.14": - version "0.1.14" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-huobi/-/wallet-adapter-huobi-0.1.14.tgz#a2ec07662daaa2f2e2c7752a44bf9371951bd8d6" - integrity sha512-1XdAL9nwI1hamMLzN60tSVu1UUcWCK9k4RvnEJPRyjCB1kHoW0AddLs+hZ8DNpiDjfRXNcmuTjXdIGWHjxvqvw== + "integrity" "sha512-1XdAL9nwI1hamMLzN60tSVu1UUcWCK9k4RvnEJPRyjCB1kHoW0AddLs+hZ8DNpiDjfRXNcmuTjXdIGWHjxvqvw==" + "resolved" "https://registry.npmjs.org/@solana/wallet-adapter-huobi/-/wallet-adapter-huobi-0.1.14.tgz" + "version" "0.1.14" dependencies: "@solana/wallet-adapter-base" "^0.9.22" "@solana/wallet-adapter-hyperpay@^0.1.13": - version "0.1.13" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-hyperpay/-/wallet-adapter-hyperpay-0.1.13.tgz#ee7eda55be3010812053b4e38799b742d6849abd" - integrity sha512-2xUSZsfR76/TEmxMha+mwUvo3HhYY/IKTsC7aU7/ay0A0DlIQstZUwNxGLpCqr9n37/pIXBjl2dGSQ5DxnUONg== + "integrity" "sha512-2xUSZsfR76/TEmxMha+mwUvo3HhYY/IKTsC7aU7/ay0A0DlIQstZUwNxGLpCqr9n37/pIXBjl2dGSQ5DxnUONg==" + "resolved" "https://registry.npmjs.org/@solana/wallet-adapter-hyperpay/-/wallet-adapter-hyperpay-0.1.13.tgz" + "version" "0.1.13" dependencies: "@solana/wallet-adapter-base" "^0.9.22" "@solana/wallet-adapter-keystone@^0.1.11": - version "0.1.11" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-keystone/-/wallet-adapter-keystone-0.1.11.tgz#d3d321462d2c36b4d7a0d74d5f2275ca49da7eaa" - integrity sha512-DChjMuj5l0Mp8CryD6VscfctxSdScVPsuO5kopBTxCFyQJI41ut0WTPrKH5badLUd+xC4arLFZ8x/U8jiRoqNQ== + "integrity" "sha512-DChjMuj5l0Mp8CryD6VscfctxSdScVPsuO5kopBTxCFyQJI41ut0WTPrKH5badLUd+xC4arLFZ8x/U8jiRoqNQ==" + "resolved" "https://registry.npmjs.org/@solana/wallet-adapter-keystone/-/wallet-adapter-keystone-0.1.11.tgz" + "version" "0.1.11" dependencies: "@keystonehq/sol-keyring" "^0.3.1" "@solana/wallet-adapter-base" "^0.9.22" "@solana/wallet-adapter-krystal@^0.1.11": - version "0.1.11" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-krystal/-/wallet-adapter-krystal-0.1.11.tgz#f729015749fed59f3b4e818acd49dbf5b34eaaa4" - integrity sha512-Jz1HdEohjzUCBK/mQCBtXf3Z1R/rifc1OIt46InKX/b4WCdRMwU2UDhKWwzeNiqFPbI2BaIBKctoKCPKq0uq+w== + "integrity" "sha512-Jz1HdEohjzUCBK/mQCBtXf3Z1R/rifc1OIt46InKX/b4WCdRMwU2UDhKWwzeNiqFPbI2BaIBKctoKCPKq0uq+w==" + "resolved" "https://registry.npmjs.org/@solana/wallet-adapter-krystal/-/wallet-adapter-krystal-0.1.11.tgz" + "version" "0.1.11" dependencies: "@solana/wallet-adapter-base" "^0.9.22" "@solana/wallet-adapter-ledger@^0.9.24": - version "0.9.24" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-ledger/-/wallet-adapter-ledger-0.9.24.tgz#4f3882e4b908b100236bf2c8d0fd5ea248df4da3" - integrity sha512-TjrAu6hUdictAZU8wYO6MUzvx8+ZDEBIGnFpjrq+sXlo0NK84WFh8UykFfOtdBaUhwkUkYTgLo+2lMV0OhtT2A== + "integrity" "sha512-TjrAu6hUdictAZU8wYO6MUzvx8+ZDEBIGnFpjrq+sXlo0NK84WFh8UykFfOtdBaUhwkUkYTgLo+2lMV0OhtT2A==" + "resolved" "https://registry.npmjs.org/@solana/wallet-adapter-ledger/-/wallet-adapter-ledger-0.9.24.tgz" + "version" "0.9.24" dependencies: "@ledgerhq/devices" "6.27.1" "@ledgerhq/hw-transport" "6.27.1" "@ledgerhq/hw-transport-webhid" "6.27.1" "@solana/wallet-adapter-base" "^0.9.22" - buffer "^6.0.3" + "buffer" "^6.0.3" "@solana/wallet-adapter-magiceden@^0.1.12": - version "0.1.12" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-magiceden/-/wallet-adapter-magiceden-0.1.12.tgz#819fda35df3c2cd9a9b558589b5369f8143e7046" - integrity sha512-0w53joZfoA4IZSTRuw5jDnkhihqfxZ3INr5yaAq4Bzu13E7UwZYZhqBjnOc+bHorrsbcTUuZk3IgVmoFgzZpHA== + "integrity" "sha512-0w53joZfoA4IZSTRuw5jDnkhihqfxZ3INr5yaAq4Bzu13E7UwZYZhqBjnOc+bHorrsbcTUuZk3IgVmoFgzZpHA==" + "resolved" "https://registry.npmjs.org/@solana/wallet-adapter-magiceden/-/wallet-adapter-magiceden-0.1.12.tgz" + "version" "0.1.12" dependencies: "@solana/wallet-adapter-base" "^0.9.22" "@solana/wallet-adapter-mathwallet@^0.9.17": - version "0.9.17" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-mathwallet/-/wallet-adapter-mathwallet-0.9.17.tgz#74a36585edaa965622cd2b72bf4580bb32008fb3" - integrity sha512-gyXCZoltA1sbXczVFUbUdxDdey+HawRDoW2bwHHIDWRi26JPAnij671zQkwB5hTIgDRTRDmURSjVvzB9OGNMyw== + "integrity" "sha512-gyXCZoltA1sbXczVFUbUdxDdey+HawRDoW2bwHHIDWRi26JPAnij671zQkwB5hTIgDRTRDmURSjVvzB9OGNMyw==" + "resolved" "https://registry.npmjs.org/@solana/wallet-adapter-mathwallet/-/wallet-adapter-mathwallet-0.9.17.tgz" + "version" "0.9.17" dependencies: "@solana/wallet-adapter-base" "^0.9.22" "@solana/wallet-adapter-neko@^0.2.11": - version "0.2.11" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-neko/-/wallet-adapter-neko-0.2.11.tgz#caeaca7bdd86790e51196968bb14f34c56e20a1c" - integrity sha512-r9koZ1s6t9cvcg0PxZnyG3arh4gQdTjm2nOMiZK1cJKpVpve/p/xMnfrl6xb6FM2KMVDx4qhrkigqSUMplIf7g== + "integrity" "sha512-r9koZ1s6t9cvcg0PxZnyG3arh4gQdTjm2nOMiZK1cJKpVpve/p/xMnfrl6xb6FM2KMVDx4qhrkigqSUMplIf7g==" + "resolved" "https://registry.npmjs.org/@solana/wallet-adapter-neko/-/wallet-adapter-neko-0.2.11.tgz" + "version" "0.2.11" dependencies: "@solana/wallet-adapter-base" "^0.9.22" "@solana/wallet-adapter-nightly@^0.1.14": - version "0.1.14" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-nightly/-/wallet-adapter-nightly-0.1.14.tgz#c72211ddc3ce9c48362baefd59ba815ee4ddf431" - integrity sha512-EnrSkduVi1ds/0zc2xORIkcBZCQESz+cllrTeX5RmeZCFKdIjHpUZfbKrvhtz/OpOZbOvRi7ojBLeyx63V2T/A== + "integrity" "sha512-EnrSkduVi1ds/0zc2xORIkcBZCQESz+cllrTeX5RmeZCFKdIjHpUZfbKrvhtz/OpOZbOvRi7ojBLeyx63V2T/A==" + "resolved" "https://registry.npmjs.org/@solana/wallet-adapter-nightly/-/wallet-adapter-nightly-0.1.14.tgz" + "version" "0.1.14" dependencies: "@solana/wallet-adapter-base" "^0.9.22" "@solana/wallet-adapter-nufi@^0.1.15": - version "0.1.15" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-nufi/-/wallet-adapter-nufi-0.1.15.tgz#37be8fe15e11454dfa700b27a6886f1da2bba3ff" - integrity sha512-KSZefEMiEZIGKDBzyK9CV/srCmPy4vZ9gdrmHTkZuzssZ9YfFwMR71zKpCyYvtJ9mfk+MxmSU6mizUkaB+AHCw== + "integrity" "sha512-KSZefEMiEZIGKDBzyK9CV/srCmPy4vZ9gdrmHTkZuzssZ9YfFwMR71zKpCyYvtJ9mfk+MxmSU6mizUkaB+AHCw==" + "resolved" "https://registry.npmjs.org/@solana/wallet-adapter-nufi/-/wallet-adapter-nufi-0.1.15.tgz" + "version" "0.1.15" dependencies: "@solana/wallet-adapter-base" "^0.9.22" "@solana/wallet-adapter-onto@^0.1.6": - version "0.1.6" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-onto/-/wallet-adapter-onto-0.1.6.tgz#305512820ae30ab23616df11d106680a0e41409d" - integrity sha512-/JQ1dOvvFCViHLRRUTxcmMQhgC40WF3zKkL3SoQUjWD4MFxdGC8C4J+hndSA3rwUoI23fTGDFDhZc5/Elg72xw== + "integrity" "sha512-/JQ1dOvvFCViHLRRUTxcmMQhgC40WF3zKkL3SoQUjWD4MFxdGC8C4J+hndSA3rwUoI23fTGDFDhZc5/Elg72xw==" + "resolved" "https://registry.npmjs.org/@solana/wallet-adapter-onto/-/wallet-adapter-onto-0.1.6.tgz" + "version" "0.1.6" dependencies: "@solana/wallet-adapter-base" "^0.9.22" "@solana/wallet-adapter-particle@^0.1.9": - version "0.1.9" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-particle/-/wallet-adapter-particle-0.1.9.tgz#f3f24f216d8a1457643b9e9b251c7b2f373c19a7" - integrity sha512-S4A/D7305JQSd9SZh9C9Yhgtm4KaOCZDwoR2OVxtYJs8ZFr2p+/XO+nDpAAf68cNiqGW8ZQKRc9s/cmELd63sg== + "integrity" "sha512-S4A/D7305JQSd9SZh9C9Yhgtm4KaOCZDwoR2OVxtYJs8ZFr2p+/XO+nDpAAf68cNiqGW8ZQKRc9s/cmELd63sg==" + "resolved" "https://registry.npmjs.org/@solana/wallet-adapter-particle/-/wallet-adapter-particle-0.1.9.tgz" + "version" "0.1.9" dependencies: "@particle-network/solana-wallet" "^0.5.6" "@solana/wallet-adapter-base" "^0.9.22" "@solana/wallet-adapter-phantom@^0.9.22": - version "0.9.22" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-phantom/-/wallet-adapter-phantom-0.9.22.tgz#16a56c9d92129a0f4ed022db3b5b52a2a426506d" - integrity sha512-4Fkbv/LN2X23y+Fk3irndrcC7QIOOkjkRh8RFJVzmvaiXdqH71VT8h5H+6LroF7ZaFaozeQF/XzQQqpF2nOgPQ== + "integrity" "sha512-4Fkbv/LN2X23y+Fk3irndrcC7QIOOkjkRh8RFJVzmvaiXdqH71VT8h5H+6LroF7ZaFaozeQF/XzQQqpF2nOgPQ==" + "resolved" "https://registry.npmjs.org/@solana/wallet-adapter-phantom/-/wallet-adapter-phantom-0.9.22.tgz" + "version" "0.9.22" dependencies: "@solana/wallet-adapter-base" "^0.9.22" "@solana/wallet-adapter-safepal@^0.5.17": - version "0.5.17" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-safepal/-/wallet-adapter-safepal-0.5.17.tgz#0155dd8041a056c9f6527c73a479fd766395ec39" - integrity sha512-Hp14EZ7UvNSiTfuCrvLRY4hqT40gSmRL+z5K7XpOW+oJgIpjhRfvv2o34rKL+qX1QoJUlUN3N6pRu570oytaGQ== + "integrity" "sha512-Hp14EZ7UvNSiTfuCrvLRY4hqT40gSmRL+z5K7XpOW+oJgIpjhRfvv2o34rKL+qX1QoJUlUN3N6pRu570oytaGQ==" + "resolved" "https://registry.npmjs.org/@solana/wallet-adapter-safepal/-/wallet-adapter-safepal-0.5.17.tgz" + "version" "0.5.17" dependencies: "@solana/wallet-adapter-base" "^0.9.22" "@solana/wallet-adapter-saifu@^0.1.14": - version "0.1.14" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-saifu/-/wallet-adapter-saifu-0.1.14.tgz#887e7743e6bc10aa371fd9edbe857570b8ef7c53" - integrity sha512-3T9p/IszI6J7BJ94hl2vjMytKZr4YY5vv26pBdmth6AK3Vep0Z381cC/+M/6RyJUOYxiyQKDmi9ZpMZUDraCwQ== + "integrity" "sha512-3T9p/IszI6J7BJ94hl2vjMytKZr4YY5vv26pBdmth6AK3Vep0Z381cC/+M/6RyJUOYxiyQKDmi9ZpMZUDraCwQ==" + "resolved" "https://registry.npmjs.org/@solana/wallet-adapter-saifu/-/wallet-adapter-saifu-0.1.14.tgz" + "version" "0.1.14" dependencies: "@solana/wallet-adapter-base" "^0.9.22" "@solana/wallet-adapter-salmon@^0.1.13": - version "0.1.13" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-salmon/-/wallet-adapter-salmon-0.1.13.tgz#27166a2f36b5fcfcf3059bf32b5e1f87a9aaf3e5" - integrity sha512-NZsoqiFTlmxVWvJC9XNxyEYL9Q9ODJoHRcLqRW91VwnnWaEhjKLppWd6y/HjajewbMzWFH9Yqs34/SYsGypQBw== + "integrity" "sha512-NZsoqiFTlmxVWvJC9XNxyEYL9Q9ODJoHRcLqRW91VwnnWaEhjKLppWd6y/HjajewbMzWFH9Yqs34/SYsGypQBw==" + "resolved" "https://registry.npmjs.org/@solana/wallet-adapter-salmon/-/wallet-adapter-salmon-0.1.13.tgz" + "version" "0.1.13" dependencies: "@solana/wallet-adapter-base" "^0.9.22" - salmon-adapter-sdk "^1.1.1" + "salmon-adapter-sdk" "^1.1.1" "@solana/wallet-adapter-sky@^0.1.14": - version "0.1.14" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-sky/-/wallet-adapter-sky-0.1.14.tgz#f76d2f079bf0f72a366da888231a81a41fa46182" - integrity sha512-qQmb1eXPE4W3ECIEexfd07BjXDEdvxKD00BObZXAHYhe06G9I2h083IUNe0ZULfuZq54M/Ebo937P5bUSttoKw== + "integrity" "sha512-qQmb1eXPE4W3ECIEexfd07BjXDEdvxKD00BObZXAHYhe06G9I2h083IUNe0ZULfuZq54M/Ebo937P5bUSttoKw==" + "resolved" "https://registry.npmjs.org/@solana/wallet-adapter-sky/-/wallet-adapter-sky-0.1.14.tgz" + "version" "0.1.14" dependencies: "@solana/wallet-adapter-base" "^0.9.22" "@solana/wallet-adapter-slope@^0.5.20": - version "0.5.20" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-slope/-/wallet-adapter-slope-0.5.20.tgz#0a0dab0e4506c94de752d61946865ad835910fbd" - integrity sha512-KeC9wkptJ8qAD4vysB/lWUKmvnLdFHmaINidQzIq5xKI7ca9uXJtf6mdxdvC58nWpFehKgqUqHnFUkMlkSbcYA== + "integrity" "sha512-KeC9wkptJ8qAD4vysB/lWUKmvnLdFHmaINidQzIq5xKI7ca9uXJtf6mdxdvC58nWpFehKgqUqHnFUkMlkSbcYA==" + "resolved" "https://registry.npmjs.org/@solana/wallet-adapter-slope/-/wallet-adapter-slope-0.5.20.tgz" + "version" "0.5.20" dependencies: "@solana/wallet-adapter-base" "^0.9.22" - bs58 "^4.0.1" + "bs58" "^4.0.1" "@solana/wallet-adapter-solflare@^0.6.24": - version "0.6.24" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-solflare/-/wallet-adapter-solflare-0.6.24.tgz#f9bf980bda02eb82e58f40a030ffe44cbf791bf2" - integrity sha512-SQl5h6PgDQAgZxxItFcJ5jQApWbjXajSvZttN4uf23VlJg3vi4iu0JEUhVMkTr02zCR2q27xazDMOziJDS4EWw== + "integrity" "sha512-SQl5h6PgDQAgZxxItFcJ5jQApWbjXajSvZttN4uf23VlJg3vi4iu0JEUhVMkTr02zCR2q27xazDMOziJDS4EWw==" + "resolved" "https://registry.npmjs.org/@solana/wallet-adapter-solflare/-/wallet-adapter-solflare-0.6.24.tgz" + "version" "0.6.24" dependencies: "@solana/wallet-adapter-base" "^0.9.22" "@solflare-wallet/sdk" "^1.2.0" "@solana/wallet-adapter-sollet@^0.11.16": - version "0.11.16" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-sollet/-/wallet-adapter-sollet-0.11.16.tgz#02462f27f29d17e2f869e344ab9f729d5dfa4105" - integrity sha512-QokMgSSTNbPvF78pn2Vx3xW5Ds4i2KRG6Dr6PpRvUw0t1eZ+Agh+GiQZ74Xb/pPCMDwFxhfeyebH0llJNa98/w== + "integrity" "sha512-QokMgSSTNbPvF78pn2Vx3xW5Ds4i2KRG6Dr6PpRvUw0t1eZ+Agh+GiQZ74Xb/pPCMDwFxhfeyebH0llJNa98/w==" + "resolved" "https://registry.npmjs.org/@solana/wallet-adapter-sollet/-/wallet-adapter-sollet-0.11.16.tgz" + "version" "0.11.16" dependencies: "@project-serum/sol-wallet-adapter" "^0.2.6" "@solana/wallet-adapter-base" "^0.9.22" "@solana/wallet-adapter-solong@^0.9.17": - version "0.9.17" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-solong/-/wallet-adapter-solong-0.9.17.tgz#ea68415688fec5e51a49ffe2d6249d60cc7487b4" - integrity sha512-Dye8MohD2FYDly2I7dqwcMEotLqjVvri+FLuTSy7qu9jEPAXlwd23+SszLajQv8eK8OkPwAIErU11naZBJj9Lg== + "integrity" "sha512-Dye8MohD2FYDly2I7dqwcMEotLqjVvri+FLuTSy7qu9jEPAXlwd23+SszLajQv8eK8OkPwAIErU11naZBJj9Lg==" + "resolved" "https://registry.npmjs.org/@solana/wallet-adapter-solong/-/wallet-adapter-solong-0.9.17.tgz" + "version" "0.9.17" dependencies: "@solana/wallet-adapter-base" "^0.9.22" "@solana/wallet-adapter-spot@^0.1.14": - version "0.1.14" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-spot/-/wallet-adapter-spot-0.1.14.tgz#16f216b1e98c2a41a43bf1eee8c6ff756be6d1dc" - integrity sha512-e7X2GFHUSBwfcmIwU1VaI2OZaaXNNmbtLFykl422hn+35TQiFG8Vb/1UZAxbED8U5kQ7LQCG6n3PLinfdbtqhA== + "integrity" "sha512-e7X2GFHUSBwfcmIwU1VaI2OZaaXNNmbtLFykl422hn+35TQiFG8Vb/1UZAxbED8U5kQ7LQCG6n3PLinfdbtqhA==" + "resolved" "https://registry.npmjs.org/@solana/wallet-adapter-spot/-/wallet-adapter-spot-0.1.14.tgz" + "version" "0.1.14" dependencies: "@solana/wallet-adapter-base" "^0.9.22" "@solana/wallet-adapter-strike@^0.1.12": - version "0.1.12" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-strike/-/wallet-adapter-strike-0.1.12.tgz#f72d987f403261f90e7039b8a37921980ba473f0" - integrity sha512-3BFGG5qQxbxGdwAjLj+j18jbDqXodua3fv1ltX8qXkBtlxu2vJjeG6Iiem0/Ab0OGHtQrE2mve6vmf4iiYkT5g== + "integrity" "sha512-3BFGG5qQxbxGdwAjLj+j18jbDqXodua3fv1ltX8qXkBtlxu2vJjeG6Iiem0/Ab0OGHtQrE2mve6vmf4iiYkT5g==" + "resolved" "https://registry.npmjs.org/@solana/wallet-adapter-strike/-/wallet-adapter-strike-0.1.12.tgz" + "version" "0.1.12" dependencies: "@solana/wallet-adapter-base" "^0.9.22" "@strike-protocols/solana-wallet-adapter" "^0.1.8" "@solana/wallet-adapter-tokenary@^0.1.11": - version "0.1.11" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-tokenary/-/wallet-adapter-tokenary-0.1.11.tgz#259ff5966d983628d30789b902795e2c63992dd9" - integrity sha512-rfb9k0wBD62Nm+fI80E/v2pWEbsytiR0K1dHrD/WWXmkHS4rDELRtxJ23wLYUx3Rbc3BGIEZWNJRH+JycD3s1w== + "integrity" "sha512-rfb9k0wBD62Nm+fI80E/v2pWEbsytiR0K1dHrD/WWXmkHS4rDELRtxJ23wLYUx3Rbc3BGIEZWNJRH+JycD3s1w==" + "resolved" "https://registry.npmjs.org/@solana/wallet-adapter-tokenary/-/wallet-adapter-tokenary-0.1.11.tgz" + "version" "0.1.11" dependencies: "@solana/wallet-adapter-base" "^0.9.22" "@solana/wallet-adapter-tokenpocket@^0.4.18": - version "0.4.18" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-tokenpocket/-/wallet-adapter-tokenpocket-0.4.18.tgz#0f35f323f81050f40886a4728e39e4350323206a" - integrity sha512-+xxAdRYp5Bw1zp/N3Wk3gy6iCA31aKZgQo/MSCedli+lihdx1eFLA/+o5pnM8AcYwn2IwAtSloMBg8VlVn8LBQ== + "integrity" "sha512-+xxAdRYp5Bw1zp/N3Wk3gy6iCA31aKZgQo/MSCedli+lihdx1eFLA/+o5pnM8AcYwn2IwAtSloMBg8VlVn8LBQ==" + "resolved" "https://registry.npmjs.org/@solana/wallet-adapter-tokenpocket/-/wallet-adapter-tokenpocket-0.4.18.tgz" + "version" "0.4.18" dependencies: "@solana/wallet-adapter-base" "^0.9.22" "@solana/wallet-adapter-torus@^0.11.27": - version "0.11.27" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-torus/-/wallet-adapter-torus-0.11.27.tgz#4725187f381b69940d9d21043e4e807693a1dfc1" - integrity sha512-0Fadxkvxq1fHtpK5p/0j5YvwzckqurCwcmKVcEuX62QL5ly+EzrojOi4vwrQXQshArCXExf8y4laAgmt5yc+DQ== + "integrity" "sha512-0Fadxkvxq1fHtpK5p/0j5YvwzckqurCwcmKVcEuX62QL5ly+EzrojOi4vwrQXQshArCXExf8y4laAgmt5yc+DQ==" + "resolved" "https://registry.npmjs.org/@solana/wallet-adapter-torus/-/wallet-adapter-torus-0.11.27.tgz" + "version" "0.11.27" dependencies: "@solana/wallet-adapter-base" "^0.9.22" "@toruslabs/solana-embed" "^0.3.3" - assert "^2.0.0" - crypto-browserify "^3.12.0" - process "^0.11.10" - stream-browserify "^3.0.0" + "assert" "^2.0.0" + "crypto-browserify" "^3.12.0" + "process" "^0.11.10" + "stream-browserify" "^3.0.0" "@solana/wallet-adapter-trust@^0.1.12": - version "0.1.12" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-trust/-/wallet-adapter-trust-0.1.12.tgz#e5aceed172951ccbdd7cc8ae1da758c053d50ef8" - integrity sha512-asFldlDEkmXiSihlccMjJvQsyXthr3Lcq5ExhSWlPu+q4acoXaYM4AL5kQOxLhJ74NrsTSSM1LVCwne0CQ4uew== + "integrity" "sha512-asFldlDEkmXiSihlccMjJvQsyXthr3Lcq5ExhSWlPu+q4acoXaYM4AL5kQOxLhJ74NrsTSSM1LVCwne0CQ4uew==" + "resolved" "https://registry.npmjs.org/@solana/wallet-adapter-trust/-/wallet-adapter-trust-0.1.12.tgz" + "version" "0.1.12" dependencies: "@solana/wallet-adapter-base" "^0.9.22" "@solana/wallet-adapter-unsafe-burner@^0.1.6": - version "0.1.6" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-unsafe-burner/-/wallet-adapter-unsafe-burner-0.1.6.tgz#70f2e9328ceea26cd6d640e1a41ed0f5b65e2734" - integrity sha512-uDPsYkrDbPFuLZpMPiaDk3OjiimMby+TywRoGrNMs80Ij/mPQIN9mJRFaI1pNumzav3LF1bPGjzJ/LVDB814qQ== + "integrity" "sha512-uDPsYkrDbPFuLZpMPiaDk3OjiimMby+TywRoGrNMs80Ij/mPQIN9mJRFaI1pNumzav3LF1bPGjzJ/LVDB814qQ==" + "resolved" "https://registry.npmjs.org/@solana/wallet-adapter-unsafe-burner/-/wallet-adapter-unsafe-burner-0.1.6.tgz" + "version" "0.1.6" dependencies: "@solana/wallet-adapter-base" "^0.9.22" "@solana/wallet-adapter-walletconnect@^0.1.14": - version "0.1.14" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-walletconnect/-/wallet-adapter-walletconnect-0.1.14.tgz#6994077781880b1a86fda27e000e947ed7764609" - integrity sha512-nz8BB1Gs9s2yLuAf1+wDyZoGxCAVi1XWpzVlXMRBD7oL7Bn3kx3SOohzgoOKQltTrye4PF4cl+KCStzY3zQfkg== + "integrity" "sha512-nz8BB1Gs9s2yLuAf1+wDyZoGxCAVi1XWpzVlXMRBD7oL7Bn3kx3SOohzgoOKQltTrye4PF4cl+KCStzY3zQfkg==" + "resolved" "https://registry.npmjs.org/@solana/wallet-adapter-walletconnect/-/wallet-adapter-walletconnect-0.1.14.tgz" + "version" "0.1.14" dependencies: "@jnwng/walletconnect-solana" "^0.1.5" "@solana/wallet-adapter-base" "^0.9.22" "@solana/wallet-adapter-wallets@^0.19.5": - version "0.19.15" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-wallets/-/wallet-adapter-wallets-0.19.15.tgz#3d148a37a30a320aa172b1bfabfc2526fad107bf" - integrity sha512-HakQwKor5f5dbKlRPCBMu3E0gALX2mt0fp44qIKrmLDH7J/UpTIuIDu0z5eidaABJCSVMBNuEC+0uS1UYUXS8w== + "integrity" "sha512-HakQwKor5f5dbKlRPCBMu3E0gALX2mt0fp44qIKrmLDH7J/UpTIuIDu0z5eidaABJCSVMBNuEC+0uS1UYUXS8w==" + "resolved" "https://registry.npmjs.org/@solana/wallet-adapter-wallets/-/wallet-adapter-wallets-0.19.15.tgz" + "version" "0.19.15" dependencies: "@solana/wallet-adapter-alpha" "^0.1.9" "@solana/wallet-adapter-avana" "^0.1.12" @@ -3727,89 +3853,97 @@ "@solana/wallet-adapter-xdefi" "^0.1.6" "@solana/wallet-adapter-xdefi@^0.1.6": - version "0.1.6" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-xdefi/-/wallet-adapter-xdefi-0.1.6.tgz#8e94c360c2d53084573375fcaaefb745d8192f3f" - integrity sha512-Fj1LLsqmxqPU8/DwOMzdl4HVi7sM8xgkzS1+iNaB1McNXf1HjJ0iQr6BWmkm/7aBdNFo4GrVYa1nYz1NIp/3+Q== + "integrity" "sha512-Fj1LLsqmxqPU8/DwOMzdl4HVi7sM8xgkzS1+iNaB1McNXf1HjJ0iQr6BWmkm/7aBdNFo4GrVYa1nYz1NIp/3+Q==" + "resolved" "https://registry.npmjs.org/@solana/wallet-adapter-xdefi/-/wallet-adapter-xdefi-0.1.6.tgz" + "version" "0.1.6" dependencies: "@solana/wallet-adapter-base" "^0.9.22" "@solana/wallet-standard-features@^1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@solana/wallet-standard-features/-/wallet-standard-features-1.0.1.tgz#36270a646f74a80e51b9e21fb360edb64f840c68" - integrity sha512-SUfx7KtBJ55XIj0qAhhVcC1I6MklAXqWFEz9hDHW+6YcJIyvfix/EilBhaBik1FJ2JT0zukpOfFv8zpuAbFRbw== + "integrity" "sha512-SUfx7KtBJ55XIj0qAhhVcC1I6MklAXqWFEz9hDHW+6YcJIyvfix/EilBhaBik1FJ2JT0zukpOfFv8zpuAbFRbw==" + "resolved" "https://registry.npmjs.org/@solana/wallet-standard-features/-/wallet-standard-features-1.0.1.tgz" + "version" "1.0.1" dependencies: "@wallet-standard/base" "^1.0.1" "@wallet-standard/features" "^1.0.3" "@solana/web3.js@^1.36.0", "@solana/web3.js@^1.44.3", "@solana/web3.js@^1.58.0", "@solana/web3.js@^1.63.1": - version "1.74.0" - resolved "https://registry.yarnpkg.com/@solana/web3.js/-/web3.js-1.74.0.tgz#dbcbeabb830dd7cbbcf5e31404ca79c9785cbf2d" - integrity sha512-RKZyPqizPCxmpMGfpu4fuplNZEWCrhRBjjVstv5QnAJvgln1jgOfgui+rjl1ExnqDnWKg9uaZ5jtGROH/cwabg== + "integrity" "sha512-RKZyPqizPCxmpMGfpu4fuplNZEWCrhRBjjVstv5QnAJvgln1jgOfgui+rjl1ExnqDnWKg9uaZ5jtGROH/cwabg==" + "resolved" "https://registry.npmjs.org/@solana/web3.js/-/web3.js-1.74.0.tgz" + "version" "1.74.0" dependencies: "@babel/runtime" "^7.12.5" "@noble/ed25519" "^1.7.0" "@noble/hashes" "^1.1.2" "@noble/secp256k1" "^1.6.3" "@solana/buffer-layout" "^4.0.0" - agentkeepalive "^4.2.1" - bigint-buffer "^1.1.5" - bn.js "^5.0.0" - borsh "^0.7.0" - bs58 "^4.0.1" - buffer "6.0.1" - fast-stable-stringify "^1.0.0" - jayson "^3.4.4" - node-fetch "^2.6.7" - rpc-websockets "^7.5.1" - superstruct "^0.14.2" + "agentkeepalive" "^4.2.1" + "bigint-buffer" "^1.1.5" + "bn.js" "^5.0.0" + "borsh" "^0.7.0" + "bs58" "^4.0.1" + "buffer" "6.0.1" + "fast-stable-stringify" "^1.0.0" + "jayson" "^3.4.4" + "node-fetch" "^2.6.7" + "rpc-websockets" "^7.5.1" + "superstruct" "^0.14.2" "@solflare-wallet/sdk@^1.2.0": - version "1.2.1" - resolved "https://registry.yarnpkg.com/@solflare-wallet/sdk/-/sdk-1.2.1.tgz#9decc277cbefa670ed0d5f053786a7d1635b3e6d" - integrity sha512-ESF3rGZtcVFaIkX9gv7SXUbwbfBOn53l8u9vZJme3RZv4MEY/O1v5Sj2oYXhZiJ9V0PnZfByDUj8yx55j86F+A== + "integrity" "sha512-ESF3rGZtcVFaIkX9gv7SXUbwbfBOn53l8u9vZJme3RZv4MEY/O1v5Sj2oYXhZiJ9V0PnZfByDUj8yx55j86F+A==" + "resolved" "https://registry.npmjs.org/@solflare-wallet/sdk/-/sdk-1.2.1.tgz" + "version" "1.2.1" dependencies: "@project-serum/sol-wallet-adapter" "0.2.0" - bs58 "^4.0.1" - eventemitter3 "^4.0.7" - uuid "^8.3.2" + "bs58" "^4.0.1" + "eventemitter3" "^4.0.7" + "uuid" "^8.3.2" "@solidity-parser/parser@^0.14.1": - version "0.14.5" - resolved "https://registry.yarnpkg.com/@solidity-parser/parser/-/parser-0.14.5.tgz#87bc3cc7b068e08195c219c91cd8ddff5ef1a804" - integrity sha512-6dKnHZn7fg/iQATVEzqyUOyEidbn05q7YA2mQ9hC0MMXhhV3/JrsxmFSYZAcr7j1yUP700LLhTruvJ3MiQmjJg== + "integrity" "sha512-6dKnHZn7fg/iQATVEzqyUOyEidbn05q7YA2mQ9hC0MMXhhV3/JrsxmFSYZAcr7j1yUP700LLhTruvJ3MiQmjJg==" + "resolved" "https://registry.npmjs.org/@solidity-parser/parser/-/parser-0.14.5.tgz" + "version" "0.14.5" dependencies: - antlr4ts "^0.5.0-alpha.4" + "antlr4ts" "^0.5.0-alpha.4" "@stablelib/aead@^1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@stablelib/aead/-/aead-1.0.1.tgz#c4b1106df9c23d1b867eb9b276d8f42d5fc4c0c3" - integrity sha512-q39ik6sxGHewqtO0nP4BuSe3db5G1fEJE8ukvngS2gLkBXyy6E7pLubhbYgnkDFv6V8cWaxcE4Xn0t6LWcJkyg== + "integrity" "sha512-q39ik6sxGHewqtO0nP4BuSe3db5G1fEJE8ukvngS2gLkBXyy6E7pLubhbYgnkDFv6V8cWaxcE4Xn0t6LWcJkyg==" + "resolved" "https://registry.npmjs.org/@stablelib/aead/-/aead-1.0.1.tgz" + "version" "1.0.1" "@stablelib/binary@^1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@stablelib/binary/-/binary-1.0.1.tgz#c5900b94368baf00f811da5bdb1610963dfddf7f" - integrity sha512-ClJWvmL6UBM/wjkvv/7m5VP3GMr9t0osr4yVgLZsLCOz4hGN9gIAFEqnJ0TsSMAN+n840nf2cHZnA5/KFqHC7Q== + "integrity" "sha512-ClJWvmL6UBM/wjkvv/7m5VP3GMr9t0osr4yVgLZsLCOz4hGN9gIAFEqnJ0TsSMAN+n840nf2cHZnA5/KFqHC7Q==" + "resolved" "https://registry.npmjs.org/@stablelib/binary/-/binary-1.0.1.tgz" + "version" "1.0.1" dependencies: "@stablelib/int" "^1.0.1" "@stablelib/blake2b@^1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@stablelib/blake2b/-/blake2b-1.0.1.tgz#0045a77e182c4cf3260bc9b533fc4cd5c287f8ea" - integrity sha512-B3KyKoBAjkIFeH7romcF96i+pVFYk7K2SBQ1pZvaxV+epSBXJ+n0C66esUhyz6FF+5FbdQVm77C5fzGFcEZpKA== + "integrity" "sha512-B3KyKoBAjkIFeH7romcF96i+pVFYk7K2SBQ1pZvaxV+epSBXJ+n0C66esUhyz6FF+5FbdQVm77C5fzGFcEZpKA==" + "resolved" "https://registry.npmjs.org/@stablelib/blake2b/-/blake2b-1.0.1.tgz" + "version" "1.0.1" dependencies: "@stablelib/binary" "^1.0.1" "@stablelib/hash" "^1.0.1" "@stablelib/wipe" "^1.0.1" "@stablelib/bytes@^1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@stablelib/bytes/-/bytes-1.0.1.tgz#0f4aa7b03df3080b878c7dea927d01f42d6a20d8" - integrity sha512-Kre4Y4kdwuqL8BR2E9hV/R5sOrUj6NanZaZis0V6lX5yzqC3hBuVSDXUIBqQv/sCpmuWRiHLwqiT1pqqjuBXoQ== + "integrity" "sha512-Kre4Y4kdwuqL8BR2E9hV/R5sOrUj6NanZaZis0V6lX5yzqC3hBuVSDXUIBqQv/sCpmuWRiHLwqiT1pqqjuBXoQ==" + "resolved" "https://registry.npmjs.org/@stablelib/bytes/-/bytes-1.0.1.tgz" + "version" "1.0.1" + +"@stablelib/chacha@^1.0.1": + "integrity" "sha512-Pmlrswzr0pBzDofdFuVe1q7KdsHKhhU24e8gkEwnTGOmlC7PADzLVxGdn2PoNVBBabdg0l/IfLKg6sHAbTQugg==" + "resolved" "https://registry.npmjs.org/@stablelib/chacha/-/chacha-1.0.1.tgz" + "version" "1.0.1" + dependencies: + "@stablelib/binary" "^1.0.1" + "@stablelib/wipe" "^1.0.1" "@stablelib/chacha20poly1305@1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@stablelib/chacha20poly1305/-/chacha20poly1305-1.0.1.tgz#de6b18e283a9cb9b7530d8767f99cde1fec4c2ee" - integrity sha512-MmViqnqHd1ymwjOQfghRKw2R/jMIGT3wySN7cthjXCBdO+qErNPUBnRzqNpnvIwg7JBCg3LdeCZZO4de/yEhVA== + "integrity" "sha512-MmViqnqHd1ymwjOQfghRKw2R/jMIGT3wySN7cthjXCBdO+qErNPUBnRzqNpnvIwg7JBCg3LdeCZZO4de/yEhVA==" + "resolved" "https://registry.npmjs.org/@stablelib/chacha20poly1305/-/chacha20poly1305-1.0.1.tgz" + "version" "1.0.1" dependencies: "@stablelib/aead" "^1.0.1" "@stablelib/binary" "^1.0.1" @@ -3818,67 +3952,59 @@ "@stablelib/poly1305" "^1.0.1" "@stablelib/wipe" "^1.0.1" -"@stablelib/chacha@^1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@stablelib/chacha/-/chacha-1.0.1.tgz#deccfac95083e30600c3f92803a3a1a4fa761371" - integrity sha512-Pmlrswzr0pBzDofdFuVe1q7KdsHKhhU24e8gkEwnTGOmlC7PADzLVxGdn2PoNVBBabdg0l/IfLKg6sHAbTQugg== - dependencies: - "@stablelib/binary" "^1.0.1" - "@stablelib/wipe" "^1.0.1" - "@stablelib/constant-time@^1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@stablelib/constant-time/-/constant-time-1.0.1.tgz#bde361465e1cf7b9753061b77e376b0ca4c77e35" - integrity sha512-tNOs3uD0vSJcK6z1fvef4Y+buN7DXhzHDPqRLSXUel1UfqMB1PWNsnnAezrKfEwTLpN0cGH2p9NNjs6IqeD0eg== + "integrity" "sha512-tNOs3uD0vSJcK6z1fvef4Y+buN7DXhzHDPqRLSXUel1UfqMB1PWNsnnAezrKfEwTLpN0cGH2p9NNjs6IqeD0eg==" + "resolved" "https://registry.npmjs.org/@stablelib/constant-time/-/constant-time-1.0.1.tgz" + "version" "1.0.1" "@stablelib/ed25519@^1.0.2", "@stablelib/ed25519@^1.0.3": - version "1.0.3" - resolved "https://registry.yarnpkg.com/@stablelib/ed25519/-/ed25519-1.0.3.tgz#f8fdeb6f77114897c887bb6a3138d659d3f35996" - integrity sha512-puIMWaX9QlRsbhxfDc5i+mNPMY+0TmQEskunY1rZEBPi1acBCVQAhnsk/1Hk50DGPtVsZtAWQg4NHGlVaO9Hqg== + "integrity" "sha512-puIMWaX9QlRsbhxfDc5i+mNPMY+0TmQEskunY1rZEBPi1acBCVQAhnsk/1Hk50DGPtVsZtAWQg4NHGlVaO9Hqg==" + "resolved" "https://registry.npmjs.org/@stablelib/ed25519/-/ed25519-1.0.3.tgz" + "version" "1.0.3" dependencies: "@stablelib/random" "^1.0.2" "@stablelib/sha512" "^1.0.1" "@stablelib/wipe" "^1.0.1" "@stablelib/hash@^1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@stablelib/hash/-/hash-1.0.1.tgz#3c944403ff2239fad8ebb9015e33e98444058bc5" - integrity sha512-eTPJc/stDkdtOcrNMZ6mcMK1e6yBbqRBaNW55XA1jU8w/7QdnCF0CmMmOD1m7VSkBR44PWrMHU2l6r8YEQHMgg== + "integrity" "sha512-eTPJc/stDkdtOcrNMZ6mcMK1e6yBbqRBaNW55XA1jU8w/7QdnCF0CmMmOD1m7VSkBR44PWrMHU2l6r8YEQHMgg==" + "resolved" "https://registry.npmjs.org/@stablelib/hash/-/hash-1.0.1.tgz" + "version" "1.0.1" "@stablelib/hkdf@1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@stablelib/hkdf/-/hkdf-1.0.1.tgz#b4efd47fd56fb43c6a13e8775a54b354f028d98d" - integrity sha512-SBEHYE16ZXlHuaW5RcGk533YlBj4grMeg5TooN80W3NpcHRtLZLLXvKyX0qcRFxf+BGDobJLnwkvgEwHIDBR6g== + "integrity" "sha512-SBEHYE16ZXlHuaW5RcGk533YlBj4grMeg5TooN80W3NpcHRtLZLLXvKyX0qcRFxf+BGDobJLnwkvgEwHIDBR6g==" + "resolved" "https://registry.npmjs.org/@stablelib/hkdf/-/hkdf-1.0.1.tgz" + "version" "1.0.1" dependencies: "@stablelib/hash" "^1.0.1" "@stablelib/hmac" "^1.0.1" "@stablelib/wipe" "^1.0.1" "@stablelib/hmac@^1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@stablelib/hmac/-/hmac-1.0.1.tgz#3d4c1b8cf194cb05d28155f0eed8a299620a07ec" - integrity sha512-V2APD9NSnhVpV/QMYgCVMIYKiYG6LSqw1S65wxVoirhU/51ACio6D4yDVSwMzuTJXWZoVHbDdINioBwKy5kVmA== + "integrity" "sha512-V2APD9NSnhVpV/QMYgCVMIYKiYG6LSqw1S65wxVoirhU/51ACio6D4yDVSwMzuTJXWZoVHbDdINioBwKy5kVmA==" + "resolved" "https://registry.npmjs.org/@stablelib/hmac/-/hmac-1.0.1.tgz" + "version" "1.0.1" dependencies: "@stablelib/constant-time" "^1.0.1" "@stablelib/hash" "^1.0.1" "@stablelib/wipe" "^1.0.1" "@stablelib/int@^1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@stablelib/int/-/int-1.0.1.tgz#75928cc25d59d73d75ae361f02128588c15fd008" - integrity sha512-byr69X/sDtDiIjIV6m4roLVWnNNlRGzsvxw+agj8CIEazqWGOQp2dTYgQhtyVXV9wpO6WyXRQUzLV/JRNumT2w== + "integrity" "sha512-byr69X/sDtDiIjIV6m4roLVWnNNlRGzsvxw+agj8CIEazqWGOQp2dTYgQhtyVXV9wpO6WyXRQUzLV/JRNumT2w==" + "resolved" "https://registry.npmjs.org/@stablelib/int/-/int-1.0.1.tgz" + "version" "1.0.1" "@stablelib/keyagreement@^1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@stablelib/keyagreement/-/keyagreement-1.0.1.tgz#4612efb0a30989deb437cd352cee637ca41fc50f" - integrity sha512-VKL6xBwgJnI6l1jKrBAfn265cspaWBPAPEc62VBQrWHLqVgNRE09gQ/AnOEyKUWrrqfD+xSQ3u42gJjLDdMDQg== + "integrity" "sha512-VKL6xBwgJnI6l1jKrBAfn265cspaWBPAPEc62VBQrWHLqVgNRE09gQ/AnOEyKUWrrqfD+xSQ3u42gJjLDdMDQg==" + "resolved" "https://registry.npmjs.org/@stablelib/keyagreement/-/keyagreement-1.0.1.tgz" + "version" "1.0.1" dependencies: "@stablelib/bytes" "^1.0.1" "@stablelib/nacl@^1.0.4": - version "1.0.4" - resolved "https://registry.yarnpkg.com/@stablelib/nacl/-/nacl-1.0.4.tgz#b63e0a1b87eccb13ad91dd46b2382112acfa417e" - integrity sha512-PJ2U/MrkXSKUM8C4qFs87WeCNxri7KQwR8Cdwm9q2sweGuAtTvOJGuW0F3N+zn+ySLPJA98SYWSSpogMJ1gCmw== + "integrity" "sha512-PJ2U/MrkXSKUM8C4qFs87WeCNxri7KQwR8Cdwm9q2sweGuAtTvOJGuW0F3N+zn+ySLPJA98SYWSSpogMJ1gCmw==" + "resolved" "https://registry.npmjs.org/@stablelib/nacl/-/nacl-1.0.4.tgz" + "version" "1.0.4" dependencies: "@stablelib/poly1305" "^1.0.1" "@stablelib/random" "^1.0.2" @@ -3887,9 +4013,9 @@ "@stablelib/xsalsa20" "^1.0.2" "@stablelib/pbkdf2@^1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@stablelib/pbkdf2/-/pbkdf2-1.0.1.tgz#ba4d4379385db3ca46fb48e504ff7933c451be1d" - integrity sha512-d5jwK6jW1DkMyzqY8D1Io+fRXcsUVr95lk5LKX9ghaUdAITTc1ZL0bff+R0IrwSixbHluxhnivG7vDw59AZ/Nw== + "integrity" "sha512-d5jwK6jW1DkMyzqY8D1Io+fRXcsUVr95lk5LKX9ghaUdAITTc1ZL0bff+R0IrwSixbHluxhnivG7vDw59AZ/Nw==" + "resolved" "https://registry.npmjs.org/@stablelib/pbkdf2/-/pbkdf2-1.0.1.tgz" + "version" "1.0.1" dependencies: "@stablelib/binary" "^1.0.1" "@stablelib/hash" "^1.0.1" @@ -3897,90 +4023,90 @@ "@stablelib/wipe" "^1.0.1" "@stablelib/poly1305@^1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@stablelib/poly1305/-/poly1305-1.0.1.tgz#93bfb836c9384685d33d70080718deae4ddef1dc" - integrity sha512-1HlG3oTSuQDOhSnLwJRKeTRSAdFNVB/1djy2ZbS35rBSJ/PFqx9cf9qatinWghC2UbfOYD8AcrtbUQl8WoxabA== + "integrity" "sha512-1HlG3oTSuQDOhSnLwJRKeTRSAdFNVB/1djy2ZbS35rBSJ/PFqx9cf9qatinWghC2UbfOYD8AcrtbUQl8WoxabA==" + "resolved" "https://registry.npmjs.org/@stablelib/poly1305/-/poly1305-1.0.1.tgz" + "version" "1.0.1" dependencies: "@stablelib/constant-time" "^1.0.1" "@stablelib/wipe" "^1.0.1" "@stablelib/random@^1.0.1", "@stablelib/random@^1.0.2": - version "1.0.2" - resolved "https://registry.yarnpkg.com/@stablelib/random/-/random-1.0.2.tgz#2dece393636489bf7e19c51229dd7900eddf742c" - integrity sha512-rIsE83Xpb7clHPVRlBj8qNe5L8ISQOzjghYQm/dZ7VaM2KHYwMW5adjQjrzTZCchFnNCNhkwtnOBa9HTMJCI8w== + "integrity" "sha512-rIsE83Xpb7clHPVRlBj8qNe5L8ISQOzjghYQm/dZ7VaM2KHYwMW5adjQjrzTZCchFnNCNhkwtnOBa9HTMJCI8w==" + "resolved" "https://registry.npmjs.org/@stablelib/random/-/random-1.0.2.tgz" + "version" "1.0.2" dependencies: "@stablelib/binary" "^1.0.1" "@stablelib/wipe" "^1.0.1" "@stablelib/salsa20@^1.0.2": - version "1.0.2" - resolved "https://registry.yarnpkg.com/@stablelib/salsa20/-/salsa20-1.0.2.tgz#95177331f89a59d1c90f153f53265c925d4de138" - integrity sha512-nfjKzw0KTKrrKBasEP+j7UP4I8Xudom8lVZIBCp0kQNARXq72IlSic0oabg2FC1NU68L4RdHrNJDd8bFwrphYA== + "integrity" "sha512-nfjKzw0KTKrrKBasEP+j7UP4I8Xudom8lVZIBCp0kQNARXq72IlSic0oabg2FC1NU68L4RdHrNJDd8bFwrphYA==" + "resolved" "https://registry.npmjs.org/@stablelib/salsa20/-/salsa20-1.0.2.tgz" + "version" "1.0.2" dependencies: "@stablelib/binary" "^1.0.1" "@stablelib/constant-time" "^1.0.1" "@stablelib/wipe" "^1.0.1" "@stablelib/sha256@1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@stablelib/sha256/-/sha256-1.0.1.tgz#77b6675b67f9b0ea081d2e31bda4866297a3ae4f" - integrity sha512-GIIH3e6KH+91FqGV42Kcj71Uefd/QEe7Dy42sBTeqppXV95ggCcxLTk39bEr+lZfJmp+ghsR07J++ORkRELsBQ== + "integrity" "sha512-GIIH3e6KH+91FqGV42Kcj71Uefd/QEe7Dy42sBTeqppXV95ggCcxLTk39bEr+lZfJmp+ghsR07J++ORkRELsBQ==" + "resolved" "https://registry.npmjs.org/@stablelib/sha256/-/sha256-1.0.1.tgz" + "version" "1.0.1" dependencies: "@stablelib/binary" "^1.0.1" "@stablelib/hash" "^1.0.1" "@stablelib/wipe" "^1.0.1" "@stablelib/sha512@^1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@stablelib/sha512/-/sha512-1.0.1.tgz#6da700c901c2c0ceacbd3ae122a38ac57c72145f" - integrity sha512-13gl/iawHV9zvDKciLo1fQ8Bgn2Pvf7OV6amaRVKiq3pjQ3UmEpXxWiAfV8tYjUpeZroBxtyrwtdooQT/i3hzw== + "integrity" "sha512-13gl/iawHV9zvDKciLo1fQ8Bgn2Pvf7OV6amaRVKiq3pjQ3UmEpXxWiAfV8tYjUpeZroBxtyrwtdooQT/i3hzw==" + "resolved" "https://registry.npmjs.org/@stablelib/sha512/-/sha512-1.0.1.tgz" + "version" "1.0.1" dependencies: "@stablelib/binary" "^1.0.1" "@stablelib/hash" "^1.0.1" "@stablelib/wipe" "^1.0.1" "@stablelib/wipe@^1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@stablelib/wipe/-/wipe-1.0.1.tgz#d21401f1d59ade56a62e139462a97f104ed19a36" - integrity sha512-WfqfX/eXGiAd3RJe4VU2snh/ZPwtSjLG4ynQ/vYzvghTh7dHFcI1wl+nrkWG6lGhukOxOsUHfv8dUXr58D0ayg== + "integrity" "sha512-WfqfX/eXGiAd3RJe4VU2snh/ZPwtSjLG4ynQ/vYzvghTh7dHFcI1wl+nrkWG6lGhukOxOsUHfv8dUXr58D0ayg==" + "resolved" "https://registry.npmjs.org/@stablelib/wipe/-/wipe-1.0.1.tgz" + "version" "1.0.1" "@stablelib/x25519@^1.0.3": - version "1.0.3" - resolved "https://registry.yarnpkg.com/@stablelib/x25519/-/x25519-1.0.3.tgz#13c8174f774ea9f3e5e42213cbf9fc68a3c7b7fd" - integrity sha512-KnTbKmUhPhHavzobclVJQG5kuivH+qDLpe84iRqX3CLrKp881cF160JvXJ+hjn1aMyCwYOKeIZefIH/P5cJoRw== + "integrity" "sha512-KnTbKmUhPhHavzobclVJQG5kuivH+qDLpe84iRqX3CLrKp881cF160JvXJ+hjn1aMyCwYOKeIZefIH/P5cJoRw==" + "resolved" "https://registry.npmjs.org/@stablelib/x25519/-/x25519-1.0.3.tgz" + "version" "1.0.3" dependencies: "@stablelib/keyagreement" "^1.0.1" "@stablelib/random" "^1.0.2" "@stablelib/wipe" "^1.0.1" "@stablelib/xsalsa20@^1.0.2": - version "1.0.2" - resolved "https://registry.yarnpkg.com/@stablelib/xsalsa20/-/xsalsa20-1.0.2.tgz#89efc22a7ba432880ef11d876fdeba13529ccdc4" - integrity sha512-7XdBGbcNgBShmuhDXv1G1WPVCkjZdkb1oPMzSidO7Fve0MHntH6TjFkj5bfLI+aRE+61weO076vYpP/jmaAYog== + "integrity" "sha512-7XdBGbcNgBShmuhDXv1G1WPVCkjZdkb1oPMzSidO7Fve0MHntH6TjFkj5bfLI+aRE+61weO076vYpP/jmaAYog==" + "resolved" "https://registry.npmjs.org/@stablelib/xsalsa20/-/xsalsa20-1.0.2.tgz" + "version" "1.0.2" dependencies: "@stablelib/binary" "^1.0.1" "@stablelib/salsa20" "^1.0.2" "@stablelib/wipe" "^1.0.1" "@strike-protocols/solana-wallet-adapter@^0.1.8": - version "0.1.8" - resolved "https://registry.yarnpkg.com/@strike-protocols/solana-wallet-adapter/-/solana-wallet-adapter-0.1.8.tgz#19cef6f1f7a81dfa838b990f48929c4f63b91218" - integrity sha512-8gZAfjkoFgwf5fLFzrVuE2MtxAc7Pc0loBgi0zfcb3ijOy/FEpm5RJKLruKOhcThS6CHrfFxDU80AsZe+msObw== + "integrity" "sha512-8gZAfjkoFgwf5fLFzrVuE2MtxAc7Pc0loBgi0zfcb3ijOy/FEpm5RJKLruKOhcThS6CHrfFxDU80AsZe+msObw==" + "resolved" "https://registry.npmjs.org/@strike-protocols/solana-wallet-adapter/-/solana-wallet-adapter-0.1.8.tgz" + "version" "0.1.8" dependencies: "@solana/web3.js" "^1.44.3" - bs58 "^4.0.1" - eventemitter3 "^4.0.7" - uuid "^8.3.2" + "bs58" "^4.0.1" + "eventemitter3" "^4.0.7" + "uuid" "^8.3.2" "@sushiswap/core@^2.0.0-canary.1": - version "2.0.0-canary.1" - resolved "https://registry.yarnpkg.com/@sushiswap/core/-/core-2.0.0-canary.1.tgz#91c938668282d463e4fce6e0cf4d320ce5f3768f" - integrity sha512-6YFT4EKgm0XgfwCBsKx5HrDtRI6EvhZHipjBKegdTV0b2zKuXnmdyZ+RwPCr0mCKq2pKB0qIiqCxfbgXYDlLCQ== + "integrity" "sha512-6YFT4EKgm0XgfwCBsKx5HrDtRI6EvhZHipjBKegdTV0b2zKuXnmdyZ+RwPCr0mCKq2pKB0qIiqCxfbgXYDlLCQ==" + "resolved" "https://registry.npmjs.org/@sushiswap/core/-/core-2.0.0-canary.1.tgz" + "version" "2.0.0-canary.1" "@sushiswap/sdk@^5.0.0-canary.116": - version "5.0.0-canary.116" - resolved "https://registry.yarnpkg.com/@sushiswap/sdk/-/sdk-5.0.0-canary.116.tgz#cdf303590dc0a174a0332c76b15ee8a0d92a8e4f" - integrity sha512-EC25LvMGIyhmMJr2vbJ1HWFSUgKHq7IJp+Esemokx1RIdyrkW2Hwo4RWSzkAzWG4+lDJC/aI79iH4riiEk5tng== + "integrity" "sha512-EC25LvMGIyhmMJr2vbJ1HWFSUgKHq7IJp+Esemokx1RIdyrkW2Hwo4RWSzkAzWG4+lDJC/aI79iH4riiEk5tng==" + "resolved" "https://registry.npmjs.org/@sushiswap/sdk/-/sdk-5.0.0-canary.116.tgz" + "version" "5.0.0-canary.116" dependencies: "@ethersproject/abi" "^5.4.0" "@ethersproject/abstract-signer" "^5.4.0" @@ -3995,89 +4121,89 @@ "@ethersproject/solidity" "^5.4.0" "@ethersproject/transactions" "^5.4.0" "@sushiswap/core" "^2.0.0-canary.1" - big.js "^6.1.0" - decimal.js-light "^2.5.0" - eip-712 "^0.4.3" - isomorphic-unfetch "^3.1.0" - jsbi "^4.1.0" - tiny-invariant "^1.1.0" - tiny-warning "^1.0.3" - toformat "^2.0.0" + "big.js" "^6.1.0" + "decimal.js-light" "^2.5.0" + "eip-712" "^0.4.3" + "isomorphic-unfetch" "^3.1.0" + "jsbi" "^4.1.0" + "tiny-invariant" "^1.1.0" + "tiny-warning" "^1.0.3" + "toformat" "^2.0.0" "@szmarczak/http-timer@^1.1.2": - version "1.1.2" - resolved "https://registry.yarnpkg.com/@szmarczak/http-timer/-/http-timer-1.1.2.tgz#b1665e2c461a2cd92f4c1bbf50d5454de0d4b421" - integrity sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA== + "integrity" "sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA==" + "resolved" "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-1.1.2.tgz" + "version" "1.1.2" dependencies: - defer-to-connect "^1.0.1" + "defer-to-connect" "^1.0.1" "@szmarczak/http-timer@^4.0.5": - version "4.0.6" - resolved "https://registry.yarnpkg.com/@szmarczak/http-timer/-/http-timer-4.0.6.tgz#b4a914bb62e7c272d4e5989fe4440f812ab1d807" - integrity sha512-4BAffykYOgO+5nzBWYwE3W90sBgLJoUPRWWcL8wlyiM8IB8ipJz3UMJ9KXQd1RKQXpKp8Tutn80HZtWsu2u76w== + "integrity" "sha512-4BAffykYOgO+5nzBWYwE3W90sBgLJoUPRWWcL8wlyiM8IB8ipJz3UMJ9KXQd1RKQXpKp8Tutn80HZtWsu2u76w==" + "resolved" "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-4.0.6.tgz" + "version" "4.0.6" dependencies: - defer-to-connect "^2.0.0" + "defer-to-connect" "^2.0.0" "@szmarczak/http-timer@^5.0.1": - version "5.0.1" - resolved "https://registry.yarnpkg.com/@szmarczak/http-timer/-/http-timer-5.0.1.tgz#c7c1bf1141cdd4751b0399c8fc7b8b664cd5be3a" - integrity sha512-+PmQX0PiAYPMeVYe237LJAYvOMYW1j2rH5YROyS3b4CTVJum34HfRvKvAzozHAQG0TnHNdUfY9nCeUyRAs//cw== + "integrity" "sha512-+PmQX0PiAYPMeVYe237LJAYvOMYW1j2rH5YROyS3b4CTVJum34HfRvKvAzozHAQG0TnHNdUfY9nCeUyRAs//cw==" + "resolved" "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-5.0.1.tgz" + "version" "5.0.1" dependencies: - defer-to-connect "^2.0.1" + "defer-to-connect" "^2.0.1" "@taquito/core@^17.2.0": - version "17.2.0" - resolved "https://registry.yarnpkg.com/@taquito/core/-/core-17.2.0.tgz#cf1e23ba5548aca36d2fb7263973e17806849536" - integrity sha512-Sijn6uhSJUPgk9TzlxOAiJpfF7HogjNepmjGia3Eq9LidJMg6gqL+VRYYtCIAzNQl7Ge8dkqUx9yIibQFHPR7w== + "integrity" "sha512-Sijn6uhSJUPgk9TzlxOAiJpfF7HogjNepmjGia3Eq9LidJMg6gqL+VRYYtCIAzNQl7Ge8dkqUx9yIibQFHPR7w==" + "resolved" "https://registry.npmjs.org/@taquito/core/-/core-17.2.0.tgz" + "version" "17.2.0" "@taquito/http-utils@^17.2.0": - version "17.2.0" - resolved "https://registry.yarnpkg.com/@taquito/http-utils/-/http-utils-17.2.0.tgz#99a5c2e52d7553d7c256366b6629440e4507c955" - integrity sha512-7Euinzp652JyAjxkFtyYD+ZxKrCHA87pafrf+Mwb868KXcv4po72jg2GTtaimmIAEkDh03Bp+EpQVX4vpQeo/A== + "integrity" "sha512-7Euinzp652JyAjxkFtyYD+ZxKrCHA87pafrf+Mwb868KXcv4po72jg2GTtaimmIAEkDh03Bp+EpQVX4vpQeo/A==" + "resolved" "https://registry.npmjs.org/@taquito/http-utils/-/http-utils-17.2.0.tgz" + "version" "17.2.0" dependencies: "@taquito/core" "^17.2.0" - axios "0.26.0" + "axios" "0.26.0" "@taquito/local-forging@^17.2.0": - version "17.2.0" - resolved "https://registry.yarnpkg.com/@taquito/local-forging/-/local-forging-17.2.0.tgz#7a52da459aa87411df1dd2f477d6604eca91ec02" - integrity sha512-f1ppmY7ItBbfBmT5TGOH5Sxp8sSUZ+LSHjZcRv3s36RGytHKK/IIbfY+z4+43ZIAVQpwxbXgZkqjPPsNacQPzA== + "integrity" "sha512-f1ppmY7ItBbfBmT5TGOH5Sxp8sSUZ+LSHjZcRv3s36RGytHKK/IIbfY+z4+43ZIAVQpwxbXgZkqjPPsNacQPzA==" + "resolved" "https://registry.npmjs.org/@taquito/local-forging/-/local-forging-17.2.0.tgz" + "version" "17.2.0" dependencies: "@taquito/core" "^17.2.0" "@taquito/utils" "^17.2.0" - bignumber.js "^9.1.0" + "bignumber.js" "^9.1.0" "@taquito/michel-codec@^17.2.0": - version "17.2.0" - resolved "https://registry.yarnpkg.com/@taquito/michel-codec/-/michel-codec-17.2.0.tgz#6a71e50c3043fd31c0cc4b635eb14f38c8270963" - integrity sha512-PIQK9wrPKcsgoD/zQzb779jAhhHRs0ikBViqIQmTurT0uv3az2lRZRPdWrHovY835Iq9bhCZmL7s+ptPn1JjXg== + "integrity" "sha512-PIQK9wrPKcsgoD/zQzb779jAhhHRs0ikBViqIQmTurT0uv3az2lRZRPdWrHovY835Iq9bhCZmL7s+ptPn1JjXg==" + "resolved" "https://registry.npmjs.org/@taquito/michel-codec/-/michel-codec-17.2.0.tgz" + "version" "17.2.0" dependencies: "@taquito/core" "^17.2.0" "@taquito/michelson-encoder@^17.2.0": - version "17.2.0" - resolved "https://registry.yarnpkg.com/@taquito/michelson-encoder/-/michelson-encoder-17.2.0.tgz#ba32ee0214076a58b6e37fc83d802f1f5e123c58" - integrity sha512-bJi9FLQ+RrERzSscwGVdti2lm7ktHQU9/nyljmP8LBCOkU7xvY3SJi+FKQHxcRGS52si6Wvi+oyMo6JcV6kYDg== + "integrity" "sha512-bJi9FLQ+RrERzSscwGVdti2lm7ktHQU9/nyljmP8LBCOkU7xvY3SJi+FKQHxcRGS52si6Wvi+oyMo6JcV6kYDg==" + "resolved" "https://registry.npmjs.org/@taquito/michelson-encoder/-/michelson-encoder-17.2.0.tgz" + "version" "17.2.0" dependencies: "@taquito/rpc" "^17.2.0" "@taquito/utils" "^17.2.0" - bignumber.js "^9.1.0" - fast-json-stable-stringify "^2.1.0" + "bignumber.js" "^9.1.0" + "fast-json-stable-stringify" "^2.1.0" "@taquito/rpc@^17.0.0", "@taquito/rpc@^17.2.0": - version "17.2.0" - resolved "https://registry.yarnpkg.com/@taquito/rpc/-/rpc-17.2.0.tgz#2ab89aa5d2cbff6986ec212bc01c37c75a938760" - integrity sha512-Fufl4m0ajNAvLlQ+tj4oDeC5TYk4LyLdsVYR0FQ9HdNWTI1Nu+/XTEwnq7AHx7w1zRAFRkAV/YaYn5HSogatjw== + "integrity" "sha512-Fufl4m0ajNAvLlQ+tj4oDeC5TYk4LyLdsVYR0FQ9HdNWTI1Nu+/XTEwnq7AHx7w1zRAFRkAV/YaYn5HSogatjw==" + "resolved" "https://registry.npmjs.org/@taquito/rpc/-/rpc-17.2.0.tgz" + "version" "17.2.0" dependencies: "@taquito/core" "^17.2.0" "@taquito/http-utils" "^17.2.0" "@taquito/utils" "^17.2.0" - bignumber.js "^9.1.0" + "bignumber.js" "^9.1.0" "@taquito/signer@^17.0.0": - version "17.2.0" - resolved "https://registry.yarnpkg.com/@taquito/signer/-/signer-17.2.0.tgz#4173d4fab3b4a7599aa7be5f3934b691dff73e67" - integrity sha512-pVxjBCiK8Bazf4L7OvZVlUaghFfJWZ9yZKa/qyoiMgYDdYjy91rCNja8Tl/vwXLO3nOFa/VjBdPPHuKa3enAAQ== + "integrity" "sha512-pVxjBCiK8Bazf4L7OvZVlUaghFfJWZ9yZKa/qyoiMgYDdYjy91rCNja8Tl/vwXLO3nOFa/VjBdPPHuKa3enAAQ==" + "resolved" "https://registry.npmjs.org/@taquito/signer/-/signer-17.2.0.tgz" + "version" "17.2.0" dependencies: "@stablelib/blake2b" "^1.0.1" "@stablelib/ed25519" "^1.0.3" @@ -4088,15 +4214,15 @@ "@taquito/taquito" "^17.2.0" "@taquito/utils" "^17.2.0" "@types/bn.js" "^5.1.1" - bip39 "3.0.4" - elliptic "^6.5.4" - pbkdf2 "^3.1.2" - typedarray-to-buffer "^4.0.0" + "bip39" "3.0.4" + "elliptic" "^6.5.4" + "pbkdf2" "^3.1.2" + "typedarray-to-buffer" "^4.0.0" "@taquito/taquito@^17.0.0", "@taquito/taquito@^17.2.0": - version "17.2.0" - resolved "https://registry.yarnpkg.com/@taquito/taquito/-/taquito-17.2.0.tgz#cbf896340ed8ced8defbb01d98c286c166eea062" - integrity sha512-8eZwLH+2reeYF+rDfzXOrXIr/g+GUZpLqkzEfZaxfejj8jVfj5S/fVjvIqBkfu/6Z3nynxgDcEzicgx85Dqovg== + "integrity" "sha512-8eZwLH+2reeYF+rDfzXOrXIr/g+GUZpLqkzEfZaxfejj8jVfj5S/fVjvIqBkfu/6Z3nynxgDcEzicgx85Dqovg==" + "resolved" "https://registry.npmjs.org/@taquito/taquito/-/taquito-17.2.0.tgz" + "version" "17.2.0" dependencies: "@taquito/core" "^17.2.0" "@taquito/http-utils" "^17.2.0" @@ -4105,513 +4231,513 @@ "@taquito/michelson-encoder" "^17.2.0" "@taquito/rpc" "^17.2.0" "@taquito/utils" "^17.2.0" - bignumber.js "^9.1.0" - rxjs "^7.8.1" + "bignumber.js" "^9.1.0" + "rxjs" "^7.8.1" "@taquito/utils@^17.2.0": - version "17.2.0" - resolved "https://registry.yarnpkg.com/@taquito/utils/-/utils-17.2.0.tgz#fca1a54fb0321bd1c99ecfe2a33b117a97df86c0" - integrity sha512-m+sl+glhPSKUtxuR+JDOrwEN/+ou/dpZxrLQiBQE2PG3GE1zRdfgBP7K49B+MNIgffdwXsDBfZSinx3AcayfeQ== + "integrity" "sha512-m+sl+glhPSKUtxuR+JDOrwEN/+ou/dpZxrLQiBQE2PG3GE1zRdfgBP7K49B+MNIgffdwXsDBfZSinx3AcayfeQ==" + "resolved" "https://registry.npmjs.org/@taquito/utils/-/utils-17.2.0.tgz" + "version" "17.2.0" dependencies: "@stablelib/blake2b" "^1.0.1" "@stablelib/ed25519" "^1.0.3" "@taquito/core" "^17.2.0" "@types/bs58check" "^2.1.0" - bignumber.js "^9.1.0" - blakejs "^1.2.1" - bs58check "^2.1.2" - buffer "^6.0.3" - elliptic "^6.5.4" - typedarray-to-buffer "^4.0.0" + "bignumber.js" "^9.1.0" + "blakejs" "^1.2.1" + "bs58check" "^2.1.2" + "buffer" "^6.0.3" + "elliptic" "^6.5.4" + "typedarray-to-buffer" "^4.0.0" "@tinymanorg/tinyman-js-sdk@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@tinymanorg/tinyman-js-sdk/-/tinyman-js-sdk-3.0.0.tgz#878f6e07641dfe1fda086cfefc292bc74507e529" - integrity sha512-i/rly864c1rTD1kqyFhJa87VXW6b2xkDJeBPhR1pSsXn0+IzZr0PKktc5rCfpHnS5zR23NNwtHY3yNOPGBNy2g== + "integrity" "sha512-i/rly864c1rTD1kqyFhJa87VXW6b2xkDJeBPhR1pSsXn0+IzZr0PKktc5rCfpHnS5zR23NNwtHY3yNOPGBNy2g==" + "resolved" "https://registry.npmjs.org/@tinymanorg/tinyman-js-sdk/-/tinyman-js-sdk-3.0.0.tgz" + "version" "3.0.0" dependencies: - algosdk "^2.1.0" - base64-js "^1.5.1" + "algosdk" "^2.1.0" + "base64-js" "^1.5.1" "@tootallnate/once@1": - version "1.1.2" - resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-1.1.2.tgz#ccb91445360179a04e7fe6aff78c00ffc1eeaf82" - integrity sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw== + "integrity" "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==" + "resolved" "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz" + "version" "1.1.2" "@toruslabs/base-controllers@^2.8.0": - version "2.8.0" - resolved "https://registry.yarnpkg.com/@toruslabs/base-controllers/-/base-controllers-2.8.0.tgz#878f1042ea8a188aaec143b13ff95a418ca4583f" - integrity sha512-htHOYW6u9tUfV3ZYzZ8X5xAnm8nOhecR0m0LIGsePXMaU/lR7NbZ/3TG4xW//ZJYjXfVkyaU2ayJcwbJFIoHeA== + "integrity" "sha512-htHOYW6u9tUfV3ZYzZ8X5xAnm8nOhecR0m0LIGsePXMaU/lR7NbZ/3TG4xW//ZJYjXfVkyaU2ayJcwbJFIoHeA==" + "resolved" "https://registry.npmjs.org/@toruslabs/base-controllers/-/base-controllers-2.8.0.tgz" + "version" "2.8.0" dependencies: "@ethereumjs/util" "^8.0.5" "@toruslabs/broadcast-channel" "^6.2.0" "@toruslabs/http-helpers" "^3.3.0" "@toruslabs/openlogin-jrpc" "^3.2.0" - async-mutex "^0.4.0" - bignumber.js "^9.1.1" - bowser "^2.11.0" - eth-rpc-errors "^4.0.3" - json-rpc-random-id "^1.0.1" - lodash "^4.17.21" - loglevel "^1.8.1" + "async-mutex" "^0.4.0" + "bignumber.js" "^9.1.1" + "bowser" "^2.11.0" + "eth-rpc-errors" "^4.0.3" + "json-rpc-random-id" "^1.0.1" + "lodash" "^4.17.21" + "loglevel" "^1.8.1" "@toruslabs/broadcast-channel@^6.2.0": - version "6.2.0" - resolved "https://registry.yarnpkg.com/@toruslabs/broadcast-channel/-/broadcast-channel-6.2.0.tgz#b2e62913ad64b157b351ea37d764900a66acdd61" - integrity sha512-hrVU9mYe5yOOmlaUi3TIYjyqJGaicomqsoHxb1e1iYCXOJ/QsbSLGEvo6nqAEucNfalGMhfKEUhvMi7Pwgzrow== + "integrity" "sha512-hrVU9mYe5yOOmlaUi3TIYjyqJGaicomqsoHxb1e1iYCXOJ/QsbSLGEvo6nqAEucNfalGMhfKEUhvMi7Pwgzrow==" + "resolved" "https://registry.npmjs.org/@toruslabs/broadcast-channel/-/broadcast-channel-6.2.0.tgz" + "version" "6.2.0" dependencies: "@babel/runtime" "^7.21.0" "@toruslabs/eccrypto" "^2.0.0" "@toruslabs/metadata-helpers" "^3.1.0" - bowser "^2.11.0" - keccak "^3.0.3" - loglevel "^1.8.1" - oblivious-set "1.1.1" - socket.io-client "^4.6.1" - unload "^2.4.1" + "bowser" "^2.11.0" + "keccak" "^3.0.3" + "loglevel" "^1.8.1" + "oblivious-set" "1.1.1" + "socket.io-client" "^4.6.1" + "unload" "^2.4.1" "@toruslabs/eccrypto@^2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@toruslabs/eccrypto/-/eccrypto-2.0.0.tgz#a3df9c6c37a86d250321370b83c6d92918d8891d" - integrity sha512-BBkWKHy0v3WOnFG3QYo+0W02ExpLghfYHuW5ePb9tAI2I8wwiWuuvvhz8JVYEACDsfDy0EikboJrgQVs5eZ7Tg== + "integrity" "sha512-BBkWKHy0v3WOnFG3QYo+0W02ExpLghfYHuW5ePb9tAI2I8wwiWuuvvhz8JVYEACDsfDy0EikboJrgQVs5eZ7Tg==" + "resolved" "https://registry.npmjs.org/@toruslabs/eccrypto/-/eccrypto-2.0.0.tgz" + "version" "2.0.0" dependencies: - elliptic "^6.5.4" + "elliptic" "^6.5.4" "@toruslabs/http-helpers@^3.2.0", "@toruslabs/http-helpers@^3.3.0": - version "3.3.0" - resolved "https://registry.yarnpkg.com/@toruslabs/http-helpers/-/http-helpers-3.3.0.tgz#8b714571284a6da08da050544289bafa16f1b71d" - integrity sha512-lmef2k/Z5Kv8MDff46sb/PY/QBlBFCvGkrzAxjlxC1JBHZO8pbUqMTW8YKRgbkwinH5sR5SFQIAngqitL885Ng== + "integrity" "sha512-lmef2k/Z5Kv8MDff46sb/PY/QBlBFCvGkrzAxjlxC1JBHZO8pbUqMTW8YKRgbkwinH5sR5SFQIAngqitL885Ng==" + "resolved" "https://registry.npmjs.org/@toruslabs/http-helpers/-/http-helpers-3.3.0.tgz" + "version" "3.3.0" dependencies: - lodash.merge "^4.6.2" - loglevel "^1.8.1" + "lodash.merge" "^4.6.2" + "loglevel" "^1.8.1" "@toruslabs/metadata-helpers@^3.1.0": - version "3.1.0" - resolved "https://registry.yarnpkg.com/@toruslabs/metadata-helpers/-/metadata-helpers-3.1.0.tgz#fe6a84145711e091646c2fa223b3996df0748f3d" - integrity sha512-ejLG48aDwR+ta2eY6cnVWSESx//5KOt363WYgAspNGhMJ3U+BFNvgjc96t+gsIRSiysUrZpCC25XPUTYJecvUQ== + "integrity" "sha512-ejLG48aDwR+ta2eY6cnVWSESx//5KOt363WYgAspNGhMJ3U+BFNvgjc96t+gsIRSiysUrZpCC25XPUTYJecvUQ==" + "resolved" "https://registry.npmjs.org/@toruslabs/metadata-helpers/-/metadata-helpers-3.1.0.tgz" + "version" "3.1.0" dependencies: "@toruslabs/eccrypto" "^2.0.0" "@toruslabs/http-helpers" "^3.3.0" - elliptic "^6.5.4" - json-stable-stringify "^1.0.2" - keccak "^3.0.3" + "elliptic" "^6.5.4" + "json-stable-stringify" "^1.0.2" + "keccak" "^3.0.3" "@toruslabs/openlogin-jrpc@^3.0.0", "@toruslabs/openlogin-jrpc@^3.2.0": - version "3.2.0" - resolved "https://registry.yarnpkg.com/@toruslabs/openlogin-jrpc/-/openlogin-jrpc-3.2.0.tgz#fff051d05b6c01b6329e2da9b134fae99305d1e0" - integrity sha512-G+K0EHyVUaAEyeD4xGsnAZRpn/ner8lQ2HC2+pGKg6oGmzKI2wGMDcw2KMH6+HKlfBGVJ5/VR9AQfC/tZlLDmQ== + "integrity" "sha512-G+K0EHyVUaAEyeD4xGsnAZRpn/ner8lQ2HC2+pGKg6oGmzKI2wGMDcw2KMH6+HKlfBGVJ5/VR9AQfC/tZlLDmQ==" + "resolved" "https://registry.npmjs.org/@toruslabs/openlogin-jrpc/-/openlogin-jrpc-3.2.0.tgz" + "version" "3.2.0" dependencies: "@toruslabs/openlogin-utils" "^3.0.0" - end-of-stream "^1.4.4" - eth-rpc-errors "^4.0.3" - events "^3.3.0" - fast-safe-stringify "^2.1.1" - once "^1.4.0" - pump "^3.0.0" - readable-stream "^3.6.2" + "end-of-stream" "^1.4.4" + "eth-rpc-errors" "^4.0.3" + "events" "^3.3.0" + "fast-safe-stringify" "^2.1.1" + "once" "^1.4.0" + "pump" "^3.0.0" + "readable-stream" "^3.6.2" "@toruslabs/openlogin-utils@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@toruslabs/openlogin-utils/-/openlogin-utils-3.0.0.tgz#2c264fa9a2787a1d2b8c703a38740c7c27967fa7" - integrity sha512-T5t29/AIFqXc84x4OoAkZWjd0uoP2Lk6iaFndnIIMzCPu+BwwV0spX/jd/3YYNjZ8Po8D+faEnwAhiqemYeK2w== + "integrity" "sha512-T5t29/AIFqXc84x4OoAkZWjd0uoP2Lk6iaFndnIIMzCPu+BwwV0spX/jd/3YYNjZ8Po8D+faEnwAhiqemYeK2w==" + "resolved" "https://registry.npmjs.org/@toruslabs/openlogin-utils/-/openlogin-utils-3.0.0.tgz" + "version" "3.0.0" dependencies: - base64url "^3.0.1" - keccak "^3.0.3" - randombytes "^2.1.0" + "base64url" "^3.0.1" + "keccak" "^3.0.3" + "randombytes" "^2.1.0" "@toruslabs/solana-embed@^0.3.3": - version "0.3.4" - resolved "https://registry.yarnpkg.com/@toruslabs/solana-embed/-/solana-embed-0.3.4.tgz#547727e6d202f734d1e97a6658bdb3cf54599938" - integrity sha512-yj+aBJoBAneap7Jlu9/OOp7irWNuC5CqAhyhVcmb0IjWrCUFnioLdL0U7UfGaqVm/5O0leJh7/Z5Ll+3toWJBg== + "integrity" "sha512-yj+aBJoBAneap7Jlu9/OOp7irWNuC5CqAhyhVcmb0IjWrCUFnioLdL0U7UfGaqVm/5O0leJh7/Z5Ll+3toWJBg==" + "resolved" "https://registry.npmjs.org/@toruslabs/solana-embed/-/solana-embed-0.3.4.tgz" + "version" "0.3.4" dependencies: "@solana/web3.js" "^1.63.1" "@toruslabs/base-controllers" "^2.8.0" "@toruslabs/http-helpers" "^3.3.0" "@toruslabs/openlogin-jrpc" "^3.2.0" - eth-rpc-errors "^4.0.3" - fast-deep-equal "^3.1.3" - is-stream "^2.0.1" - lodash-es "^4.17.21" - loglevel "^1.8.1" - pump "^3.0.0" + "eth-rpc-errors" "^4.0.3" + "fast-deep-equal" "^3.1.3" + "is-stream" "^2.0.1" + "lodash-es" "^4.17.21" + "loglevel" "^1.8.1" + "pump" "^3.0.0" "@toruslabs/torus-embed@^1.39.0": - version "1.41.0" - resolved "https://registry.yarnpkg.com/@toruslabs/torus-embed/-/torus-embed-1.41.0.tgz#a96213eb1e9d97d504a9266a77eeffaca9d375e5" - integrity sha512-UKYaf01C/wioaXzGfHD8fNfyAvZjrIwuJwtjwmv+sEgbaZZSb+1wtyhmPVQ/r9gVQHWMTQyohoCMov4ifvdTiQ== + "integrity" "sha512-UKYaf01C/wioaXzGfHD8fNfyAvZjrIwuJwtjwmv+sEgbaZZSb+1wtyhmPVQ/r9gVQHWMTQyohoCMov4ifvdTiQ==" + "resolved" "https://registry.npmjs.org/@toruslabs/torus-embed/-/torus-embed-1.41.0.tgz" + "version" "1.41.0" dependencies: "@metamask/obs-store" "^7.0.0" "@toruslabs/http-helpers" "^3.2.0" "@toruslabs/openlogin-jrpc" "^3.0.0" - create-hash "^1.2.0" - end-of-stream "^1.4.4" - eth-rpc-errors "^4.0.3" - events "^3.3.0" - fast-deep-equal "^3.1.3" - is-stream "^2.0.1" - lodash.merge "^4.6.2" - loglevel "^1.8.1" - once "^1.4.0" - pump "^3.0.0" + "create-hash" "^1.2.0" + "end-of-stream" "^1.4.4" + "eth-rpc-errors" "^4.0.3" + "events" "^3.3.0" + "fast-deep-equal" "^3.1.3" + "is-stream" "^2.0.1" + "lodash.merge" "^4.6.2" + "loglevel" "^1.8.1" + "once" "^1.4.0" + "pump" "^3.0.0" "@traderjoe-xyz/sdk-v2@^2.0.5": - version "2.0.5" - resolved "https://registry.yarnpkg.com/@traderjoe-xyz/sdk-v2/-/sdk-v2-2.0.5.tgz#9dc6037d2f3ea28664684e5f8ce4db48eccc80ff" - integrity sha512-tsZ8h8i0rTNDnrv4CgLkTR/6VR0TRnakHvg6oDA38gRsW5nnbqHRrqZNElJ0HKME73T5vKkJ3X4tZFzPOATT+g== + "integrity" "sha512-tsZ8h8i0rTNDnrv4CgLkTR/6VR0TRnakHvg6oDA38gRsW5nnbqHRrqZNElJ0HKME73T5vKkJ3X4tZFzPOATT+g==" + "resolved" "https://registry.npmjs.org/@traderjoe-xyz/sdk-v2/-/sdk-v2-2.0.5.tgz" + "version" "2.0.5" dependencies: "@traderjoe-xyz/sdk" "^4.0.5" - jsbi "^3.1.1" - lodash.flatmap "^4.5.0" - tiny-invariant "^1.1.0" - tiny-warning "^1.0.3" - toformat "^2.0.0" + "jsbi" "^3.1.1" + "lodash.flatmap" "^4.5.0" + "tiny-invariant" "^1.1.0" + "tiny-warning" "^1.0.3" + "toformat" "^2.0.0" "@traderjoe-xyz/sdk@^4.0.5": - version "4.0.6" - resolved "https://registry.yarnpkg.com/@traderjoe-xyz/sdk/-/sdk-4.0.6.tgz#c96343481b7772048cfb5df052de574e1afd5b83" - integrity sha512-NYdDjBSPp5gR0c5hzrZFryRixZGsimtFnpWSk0ADceXp/Ko3R+oaYw7Iv6OkAtshZMD5YB8CunxuRAWqD7AgXA== + "integrity" "sha512-NYdDjBSPp5gR0c5hzrZFryRixZGsimtFnpWSk0ADceXp/Ko3R+oaYw7Iv6OkAtshZMD5YB8CunxuRAWqD7AgXA==" + "resolved" "https://registry.npmjs.org/@traderjoe-xyz/sdk/-/sdk-4.0.6.tgz" + "version" "4.0.6" dependencies: - big.js "^5.2.2" - decimal.js-light "^2.5.0" - jsbi "^3.1.1" - tiny-invariant "^1.1.0" - tiny-warning "^1.0.3" - toformat "^2.0.0" + "big.js" "^5.2.2" + "decimal.js-light" "^2.5.0" + "jsbi" "^3.1.1" + "tiny-invariant" "^1.1.0" + "tiny-warning" "^1.0.3" + "toformat" "^2.0.0" "@trezor/blockchain-link@^2.1.8": - version "2.1.8" - resolved "https://registry.yarnpkg.com/@trezor/blockchain-link/-/blockchain-link-2.1.8.tgz#db3792712a3e949732f4d3f99764a50c284d3932" - integrity sha512-U42+SMUTyMoxm92wETtpIkrWH2SqkG42qq9F55KHMfu1Lt6rkrxhcDjnvmgcvTjmr9qxGmKe0vPtB/l3qH0aGQ== + "integrity" "sha512-U42+SMUTyMoxm92wETtpIkrWH2SqkG42qq9F55KHMfu1Lt6rkrxhcDjnvmgcvTjmr9qxGmKe0vPtB/l3qH0aGQ==" + "resolved" "https://registry.npmjs.org/@trezor/blockchain-link/-/blockchain-link-2.1.8.tgz" + "version" "2.1.8" dependencies: "@trezor/utils" "^9.0.6" "@trezor/utxo-lib" "^1.0.4" "@types/web" "^0.0.91" - bignumber.js "^9.1.1" - events "^3.3.0" - ripple-lib "^1.10.1" - socks-proxy-agent "6.1.1" - ws "7.5.9" + "bignumber.js" "^9.1.1" + "events" "^3.3.0" + "ripple-lib" "^1.10.1" + "socks-proxy-agent" "6.1.1" + "ws" "7.5.9" "@trezor/connect-common@0.0.12": - version "0.0.12" - resolved "https://registry.yarnpkg.com/@trezor/connect-common/-/connect-common-0.0.12.tgz#9e34df1c0c94b25ead31dff303abdf8b9333c9af" - integrity sha512-u7hrcS3eBHzR6b2dYD1PBPYw5vWaKT5eLoEL+ykPv2DeJsq0AgdRTNQom9tTUonyHoxGdnjQuaEO2Y4j2hZeng== + "integrity" "sha512-u7hrcS3eBHzR6b2dYD1PBPYw5vWaKT5eLoEL+ykPv2DeJsq0AgdRTNQom9tTUonyHoxGdnjQuaEO2Y4j2hZeng==" + "resolved" "https://registry.npmjs.org/@trezor/connect-common/-/connect-common-0.0.12.tgz" + "version" "0.0.12" "@trezor/connect-web@^9.0.6": - version "9.0.7" - resolved "https://registry.yarnpkg.com/@trezor/connect-web/-/connect-web-9.0.7.tgz#44f5172f542b275e4e05b2864f83849e3a729fe8" - integrity sha512-SVlA0h9evC12bmuO1ksz7Q3tBLNsw1QhxhkZBrZ6giS8gmC/2NkL1MlzKlVp7TCjnQu5gbP6vDRahUoZZoiUmg== + "integrity" "sha512-SVlA0h9evC12bmuO1ksz7Q3tBLNsw1QhxhkZBrZ6giS8gmC/2NkL1MlzKlVp7TCjnQu5gbP6vDRahUoZZoiUmg==" + "resolved" "https://registry.npmjs.org/@trezor/connect-web/-/connect-web-9.0.7.tgz" + "version" "9.0.7" dependencies: "@trezor/connect" "9.0.7" "@trezor/utils" "^9.0.6" - events "^3.3.0" + "events" "^3.3.0" "@trezor/connect@9.0.7": - version "9.0.7" - resolved "https://registry.yarnpkg.com/@trezor/connect/-/connect-9.0.7.tgz#9dbe54690e1e7963d51d268f2757bac90077e3d6" - integrity sha512-y0QYSlhC2lXeBbVT2Oezpi1GRdvHykCviPOCCkhGemQ4gAmqSDp/aniNbKoR/ZAyiibVTZLo0jvPbHXosM9zjQ== + "integrity" "sha512-y0QYSlhC2lXeBbVT2Oezpi1GRdvHykCviPOCCkhGemQ4gAmqSDp/aniNbKoR/ZAyiibVTZLo0jvPbHXosM9zjQ==" + "resolved" "https://registry.npmjs.org/@trezor/connect/-/connect-9.0.7.tgz" + "version" "9.0.7" dependencies: "@trezor/blockchain-link" "^2.1.8" "@trezor/connect-common" "0.0.12" "@trezor/transport" "^1.1.8" "@trezor/utils" "^9.0.6" "@trezor/utxo-lib" "^1.0.4" - bignumber.js "^9.1.1" - blakejs "^1.2.1" - bowser "^2.11.0" - cross-fetch "^3.1.5" - events "^3.3.0" - parse-uri "1.0.7" - randombytes "2.1.0" - tslib "2.5.0" + "bignumber.js" "^9.1.1" + "blakejs" "^1.2.1" + "bowser" "^2.11.0" + "cross-fetch" "^3.1.5" + "events" "^3.3.0" + "parse-uri" "1.0.7" + "randombytes" "2.1.0" + "tslib" "2.5.0" "@trezor/transport@^1.1.8": - version "1.1.8" - resolved "https://registry.yarnpkg.com/@trezor/transport/-/transport-1.1.8.tgz#c0cff55241108cbb5cf6958756194e890b126fba" - integrity sha512-Q5X0vTaZQu21PqaHL1Dnm6TVSsuK1mweMWRo2PDioDErSDlQrTMt/81gUV+HHZq/ej2m4C6YHx74pTlo2zJkfQ== + "integrity" "sha512-Q5X0vTaZQu21PqaHL1Dnm6TVSsuK1mweMWRo2PDioDErSDlQrTMt/81gUV+HHZq/ej2m4C6YHx74pTlo2zJkfQ==" + "resolved" "https://registry.npmjs.org/@trezor/transport/-/transport-1.1.8.tgz" + "version" "1.1.8" dependencies: "@trezor/utils" "^9.0.6" - bytebuffer "^5.0.1" - json-stable-stringify "^1.0.2" - long "^4.0.0" - prettier "2.8.4" - protobufjs "^6.11.3" + "bytebuffer" "^5.0.1" + "json-stable-stringify" "^1.0.2" + "long" "^4.0.0" + "prettier" "2.8.4" + "protobufjs" "^6.11.3" "@trezor/utils@^9.0.6": - version "9.0.6" - resolved "https://registry.yarnpkg.com/@trezor/utils/-/utils-9.0.6.tgz#e93dbefbf0fcd138020f35b04bf43a7fd2394f95" - integrity sha512-ZrZDMa1DzcfptBTdIPd7jLJGd03EVbocCSa92o64Qb6FMGSUh+t8Y+9Yy6rBPN1GTOsJxVQmcj3leKrtJMgwVQ== + "integrity" "sha512-ZrZDMa1DzcfptBTdIPd7jLJGd03EVbocCSa92o64Qb6FMGSUh+t8Y+9Yy6rBPN1GTOsJxVQmcj3leKrtJMgwVQ==" + "resolved" "https://registry.npmjs.org/@trezor/utils/-/utils-9.0.6.tgz" + "version" "9.0.6" "@trezor/utxo-lib@^1.0.4": - version "1.0.4" - resolved "https://registry.yarnpkg.com/@trezor/utxo-lib/-/utxo-lib-1.0.4.tgz#712a517b1c407f936fd823d5f372cdb61a597635" - integrity sha512-n4Xj2YIpqRKaZiDZww0mcY0c2ZN+SDygR3dAJkUb7O/2FykxCS28z3QHIjfbdzMwquywbkxDeiErcdrHw3GIvg== + "integrity" "sha512-n4Xj2YIpqRKaZiDZww0mcY0c2ZN+SDygR3dAJkUb7O/2FykxCS28z3QHIjfbdzMwquywbkxDeiErcdrHw3GIvg==" + "resolved" "https://registry.npmjs.org/@trezor/utxo-lib/-/utxo-lib-1.0.4.tgz" + "version" "1.0.4" dependencies: "@trezor/utils" "^9.0.6" - bchaddrjs "^0.5.2" - bech32 "^2.0.0" - bip66 "^1.1.5" - bitcoin-ops "^1.4.1" - blake-hash "^2.0.0" - blakejs "^1.2.1" - bn.js "^5.2.1" - bs58 "^5.0.0" - bs58check "^2.1.2" - create-hash "^1.2.0" - create-hmac "^1.1.7" - int64-buffer "^1.0.1" - pushdata-bitcoin "^1.0.1" - tiny-secp256k1 "^1.1.6" - typeforce "^1.18.0" - varuint-bitcoin "^1.1.2" - wif "^2.0.6" + "bchaddrjs" "^0.5.2" + "bech32" "^2.0.0" + "bip66" "^1.1.5" + "bitcoin-ops" "^1.4.1" + "blake-hash" "^2.0.0" + "blakejs" "^1.2.1" + "bn.js" "^5.2.1" + "bs58" "^5.0.0" + "bs58check" "^2.1.2" + "create-hash" "^1.2.0" + "create-hmac" "^1.1.7" + "int64-buffer" "^1.0.1" + "pushdata-bitcoin" "^1.0.1" + "tiny-secp256k1" "^1.1.6" + "typeforce" "^1.18.0" + "varuint-bitcoin" "^1.1.2" + "wif" "^2.0.6" "@truffle/abi-utils@^0.3.9": - version "0.3.9" - resolved "https://registry.yarnpkg.com/@truffle/abi-utils/-/abi-utils-0.3.9.tgz#c476f5cfe01072b513b3e93fd7bea05cf7bd9d96" - integrity sha512-G5dqgwRHx5zwlXjz3QT8OJVfB2cOqWwD6DwKso0KttUt/zejhCjnkKq72rSgyeLMkz7wBB9ERLOsupLBILM8MA== + "integrity" "sha512-G5dqgwRHx5zwlXjz3QT8OJVfB2cOqWwD6DwKso0KttUt/zejhCjnkKq72rSgyeLMkz7wBB9ERLOsupLBILM8MA==" + "resolved" "https://registry.npmjs.org/@truffle/abi-utils/-/abi-utils-0.3.9.tgz" + "version" "0.3.9" dependencies: - change-case "3.0.2" - fast-check "3.1.1" - web3-utils "1.8.2" + "change-case" "3.0.2" + "fast-check" "3.1.1" + "web3-utils" "1.8.2" "@truffle/code-utils@^3.0.2": - version "3.0.2" - resolved "https://registry.yarnpkg.com/@truffle/code-utils/-/code-utils-3.0.2.tgz#603b0662a1fc27d24a92aaf66417559a3f3e3915" - integrity sha512-Q4FyYIX9G4GyMa8RJDk19kvgiyGZ1CGEx2RmVcXoCDZqEyiHLzqjvCRp+/fuBz2fv7szO6d+60LO1gLCGS1drQ== + "integrity" "sha512-Q4FyYIX9G4GyMa8RJDk19kvgiyGZ1CGEx2RmVcXoCDZqEyiHLzqjvCRp+/fuBz2fv7szO6d+60LO1gLCGS1drQ==" + "resolved" "https://registry.npmjs.org/@truffle/code-utils/-/code-utils-3.0.2.tgz" + "version" "3.0.2" dependencies: - cbor "^5.2.0" + "cbor" "^5.2.0" "@truffle/codec@^0.14.16": - version "0.14.16" - resolved "https://registry.yarnpkg.com/@truffle/codec/-/codec-0.14.16.tgz#eebfb169e46709d6cee53f069a53fc1dff410eaa" - integrity sha512-a9UY3n/FnkKN3Q4zOuMFOOcLWb80mdknj+voim4vvXYtJm1aAZQZE5sG9aLnMBTl4TiGLzUtfNDVYY7WgWgDag== + "integrity" "sha512-a9UY3n/FnkKN3Q4zOuMFOOcLWb80mdknj+voim4vvXYtJm1aAZQZE5sG9aLnMBTl4TiGLzUtfNDVYY7WgWgDag==" + "resolved" "https://registry.npmjs.org/@truffle/codec/-/codec-0.14.16.tgz" + "version" "0.14.16" dependencies: "@truffle/abi-utils" "^0.3.9" "@truffle/compile-common" "^0.9.4" - big.js "^6.0.3" - bn.js "^5.1.3" - cbor "^5.2.0" - debug "^4.3.1" - lodash "^4.17.21" - semver "7.3.7" - utf8 "^3.0.0" - web3-utils "1.8.2" + "big.js" "^6.0.3" + "bn.js" "^5.1.3" + "cbor" "^5.2.0" + "debug" "^4.3.1" + "lodash" "^4.17.21" + "semver" "7.3.7" + "utf8" "^3.0.0" + "web3-utils" "1.8.2" "@truffle/compile-common@^0.9.4": - version "0.9.4" - resolved "https://registry.yarnpkg.com/@truffle/compile-common/-/compile-common-0.9.4.tgz#064208cda70491692b538f717809bb904a122c20" - integrity sha512-mnqJB/hLiPHNf+WKwt/2MH6lv34xSG/SFCib7+ckAklutUqVLeFo8EwQxinuHNkU7LY0C+YgZXhK1WTCO5YRJQ== + "integrity" "sha512-mnqJB/hLiPHNf+WKwt/2MH6lv34xSG/SFCib7+ckAklutUqVLeFo8EwQxinuHNkU7LY0C+YgZXhK1WTCO5YRJQ==" + "resolved" "https://registry.npmjs.org/@truffle/compile-common/-/compile-common-0.9.4.tgz" + "version" "0.9.4" dependencies: "@truffle/error" "^0.2.0" - colors "1.4.0" + "colors" "1.4.0" "@truffle/config@^1.3.54": - version "1.3.54" - resolved "https://registry.yarnpkg.com/@truffle/config/-/config-1.3.54.tgz#2bc72c08b5efd43e526406591132ef1e2faec860" - integrity sha512-sCFIRqBkxanuYueMQalp4q/1+wxYq5IdAZSJFUXK5FbvhDGU437bl1MuMxGDxhjztf0ZN49YsELAjYMVzOGpUQ== + "integrity" "sha512-sCFIRqBkxanuYueMQalp4q/1+wxYq5IdAZSJFUXK5FbvhDGU437bl1MuMxGDxhjztf0ZN49YsELAjYMVzOGpUQ==" + "resolved" "https://registry.npmjs.org/@truffle/config/-/config-1.3.54.tgz" + "version" "1.3.54" dependencies: "@truffle/error" "^0.2.0" "@truffle/events" "^0.1.22" "@truffle/provider" "^0.3.7" - conf "^10.1.2" - debug "^4.3.1" - find-up "^2.1.0" - lodash "^4.17.21" - original-require "^1.0.1" + "conf" "^10.1.2" + "debug" "^4.3.1" + "find-up" "^2.1.0" + "lodash" "^4.17.21" + "original-require" "^1.0.1" "@truffle/dashboard-message-bus-client@^0.1.10": - version "0.1.10" - resolved "https://registry.yarnpkg.com/@truffle/dashboard-message-bus-client/-/dashboard-message-bus-client-0.1.10.tgz#bd1cef19956f06716d55a327b8ea6f983e41f0b0" - integrity sha512-r9GpdR96T8xzk2Z3Qq5lowixT6hQwDZ9F3D3oNjOv2AOwBrC7dGkt1Ra1FQRsABn4K7LUVvnjjn6rALlsatAdw== + "integrity" "sha512-r9GpdR96T8xzk2Z3Qq5lowixT6hQwDZ9F3D3oNjOv2AOwBrC7dGkt1Ra1FQRsABn4K7LUVvnjjn6rALlsatAdw==" + "resolved" "https://registry.npmjs.org/@truffle/dashboard-message-bus-client/-/dashboard-message-bus-client-0.1.10.tgz" + "version" "0.1.10" dependencies: "@truffle/dashboard-message-bus-common" "^0.1.5" "@truffle/promise-tracker" "^0.1.5" - axios "1.2.4" - debug "^4.3.1" - delay "^5.0.0" - isomorphic-ws "^4.0.1" - node-abort-controller "^3.0.1" - tiny-typed-emitter "^2.1.0" - ws "^7.2.0" + "axios" "1.2.4" + "debug" "^4.3.1" + "delay" "^5.0.0" + "isomorphic-ws" "^4.0.1" + "node-abort-controller" "^3.0.1" + "tiny-typed-emitter" "^2.1.0" + "ws" "^7.2.0" "@truffle/dashboard-message-bus-common@^0.1.5": - version "0.1.5" - resolved "https://registry.yarnpkg.com/@truffle/dashboard-message-bus-common/-/dashboard-message-bus-common-0.1.5.tgz#180c8c421b2836b7bd109944e7956f427236d8ab" - integrity sha512-F4RfXi7ymNA3HFOlaujRJxAb3I8ciErCRQq+MZVaqjSPF9LSw23IizZsGpLaY43K2bGoBSxyNQRZWxsUEBujPQ== + "integrity" "sha512-F4RfXi7ymNA3HFOlaujRJxAb3I8ciErCRQq+MZVaqjSPF9LSw23IizZsGpLaY43K2bGoBSxyNQRZWxsUEBujPQ==" + "resolved" "https://registry.npmjs.org/@truffle/dashboard-message-bus-common/-/dashboard-message-bus-common-0.1.5.tgz" + "version" "0.1.5" "@truffle/db-loader@^0.2.20": - version "0.2.20" - resolved "https://registry.yarnpkg.com/@truffle/db-loader/-/db-loader-0.2.20.tgz#8ac0816ac0cbfdfdb3fb1da5142a705c7f1754ae" - integrity sha512-HEphnZO7N6Avo+hlhWVI3iBM22ewqdCO8sbocR1UhL9atz70HYBltG10C6fD4aglXz95cm7+3ZnnYn4pOSIIQw== + "integrity" "sha512-HEphnZO7N6Avo+hlhWVI3iBM22ewqdCO8sbocR1UhL9atz70HYBltG10C6fD4aglXz95cm7+3ZnnYn4pOSIIQw==" + "resolved" "https://registry.npmjs.org/@truffle/db-loader/-/db-loader-0.2.20.tgz" + "version" "0.2.20" optionalDependencies: "@truffle/db" "^2.0.20" "@truffle/db@^2.0.20": - version "2.0.20" - resolved "https://registry.yarnpkg.com/@truffle/db/-/db-2.0.20.tgz#4f38eada931ed95fb8a8303fb05457b2cb021f0c" - integrity sha512-hSDQPopz3NA8QxOPQV3CSB4I6fZTQtavpLZH+G61tEJYldYkaY240HCEbC3ykMVE05zim83OqBqSKsSz8CYHpg== + "integrity" "sha512-hSDQPopz3NA8QxOPQV3CSB4I6fZTQtavpLZH+G61tEJYldYkaY240HCEbC3ykMVE05zim83OqBqSKsSz8CYHpg==" + "resolved" "https://registry.npmjs.org/@truffle/db/-/db-2.0.20.tgz" + "version" "2.0.20" dependencies: "@graphql-tools/delegate" "^8.4.3" "@graphql-tools/schema" "^8.3.1" "@truffle/abi-utils" "^0.3.9" "@truffle/code-utils" "^3.0.2" "@truffle/config" "^1.3.54" - abstract-leveldown "^7.2.0" - apollo-server "^3.11.0" - debug "^4.3.1" - fs-extra "^9.1.0" - graphql "^15.3.0" - graphql-tag "^2.12.6" - json-stable-stringify "^1.0.1" - pascal-case "^2.0.1" - pluralize "^8.0.0" - pouchdb "7.3.0" - pouchdb-adapter-memory "^7.1.1" - pouchdb-debug "^7.1.1" - pouchdb-find "^7.0.0" - web3-utils "1.8.2" + "abstract-leveldown" "^7.2.0" + "apollo-server" "^3.11.0" + "debug" "^4.3.1" + "fs-extra" "^9.1.0" + "graphql" "^15.3.0" + "graphql-tag" "^2.12.6" + "json-stable-stringify" "^1.0.1" + "pascal-case" "^2.0.1" + "pluralize" "^8.0.0" + "pouchdb" "7.3.0" + "pouchdb-adapter-memory" "^7.1.1" + "pouchdb-debug" "^7.1.1" + "pouchdb-find" "^7.0.0" + "web3-utils" "1.8.2" "@truffle/debugger@^11.0.31": - version "11.0.31" - resolved "https://registry.yarnpkg.com/@truffle/debugger/-/debugger-11.0.31.tgz#008cf1c5a1be24816826f3b84b15947b1b390582" - integrity sha512-x9lzd8ROprAYDRoe1FhKBbygbGRa/1+q5nuOgq4PbB+ZbqhskLB4gay9N/w6JkTxAvC2KFTdXSvoUhpUokpS7A== + "integrity" "sha512-x9lzd8ROprAYDRoe1FhKBbygbGRa/1+q5nuOgq4PbB+ZbqhskLB4gay9N/w6JkTxAvC2KFTdXSvoUhpUokpS7A==" + "resolved" "https://registry.npmjs.org/@truffle/debugger/-/debugger-11.0.31.tgz" + "version" "11.0.31" dependencies: "@truffle/abi-utils" "^0.3.9" "@truffle/codec" "^0.14.16" "@truffle/source-map-utils" "^1.3.108" - bn.js "^5.1.3" - debug "^4.3.1" - json-pointer "^0.6.1" - json-stable-stringify "^1.0.1" - lodash "^4.17.21" - redux "^3.7.2" - redux-saga "1.0.0" - reselect-tree "^1.3.7" - semver "7.3.7" - web3 "1.8.2" - web3-eth-abi "1.8.2" + "bn.js" "^5.1.3" + "debug" "^4.3.1" + "json-pointer" "^0.6.1" + "json-stable-stringify" "^1.0.1" + "lodash" "^4.17.21" + "redux" "^3.7.2" + "redux-saga" "1.0.0" + "reselect-tree" "^1.3.7" + "semver" "7.3.7" + "web3" "1.8.2" + "web3-eth-abi" "1.8.2" "@truffle/error@^0.2.0": - version "0.2.0" - resolved "https://registry.yarnpkg.com/@truffle/error/-/error-0.2.0.tgz#65de6f03f5c041f883cc87677eecf8231428f1ab" - integrity sha512-Fe0/z4WWb7IP2gBnv3l6zqP87Y0kSMs7oiSLakKJq17q3GUunrHSdioKuNspdggxkXIBhEQLhi8C+LJdwmHKWQ== + "integrity" "sha512-Fe0/z4WWb7IP2gBnv3l6zqP87Y0kSMs7oiSLakKJq17q3GUunrHSdioKuNspdggxkXIBhEQLhi8C+LJdwmHKWQ==" + "resolved" "https://registry.npmjs.org/@truffle/error/-/error-0.2.0.tgz" + "version" "0.2.0" "@truffle/events@^0.1.22": - version "0.1.22" - resolved "https://registry.yarnpkg.com/@truffle/events/-/events-0.1.22.tgz#007617de4d20093e8c257a63ddc1193a21a9c5b8" - integrity sha512-WBEfaQ5zagS3J1M66J8wQ8N1As/EnBjLQsRlCCFs3/KbmeWhsoalVZ5Effhe0Vxd+e+k7lvwbloQBdS6roc+wg== + "integrity" "sha512-WBEfaQ5zagS3J1M66J8wQ8N1As/EnBjLQsRlCCFs3/KbmeWhsoalVZ5Effhe0Vxd+e+k7lvwbloQBdS6roc+wg==" + "resolved" "https://registry.npmjs.org/@truffle/events/-/events-0.1.22.tgz" + "version" "0.1.22" dependencies: "@truffle/dashboard-message-bus-client" "^0.1.10" "@truffle/spinners" "^0.2.3" - debug "^4.3.1" - emittery "^0.4.1" - web3-utils "1.8.2" + "debug" "^4.3.1" + "emittery" "^0.4.1" + "web3-utils" "1.8.2" "@truffle/interface-adapter@^0.5.31": - version "0.5.31" - resolved "https://registry.yarnpkg.com/@truffle/interface-adapter/-/interface-adapter-0.5.31.tgz#9e62e9ed1c1c07d50d9e1dcffd6ef24efc1230e7" - integrity sha512-f5mOqbptQUUgHhBrBvWie4EUAUqHLN/wCBjFoP2N/QNcyvwGfdC3TSck9kjwIIFIgYgQQyAxQDGBQcjHryvxzg== + "integrity" "sha512-f5mOqbptQUUgHhBrBvWie4EUAUqHLN/wCBjFoP2N/QNcyvwGfdC3TSck9kjwIIFIgYgQQyAxQDGBQcjHryvxzg==" + "resolved" "https://registry.npmjs.org/@truffle/interface-adapter/-/interface-adapter-0.5.31.tgz" + "version" "0.5.31" dependencies: - bn.js "^5.1.3" - ethers "^4.0.32" - web3 "1.8.2" + "bn.js" "^5.1.3" + "ethers" "^4.0.32" + "web3" "1.8.2" "@truffle/promise-tracker@^0.1.5": - version "0.1.5" - resolved "https://registry.yarnpkg.com/@truffle/promise-tracker/-/promise-tracker-0.1.5.tgz#df68df14d45a32bda6237ab85169d1808e4b3928" - integrity sha512-wZx8eeu/6rcwwkmRF0Y832/NSQR9A9u6pyhTozv+j77jklnd/KZvu2JlACaAjP30eL5SOtSrSOzAMcSh/trJjg== + "integrity" "sha512-wZx8eeu/6rcwwkmRF0Y832/NSQR9A9u6pyhTozv+j77jklnd/KZvu2JlACaAjP30eL5SOtSrSOzAMcSh/trJjg==" + "resolved" "https://registry.npmjs.org/@truffle/promise-tracker/-/promise-tracker-0.1.5.tgz" + "version" "0.1.5" "@truffle/provider@^0.3.7": - version "0.3.7" - resolved "https://registry.yarnpkg.com/@truffle/provider/-/provider-0.3.7.tgz#fc217d34e84cb3f19f77fa41eef94c82b51bef36" - integrity sha512-OF4JZe3oIR9epWMMbJgCnJJCnu1Ce6IeLk8lCAuNtSlZ46gGj7INEDCXwB5KrgydUC5KDnGp4knHWnQfk5YWXg== + "integrity" "sha512-OF4JZe3oIR9epWMMbJgCnJJCnu1Ce6IeLk8lCAuNtSlZ46gGj7INEDCXwB5KrgydUC5KDnGp4knHWnQfk5YWXg==" + "resolved" "https://registry.npmjs.org/@truffle/provider/-/provider-0.3.7.tgz" + "version" "0.3.7" dependencies: "@truffle/error" "^0.2.0" "@truffle/interface-adapter" "^0.5.31" - debug "^4.3.1" - web3 "1.8.2" + "debug" "^4.3.1" + "web3" "1.8.2" "@truffle/source-map-utils@^1.3.108": - version "1.3.108" - resolved "https://registry.yarnpkg.com/@truffle/source-map-utils/-/source-map-utils-1.3.108.tgz#19eb7d6eb776b8b6f9d5fde116cfaf56a0c7365c" - integrity sha512-yleh2/y+nsui9XmVgkq43795ar2JHaVO2RDHeA/IQ4NNmF7X5owOTdA5Rk/YvhqK1UUecvr2zKC3X3vLth8JFQ== + "integrity" "sha512-yleh2/y+nsui9XmVgkq43795ar2JHaVO2RDHeA/IQ4NNmF7X5owOTdA5Rk/YvhqK1UUecvr2zKC3X3vLth8JFQ==" + "resolved" "https://registry.npmjs.org/@truffle/source-map-utils/-/source-map-utils-1.3.108.tgz" + "version" "1.3.108" dependencies: "@truffle/code-utils" "^3.0.2" "@truffle/codec" "^0.14.16" - debug "^4.3.1" - json-pointer "^0.6.1" - node-interval-tree "^1.3.3" - web3-utils "1.8.2" + "debug" "^4.3.1" + "json-pointer" "^0.6.1" + "node-interval-tree" "^1.3.3" + "web3-utils" "1.8.2" "@truffle/spinners@^0.2.3": - version "0.2.3" - resolved "https://registry.yarnpkg.com/@truffle/spinners/-/spinners-0.2.3.tgz#5689d06ef16855a9f6b70dc0cd40188de54450ec" - integrity sha512-YnaQ+oBRQ1I1+/P18i8oSW4orUYi6vwpZQxauEZ5X0L8atjKq+RWdiNaza6J6L+KOLunXM4+pWxnNzuUmxlJZw== + "integrity" "sha512-YnaQ+oBRQ1I1+/P18i8oSW4orUYi6vwpZQxauEZ5X0L8atjKq+RWdiNaza6J6L+KOLunXM4+pWxnNzuUmxlJZw==" + "resolved" "https://registry.npmjs.org/@truffle/spinners/-/spinners-0.2.3.tgz" + "version" "0.2.3" dependencies: "@trufflesuite/spinnies" "^0.1.1" "@trufflesuite/bigint-buffer@1.1.10": - version "1.1.10" - resolved "https://registry.yarnpkg.com/@trufflesuite/bigint-buffer/-/bigint-buffer-1.1.10.tgz#a1d9ca22d3cad1a138b78baaf15543637a3e1692" - integrity sha512-pYIQC5EcMmID74t26GCC67946mgTJFiLXOT/BYozgrd4UEY2JHEGLhWi9cMiQCt5BSqFEvKkCHNnoj82SRjiEw== + "integrity" "sha512-pYIQC5EcMmID74t26GCC67946mgTJFiLXOT/BYozgrd4UEY2JHEGLhWi9cMiQCt5BSqFEvKkCHNnoj82SRjiEw==" + "resolved" "https://registry.npmjs.org/@trufflesuite/bigint-buffer/-/bigint-buffer-1.1.10.tgz" + "version" "1.1.10" dependencies: - node-gyp-build "4.4.0" + "node-gyp-build" "4.4.0" "@trufflesuite/spinnies@^0.1.1": - version "0.1.1" - resolved "https://registry.yarnpkg.com/@trufflesuite/spinnies/-/spinnies-0.1.1.tgz#719230993f55ab39f936ed8778979e7661af188d" - integrity sha512-jltEtmFJj6xmQqr85gP8OqBHCEiId+zw+uAsb3DyLLRD17O6sySW6Afa2Z/jpzSafj+32ssDfLJ+c0of1NLqcA== + "integrity" "sha512-jltEtmFJj6xmQqr85gP8OqBHCEiId+zw+uAsb3DyLLRD17O6sySW6Afa2Z/jpzSafj+32ssDfLJ+c0of1NLqcA==" + "resolved" "https://registry.npmjs.org/@trufflesuite/spinnies/-/spinnies-0.1.1.tgz" + "version" "0.1.1" dependencies: - chalk "^4.1.2" - cli-cursor "^3.1.0" - strip-ansi "^6.0.0" + "chalk" "^4.1.2" + "cli-cursor" "^3.1.0" + "strip-ansi" "^6.0.0" "@tsconfig/node10@^1.0.7": - version "1.0.9" - resolved "https://registry.yarnpkg.com/@tsconfig/node10/-/node10-1.0.9.tgz#df4907fc07a886922637b15e02d4cebc4c0021b2" - integrity sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA== + "integrity" "sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA==" + "resolved" "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.9.tgz" + "version" "1.0.9" "@tsconfig/node12@^1.0.7": - version "1.0.11" - resolved "https://registry.yarnpkg.com/@tsconfig/node12/-/node12-1.0.11.tgz#ee3def1f27d9ed66dac6e46a295cffb0152e058d" - integrity sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag== + "integrity" "sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==" + "resolved" "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.11.tgz" + "version" "1.0.11" "@tsconfig/node14@^1.0.0": - version "1.0.3" - resolved "https://registry.yarnpkg.com/@tsconfig/node14/-/node14-1.0.3.tgz#e4386316284f00b98435bf40f72f75a09dabf6c1" - integrity sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow== + "integrity" "sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==" + "resolved" "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.3.tgz" + "version" "1.0.3" "@tsconfig/node16@^1.0.2": - version "1.0.3" - resolved "https://registry.yarnpkg.com/@tsconfig/node16/-/node16-1.0.3.tgz#472eaab5f15c1ffdd7f8628bd4c4f753995ec79e" - integrity sha512-yOlFc+7UtL/89t2ZhjPvvB/DeAr3r+Dq58IgzsFkOAvVC6NMJXmCGjbptdXdR9qsX7pKcTL+s87FtYREi2dEEQ== + "integrity" "sha512-yOlFc+7UtL/89t2ZhjPvvB/DeAr3r+Dq58IgzsFkOAvVC6NMJXmCGjbptdXdR9qsX7pKcTL+s87FtYREi2dEEQ==" + "resolved" "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.3.tgz" + "version" "1.0.3" "@types/abstract-leveldown@*": - version "7.2.1" - resolved "https://registry.yarnpkg.com/@types/abstract-leveldown/-/abstract-leveldown-7.2.1.tgz#bb16403c17754b0c4d5772d71d03b924a03d4c80" - integrity sha512-YK8irIC+eMrrmtGx0H4ISn9GgzLd9dojZWJaMbjp1YHLl2VqqNFBNrL5Q3KjGf4VE3sf/4hmq6EhQZ7kZp1NoQ== + "integrity" "sha512-YK8irIC+eMrrmtGx0H4ISn9GgzLd9dojZWJaMbjp1YHLl2VqqNFBNrL5Q3KjGf4VE3sf/4hmq6EhQZ7kZp1NoQ==" + "resolved" "https://registry.npmjs.org/@types/abstract-leveldown/-/abstract-leveldown-7.2.1.tgz" + "version" "7.2.1" "@types/accepts@^1.3.5": - version "1.3.5" - resolved "https://registry.yarnpkg.com/@types/accepts/-/accepts-1.3.5.tgz#c34bec115cfc746e04fe5a059df4ce7e7b391575" - integrity sha512-jOdnI/3qTpHABjM5cx1Hc0sKsPoYCp+DP/GJRGtDlPd7fiV9oXGGIcjW/ZOxLIvjGz8MA+uMZI9metHlgqbgwQ== + "integrity" "sha512-jOdnI/3qTpHABjM5cx1Hc0sKsPoYCp+DP/GJRGtDlPd7fiV9oXGGIcjW/ZOxLIvjGz8MA+uMZI9metHlgqbgwQ==" + "resolved" "https://registry.npmjs.org/@types/accepts/-/accepts-1.3.5.tgz" + "version" "1.3.5" dependencies: "@types/node" "*" "@types/app-root-path@^1.2.4": - version "1.2.4" - resolved "https://registry.yarnpkg.com/@types/app-root-path/-/app-root-path-1.2.4.tgz#a78b703282b32ac54de768f5512ecc3569919dc7" - integrity sha512-yhURoXmWN/zfw2MXXcOdUTwe5CWhzRWtb4Rs2+JwGpuhm2hxLCzjASi/aIuyVeJB3Iyks1teaHyOEfNNmltdvQ== + "integrity" "sha512-yhURoXmWN/zfw2MXXcOdUTwe5CWhzRWtb4Rs2+JwGpuhm2hxLCzjASi/aIuyVeJB3Iyks1teaHyOEfNNmltdvQ==" + "resolved" "https://registry.npmjs.org/@types/app-root-path/-/app-root-path-1.2.4.tgz" + "version" "1.2.4" "@types/async-eventemitter@^0.2.1": - version "0.2.1" - resolved "https://registry.yarnpkg.com/@types/async-eventemitter/-/async-eventemitter-0.2.1.tgz#f8e6280e87e8c60b2b938624b0a3530fb3e24712" - integrity sha512-M2P4Ng26QbAeITiH7w1d7OxtldgfAe0wobpyJzVK/XOb0cUGKU2R4pfAhqcJBXAe2ife5ZOhSv4wk7p+ffURtg== + "integrity" "sha512-M2P4Ng26QbAeITiH7w1d7OxtldgfAe0wobpyJzVK/XOb0cUGKU2R4pfAhqcJBXAe2ife5ZOhSv4wk7p+ffURtg==" + "resolved" "https://registry.npmjs.org/@types/async-eventemitter/-/async-eventemitter-0.2.1.tgz" + "version" "0.2.1" "@types/babel__core@^7.0.0", "@types/babel__core@^7.1.14": - version "7.20.0" - resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.20.0.tgz#61bc5a4cae505ce98e1e36c5445e4bee060d8891" - integrity sha512-+n8dL/9GWblDO0iU6eZAwEIJVr5DWigtle+Q6HLOrh/pdbXOhOtqzq8VPPE2zvNJzSKY4vH/z3iT3tn0A3ypiQ== + "integrity" "sha512-+n8dL/9GWblDO0iU6eZAwEIJVr5DWigtle+Q6HLOrh/pdbXOhOtqzq8VPPE2zvNJzSKY4vH/z3iT3tn0A3ypiQ==" + "resolved" "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.0.tgz" + "version" "7.20.0" dependencies: "@babel/parser" "^7.20.7" "@babel/types" "^7.20.7" @@ -4620,72 +4746,72 @@ "@types/babel__traverse" "*" "@types/babel__generator@*": - version "7.6.4" - resolved "https://registry.yarnpkg.com/@types/babel__generator/-/babel__generator-7.6.4.tgz#1f20ce4c5b1990b37900b63f050182d28c2439b7" - integrity sha512-tFkciB9j2K755yrTALxD44McOrk+gfpIpvC3sxHjRawj6PfnQxrse4Clq5y/Rq+G3mrBurMax/lG8Qn2t9mSsg== + "integrity" "sha512-tFkciB9j2K755yrTALxD44McOrk+gfpIpvC3sxHjRawj6PfnQxrse4Clq5y/Rq+G3mrBurMax/lG8Qn2t9mSsg==" + "resolved" "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.4.tgz" + "version" "7.6.4" dependencies: "@babel/types" "^7.0.0" "@types/babel__template@*": - version "7.4.1" - resolved "https://registry.yarnpkg.com/@types/babel__template/-/babel__template-7.4.1.tgz#3d1a48fd9d6c0edfd56f2ff578daed48f36c8969" - integrity sha512-azBFKemX6kMg5Io+/rdGT0dkGreboUVR0Cdm3fz9QJWpaQGJRQXl7C+6hOTCZcMll7KFyEQpgbYI2lHdsS4U7g== + "integrity" "sha512-azBFKemX6kMg5Io+/rdGT0dkGreboUVR0Cdm3fz9QJWpaQGJRQXl7C+6hOTCZcMll7KFyEQpgbYI2lHdsS4U7g==" + "resolved" "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.1.tgz" + "version" "7.4.1" dependencies: "@babel/parser" "^7.1.0" "@babel/types" "^7.0.0" "@types/babel__traverse@*", "@types/babel__traverse@^7.0.4", "@types/babel__traverse@^7.0.6": - version "7.18.3" - resolved "https://registry.yarnpkg.com/@types/babel__traverse/-/babel__traverse-7.18.3.tgz#dfc508a85781e5698d5b33443416b6268c4b3e8d" - integrity sha512-1kbcJ40lLB7MHsj39U4Sh1uTd2E7rLEa79kmDpI6cy+XiXsteB3POdQomoq4FxszMrO3ZYchkhYJw7A2862b3w== + "integrity" "sha512-1kbcJ40lLB7MHsj39U4Sh1uTd2E7rLEa79kmDpI6cy+XiXsteB3POdQomoq4FxszMrO3ZYchkhYJw7A2862b3w==" + "resolved" "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.18.3.tgz" + "version" "7.18.3" dependencies: "@babel/types" "^7.3.0" "@types/big.js@^6.1.3", "@types/big.js@^6.1.5": - version "6.1.6" - resolved "https://registry.yarnpkg.com/@types/big.js/-/big.js-6.1.6.tgz#3d417e758483d55345a03a087f7e0c87137ca444" - integrity sha512-0r9J+Zz9rYm2hOTwiMAVkm3XFQ4u5uTK37xrQMhc9bysn/sf/okzovWMYYIBMFTn/yrEZ11pusgLEaoarTlQbA== + "integrity" "sha512-0r9J+Zz9rYm2hOTwiMAVkm3XFQ4u5uTK37xrQMhc9bysn/sf/okzovWMYYIBMFTn/yrEZ11pusgLEaoarTlQbA==" + "resolved" "https://registry.npmjs.org/@types/big.js/-/big.js-6.1.6.tgz" + "version" "6.1.6" -"@types/bn.js@5.1.1", "@types/bn.js@^5.1.0", "@types/bn.js@^5.1.1": - version "5.1.1" - resolved "https://registry.yarnpkg.com/@types/bn.js/-/bn.js-5.1.1.tgz#b51e1b55920a4ca26e9285ff79936bbdec910682" - integrity sha512-qNrYbZqMx0uJAfKnKclPh+dTwK33KfLHYqtyODwd5HnXOjnkhc4qgn3BrK6RWyGZm5+sIFE7Q7Vz6QQtJB7w7g== +"@types/bn.js@^4.11.3": + "integrity" "sha512-pqr857jrp2kPuO9uRjZ3PwnJTjoQy+fcdxvBTvHm6dkmEL9q+hDD/2j/0ELOBPtPnS8LjCX0gI9nbl8lVkadpg==" + "resolved" "https://registry.npmjs.org/@types/bn.js/-/bn.js-4.11.6.tgz" + "version" "4.11.6" dependencies: "@types/node" "*" -"@types/bn.js@^4.11.3": - version "4.11.6" - resolved "https://registry.yarnpkg.com/@types/bn.js/-/bn.js-4.11.6.tgz#c306c70d9358aaea33cd4eda092a742b9505967c" - integrity sha512-pqr857jrp2kPuO9uRjZ3PwnJTjoQy+fcdxvBTvHm6dkmEL9q+hDD/2j/0ELOBPtPnS8LjCX0gI9nbl8lVkadpg== +"@types/bn.js@^5.1.0", "@types/bn.js@^5.1.1", "@types/bn.js@5.1.1": + "integrity" "sha512-qNrYbZqMx0uJAfKnKclPh+dTwK33KfLHYqtyODwd5HnXOjnkhc4qgn3BrK6RWyGZm5+sIFE7Q7Vz6QQtJB7w7g==" + "resolved" "https://registry.npmjs.org/@types/bn.js/-/bn.js-5.1.1.tgz" + "version" "5.1.1" dependencies: "@types/node" "*" "@types/body-parser@*", "@types/body-parser@1.19.2": - version "1.19.2" - resolved "https://registry.yarnpkg.com/@types/body-parser/-/body-parser-1.19.2.tgz#aea2059e28b7658639081347ac4fab3de166e6f0" - integrity sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g== + "integrity" "sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g==" + "resolved" "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.2.tgz" + "version" "1.19.2" dependencies: "@types/connect" "*" "@types/node" "*" "@types/bs58@^4.0.1": - version "4.0.1" - resolved "https://registry.yarnpkg.com/@types/bs58/-/bs58-4.0.1.tgz#3d51222aab067786d3bc3740a84a7f5a0effaa37" - integrity sha512-yfAgiWgVLjFCmRv8zAcOIHywYATEwiTVccTLnRp6UxTNavT55M9d/uhK3T03St/+8/z/wW+CRjGKUNmEqoHHCA== + "integrity" "sha512-yfAgiWgVLjFCmRv8zAcOIHywYATEwiTVccTLnRp6UxTNavT55M9d/uhK3T03St/+8/z/wW+CRjGKUNmEqoHHCA==" + "resolved" "https://registry.npmjs.org/@types/bs58/-/bs58-4.0.1.tgz" + "version" "4.0.1" dependencies: - base-x "^3.0.6" + "base-x" "^3.0.6" "@types/bs58check@^2.1.0": - version "2.1.0" - resolved "https://registry.yarnpkg.com/@types/bs58check/-/bs58check-2.1.0.tgz#7d25a8b88fe7a9e315d2647335ee3c43c8fdb0c0" - integrity sha512-OxsysnJQh82vy9DRbOcw9m2j/WiyqZLn0YBhKxdQ+aCwoHj+tWzyCgpwAkr79IfDXZKxc6h7k89T9pwS78CqTQ== + "integrity" "sha512-OxsysnJQh82vy9DRbOcw9m2j/WiyqZLn0YBhKxdQ+aCwoHj+tWzyCgpwAkr79IfDXZKxc6h7k89T9pwS78CqTQ==" + "resolved" "https://registry.npmjs.org/@types/bs58check/-/bs58check-2.1.0.tgz" + "version" "2.1.0" dependencies: "@types/node" "*" "@types/cacheable-request@^6.0.1", "@types/cacheable-request@^6.0.2": - version "6.0.3" - resolved "https://registry.yarnpkg.com/@types/cacheable-request/-/cacheable-request-6.0.3.tgz#a430b3260466ca7b5ca5bfd735693b36e7a9d183" - integrity sha512-IQ3EbTzGxIigb1I3qPZc1rWJnH0BmSKv5QYTalEwweFvyBDLSAe24zP0le/hyi7ecGfZVlIVAg4BZqb8WBwKqw== + "integrity" "sha512-IQ3EbTzGxIigb1I3qPZc1rWJnH0BmSKv5QYTalEwweFvyBDLSAe24zP0le/hyi7ecGfZVlIVAg4BZqb8WBwKqw==" + "resolved" "https://registry.npmjs.org/@types/cacheable-request/-/cacheable-request-6.0.3.tgz" + "version" "6.0.3" dependencies: "@types/http-cache-semantics" "*" "@types/keyv" "^3.1.4" @@ -4693,52 +4819,52 @@ "@types/responselike" "^1.0.0" "@types/connect@*", "@types/connect@^3.4.33": - version "3.4.35" - resolved "https://registry.yarnpkg.com/@types/connect/-/connect-3.4.35.tgz#5fcf6ae445e4021d1fc2219a4873cc73a3bb2ad1" - integrity sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ== + "integrity" "sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==" + "resolved" "https://registry.npmjs.org/@types/connect/-/connect-3.4.35.tgz" + "version" "3.4.35" dependencies: "@types/node" "*" "@types/cookiejar@*": - version "2.1.2" - resolved "https://registry.yarnpkg.com/@types/cookiejar/-/cookiejar-2.1.2.tgz#66ad9331f63fe8a3d3d9d8c6e3906dd10f6446e8" - integrity sha512-t73xJJrvdTjXrn4jLS9VSGRbz0nUY3cl2DMGDU48lKl+HR9dbbjW2A9r3g40VA++mQpy6uuHg33gy7du2BKpog== + "integrity" "sha512-t73xJJrvdTjXrn4jLS9VSGRbz0nUY3cl2DMGDU48lKl+HR9dbbjW2A9r3g40VA++mQpy6uuHg33gy7du2BKpog==" + "resolved" "https://registry.npmjs.org/@types/cookiejar/-/cookiejar-2.1.2.tgz" + "version" "2.1.2" "@types/cors@2.8.12": - version "2.8.12" - resolved "https://registry.yarnpkg.com/@types/cors/-/cors-2.8.12.tgz#6b2c510a7ad7039e98e7b8d3d6598f4359e5c080" - integrity sha512-vt+kDhq/M2ayberEtJcIN/hxXy1Pk+59g2FV/ZQceeaTyCtCucjL2Q7FXlFjtWn4n15KCr1NE2lNNFhp0lEThw== + "integrity" "sha512-vt+kDhq/M2ayberEtJcIN/hxXy1Pk+59g2FV/ZQceeaTyCtCucjL2Q7FXlFjtWn4n15KCr1NE2lNNFhp0lEThw==" + "resolved" "https://registry.npmjs.org/@types/cors/-/cors-2.8.12.tgz" + "version" "2.8.12" "@types/encoding-down@*": - version "5.0.1" - resolved "https://registry.yarnpkg.com/@types/encoding-down/-/encoding-down-5.0.1.tgz#5527b8656395b274bf0100a312c1c620a7880a24" - integrity sha512-1O8CyIC67hMR+VuxLtjlJvXwNn5cNnJ7YiaBR4p+ONGijlmIZjbXzsPuJm146p9eQZwzZRGgmRwWtCqXs5wwSw== + "integrity" "sha512-1O8CyIC67hMR+VuxLtjlJvXwNn5cNnJ7YiaBR4p+ONGijlmIZjbXzsPuJm146p9eQZwzZRGgmRwWtCqXs5wwSw==" + "resolved" "https://registry.npmjs.org/@types/encoding-down/-/encoding-down-5.0.1.tgz" + "version" "5.0.1" dependencies: "@types/abstract-leveldown" "*" "@types/level-codec" "*" -"@types/express-serve-static-core@4.17.31": - version "4.17.31" - resolved "https://registry.yarnpkg.com/@types/express-serve-static-core/-/express-serve-static-core-4.17.31.tgz#a1139efeab4e7323834bb0226e62ac019f474b2f" - integrity sha512-DxMhY+NAsTwMMFHBTtJFNp5qiHKJ7TeqOo23zVEM9alT1Ml27Q3xcTH0xwxn7Q0BbMcVEJOs/7aQtUWupUQN3Q== +"@types/express-serve-static-core@^4.17.18", "@types/express-serve-static-core@^4.17.33": + "integrity" "sha512-TPBqmR/HRYI3eC2E5hmiivIzv+bidAfXofM+sbonAGvyDhySGw9/PQZFt2BLOrjUUR++4eJVpx6KnLQK1Fk9tA==" + "resolved" "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.33.tgz" + "version" "4.17.33" dependencies: "@types/node" "*" "@types/qs" "*" "@types/range-parser" "*" -"@types/express-serve-static-core@^4.17.18", "@types/express-serve-static-core@^4.17.33": - version "4.17.33" - resolved "https://registry.yarnpkg.com/@types/express-serve-static-core/-/express-serve-static-core-4.17.33.tgz#de35d30a9d637dc1450ad18dd583d75d5733d543" - integrity sha512-TPBqmR/HRYI3eC2E5hmiivIzv+bidAfXofM+sbonAGvyDhySGw9/PQZFt2BLOrjUUR++4eJVpx6KnLQK1Fk9tA== +"@types/express-serve-static-core@4.17.31": + "integrity" "sha512-DxMhY+NAsTwMMFHBTtJFNp5qiHKJ7TeqOo23zVEM9alT1Ml27Q3xcTH0xwxn7Q0BbMcVEJOs/7aQtUWupUQN3Q==" + "resolved" "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.31.tgz" + "version" "4.17.31" dependencies: "@types/node" "*" "@types/qs" "*" "@types/range-parser" "*" "@types/express@*", "@types/express@^4.17.12": - version "4.17.17" - resolved "https://registry.yarnpkg.com/@types/express/-/express-4.17.17.tgz#01d5437f6ef9cfa8668e616e13c2f2ac9a491ae4" - integrity sha512-Q4FmmuLGBG58btUnfS1c1r/NQdlp3DMfGDGig8WhfpA2YRUtEkxAjkZb0yvplJGYdF1fsQ81iMDcH24sSCNC/Q== + "integrity" "sha512-Q4FmmuLGBG58btUnfS1c1r/NQdlp3DMfGDGig8WhfpA2YRUtEkxAjkZb0yvplJGYdF1fsQ81iMDcH24sSCNC/Q==" + "resolved" "https://registry.npmjs.org/@types/express/-/express-4.17.17.tgz" + "version" "4.17.17" dependencies: "@types/body-parser" "*" "@types/express-serve-static-core" "^4.17.33" @@ -4746,9 +4872,9 @@ "@types/serve-static" "*" "@types/express@4.17.14": - version "4.17.14" - resolved "https://registry.yarnpkg.com/@types/express/-/express-4.17.14.tgz#143ea0557249bc1b3b54f15db4c81c3d4eb3569c" - integrity sha512-TEbt+vaPFQ+xpxFLFssxUDXj5cWCxZJjIcB7Yg0k0GMHGtgtQgpvx/MUQUeAkNbA9AAGrwkAsoeItdTgS7FMyg== + "integrity" "sha512-TEbt+vaPFQ+xpxFLFssxUDXj5cWCxZJjIcB7Yg0k0GMHGtgtQgpvx/MUQUeAkNbA9AAGrwkAsoeItdTgS7FMyg==" + "resolved" "https://registry.npmjs.org/@types/express/-/express-4.17.14.tgz" + "version" "4.17.14" dependencies: "@types/body-parser" "*" "@types/express-serve-static-core" "^4.17.18" @@ -4756,424 +4882,441 @@ "@types/serve-static" "*" "@types/fs-extra@^9.0.13": - version "9.0.13" - resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-9.0.13.tgz#7594fbae04fe7f1918ce8b3d213f74ff44ac1f45" - integrity sha512-nEnwB++1u5lVDM2UI4c1+5R+FYaKfaAzS4OococimjVm3nQw3TuzH5UNsocrcTBbhnerblyHj4A49qXbIiZdpA== + "integrity" "sha512-nEnwB++1u5lVDM2UI4c1+5R+FYaKfaAzS4OococimjVm3nQw3TuzH5UNsocrcTBbhnerblyHj4A49qXbIiZdpA==" + "resolved" "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-9.0.13.tgz" + "version" "9.0.13" dependencies: "@types/node" "*" "@types/google-protobuf@^3.15.6": - version "3.15.6" - resolved "https://registry.yarnpkg.com/@types/google-protobuf/-/google-protobuf-3.15.6.tgz#674a69493ef2c849b95eafe69167ea59079eb504" - integrity sha512-pYVNNJ+winC4aek+lZp93sIKxnXt5qMkuKmaqS3WGuTq0Bw1ZDYNBgzG5kkdtwcv+GmYJGo3yEg6z2cKKAiEdw== + "integrity" "sha512-pYVNNJ+winC4aek+lZp93sIKxnXt5qMkuKmaqS3WGuTq0Bw1ZDYNBgzG5kkdtwcv+GmYJGo3yEg6z2cKKAiEdw==" + "resolved" "https://registry.npmjs.org/@types/google-protobuf/-/google-protobuf-3.15.6.tgz" + "version" "3.15.6" "@types/graceful-fs@^4.1.2": - version "4.1.6" - resolved "https://registry.yarnpkg.com/@types/graceful-fs/-/graceful-fs-4.1.6.tgz#e14b2576a1c25026b7f02ede1de3b84c3a1efeae" - integrity sha512-Sig0SNORX9fdW+bQuTEovKj3uHcUL6LQKbCrrqb1X7J6/ReAbhCXRAhc+SMejhLELFj2QcyuxmUooZ4bt5ReSw== + "integrity" "sha512-Sig0SNORX9fdW+bQuTEovKj3uHcUL6LQKbCrrqb1X7J6/ReAbhCXRAhc+SMejhLELFj2QcyuxmUooZ4bt5ReSw==" + "resolved" "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.6.tgz" + "version" "4.1.6" dependencies: "@types/node" "*" "@types/http-cache-semantics@*": - version "4.0.1" - resolved "https://registry.yarnpkg.com/@types/http-cache-semantics/-/http-cache-semantics-4.0.1.tgz#0ea7b61496902b95890dc4c3a116b60cb8dae812" - integrity sha512-SZs7ekbP8CN0txVG2xVRH6EgKmEm31BOxA07vkFaETzZz1xh+cbt8BcI0slpymvwhx5dlFnQG2rTlPVQn+iRPQ== + "integrity" "sha512-SZs7ekbP8CN0txVG2xVRH6EgKmEm31BOxA07vkFaETzZz1xh+cbt8BcI0slpymvwhx5dlFnQG2rTlPVQn+iRPQ==" + "resolved" "https://registry.npmjs.org/@types/http-cache-semantics/-/http-cache-semantics-4.0.1.tgz" + "version" "4.0.1" "@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0", "@types/istanbul-lib-coverage@^2.0.1": - version "2.0.4" - resolved "https://registry.yarnpkg.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz#8467d4b3c087805d63580480890791277ce35c44" - integrity sha512-z/QT1XN4K4KYuslS23k62yDIDLwLFkzxOuMplDtObz0+y7VqJCaO2o+SPwHCvLFZh7xazvvoor2tA/hPz9ee7g== + "integrity" "sha512-z/QT1XN4K4KYuslS23k62yDIDLwLFkzxOuMplDtObz0+y7VqJCaO2o+SPwHCvLFZh7xazvvoor2tA/hPz9ee7g==" + "resolved" "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz" + "version" "2.0.4" "@types/istanbul-lib-report@*": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz#c14c24f18ea8190c118ee7562b7ff99a36552686" - integrity sha512-plGgXAPfVKFoYfa9NpYDAkseG+g6Jr294RqeqcqDixSbU34MZVJRi/P+7Y8GDpzkEwLaGZZOpKIEmeVZNtKsrg== + "integrity" "sha512-plGgXAPfVKFoYfa9NpYDAkseG+g6Jr294RqeqcqDixSbU34MZVJRi/P+7Y8GDpzkEwLaGZZOpKIEmeVZNtKsrg==" + "resolved" "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz" + "version" "3.0.0" dependencies: "@types/istanbul-lib-coverage" "*" "@types/istanbul-reports@^1.1.1": - version "1.1.2" - resolved "https://registry.yarnpkg.com/@types/istanbul-reports/-/istanbul-reports-1.1.2.tgz#e875cc689e47bce549ec81f3df5e6f6f11cfaeb2" - integrity sha512-P/W9yOX/3oPZSpaYOCQzGqgCQRXn0FFO/V8bWrCQs+wLmvVVxk6CRBXALEvNs9OHIatlnlFokfhuDo2ug01ciw== + "integrity" "sha512-P/W9yOX/3oPZSpaYOCQzGqgCQRXn0FFO/V8bWrCQs+wLmvVVxk6CRBXALEvNs9OHIatlnlFokfhuDo2ug01ciw==" + "resolved" "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-1.1.2.tgz" + "version" "1.1.2" dependencies: "@types/istanbul-lib-coverage" "*" "@types/istanbul-lib-report" "*" "@types/istanbul-reports@^3.0.0": - version "3.0.1" - resolved "https://registry.yarnpkg.com/@types/istanbul-reports/-/istanbul-reports-3.0.1.tgz#9153fe98bba2bd565a63add9436d6f0d7f8468ff" - integrity sha512-c3mAZEuK0lvBp8tmuL74XRKn1+y2dcwOUpH7x4WrF6gk1GIgiluDRgMYQtw2OFcBvAJWlt6ASU3tSqxp0Uu0Aw== + "integrity" "sha512-c3mAZEuK0lvBp8tmuL74XRKn1+y2dcwOUpH7x4WrF6gk1GIgiluDRgMYQtw2OFcBvAJWlt6ASU3tSqxp0Uu0Aw==" + "resolved" "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-3.0.1.tgz" + "version" "3.0.1" dependencies: "@types/istanbul-lib-report" "*" "@types/jest@^27.4.1": - version "27.5.2" - resolved "https://registry.yarnpkg.com/@types/jest/-/jest-27.5.2.tgz#ec49d29d926500ffb9fd22b84262e862049c026c" - integrity sha512-mpT8LJJ4CMeeahobofYWIjFo0xonRS/HfxnVEPMPFSQdGUt1uHCnoPT7Zhb+sjDU2wz0oKV0OLUR0WzrHNgfeA== + "integrity" "sha512-mpT8LJJ4CMeeahobofYWIjFo0xonRS/HfxnVEPMPFSQdGUt1uHCnoPT7Zhb+sjDU2wz0oKV0OLUR0WzrHNgfeA==" + "resolved" "https://registry.npmjs.org/@types/jest/-/jest-27.5.2.tgz" + "version" "27.5.2" dependencies: - jest-matcher-utils "^27.0.0" - pretty-format "^27.0.0" + "jest-matcher-utils" "^27.0.0" + "pretty-format" "^27.0.0" "@types/js-yaml@^4.0.2": - version "4.0.5" - resolved "https://registry.yarnpkg.com/@types/js-yaml/-/js-yaml-4.0.5.tgz#738dd390a6ecc5442f35e7f03fa1431353f7e138" - integrity sha512-FhpRzf927MNQdRZP0J5DLIdTXhjLYzeUTmLAu69mnVksLH9CJY3IuSeEgbKUki7GQZm0WqDkGzyxju2EZGD2wA== + "integrity" "sha512-FhpRzf927MNQdRZP0J5DLIdTXhjLYzeUTmLAu69mnVksLH9CJY3IuSeEgbKUki7GQZm0WqDkGzyxju2EZGD2wA==" + "resolved" "https://registry.npmjs.org/@types/js-yaml/-/js-yaml-4.0.5.tgz" + "version" "4.0.5" "@types/json-schema@^7.0.7": - version "7.0.11" - resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.11.tgz#d421b6c527a3037f7c84433fd2c4229e016863d3" - integrity sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ== + "integrity" "sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==" + "resolved" "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.11.tgz" + "version" "7.0.11" "@types/json5@^0.0.29": - version "0.0.29" - resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee" - integrity sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ== + "integrity" "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==" + "resolved" "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz" + "version" "0.0.29" "@types/keyv@^3.1.4": - version "3.1.4" - resolved "https://registry.yarnpkg.com/@types/keyv/-/keyv-3.1.4.tgz#3ccdb1c6751b0c7e52300bcdacd5bcbf8faa75b6" - integrity sha512-BQ5aZNSCpj7D6K2ksrRCTmKRLEpnPvWDiLPfoGyhZ++8YtiK9d/3DBKPJgry359X/P1PfruyYwvnvwFjuEiEIg== + "integrity" "sha512-BQ5aZNSCpj7D6K2ksrRCTmKRLEpnPvWDiLPfoGyhZ++8YtiK9d/3DBKPJgry359X/P1PfruyYwvnvwFjuEiEIg==" + "resolved" "https://registry.npmjs.org/@types/keyv/-/keyv-3.1.4.tgz" + "version" "3.1.4" dependencies: "@types/node" "*" "@types/level-codec@*": - version "9.0.1" - resolved "https://registry.yarnpkg.com/@types/level-codec/-/level-codec-9.0.1.tgz#b135e0b3da81185b6f27655334c5f1da89b2b0af" - integrity sha512-6z7DSlBsmbax3I/bV1Q6jT1nKquDjFl95LURVThdKtwILkRawLYtXdINW19xM95N5kqN2detWb2iGrbUlPwNyw== + "integrity" "sha512-6z7DSlBsmbax3I/bV1Q6jT1nKquDjFl95LURVThdKtwILkRawLYtXdINW19xM95N5kqN2detWb2iGrbUlPwNyw==" + "resolved" "https://registry.npmjs.org/@types/level-codec/-/level-codec-9.0.1.tgz" + "version" "9.0.1" "@types/level-errors@*": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@types/level-errors/-/level-errors-3.0.0.tgz#15c1f4915a5ef763b51651b15e90f6dc081b96a8" - integrity sha512-/lMtoq/Cf/2DVOm6zE6ORyOM+3ZVm/BvzEZVxUhf6bgh8ZHglXlBqxbxSlJeVp8FCbD3IVvk/VbsaNmDjrQvqQ== + "integrity" "sha512-/lMtoq/Cf/2DVOm6zE6ORyOM+3ZVm/BvzEZVxUhf6bgh8ZHglXlBqxbxSlJeVp8FCbD3IVvk/VbsaNmDjrQvqQ==" + "resolved" "https://registry.npmjs.org/@types/level-errors/-/level-errors-3.0.0.tgz" + "version" "3.0.0" "@types/level@^6.0.0": - version "6.0.1" - resolved "https://registry.yarnpkg.com/@types/level/-/level-6.0.1.tgz#6642c048dbae4638721105cd5f8255a2829bd5d6" - integrity sha512-4RK6vl9/CNCe5SyDCGaTgTOYEPNh8/wUaUY8UDN8AXon2D7hGPGIlx0t9jCds9wiKBqicsUyeAA0W4rUZeqYBQ== + "integrity" "sha512-4RK6vl9/CNCe5SyDCGaTgTOYEPNh8/wUaUY8UDN8AXon2D7hGPGIlx0t9jCds9wiKBqicsUyeAA0W4rUZeqYBQ==" + "resolved" "https://registry.npmjs.org/@types/level/-/level-6.0.1.tgz" + "version" "6.0.1" dependencies: "@types/abstract-leveldown" "*" "@types/encoding-down" "*" "@types/levelup" "*" "@types/levelup@*": - version "5.1.2" - resolved "https://registry.yarnpkg.com/@types/levelup/-/levelup-5.1.2.tgz#3b987fe66c95871dc97e74f0bce5b2eb91140782" - integrity sha512-JhCKONvFg2rEbsyyCCRkiPF03tMV1NyBXER4iXKBemgjwS4+SF6HGNuL4cfq6ueM6Yc+4ZbwJnU/5v6q3ZziUQ== + "integrity" "sha512-JhCKONvFg2rEbsyyCCRkiPF03tMV1NyBXER4iXKBemgjwS4+SF6HGNuL4cfq6ueM6Yc+4ZbwJnU/5v6q3ZziUQ==" + "resolved" "https://registry.npmjs.org/@types/levelup/-/levelup-5.1.2.tgz" + "version" "5.1.2" dependencies: "@types/abstract-leveldown" "*" "@types/level-errors" "*" "@types/node" "*" "@types/lodash.values@^4.3.6": - version "4.3.7" - resolved "https://registry.yarnpkg.com/@types/lodash.values/-/lodash.values-4.3.7.tgz#9da9c6cf5941ff8b8f98bde9cb9f2cf7fd64eceb" - integrity sha512-Moex9/sWxtKEa+BKiH5zvmhfcieDlcz4wRxMhO/oJ2qOKUdujoU6dQjUTxWA8jwEREpHXmiY4HCwNRpycW8JQA== + "integrity" "sha512-Moex9/sWxtKEa+BKiH5zvmhfcieDlcz4wRxMhO/oJ2qOKUdujoU6dQjUTxWA8jwEREpHXmiY4HCwNRpycW8JQA==" + "resolved" "https://registry.npmjs.org/@types/lodash.values/-/lodash.values-4.3.7.tgz" + "version" "4.3.7" dependencies: "@types/lodash" "*" "@types/lodash@*", "@types/lodash@^4.14.136", "@types/lodash@^4.14.178", "@types/lodash@^4.14.182": - version "4.14.191" - resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.191.tgz#09511e7f7cba275acd8b419ddac8da9a6a79e2fa" - integrity sha512-BdZ5BCCvho3EIXw6wUCXHe7rS53AIDPLE+JzwgT+OsJk53oBfbSmZZ7CX4VaRoN78N+TJpFi9QPlfIVNmJYWxQ== + "integrity" "sha512-BdZ5BCCvho3EIXw6wUCXHe7rS53AIDPLE+JzwgT+OsJk53oBfbSmZZ7CX4VaRoN78N+TJpFi9QPlfIVNmJYWxQ==" + "resolved" "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.191.tgz" + "version" "4.14.191" "@types/long@^4.0.0", "@types/long@^4.0.1": - version "4.0.2" - resolved "https://registry.yarnpkg.com/@types/long/-/long-4.0.2.tgz#b74129719fc8d11c01868010082d483b7545591a" - integrity sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA== + "integrity" "sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA==" + "resolved" "https://registry.npmjs.org/@types/long/-/long-4.0.2.tgz" + "version" "4.0.2" -"@types/lru-cache@5.1.1", "@types/lru-cache@^5.1.0": - version "5.1.1" - resolved "https://registry.yarnpkg.com/@types/lru-cache/-/lru-cache-5.1.1.tgz#c48c2e27b65d2a153b19bfc1a317e30872e01eef" - integrity sha512-ssE3Vlrys7sdIzs5LOxCzTVMsU7i9oa/IaW92wF32JFb3CVczqOkru2xspuKczHEbG3nvmPY7IFqVmGGHdNbYw== +"@types/lru-cache@^5.1.0", "@types/lru-cache@5.1.1": + "integrity" "sha512-ssE3Vlrys7sdIzs5LOxCzTVMsU7i9oa/IaW92wF32JFb3CVczqOkru2xspuKczHEbG3nvmPY7IFqVmGGHdNbYw==" + "resolved" "https://registry.npmjs.org/@types/lru-cache/-/lru-cache-5.1.1.tgz" + "version" "5.1.1" "@types/mathjs@^9.4.2": - version "9.4.2" - resolved "https://registry.yarnpkg.com/@types/mathjs/-/mathjs-9.4.2.tgz#beec20340d768171fed8331b08fb321d218ec6e1" - integrity sha512-GF5g1vJmvKdWIWsE53XX7EDAyCaZ9p6gaYm1xhlXn5JjrY/NJrOfJN3fBxS3wyZpVh3QqKoMkS2WjFwxWMHOTw== + "integrity" "sha512-GF5g1vJmvKdWIWsE53XX7EDAyCaZ9p6gaYm1xhlXn5JjrY/NJrOfJN3fBxS3wyZpVh3QqKoMkS2WjFwxWMHOTw==" + "resolved" "https://registry.npmjs.org/@types/mathjs/-/mathjs-9.4.2.tgz" + "version" "9.4.2" dependencies: - mathjs "*" + "mathjs" "*" "@types/mime@*": - version "3.0.1" - resolved "https://registry.yarnpkg.com/@types/mime/-/mime-3.0.1.tgz#5f8f2bca0a5863cb69bc0b0acd88c96cb1d4ae10" - integrity sha512-Y4XFY5VJAuw0FgAqPNd6NNoV44jbq9Bz2L7Rh/J6jLTiHBSBJa9fxqQIvkIld4GsoDOcCbvzOUAbLPsSKKg+uA== + "integrity" "sha512-Y4XFY5VJAuw0FgAqPNd6NNoV44jbq9Bz2L7Rh/J6jLTiHBSBJa9fxqQIvkIld4GsoDOcCbvzOUAbLPsSKKg+uA==" + "resolved" "https://registry.npmjs.org/@types/mime/-/mime-3.0.1.tgz" + "version" "3.0.1" "@types/minimist@^1.2.2": - version "1.2.2" - resolved "https://registry.yarnpkg.com/@types/minimist/-/minimist-1.2.2.tgz#ee771e2ba4b3dc5b372935d549fd9617bf345b8c" - integrity sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ== + "integrity" "sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==" + "resolved" "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.2.tgz" + "version" "1.2.2" "@types/morgan@^1.9.3": - version "1.9.4" - resolved "https://registry.yarnpkg.com/@types/morgan/-/morgan-1.9.4.tgz#99965ad2bdc7c5cee28d8ce95cfa7300b19ea562" - integrity sha512-cXoc4k+6+YAllH3ZHmx4hf7La1dzUk6keTR4bF4b4Sc0mZxU/zK4wO7l+ZzezXm/jkYj/qC+uYGZrarZdIVvyQ== + "integrity" "sha512-cXoc4k+6+YAllH3ZHmx4hf7La1dzUk6keTR4bF4b4Sc0mZxU/zK4wO7l+ZzezXm/jkYj/qC+uYGZrarZdIVvyQ==" + "resolved" "https://registry.npmjs.org/@types/morgan/-/morgan-1.9.4.tgz" + "version" "1.9.4" dependencies: "@types/node" "*" "@types/node-fetch@^2.6.1": - version "2.6.2" - resolved "https://registry.yarnpkg.com/@types/node-fetch/-/node-fetch-2.6.2.tgz#d1a9c5fd049d9415dce61571557104dec3ec81da" - integrity sha512-DHqhlq5jeESLy19TYhLakJ07kNumXWjcDdxXsLUMJZ6ue8VZJj4kLPQVE/2mdHh3xZziNF1xppu5lwmS53HR+A== + "integrity" "sha512-DHqhlq5jeESLy19TYhLakJ07kNumXWjcDdxXsLUMJZ6ue8VZJj4kLPQVE/2mdHh3xZziNF1xppu5lwmS53HR+A==" + "resolved" "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.6.2.tgz" + "version" "2.6.2" dependencies: "@types/node" "*" - form-data "^3.0.0" - -"@types/node@*", "@types/node@>=13.7.0": - version "18.15.3" - resolved "https://registry.yarnpkg.com/@types/node/-/node-18.15.3.tgz#f0b991c32cfc6a4e7f3399d6cb4b8cf9a0315014" - integrity sha512-p6ua9zBxz5otCmbpb5D3U4B5Nanw6Pk3PPyX05xnxbB/fRv71N7CPmORg7uAD5P70T0xmx1pzAx/FUfa5X+3cw== + "form-data" "^3.0.0" + +"@types/node@*": + "integrity" "sha512-p6ua9zBxz5otCmbpb5D3U4B5Nanw6Pk3PPyX05xnxbB/fRv71N7CPmORg7uAD5P70T0xmx1pzAx/FUfa5X+3cw==" + "resolved" "https://registry.npmjs.org/@types/node/-/node-18.15.3.tgz" + "version" "18.15.3" + +"@types/node@^10.1.0": + "integrity" "sha512-F0KIgDJfy2nA3zMLmWGKxcH2ZVEtCZXHHdOQs2gSaQ27+lNeEfGxzkIw90aXswATX7AZ33tahPbzy6KAfUreVw==" + "resolved" "https://registry.npmjs.org/@types/node/-/node-10.17.60.tgz" + "version" "10.17.60" + +"@types/node@^10.3.2": + "integrity" "sha512-F0KIgDJfy2nA3zMLmWGKxcH2ZVEtCZXHHdOQs2gSaQ27+lNeEfGxzkIw90aXswATX7AZ33tahPbzy6KAfUreVw==" + "resolved" "https://registry.npmjs.org/@types/node/-/node-10.17.60.tgz" + "version" "10.17.60" + +"@types/node@^12.12.54": + "integrity" "sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==" + "resolved" "https://registry.npmjs.org/@types/node/-/node-12.20.55.tgz" + "version" "12.20.55" + +"@types/node@^12.12.6": + "integrity" "sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==" + "resolved" "https://registry.npmjs.org/@types/node/-/node-12.20.55.tgz" + "version" "12.20.55" + +"@types/node@^15.12.4", "@types/node@>=12.12.47", "@types/node@>=13.7.0": + "integrity" "sha512-qjd88DrCxupx/kJD5yQgZdcYKZKSIGBVDIBE1/LTGcNm3d2Np/jxojkdePDdfnBHJc5W7vSMpbJ1aB7p/Py69A==" + "resolved" "https://registry.npmjs.org/@types/node/-/node-15.14.9.tgz" + "version" "15.14.9" "@types/node@10.12.18": - version "10.12.18" - resolved "https://registry.yarnpkg.com/@types/node/-/node-10.12.18.tgz#1d3ca764718915584fcd9f6344621b7672665c67" - integrity sha512-fh+pAqt4xRzPfqA6eh3Z2y6fyZavRIumvjhaCL753+TVkGKGhpPeyrJG2JftD0T9q4GF00KjefsQ+PQNDdWQaQ== + "integrity" "sha512-fh+pAqt4xRzPfqA6eh3Z2y6fyZavRIumvjhaCL753+TVkGKGhpPeyrJG2JftD0T9q4GF00KjefsQ+PQNDdWQaQ==" + "resolved" "https://registry.npmjs.org/@types/node/-/node-10.12.18.tgz" + "version" "10.12.18" "@types/node@11.11.6": - version "11.11.6" - resolved "https://registry.yarnpkg.com/@types/node/-/node-11.11.6.tgz#df929d1bb2eee5afdda598a41930fe50b43eaa6a" - integrity sha512-Exw4yUWMBXM3X+8oqzJNRqZSwUAaS4+7NdvHqQuFi/d+synz++xmX3QIf+BFqneW8N31R8Ky+sikfZUXq07ggQ== - -"@types/node@^10.1.0", "@types/node@^10.3.2": - version "10.17.60" - resolved "https://registry.yarnpkg.com/@types/node/-/node-10.17.60.tgz#35f3d6213daed95da7f0f73e75bcc6980e90597b" - integrity sha512-F0KIgDJfy2nA3zMLmWGKxcH2ZVEtCZXHHdOQs2gSaQ27+lNeEfGxzkIw90aXswATX7AZ33tahPbzy6KAfUreVw== - -"@types/node@^12.12.54", "@types/node@^12.12.6": - version "12.20.55" - resolved "https://registry.yarnpkg.com/@types/node/-/node-12.20.55.tgz#c329cbd434c42164f846b909bd6f85b5537f6240" - integrity sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ== - -"@types/node@^15.12.4": - version "15.14.9" - resolved "https://registry.yarnpkg.com/@types/node/-/node-15.14.9.tgz#bc43c990c3c9be7281868bbc7b8fdd6e2b57adfa" - integrity sha512-qjd88DrCxupx/kJD5yQgZdcYKZKSIGBVDIBE1/LTGcNm3d2Np/jxojkdePDdfnBHJc5W7vSMpbJ1aB7p/Py69A== + "integrity" "sha512-Exw4yUWMBXM3X+8oqzJNRqZSwUAaS4+7NdvHqQuFi/d+synz++xmX3QIf+BFqneW8N31R8Ky+sikfZUXq07ggQ==" + "resolved" "https://registry.npmjs.org/@types/node/-/node-11.11.6.tgz" + "version" "11.11.6" "@types/pbkdf2@^3.0.0": - version "3.1.0" - resolved "https://registry.yarnpkg.com/@types/pbkdf2/-/pbkdf2-3.1.0.tgz#039a0e9b67da0cdc4ee5dab865caa6b267bb66b1" - integrity sha512-Cf63Rv7jCQ0LaL8tNXmEyqTHuIJxRdlS5vMh1mj5voN4+QFhVZnlZruezqpWYDiJ8UTzhP0VmeLXCmBk66YrMQ== + "integrity" "sha512-Cf63Rv7jCQ0LaL8tNXmEyqTHuIJxRdlS5vMh1mj5voN4+QFhVZnlZruezqpWYDiJ8UTzhP0VmeLXCmBk66YrMQ==" + "resolved" "https://registry.npmjs.org/@types/pbkdf2/-/pbkdf2-3.1.0.tgz" + "version" "3.1.0" dependencies: "@types/node" "*" "@types/prettier@^2.1.5": - version "2.7.2" - resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-2.7.2.tgz#6c2324641cc4ba050a8c710b2b251b377581fbf0" - integrity sha512-KufADq8uQqo1pYKVIYzfKbJfBAc0sOeXqGbFaSpv8MRmC/zXgowNZmFcbngndGk922QDmOASEXUZCaY48gs4cg== + "integrity" "sha512-KufADq8uQqo1pYKVIYzfKbJfBAc0sOeXqGbFaSpv8MRmC/zXgowNZmFcbngndGk922QDmOASEXUZCaY48gs4cg==" + "resolved" "https://registry.npmjs.org/@types/prettier/-/prettier-2.7.2.tgz" + "version" "2.7.2" "@types/promise-retry@^1.1.3": - version "1.1.3" - resolved "https://registry.yarnpkg.com/@types/promise-retry/-/promise-retry-1.1.3.tgz#baab427419da9088a1d2f21bf56249c21b3dd43c" - integrity sha512-LxIlEpEX6frE3co3vCO2EUJfHIta1IOmhDlcAsR4GMMv9hev1iTI9VwberVGkePJAuLZs5rMucrV8CziCfuJMw== + "integrity" "sha512-LxIlEpEX6frE3co3vCO2EUJfHIta1IOmhDlcAsR4GMMv9hev1iTI9VwberVGkePJAuLZs5rMucrV8CziCfuJMw==" + "resolved" "https://registry.npmjs.org/@types/promise-retry/-/promise-retry-1.1.3.tgz" + "version" "1.1.3" dependencies: "@types/retry" "*" "@types/qs@*": - version "6.9.7" - resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.9.7.tgz#63bb7d067db107cc1e457c303bc25d511febf6cb" - integrity sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw== + "integrity" "sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw==" + "resolved" "https://registry.npmjs.org/@types/qs/-/qs-6.9.7.tgz" + "version" "6.9.7" "@types/range-parser@*": - version "1.2.4" - resolved "https://registry.yarnpkg.com/@types/range-parser/-/range-parser-1.2.4.tgz#cd667bcfdd025213aafb7ca5915a932590acdcdc" - integrity sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw== + "integrity" "sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw==" + "resolved" "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.4.tgz" + "version" "1.2.4" "@types/responselike@^1.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@types/responselike/-/responselike-1.0.0.tgz#251f4fe7d154d2bad125abe1b429b23afd262e29" - integrity sha512-85Y2BjiufFzaMIlvJDvTTB8Fxl2xfLo4HgmHzVBz08w4wDePCTjYw66PdrolO0kzli3yam/YCgRufyo1DdQVTA== + "integrity" "sha512-85Y2BjiufFzaMIlvJDvTTB8Fxl2xfLo4HgmHzVBz08w4wDePCTjYw66PdrolO0kzli3yam/YCgRufyo1DdQVTA==" + "resolved" "https://registry.npmjs.org/@types/responselike/-/responselike-1.0.0.tgz" + "version" "1.0.0" dependencies: "@types/node" "*" "@types/retry@*": - version "0.12.2" - resolved "https://registry.yarnpkg.com/@types/retry/-/retry-0.12.2.tgz#ed279a64fa438bb69f2480eda44937912bb7480a" - integrity sha512-XISRgDJ2Tc5q4TRqvgJtzsRkFYNJzZrhTdtMoGVBttwzzQJkPnS3WWTFc7kuDRoPtPakl+T+OfdEUjYJj7Jbow== + "integrity" "sha512-XISRgDJ2Tc5q4TRqvgJtzsRkFYNJzZrhTdtMoGVBttwzzQJkPnS3WWTFc7kuDRoPtPakl+T+OfdEUjYJj7Jbow==" + "resolved" "https://registry.npmjs.org/@types/retry/-/retry-0.12.2.tgz" + "version" "0.12.2" "@types/secp256k1@^4.0.1": - version "4.0.3" - resolved "https://registry.yarnpkg.com/@types/secp256k1/-/secp256k1-4.0.3.tgz#1b8e55d8e00f08ee7220b4d59a6abe89c37a901c" - integrity sha512-Da66lEIFeIz9ltsdMZcpQvmrmmoqrfju8pm1BH8WbYjZSwUgCwXLb9C+9XYogwBITnbsSaMdVPb2ekf7TV+03w== + "integrity" "sha512-Da66lEIFeIz9ltsdMZcpQvmrmmoqrfju8pm1BH8WbYjZSwUgCwXLb9C+9XYogwBITnbsSaMdVPb2ekf7TV+03w==" + "resolved" "https://registry.npmjs.org/@types/secp256k1/-/secp256k1-4.0.3.tgz" + "version" "4.0.3" dependencies: "@types/node" "*" "@types/seedrandom@3.0.1": - version "3.0.1" - resolved "https://registry.yarnpkg.com/@types/seedrandom/-/seedrandom-3.0.1.tgz#1254750a4fec4aff2ebec088ccd0bb02e91fedb4" - integrity sha512-giB9gzDeiCeloIXDgzFBCgjj1k4WxcDrZtGl6h1IqmUPlxF+Nx8Ve+96QCyDZ/HseB/uvDsKbpib9hU5cU53pw== + "integrity" "sha512-giB9gzDeiCeloIXDgzFBCgjj1k4WxcDrZtGl6h1IqmUPlxF+Nx8Ve+96QCyDZ/HseB/uvDsKbpib9hU5cU53pw==" + "resolved" "https://registry.npmjs.org/@types/seedrandom/-/seedrandom-3.0.1.tgz" + "version" "3.0.1" "@types/serve-static@*": - version "1.15.1" - resolved "https://registry.yarnpkg.com/@types/serve-static/-/serve-static-1.15.1.tgz#86b1753f0be4f9a1bee68d459fcda5be4ea52b5d" - integrity sha512-NUo5XNiAdULrJENtJXZZ3fHtfMolzZwczzBbnAeBbqBwG+LaG6YaJtuwzwGSQZ2wsCrxjEhNNjAkKigy3n8teQ== + "integrity" "sha512-NUo5XNiAdULrJENtJXZZ3fHtfMolzZwczzBbnAeBbqBwG+LaG6YaJtuwzwGSQZ2wsCrxjEhNNjAkKigy3n8teQ==" + "resolved" "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.15.1.tgz" + "version" "1.15.1" dependencies: "@types/mime" "*" "@types/node" "*" "@types/stack-utils@^1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-1.0.1.tgz#0a851d3bd96498fa25c33ab7278ed3bd65f06c3e" - integrity sha512-l42BggppR6zLmpfU6fq9HEa2oGPEI8yrSPL3GITjfRInppYFahObbIQOQK3UGxEnyQpltZLaPe75046NOZQikw== + "integrity" "sha512-l42BggppR6zLmpfU6fq9HEa2oGPEI8yrSPL3GITjfRInppYFahObbIQOQK3UGxEnyQpltZLaPe75046NOZQikw==" + "resolved" "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-1.0.1.tgz" + "version" "1.0.1" "@types/stack-utils@^2.0.0": - version "2.0.1" - resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-2.0.1.tgz#20f18294f797f2209b5f65c8e3b5c8e8261d127c" - integrity sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw== + "integrity" "sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw==" + "resolved" "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.1.tgz" + "version" "2.0.1" "@types/superagent@*": - version "4.1.16" - resolved "https://registry.yarnpkg.com/@types/superagent/-/superagent-4.1.16.tgz#12c9c16f232f9d89beab91d69368f96ce8e2d881" - integrity sha512-tLfnlJf6A5mB6ddqF159GqcDizfzbMUB1/DeT59/wBNqzRTNNKsaw79A/1TZ84X+f/EwWH8FeuSkjlCLyqS/zQ== + "integrity" "sha512-tLfnlJf6A5mB6ddqF159GqcDizfzbMUB1/DeT59/wBNqzRTNNKsaw79A/1TZ84X+f/EwWH8FeuSkjlCLyqS/zQ==" + "resolved" "https://registry.npmjs.org/@types/superagent/-/superagent-4.1.16.tgz" + "version" "4.1.16" dependencies: "@types/cookiejar" "*" "@types/node" "*" "@types/supertest@^2.0.11": - version "2.0.12" - resolved "https://registry.yarnpkg.com/@types/supertest/-/supertest-2.0.12.tgz#ddb4a0568597c9aadff8dbec5b2e8fddbe8692fc" - integrity sha512-X3HPWTwXRerBZS7Mo1k6vMVR1Z6zmJcDVn5O/31whe0tnjE4te6ZJSJGq1RiqHPjzPdMTfjCFogDJmwng9xHaQ== + "integrity" "sha512-X3HPWTwXRerBZS7Mo1k6vMVR1Z6zmJcDVn5O/31whe0tnjE4te6ZJSJGq1RiqHPjzPdMTfjCFogDJmwng9xHaQ==" + "resolved" "https://registry.npmjs.org/@types/supertest/-/supertest-2.0.12.tgz" + "version" "2.0.12" dependencies: "@types/superagent" "*" "@types/swagger-ui-express@^4.1.3": - version "4.1.3" - resolved "https://registry.yarnpkg.com/@types/swagger-ui-express/-/swagger-ui-express-4.1.3.tgz#7adbbbf5343b45869debef1e9ff39c9ba73e380f" - integrity sha512-jqCjGU/tGEaqIplPy3WyQg+Nrp6y80DCFnDEAvVKWkJyv0VivSSDCChkppHRHAablvInZe6pijDFMnavtN0vqA== + "integrity" "sha512-jqCjGU/tGEaqIplPy3WyQg+Nrp6y80DCFnDEAvVKWkJyv0VivSSDCChkppHRHAablvInZe6pijDFMnavtN0vqA==" + "resolved" "https://registry.npmjs.org/@types/swagger-ui-express/-/swagger-ui-express-4.1.3.tgz" + "version" "4.1.3" dependencies: "@types/express" "*" "@types/serve-static" "*" "@types/triple-beam@^1.3.2": - version "1.3.2" - resolved "https://registry.yarnpkg.com/@types/triple-beam/-/triple-beam-1.3.2.tgz#38ecb64f01aa0d02b7c8f4222d7c38af6316fef8" - integrity sha512-txGIh+0eDFzKGC25zORnswy+br1Ha7hj5cMVwKIU7+s0U2AxxJru/jZSMU6OC9MJWP6+pc/hc6ZjyZShpsyY2g== + "integrity" "sha512-txGIh+0eDFzKGC25zORnswy+br1Ha7hj5cMVwKIU7+s0U2AxxJru/jZSMU6OC9MJWP6+pc/hc6ZjyZShpsyY2g==" + "resolved" "https://registry.npmjs.org/@types/triple-beam/-/triple-beam-1.3.2.tgz" + "version" "1.3.2" "@types/uuid@^8.3.4": - version "8.3.4" - resolved "https://registry.yarnpkg.com/@types/uuid/-/uuid-8.3.4.tgz#bd86a43617df0594787d38b735f55c805becf1bc" - integrity sha512-c/I8ZRb51j+pYGAu5CrFMRxqZ2ke4y2grEBO5AUjgSkSk+qT2Ea+OdWElz/OiMf5MNpn2b17kuVBwZLQJXzihw== + "integrity" "sha512-c/I8ZRb51j+pYGAu5CrFMRxqZ2ke4y2grEBO5AUjgSkSk+qT2Ea+OdWElz/OiMf5MNpn2b17kuVBwZLQJXzihw==" + "resolved" "https://registry.npmjs.org/@types/uuid/-/uuid-8.3.4.tgz" + "version" "8.3.4" "@types/web@^0.0.91": - version "0.0.91" - resolved "https://registry.yarnpkg.com/@types/web/-/web-0.0.91.tgz#a561564865c512c34a4b2c329cccecc46c29c761" - integrity sha512-KIw/1SNDyzPMpN7JiS2TTmiKXUhg4vkV2b8ozgQV0aw82dZr1chPXyunxVbUjSHaDrLxQbD+xpVk+CXiVkakHg== + "integrity" "sha512-KIw/1SNDyzPMpN7JiS2TTmiKXUhg4vkV2b8ozgQV0aw82dZr1chPXyunxVbUjSHaDrLxQbD+xpVk+CXiVkakHg==" + "resolved" "https://registry.npmjs.org/@types/web/-/web-0.0.91.tgz" + "version" "0.0.91" -"@types/ws@^7.2.0", "@types/ws@^7.4.4": - version "7.4.7" - resolved "https://registry.yarnpkg.com/@types/ws/-/ws-7.4.7.tgz#f7c390a36f7a0679aa69de2d501319f4f8d9b702" - integrity sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww== +"@types/ws@^7.2.0": + "integrity" "sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww==" + "resolved" "https://registry.npmjs.org/@types/ws/-/ws-7.4.7.tgz" + "version" "7.4.7" + dependencies: + "@types/node" "*" + +"@types/ws@^7.4.4": + "integrity" "sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww==" + "resolved" "https://registry.npmjs.org/@types/ws/-/ws-7.4.7.tgz" + "version" "7.4.7" dependencies: "@types/node" "*" "@types/ws@^8.5.3": - version "8.5.4" - resolved "https://registry.yarnpkg.com/@types/ws/-/ws-8.5.4.tgz#bb10e36116d6e570dd943735f86c933c1587b8a5" - integrity sha512-zdQDHKUgcX/zBc4GrwsE/7dVdAD8JR4EuiAXiiUhhfyIJXXb2+PrGshFyeXWQPMmmZ2XxgaqclgpIC7eTXc1mg== + "integrity" "sha512-zdQDHKUgcX/zBc4GrwsE/7dVdAD8JR4EuiAXiiUhhfyIJXXb2+PrGshFyeXWQPMmmZ2XxgaqclgpIC7eTXc1mg==" + "resolved" "https://registry.npmjs.org/@types/ws/-/ws-8.5.4.tgz" + "version" "8.5.4" dependencies: "@types/node" "*" "@types/yargs-parser@*": - version "21.0.0" - resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-21.0.0.tgz#0c60e537fa790f5f9472ed2776c2b71ec117351b" - integrity sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA== + "integrity" "sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA==" + "resolved" "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.0.tgz" + "version" "21.0.0" "@types/yargs@^13.0.0": - version "13.0.12" - resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-13.0.12.tgz#d895a88c703b78af0465a9de88aa92c61430b092" - integrity sha512-qCxJE1qgz2y0hA4pIxjBR+PelCH0U5CK1XJXFwCNqfmliatKp47UCXXE9Dyk1OXBDLvsCF57TqQEJaeLfDYEOQ== + "integrity" "sha512-qCxJE1qgz2y0hA4pIxjBR+PelCH0U5CK1XJXFwCNqfmliatKp47UCXXE9Dyk1OXBDLvsCF57TqQEJaeLfDYEOQ==" + "resolved" "https://registry.npmjs.org/@types/yargs/-/yargs-13.0.12.tgz" + "version" "13.0.12" dependencies: "@types/yargs-parser" "*" "@types/yargs@^16.0.0": - version "16.0.5" - resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-16.0.5.tgz#12cc86393985735a283e387936398c2f9e5f88e3" - integrity sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ== + "integrity" "sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==" + "resolved" "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.5.tgz" + "version" "16.0.5" dependencies: "@types/yargs-parser" "*" "@typescript-eslint/eslint-plugin@^4.26.1": - version "4.33.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.33.0.tgz#c24dc7c8069c7706bc40d99f6fa87edcb2005276" - integrity sha512-aINiAxGVdOl1eJyVjaWn/YcVAq4Gi/Yo35qHGCnqbWVz61g39D0h23veY/MA0rFFGfxK7TySg2uwDeNv+JgVpg== + "integrity" "sha512-aINiAxGVdOl1eJyVjaWn/YcVAq4Gi/Yo35qHGCnqbWVz61g39D0h23veY/MA0rFFGfxK7TySg2uwDeNv+JgVpg==" + "resolved" "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.33.0.tgz" + "version" "4.33.0" dependencies: "@typescript-eslint/experimental-utils" "4.33.0" "@typescript-eslint/scope-manager" "4.33.0" - debug "^4.3.1" - functional-red-black-tree "^1.0.1" - ignore "^5.1.8" - regexpp "^3.1.0" - semver "^7.3.5" - tsutils "^3.21.0" + "debug" "^4.3.1" + "functional-red-black-tree" "^1.0.1" + "ignore" "^5.1.8" + "regexpp" "^3.1.0" + "semver" "^7.3.5" + "tsutils" "^3.21.0" "@typescript-eslint/experimental-utils@4.33.0": - version "4.33.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-4.33.0.tgz#6f2a786a4209fa2222989e9380b5331b2810f7fd" - integrity sha512-zeQjOoES5JFjTnAhI5QY7ZviczMzDptls15GFsI6jyUOq0kOf9+WonkhtlIhh0RgHRnqj5gdNxW5j1EvAyYg6Q== + "integrity" "sha512-zeQjOoES5JFjTnAhI5QY7ZviczMzDptls15GFsI6jyUOq0kOf9+WonkhtlIhh0RgHRnqj5gdNxW5j1EvAyYg6Q==" + "resolved" "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.33.0.tgz" + "version" "4.33.0" dependencies: "@types/json-schema" "^7.0.7" "@typescript-eslint/scope-manager" "4.33.0" "@typescript-eslint/types" "4.33.0" "@typescript-eslint/typescript-estree" "4.33.0" - eslint-scope "^5.1.1" - eslint-utils "^3.0.0" + "eslint-scope" "^5.1.1" + "eslint-utils" "^3.0.0" "@typescript-eslint/parser@^4.26.1": - version "4.33.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-4.33.0.tgz#dfe797570d9694e560528d18eecad86c8c744899" - integrity sha512-ZohdsbXadjGBSK0/r+d87X0SBmKzOq4/S5nzK6SBgJspFo9/CUDJ7hjayuze+JK7CZQLDMroqytp7pOcFKTxZA== + "integrity" "sha512-ZohdsbXadjGBSK0/r+d87X0SBmKzOq4/S5nzK6SBgJspFo9/CUDJ7hjayuze+JK7CZQLDMroqytp7pOcFKTxZA==" + "resolved" "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-4.33.0.tgz" + "version" "4.33.0" dependencies: "@typescript-eslint/scope-manager" "4.33.0" "@typescript-eslint/types" "4.33.0" "@typescript-eslint/typescript-estree" "4.33.0" - debug "^4.3.1" + "debug" "^4.3.1" "@typescript-eslint/scope-manager@4.33.0": - version "4.33.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-4.33.0.tgz#d38e49280d983e8772e29121cf8c6e9221f280a3" - integrity sha512-5IfJHpgTsTZuONKbODctL4kKuQje/bzBRkwHE8UOZ4f89Zeddg+EGZs8PD8NcN4LdM3ygHWYB3ukPAYjvl/qbQ== + "integrity" "sha512-5IfJHpgTsTZuONKbODctL4kKuQje/bzBRkwHE8UOZ4f89Zeddg+EGZs8PD8NcN4LdM3ygHWYB3ukPAYjvl/qbQ==" + "resolved" "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.33.0.tgz" + "version" "4.33.0" dependencies: "@typescript-eslint/types" "4.33.0" "@typescript-eslint/visitor-keys" "4.33.0" "@typescript-eslint/types@4.33.0": - version "4.33.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.33.0.tgz#a1e59036a3b53ae8430ceebf2a919dc7f9af6d72" - integrity sha512-zKp7CjQzLQImXEpLt2BUw1tvOMPfNoTAfb8l51evhYbOEEzdWyQNmHWWGPR6hwKJDAi+1VXSBmnhL9kyVTTOuQ== + "integrity" "sha512-zKp7CjQzLQImXEpLt2BUw1tvOMPfNoTAfb8l51evhYbOEEzdWyQNmHWWGPR6hwKJDAi+1VXSBmnhL9kyVTTOuQ==" + "resolved" "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.33.0.tgz" + "version" "4.33.0" "@typescript-eslint/typescript-estree@4.33.0": - version "4.33.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.33.0.tgz#0dfb51c2908f68c5c08d82aefeaf166a17c24609" - integrity sha512-rkWRY1MPFzjwnEVHsxGemDzqqddw2QbTJlICPD9p9I9LfsO8fdmfQPOX3uKfUaGRDFJbfrtm/sXhVXN4E+bzCA== + "integrity" "sha512-rkWRY1MPFzjwnEVHsxGemDzqqddw2QbTJlICPD9p9I9LfsO8fdmfQPOX3uKfUaGRDFJbfrtm/sXhVXN4E+bzCA==" + "resolved" "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.33.0.tgz" + "version" "4.33.0" dependencies: "@typescript-eslint/types" "4.33.0" "@typescript-eslint/visitor-keys" "4.33.0" - debug "^4.3.1" - globby "^11.0.3" - is-glob "^4.0.1" - semver "^7.3.5" - tsutils "^3.21.0" + "debug" "^4.3.1" + "globby" "^11.0.3" + "is-glob" "^4.0.1" + "semver" "^7.3.5" + "tsutils" "^3.21.0" "@typescript-eslint/visitor-keys@4.33.0": - version "4.33.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.33.0.tgz#2a22f77a41604289b7a186586e9ec48ca92ef1dd" - integrity sha512-uqi/2aSz9g2ftcHWf8uLPJA70rUv6yuMW5Bohw+bwcuzaxQIHaKFZCKGoGXIrc9vkTJ3+0txM73K0Hq3d5wgIg== + "integrity" "sha512-uqi/2aSz9g2ftcHWf8uLPJA70rUv6yuMW5Bohw+bwcuzaxQIHaKFZCKGoGXIrc9vkTJ3+0txM73K0Hq3d5wgIg==" + "resolved" "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.33.0.tgz" + "version" "4.33.0" dependencies: "@typescript-eslint/types" "4.33.0" - eslint-visitor-keys "^2.0.0" + "eslint-visitor-keys" "^2.0.0" "@uniswap/default-token-list@^2.0.0": - version "2.3.0" - resolved "https://registry.yarnpkg.com/@uniswap/default-token-list/-/default-token-list-2.3.0.tgz#e5e522e775791999643aac9b0faf1ccfb4c49bd8" - integrity sha512-yfd4snv9K20tEbNwy9Vjym41RU3Yb2lN0seKxsgkr+m3f6oub2lWyXfTiNwgGFbOQPDvX4dxjMhA+M+S7mxqKg== + "integrity" "sha512-yfd4snv9K20tEbNwy9Vjym41RU3Yb2lN0seKxsgkr+m3f6oub2lWyXfTiNwgGFbOQPDvX4dxjMhA+M+S7mxqKg==" + "resolved" "https://registry.npmjs.org/@uniswap/default-token-list/-/default-token-list-2.3.0.tgz" + "version" "2.3.0" "@uniswap/lib@^4.0.1-alpha": - version "4.0.1-alpha" - resolved "https://registry.yarnpkg.com/@uniswap/lib/-/lib-4.0.1-alpha.tgz#2881008e55f075344675b3bca93f020b028fbd02" - integrity sha512-f6UIliwBbRsgVLxIaBANF6w09tYqc6Y/qXdsrbEmXHyFA7ILiKrIwRFXe1yOg8M3cksgVsO9N7yuL2DdCGQKBA== + "integrity" "sha512-f6UIliwBbRsgVLxIaBANF6w09tYqc6Y/qXdsrbEmXHyFA7ILiKrIwRFXe1yOg8M3cksgVsO9N7yuL2DdCGQKBA==" + "resolved" "https://registry.npmjs.org/@uniswap/lib/-/lib-4.0.1-alpha.tgz" + "version" "4.0.1-alpha" "@uniswap/router-sdk@^1.3.0": - version "1.4.0" - resolved "https://registry.yarnpkg.com/@uniswap/router-sdk/-/router-sdk-1.4.0.tgz#0e8d49f37b36e74b6a70ec257ec0561bf1f249c3" - integrity sha512-GyUX8x+hnwnh89DHyA/yKWUwhU3Eukx3B76vfvMMWfr++GA4CW6PzT5j4JgNZDrsBTOSJWxTdU5YbgOuwU2XGg== + "integrity" "sha512-GyUX8x+hnwnh89DHyA/yKWUwhU3Eukx3B76vfvMMWfr++GA4CW6PzT5j4JgNZDrsBTOSJWxTdU5YbgOuwU2XGg==" + "resolved" "https://registry.npmjs.org/@uniswap/router-sdk/-/router-sdk-1.4.0.tgz" + "version" "1.4.0" dependencies: "@ethersproject/abi" "^5.5.0" "@uniswap/sdk-core" "^3.0.1" @@ -5182,21 +5325,21 @@ "@uniswap/v3-sdk" "^3.8.3" "@uniswap/sdk-core@^3.0.0", "@uniswap/sdk-core@^3.0.0-alpha.3", "@uniswap/sdk-core@^3.0.1": - version "3.2.2" - resolved "https://registry.yarnpkg.com/@uniswap/sdk-core/-/sdk-core-3.2.2.tgz#50dbc6f2543d088680f36fb61e01bb90d4d8fa71" - integrity sha512-dPA34T8EVfFzKtw1NC1Mr7M0aXpY1UN+lUpdBv757JxKKMlGQTg96XTIfjYCflqEshxlBdz2+IVQgk6H+dMu5g== + "integrity" "sha512-dPA34T8EVfFzKtw1NC1Mr7M0aXpY1UN+lUpdBv757JxKKMlGQTg96XTIfjYCflqEshxlBdz2+IVQgk6H+dMu5g==" + "resolved" "https://registry.npmjs.org/@uniswap/sdk-core/-/sdk-core-3.2.2.tgz" + "version" "3.2.2" dependencies: "@ethersproject/address" "^5.0.2" - big.js "^5.2.2" - decimal.js-light "^2.5.0" - jsbi "^3.1.4" - tiny-invariant "^1.1.0" - toformat "^2.0.0" + "big.js" "^5.2.2" + "decimal.js-light" "^2.5.0" + "jsbi" "^3.1.4" + "tiny-invariant" "^1.1.0" + "toformat" "^2.0.0" "@uniswap/sdk@3.0.2": - version "3.0.2" - resolved "https://registry.yarnpkg.com/@uniswap/sdk/-/sdk-3.0.2.tgz#c75da48a8d7c3e62556c2b29d6c0f75f133d6afa" - integrity sha512-x6dYbxs3xUi1BOeGj3UqunFaWaJffzqAdSABZSPqyG3hhLpLa2AR4ehH9ZgtTVGF4Rq4MF7UDOHeXMA8AqwyaA== + "integrity" "sha512-x6dYbxs3xUi1BOeGj3UqunFaWaJffzqAdSABZSPqyG3hhLpLa2AR4ehH9ZgtTVGF4Rq4MF7UDOHeXMA8AqwyaA==" + "resolved" "https://registry.npmjs.org/@uniswap/sdk/-/sdk-3.0.2.tgz" + "version" "3.0.2" dependencies: "@ethersproject/address" "^5.0.1" "@ethersproject/contracts" "^5.0.1" @@ -5204,17 +5347,17 @@ "@ethersproject/providers" "^5.0.4" "@ethersproject/solidity" "^5.0.1" "@uniswap/v2-core" "^1.0.0" - big.js "^5.2.2" - decimal.js-light "^2.5.0" - jsbi "^3.1.1" - tiny-invariant "^1.1.0" - tiny-warning "^1.0.3" - toformat "^2.0.0" + "big.js" "^5.2.2" + "decimal.js-light" "^2.5.0" + "jsbi" "^3.1.1" + "tiny-invariant" "^1.1.0" + "tiny-warning" "^1.0.3" + "toformat" "^2.0.0" "@uniswap/smart-order-router@^2.5.26": - version "2.10.2" - resolved "https://registry.yarnpkg.com/@uniswap/smart-order-router/-/smart-order-router-2.10.2.tgz#c6aabe890d096f4c4727011ecfe6f37a401f99a5" - integrity sha512-Nq/O5p5vUxcGL2PpdB4/mjq0cgfpisPA8Q29dPs3+dgYJ3PNgIasCoENMHgauTvCFCNyql+GwanfeW/DtEcd5A== + "integrity" "sha512-Nq/O5p5vUxcGL2PpdB4/mjq0cgfpisPA8Q29dPs3+dgYJ3PNgIasCoENMHgauTvCFCNyql+GwanfeW/DtEcd5A==" + "resolved" "https://registry.npmjs.org/@uniswap/smart-order-router/-/smart-order-router-2.10.2.tgz" + "version" "2.10.2" dependencies: "@uniswap/default-token-list" "^2.0.0" "@uniswap/router-sdk" "^1.3.0" @@ -5222,112 +5365,112 @@ "@uniswap/token-lists" "^1.0.0-beta.25" "@uniswap/v2-sdk" "^3.0.1" "@uniswap/v3-sdk" "^3.7.0" - async-retry "^1.3.1" - await-timeout "^1.1.1" - axios "^0.21.1" - bunyan "^1.8.15" - bunyan-blackhole "^1.1.1" - ethers "^5.6.1" - graphql "^15.5.0" - graphql-request "^3.4.0" - lodash "^4.17.21" - mnemonist "^0.38.3" - node-cache "^5.1.2" - stats-lite "^2.2.0" + "async-retry" "^1.3.1" + "await-timeout" "^1.1.1" + "axios" "^0.21.1" + "bunyan" "^1.8.15" + "bunyan-blackhole" "^1.1.1" + "ethers" "^5.6.1" + "graphql" "^15.5.0" + "graphql-request" "^3.4.0" + "lodash" "^4.17.21" + "mnemonist" "^0.38.3" + "node-cache" "^5.1.2" + "stats-lite" "^2.2.0" -"@uniswap/swap-router-contracts@1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@uniswap/swap-router-contracts/-/swap-router-contracts-1.1.0.tgz#e027b14d4c172f231c53c48e1fd708a78d7d94d8" - integrity sha512-GPmpx1lvjXWloB95+YUabr3UHJYr3scnSS8EzaNXnNrIz9nYZ+XQcMaJxOKe85Yi7IfcUQpj0HzD2TW99dtolA== +"@uniswap/swap-router-contracts@^1.2.1", "@uniswap/swap-router-contracts@^1.3.0": + "integrity" "sha512-iKvCuRkHXEe0EMjOf8HFUISTIhlxI57kKFllf3C3PUIE0HmwxrayyoflwAz5u/TRsFGYqJ9IjX2UgzLCsrNa5A==" + "resolved" "https://registry.npmjs.org/@uniswap/swap-router-contracts/-/swap-router-contracts-1.3.0.tgz" + "version" "1.3.0" dependencies: - "@openzeppelin/contracts" "3.4.1-solc-0.7-2" + "@openzeppelin/contracts" "3.4.2-solc-0.7" "@uniswap/v2-core" "1.0.1" "@uniswap/v3-core" "1.0.0" - "@uniswap/v3-periphery" "1.3.0" - hardhat-watcher "^2.1.1" + "@uniswap/v3-periphery" "1.4.1" + "dotenv" "^14.2.0" + "hardhat-watcher" "^2.1.1" -"@uniswap/swap-router-contracts@^1.2.1", "@uniswap/swap-router-contracts@^1.3.0": - version "1.3.0" - resolved "https://registry.yarnpkg.com/@uniswap/swap-router-contracts/-/swap-router-contracts-1.3.0.tgz#8d555ca6d74b888d6e02a26ebb806ce315605f1f" - integrity sha512-iKvCuRkHXEe0EMjOf8HFUISTIhlxI57kKFllf3C3PUIE0HmwxrayyoflwAz5u/TRsFGYqJ9IjX2UgzLCsrNa5A== +"@uniswap/swap-router-contracts@1.1.0": + "integrity" "sha512-GPmpx1lvjXWloB95+YUabr3UHJYr3scnSS8EzaNXnNrIz9nYZ+XQcMaJxOKe85Yi7IfcUQpj0HzD2TW99dtolA==" + "resolved" "https://registry.npmjs.org/@uniswap/swap-router-contracts/-/swap-router-contracts-1.1.0.tgz" + "version" "1.1.0" dependencies: - "@openzeppelin/contracts" "3.4.2-solc-0.7" + "@openzeppelin/contracts" "3.4.1-solc-0.7-2" "@uniswap/v2-core" "1.0.1" "@uniswap/v3-core" "1.0.0" - "@uniswap/v3-periphery" "1.4.1" - dotenv "^14.2.0" - hardhat-watcher "^2.1.1" + "@uniswap/v3-periphery" "1.3.0" + "hardhat-watcher" "^2.1.1" "@uniswap/token-lists@^1.0.0-beta.25": - version "1.0.0-beta.31" - resolved "https://registry.yarnpkg.com/@uniswap/token-lists/-/token-lists-1.0.0-beta.31.tgz#ff3852bd505ec7b4c276625c762ea79a93a919ec" - integrity sha512-BQVoelKCRf64IToPEs1wxiXOnhr/ukwPOF78XG11PrTAOL4F8umjYKFb8ZPv1/dIJsPaC7GhLSriEqyp94SasQ== + "integrity" "sha512-BQVoelKCRf64IToPEs1wxiXOnhr/ukwPOF78XG11PrTAOL4F8umjYKFb8ZPv1/dIJsPaC7GhLSriEqyp94SasQ==" + "resolved" "https://registry.npmjs.org/@uniswap/token-lists/-/token-lists-1.0.0-beta.31.tgz" + "version" "1.0.0-beta.31" -"@uniswap/v2-core@1.0.1", "@uniswap/v2-core@^1.0.0": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@uniswap/v2-core/-/v2-core-1.0.1.tgz#af8f508bf183204779938969e2e54043e147d425" - integrity sha512-MtybtkUPSyysqLY2U210NBDeCHX+ltHt3oADGdjqoThZaFRDKwM6k1Nb3F0A3hk5hwuQvytFWhrWHOEq6nVJ8Q== +"@uniswap/v2-core@^1.0.0", "@uniswap/v2-core@1.0.1": + "integrity" "sha512-MtybtkUPSyysqLY2U210NBDeCHX+ltHt3oADGdjqoThZaFRDKwM6k1Nb3F0A3hk5hwuQvytFWhrWHOEq6nVJ8Q==" + "resolved" "https://registry.npmjs.org/@uniswap/v2-core/-/v2-core-1.0.1.tgz" + "version" "1.0.1" "@uniswap/v2-sdk@^3.0.1": - version "3.0.1" - resolved "https://registry.yarnpkg.com/@uniswap/v2-sdk/-/v2-sdk-3.0.1.tgz#690c484104c1debd1db56a236e5497def53d698b" - integrity sha512-eSpm2gjo2CZh9FACH5fq42str/oSNyWcDxB27o5k44bEew4sxb+pld4gGIf/byJndLBvArR9PtH8c0n/goNOTw== + "integrity" "sha512-eSpm2gjo2CZh9FACH5fq42str/oSNyWcDxB27o5k44bEew4sxb+pld4gGIf/byJndLBvArR9PtH8c0n/goNOTw==" + "resolved" "https://registry.npmjs.org/@uniswap/v2-sdk/-/v2-sdk-3.0.1.tgz" + "version" "3.0.1" dependencies: "@ethersproject/address" "^5.0.0" "@ethersproject/solidity" "^5.0.0" "@uniswap/sdk-core" "^3.0.0-alpha.3" - tiny-invariant "^1.1.0" - tiny-warning "^1.0.3" - -"@uniswap/v3-core@1.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@uniswap/v3-core/-/v3-core-1.0.0.tgz#6c24adacc4c25dceee0ba3ca142b35adbd7e359d" - integrity sha512-kSC4djMGKMHj7sLMYVnn61k9nu+lHjMIxgg9CDQT+s2QYLoA56GbSK9Oxr+qJXzzygbkrmuY6cwgP6cW2JXPFA== + "tiny-invariant" "^1.1.0" + "tiny-warning" "^1.0.3" "@uniswap/v3-core@^1.0.0": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@uniswap/v3-core/-/v3-core-1.0.1.tgz#b6d2bdc6ba3c3fbd610bdc502395d86cd35264a0" - integrity sha512-7pVk4hEm00j9tc71Y9+ssYpO6ytkeI0y7WE9P6UcmNzhxPePwyAxImuhVsTqWK9YFvzgtvzJHi64pBl4jUzKMQ== + "integrity" "sha512-7pVk4hEm00j9tc71Y9+ssYpO6ytkeI0y7WE9P6UcmNzhxPePwyAxImuhVsTqWK9YFvzgtvzJHi64pBl4jUzKMQ==" + "resolved" "https://registry.npmjs.org/@uniswap/v3-core/-/v3-core-1.0.1.tgz" + "version" "1.0.1" -"@uniswap/v3-periphery@1.3.0": - version "1.3.0" - resolved "https://registry.yarnpkg.com/@uniswap/v3-periphery/-/v3-periphery-1.3.0.tgz#37f0a1ef6025221722e50e9f3f2009c2d5d6e4ec" - integrity sha512-HjHdI5RkjBl8zz3bqHShrbULFoZSrjbbrRHoO2vbzn+WRzTa6xY4PWphZv2Tlcb38YEKfKHp6NPl5hVedac8uw== +"@uniswap/v3-core@1.0.0": + "integrity" "sha512-kSC4djMGKMHj7sLMYVnn61k9nu+lHjMIxgg9CDQT+s2QYLoA56GbSK9Oxr+qJXzzygbkrmuY6cwgP6cW2JXPFA==" + "resolved" "https://registry.npmjs.org/@uniswap/v3-core/-/v3-core-1.0.0.tgz" + "version" "1.0.0" + +"@uniswap/v3-periphery@^1.0.1", "@uniswap/v3-periphery@^1.1.1": + "integrity" "sha512-80c+wtVzl5JJT8UQskxVYYG3oZb4pkhY0zDe0ab/RX4+8f9+W5d8wI4BT0wLB0wFQTSnbW+QdBSpkHA/vRyGBA==" + "resolved" "https://registry.npmjs.org/@uniswap/v3-periphery/-/v3-periphery-1.4.3.tgz" + "version" "1.4.3" dependencies: - "@openzeppelin/contracts" "3.4.1-solc-0.7-2" + "@openzeppelin/contracts" "3.4.2-solc-0.7" "@uniswap/lib" "^4.0.1-alpha" "@uniswap/v2-core" "1.0.1" "@uniswap/v3-core" "1.0.0" - base64-sol "1.0.1" - hardhat-watcher "^2.1.1" + "base64-sol" "1.0.1" -"@uniswap/v3-periphery@1.4.1": - version "1.4.1" - resolved "https://registry.yarnpkg.com/@uniswap/v3-periphery/-/v3-periphery-1.4.1.tgz#b90f08b7386163c0abfd7258831caef6339c7862" - integrity sha512-Ab0ZCKOQrQMKIcpBTezTsEhWfQjItd0TtkCG8mPhoQu+wC67nPaf4hYUhM6wGHeFUmDiYY5MpEQuokB0ENvoTg== +"@uniswap/v3-periphery@1.3.0": + "integrity" "sha512-HjHdI5RkjBl8zz3bqHShrbULFoZSrjbbrRHoO2vbzn+WRzTa6xY4PWphZv2Tlcb38YEKfKHp6NPl5hVedac8uw==" + "resolved" "https://registry.npmjs.org/@uniswap/v3-periphery/-/v3-periphery-1.3.0.tgz" + "version" "1.3.0" dependencies: - "@openzeppelin/contracts" "3.4.2-solc-0.7" + "@openzeppelin/contracts" "3.4.1-solc-0.7-2" "@uniswap/lib" "^4.0.1-alpha" "@uniswap/v2-core" "1.0.1" "@uniswap/v3-core" "1.0.0" - base64-sol "1.0.1" - hardhat-watcher "^2.1.1" + "base64-sol" "1.0.1" + "hardhat-watcher" "^2.1.1" -"@uniswap/v3-periphery@^1.0.1", "@uniswap/v3-periphery@^1.1.1": - version "1.4.3" - resolved "https://registry.yarnpkg.com/@uniswap/v3-periphery/-/v3-periphery-1.4.3.tgz#a6da4632dbd46b139cc13a410e4ec09ad22bd19f" - integrity sha512-80c+wtVzl5JJT8UQskxVYYG3oZb4pkhY0zDe0ab/RX4+8f9+W5d8wI4BT0wLB0wFQTSnbW+QdBSpkHA/vRyGBA== +"@uniswap/v3-periphery@1.4.1": + "integrity" "sha512-Ab0ZCKOQrQMKIcpBTezTsEhWfQjItd0TtkCG8mPhoQu+wC67nPaf4hYUhM6wGHeFUmDiYY5MpEQuokB0ENvoTg==" + "resolved" "https://registry.npmjs.org/@uniswap/v3-periphery/-/v3-periphery-1.4.1.tgz" + "version" "1.4.1" dependencies: "@openzeppelin/contracts" "3.4.2-solc-0.7" "@uniswap/lib" "^4.0.1-alpha" "@uniswap/v2-core" "1.0.1" "@uniswap/v3-core" "1.0.0" - base64-sol "1.0.1" + "base64-sol" "1.0.1" + "hardhat-watcher" "^2.1.1" "@uniswap/v3-sdk@^3.7.0", "@uniswap/v3-sdk@^3.8.3": - version "3.9.0" - resolved "https://registry.yarnpkg.com/@uniswap/v3-sdk/-/v3-sdk-3.9.0.tgz#de93fa19f89c29d460996aa4d0b4bb6531641105" - integrity sha512-LuoF3UcY1DxSAQKJ3E4/1Eq4HaNp+x+7q9mvbpiu+/PBj+O1DjLforAMrKxu+RsA0aarmZtz7yBnAPy+akgfgQ== + "integrity" "sha512-LuoF3UcY1DxSAQKJ3E4/1Eq4HaNp+x+7q9mvbpiu+/PBj+O1DjLforAMrKxu+RsA0aarmZtz7yBnAPy+akgfgQ==" + "resolved" "https://registry.npmjs.org/@uniswap/v3-sdk/-/v3-sdk-3.9.0.tgz" + "version" "3.9.0" dependencies: "@ethersproject/abi" "^5.0.12" "@ethersproject/solidity" "^5.0.9" @@ -5335,50 +5478,50 @@ "@uniswap/swap-router-contracts" "^1.2.1" "@uniswap/v3-periphery" "^1.1.1" "@uniswap/v3-staker" "1.0.0" - tiny-invariant "^1.1.0" - tiny-warning "^1.0.3" + "tiny-invariant" "^1.1.0" + "tiny-warning" "^1.0.3" "@uniswap/v3-staker@1.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@uniswap/v3-staker/-/v3-staker-1.0.0.tgz#9a6915ec980852479dfc903f50baf822ff8fa66e" - integrity sha512-JV0Qc46Px5alvg6YWd+UIaGH9lDuYG/Js7ngxPit1SPaIP30AlVer1UYB7BRYeUVVxE+byUyIeN5jeQ7LLDjIw== + "integrity" "sha512-JV0Qc46Px5alvg6YWd+UIaGH9lDuYG/Js7ngxPit1SPaIP30AlVer1UYB7BRYeUVVxE+byUyIeN5jeQ7LLDjIw==" + "resolved" "https://registry.npmjs.org/@uniswap/v3-staker/-/v3-staker-1.0.0.tgz" + "version" "1.0.0" dependencies: "@openzeppelin/contracts" "3.4.1-solc-0.7-2" "@uniswap/v3-core" "1.0.0" "@uniswap/v3-periphery" "^1.0.1" "@wagmi/chains@1.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@wagmi/chains/-/chains-1.0.0.tgz#41710941f2c2a699a246c4e3a6112b4efd996171" - integrity sha512-eNbqRWyHbivcMNq5tbXJks4NaOzVLHnNQauHPeE/EDT9AlpqzcrMc+v2T1/2Iw8zN4zgqB86NCsxeJHJs7+xng== + "integrity" "sha512-eNbqRWyHbivcMNq5tbXJks4NaOzVLHnNQauHPeE/EDT9AlpqzcrMc+v2T1/2Iw8zN4zgqB86NCsxeJHJs7+xng==" + "resolved" "https://registry.npmjs.org/@wagmi/chains/-/chains-1.0.0.tgz" + "version" "1.0.0" "@wallet-standard/base@^1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@wallet-standard/base/-/base-1.0.1.tgz#860dd94d47c9e3c5c43b79d91c6afdbd7a36264e" - integrity sha512-1To3ekMfzhYxe0Yhkpri+Fedq0SYcfrOfJi3vbLjMwF2qiKPjTGLwZkf2C9ftdQmxES+hmxhBzTwF4KgcOwf8w== + "integrity" "sha512-1To3ekMfzhYxe0Yhkpri+Fedq0SYcfrOfJi3vbLjMwF2qiKPjTGLwZkf2C9ftdQmxES+hmxhBzTwF4KgcOwf8w==" + "resolved" "https://registry.npmjs.org/@wallet-standard/base/-/base-1.0.1.tgz" + "version" "1.0.1" "@wallet-standard/features@^1.0.3": - version "1.0.3" - resolved "https://registry.yarnpkg.com/@wallet-standard/features/-/features-1.0.3.tgz#c992876c5e4f7a0672f8869c4146c87e0dfe48c8" - integrity sha512-m8475I6W5LTatTZuUz5JJNK42wFRgkJTB0I9tkruMwfqBF2UN2eomkYNVf9RbrsROelCRzSFmugqjKZBFaubsA== + "integrity" "sha512-m8475I6W5LTatTZuUz5JJNK42wFRgkJTB0I9tkruMwfqBF2UN2eomkYNVf9RbrsROelCRzSFmugqjKZBFaubsA==" + "resolved" "https://registry.npmjs.org/@wallet-standard/features/-/features-1.0.3.tgz" + "version" "1.0.3" dependencies: "@wallet-standard/base" "^1.0.1" "@walletconnect/browser-utils@^1.8.0": - version "1.8.0" - resolved "https://registry.yarnpkg.com/@walletconnect/browser-utils/-/browser-utils-1.8.0.tgz#33c10e777aa6be86c713095b5206d63d32df0951" - integrity sha512-Wcqqx+wjxIo9fv6eBUFHPsW1y/bGWWRboni5dfD8PtOmrihrEpOCmvRJe4rfl7xgJW8Ea9UqKEaq0bIRLHlK4A== + "integrity" "sha512-Wcqqx+wjxIo9fv6eBUFHPsW1y/bGWWRboni5dfD8PtOmrihrEpOCmvRJe4rfl7xgJW8Ea9UqKEaq0bIRLHlK4A==" + "resolved" "https://registry.npmjs.org/@walletconnect/browser-utils/-/browser-utils-1.8.0.tgz" + "version" "1.8.0" dependencies: "@walletconnect/safe-json" "1.0.0" "@walletconnect/types" "^1.8.0" "@walletconnect/window-getters" "1.0.0" "@walletconnect/window-metadata" "1.0.0" - detect-browser "5.2.0" + "detect-browser" "5.2.0" "@walletconnect/core@2.5.1": - version "2.5.1" - resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.5.1.tgz#fed485577e73bc9dee25ae16f80352818c33b723" - integrity sha512-Q+dH+LSK85PwpmbjAFoi9ddWTFFghyZWwi1bGfgFA4h3tk4vfh+F0oW44bREaeHAQ/y1va0f2OdK6/jagOeMLQ== + "integrity" "sha512-Q+dH+LSK85PwpmbjAFoi9ddWTFFghyZWwi1bGfgFA4h3tk4vfh+F0oW44bREaeHAQ/y1va0f2OdK6/jagOeMLQ==" + "resolved" "https://registry.npmjs.org/@walletconnect/core/-/core-2.5.1.tgz" + "version" "2.5.1" dependencies: "@walletconnect/heartbeat" "1.2.0" "@walletconnect/jsonrpc-provider" "1.0.9" @@ -5392,144 +5535,144 @@ "@walletconnect/time" "^1.0.2" "@walletconnect/types" "2.5.1" "@walletconnect/utils" "2.5.1" - events "^3.3.0" - lodash.isequal "4.5.0" - pino "7.11.0" - uint8arrays "^3.1.0" + "events" "^3.3.0" + "lodash.isequal" "4.5.0" + "pino" "7.11.0" + "uint8arrays" "^3.1.0" "@walletconnect/environment@^1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@walletconnect/environment/-/environment-1.0.1.tgz#1d7f82f0009ab821a2ba5ad5e5a7b8ae3b214cd7" - integrity sha512-T426LLZtHj8e8rYnKfzsw1aG6+M0BT1ZxayMdv/p8yM0MU+eJDISqNY3/bccxRr4LrF9csq02Rhqt08Ibl0VRg== + "integrity" "sha512-T426LLZtHj8e8rYnKfzsw1aG6+M0BT1ZxayMdv/p8yM0MU+eJDISqNY3/bccxRr4LrF9csq02Rhqt08Ibl0VRg==" + "resolved" "https://registry.npmjs.org/@walletconnect/environment/-/environment-1.0.1.tgz" + "version" "1.0.1" dependencies: - tslib "1.14.1" + "tslib" "1.14.1" "@walletconnect/events@^1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@walletconnect/events/-/events-1.0.1.tgz#2b5f9c7202019e229d7ccae1369a9e86bda7816c" - integrity sha512-NPTqaoi0oPBVNuLv7qPaJazmGHs5JGyO8eEAk5VGKmJzDR7AHzD4k6ilox5kxk1iwiOnFopBOOMLs86Oa76HpQ== + "integrity" "sha512-NPTqaoi0oPBVNuLv7qPaJazmGHs5JGyO8eEAk5VGKmJzDR7AHzD4k6ilox5kxk1iwiOnFopBOOMLs86Oa76HpQ==" + "resolved" "https://registry.npmjs.org/@walletconnect/events/-/events-1.0.1.tgz" + "version" "1.0.1" dependencies: - keyvaluestorage-interface "^1.0.0" - tslib "1.14.1" + "keyvaluestorage-interface" "^1.0.0" + "tslib" "1.14.1" "@walletconnect/heartbeat@1.2.0": - version "1.2.0" - resolved "https://registry.yarnpkg.com/@walletconnect/heartbeat/-/heartbeat-1.2.0.tgz#1e87dd234cb72b0587b84f95c4f942f2b4bd0c79" - integrity sha512-0vbzTa/ARrpmMmOD+bQMxPvFYKtOLQZObgZakrYr0aODiMOO71CmPVNV2eAqXnw9rMmcP+z91OybLeIFlwTjjA== + "integrity" "sha512-0vbzTa/ARrpmMmOD+bQMxPvFYKtOLQZObgZakrYr0aODiMOO71CmPVNV2eAqXnw9rMmcP+z91OybLeIFlwTjjA==" + "resolved" "https://registry.npmjs.org/@walletconnect/heartbeat/-/heartbeat-1.2.0.tgz" + "version" "1.2.0" dependencies: "@walletconnect/events" "^1.0.1" "@walletconnect/time" "^1.0.2" - chai "^4.3.7" - mocha "^10.2.0" - ts-node "^10.9.1" - tslib "1.14.1" + "chai" "^4.3.7" + "mocha" "^10.2.0" + "ts-node" "^10.9.1" + "tslib" "1.14.1" "@walletconnect/jsonrpc-provider@1.0.9": - version "1.0.9" - resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-provider/-/jsonrpc-provider-1.0.9.tgz#ce5ab64dce6a739110aef204ffeedd668ad343d8" - integrity sha512-8CwmiDW42F+F8Qct13lX2x4lJOsi0mNBtUln3VS6TpWioTaL1VfforC/8ULc3tHXv+SNWwAXn2lCZbDcYhdRcA== + "integrity" "sha512-8CwmiDW42F+F8Qct13lX2x4lJOsi0mNBtUln3VS6TpWioTaL1VfforC/8ULc3tHXv+SNWwAXn2lCZbDcYhdRcA==" + "resolved" "https://registry.npmjs.org/@walletconnect/jsonrpc-provider/-/jsonrpc-provider-1.0.9.tgz" + "version" "1.0.9" dependencies: "@walletconnect/jsonrpc-utils" "^1.0.6" "@walletconnect/safe-json" "^1.0.1" - tslib "1.14.1" + "tslib" "1.14.1" "@walletconnect/jsonrpc-types@^1.0.2": - version "1.0.2" - resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-types/-/jsonrpc-types-1.0.2.tgz#b79519f679cd6a5fa4a1bea888f27c1916689a20" - integrity sha512-CZe8tjJX73OWdHjrBHy7HtAapJ2tT0Q3TYhPBhRxi3643lwPIQWC9En45ldY14TZwgSewkbZ0FtGBZK0G7Bbyg== + "integrity" "sha512-CZe8tjJX73OWdHjrBHy7HtAapJ2tT0Q3TYhPBhRxi3643lwPIQWC9En45ldY14TZwgSewkbZ0FtGBZK0G7Bbyg==" + "resolved" "https://registry.npmjs.org/@walletconnect/jsonrpc-types/-/jsonrpc-types-1.0.2.tgz" + "version" "1.0.2" dependencies: - keyvaluestorage-interface "^1.0.0" - tslib "1.14.1" + "keyvaluestorage-interface" "^1.0.0" + "tslib" "1.14.1" "@walletconnect/jsonrpc-utils@^1.0.4", "@walletconnect/jsonrpc-utils@^1.0.6": - version "1.0.6" - resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-utils/-/jsonrpc-utils-1.0.6.tgz#7fa58e6671247e64e189828103282e6258f5330f" - integrity sha512-snp0tfkjPiDLQp/jrBewI+9SM33GPV4+Gjgldod6XQ7rFyQ5FZjnBxUkY4xWH0+arNxzQSi6v5iDXjCjSaorpg== + "integrity" "sha512-snp0tfkjPiDLQp/jrBewI+9SM33GPV4+Gjgldod6XQ7rFyQ5FZjnBxUkY4xWH0+arNxzQSi6v5iDXjCjSaorpg==" + "resolved" "https://registry.npmjs.org/@walletconnect/jsonrpc-utils/-/jsonrpc-utils-1.0.6.tgz" + "version" "1.0.6" dependencies: "@walletconnect/environment" "^1.0.1" "@walletconnect/jsonrpc-types" "^1.0.2" - tslib "1.14.1" + "tslib" "1.14.1" "@walletconnect/jsonrpc-ws-connection@1.0.10": - version "1.0.10" - resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-ws-connection/-/jsonrpc-ws-connection-1.0.10.tgz#04e04a7d8c70b27c386a1bdd9ff6511045da3c81" - integrity sha512-/tidvjfCXZuYugjF5fOswsNDPoMo9QRML3DFQ0dfNUarL4f5HGqu8NDGerr2n0+4MOX23GsT6Vv2POSwFbvgGw== + "integrity" "sha512-/tidvjfCXZuYugjF5fOswsNDPoMo9QRML3DFQ0dfNUarL4f5HGqu8NDGerr2n0+4MOX23GsT6Vv2POSwFbvgGw==" + "resolved" "https://registry.npmjs.org/@walletconnect/jsonrpc-ws-connection/-/jsonrpc-ws-connection-1.0.10.tgz" + "version" "1.0.10" dependencies: "@walletconnect/jsonrpc-utils" "^1.0.6" "@walletconnect/safe-json" "^1.0.1" - events "^3.3.0" - tslib "1.14.1" - ws "^7.5.1" + "events" "^3.3.0" + "tslib" "1.14.1" + "ws" "^7.5.1" "@walletconnect/keyvaluestorage@^1.0.2": - version "1.0.2" - resolved "https://registry.yarnpkg.com/@walletconnect/keyvaluestorage/-/keyvaluestorage-1.0.2.tgz#92f5ca0f54c1a88a093778842ce0c874d86369c8" - integrity sha512-U/nNG+VLWoPFdwwKx0oliT4ziKQCEoQ27L5Hhw8YOFGA2Po9A9pULUYNWhDgHkrb0gYDNt//X7wABcEWWBd3FQ== + "integrity" "sha512-U/nNG+VLWoPFdwwKx0oliT4ziKQCEoQ27L5Hhw8YOFGA2Po9A9pULUYNWhDgHkrb0gYDNt//X7wABcEWWBd3FQ==" + "resolved" "https://registry.npmjs.org/@walletconnect/keyvaluestorage/-/keyvaluestorage-1.0.2.tgz" + "version" "1.0.2" dependencies: - safe-json-utils "^1.1.1" - tslib "1.14.1" + "safe-json-utils" "^1.1.1" + "tslib" "1.14.1" "@walletconnect/logger@^2.0.1": - version "2.0.1" - resolved "https://registry.yarnpkg.com/@walletconnect/logger/-/logger-2.0.1.tgz#7f489b96e9a1ff6bf3e58f0fbd6d69718bf844a8" - integrity sha512-SsTKdsgWm+oDTBeNE/zHxxr5eJfZmE9/5yp/Ku+zJtcTAjELb3DXueWkDXmE9h8uHIbJzIb5wj5lPdzyrjT6hQ== + "integrity" "sha512-SsTKdsgWm+oDTBeNE/zHxxr5eJfZmE9/5yp/Ku+zJtcTAjELb3DXueWkDXmE9h8uHIbJzIb5wj5lPdzyrjT6hQ==" + "resolved" "https://registry.npmjs.org/@walletconnect/logger/-/logger-2.0.1.tgz" + "version" "2.0.1" dependencies: - pino "7.11.0" - tslib "1.14.1" + "pino" "7.11.0" + "tslib" "1.14.1" "@walletconnect/mobile-registry@^1.4.0": - version "1.4.0" - resolved "https://registry.yarnpkg.com/@walletconnect/mobile-registry/-/mobile-registry-1.4.0.tgz#502cf8ab87330841d794819081e748ebdef7aee5" - integrity sha512-ZtKRio4uCZ1JUF7LIdecmZt7FOLnX72RPSY7aUVu7mj7CSfxDwUn6gBuK6WGtH+NZCldBqDl5DenI5fFSvkKYw== + "integrity" "sha512-ZtKRio4uCZ1JUF7LIdecmZt7FOLnX72RPSY7aUVu7mj7CSfxDwUn6gBuK6WGtH+NZCldBqDl5DenI5fFSvkKYw==" + "resolved" "https://registry.npmjs.org/@walletconnect/mobile-registry/-/mobile-registry-1.4.0.tgz" + "version" "1.4.0" "@walletconnect/qrcode-modal@^1.8.0": - version "1.8.0" - resolved "https://registry.yarnpkg.com/@walletconnect/qrcode-modal/-/qrcode-modal-1.8.0.tgz#ddd6f5c9b7ee52c16adf9aacec2a3eac4994caea" - integrity sha512-BueaFefaAi8mawE45eUtztg3ZFbsAH4DDXh1UNwdUlsvFMjqcYzLUG0xZvDd6z2eOpbgDg2N3bl6gF0KONj1dg== + "integrity" "sha512-BueaFefaAi8mawE45eUtztg3ZFbsAH4DDXh1UNwdUlsvFMjqcYzLUG0xZvDd6z2eOpbgDg2N3bl6gF0KONj1dg==" + "resolved" "https://registry.npmjs.org/@walletconnect/qrcode-modal/-/qrcode-modal-1.8.0.tgz" + "version" "1.8.0" dependencies: "@walletconnect/browser-utils" "^1.8.0" "@walletconnect/mobile-registry" "^1.4.0" "@walletconnect/types" "^1.8.0" - copy-to-clipboard "^3.3.1" - preact "10.4.1" - qrcode "1.4.4" + "copy-to-clipboard" "^3.3.1" + "preact" "10.4.1" + "qrcode" "1.4.4" "@walletconnect/relay-api@^1.0.9": - version "1.0.9" - resolved "https://registry.yarnpkg.com/@walletconnect/relay-api/-/relay-api-1.0.9.tgz#f8c2c3993dddaa9f33ed42197fc9bfebd790ecaf" - integrity sha512-Q3+rylJOqRkO1D9Su0DPE3mmznbAalYapJ9qmzDgK28mYF9alcP3UwG/og5V7l7CFOqzCLi7B8BvcBUrpDj0Rg== + "integrity" "sha512-Q3+rylJOqRkO1D9Su0DPE3mmznbAalYapJ9qmzDgK28mYF9alcP3UwG/og5V7l7CFOqzCLi7B8BvcBUrpDj0Rg==" + "resolved" "https://registry.npmjs.org/@walletconnect/relay-api/-/relay-api-1.0.9.tgz" + "version" "1.0.9" dependencies: "@walletconnect/jsonrpc-types" "^1.0.2" - tslib "1.14.1" + "tslib" "1.14.1" "@walletconnect/relay-auth@^1.0.4": - version "1.0.4" - resolved "https://registry.yarnpkg.com/@walletconnect/relay-auth/-/relay-auth-1.0.4.tgz#0b5c55c9aa3b0ef61f526ce679f3ff8a5c4c2c7c" - integrity sha512-kKJcS6+WxYq5kshpPaxGHdwf5y98ZwbfuS4EE/NkQzqrDFm5Cj+dP8LofzWvjrrLkZq7Afy7WrQMXdLy8Sx7HQ== + "integrity" "sha512-kKJcS6+WxYq5kshpPaxGHdwf5y98ZwbfuS4EE/NkQzqrDFm5Cj+dP8LofzWvjrrLkZq7Afy7WrQMXdLy8Sx7HQ==" + "resolved" "https://registry.npmjs.org/@walletconnect/relay-auth/-/relay-auth-1.0.4.tgz" + "version" "1.0.4" dependencies: "@stablelib/ed25519" "^1.0.2" "@stablelib/random" "^1.0.1" "@walletconnect/safe-json" "^1.0.1" "@walletconnect/time" "^1.0.2" - tslib "1.14.1" - uint8arrays "^3.0.0" - -"@walletconnect/safe-json@1.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@walletconnect/safe-json/-/safe-json-1.0.0.tgz#12eeb11d43795199c045fafde97e3c91646683b2" - integrity sha512-QJzp/S/86sUAgWY6eh5MKYmSfZaRpIlmCJdi5uG4DJlKkZrHEF7ye7gA+VtbVzvTtpM/gRwO2plQuiooIeXjfg== + "tslib" "1.14.1" + "uint8arrays" "^3.0.0" "@walletconnect/safe-json@^1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@walletconnect/safe-json/-/safe-json-1.0.1.tgz#9813fa0a7a544b16468730c2d7bed046ed160957" - integrity sha512-Fm7e31oSYY15NQr8SsLJheKAy5L744udZf2lJKcz6wFmPJEzf7hOF0866o/rrldRzJnjZ4H2GJ45pFudsnLW5A== + "integrity" "sha512-Fm7e31oSYY15NQr8SsLJheKAy5L744udZf2lJKcz6wFmPJEzf7hOF0866o/rrldRzJnjZ4H2GJ45pFudsnLW5A==" + "resolved" "https://registry.npmjs.org/@walletconnect/safe-json/-/safe-json-1.0.1.tgz" + "version" "1.0.1" dependencies: - tslib "1.14.1" + "tslib" "1.14.1" + +"@walletconnect/safe-json@1.0.0": + "integrity" "sha512-QJzp/S/86sUAgWY6eh5MKYmSfZaRpIlmCJdi5uG4DJlKkZrHEF7ye7gA+VtbVzvTtpM/gRwO2plQuiooIeXjfg==" + "resolved" "https://registry.npmjs.org/@walletconnect/safe-json/-/safe-json-1.0.0.tgz" + "version" "1.0.0" "@walletconnect/sign-client@^2.4.5": - version "2.5.1" - resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.5.1.tgz#58f5d1acaf592a680f5e19a101dac6ada6a88cc5" - integrity sha512-c5HzOXr4EhhJ0ozxne4ahCyS8mbW1NSgTEcW/c8LxsaRcMejY8l+1DGwWGpeD4c6K1jmxKGCGS8HxjY+igN5+Q== + "integrity" "sha512-c5HzOXr4EhhJ0ozxne4ahCyS8mbW1NSgTEcW/c8LxsaRcMejY8l+1DGwWGpeD4c6K1jmxKGCGS8HxjY+igN5+Q==" + "resolved" "https://registry.npmjs.org/@walletconnect/sign-client/-/sign-client-2.5.1.tgz" + "version" "2.5.1" dependencies: "@walletconnect/core" "2.5.1" "@walletconnect/events" "^1.0.1" @@ -5539,37 +5682,37 @@ "@walletconnect/time" "^1.0.2" "@walletconnect/types" "2.5.1" "@walletconnect/utils" "2.5.1" - events "^3.3.0" - pino "7.11.0" + "events" "^3.3.0" + "pino" "7.11.0" "@walletconnect/time@^1.0.2": - version "1.0.2" - resolved "https://registry.yarnpkg.com/@walletconnect/time/-/time-1.0.2.tgz#6c5888b835750ecb4299d28eecc5e72c6d336523" - integrity sha512-uzdd9woDcJ1AaBZRhqy5rNC9laqWGErfc4dxA9a87mPdKOgWMD85mcFo9dIYIts/Jwocfwn07EC6EzclKubk/g== + "integrity" "sha512-uzdd9woDcJ1AaBZRhqy5rNC9laqWGErfc4dxA9a87mPdKOgWMD85mcFo9dIYIts/Jwocfwn07EC6EzclKubk/g==" + "resolved" "https://registry.npmjs.org/@walletconnect/time/-/time-1.0.2.tgz" + "version" "1.0.2" dependencies: - tslib "1.14.1" + "tslib" "1.14.1" + +"@walletconnect/types@^1.8.0": + "integrity" "sha512-Cn+3I0V0vT9ghMuzh1KzZvCkiAxTq+1TR2eSqw5E5AVWfmCtECFkVZBP6uUJZ8YjwLqXheI+rnjqPy7sVM4Fyg==" + "resolved" "https://registry.npmjs.org/@walletconnect/types/-/types-1.8.0.tgz" + "version" "1.8.0" "@walletconnect/types@2.5.1": - version "2.5.1" - resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.5.1.tgz#1bb7d51a6cf04233a70c38efea0aa414db5768f9" - integrity sha512-PctuQw1Kt0tJ8mYU8p1JOXYxv8PhvNoXXtLaGkGZ/9knn1dJaQRlMDEN0iHG6qXlSAo0tW8Q3PtK5tetf5dJ0g== + "integrity" "sha512-PctuQw1Kt0tJ8mYU8p1JOXYxv8PhvNoXXtLaGkGZ/9knn1dJaQRlMDEN0iHG6qXlSAo0tW8Q3PtK5tetf5dJ0g==" + "resolved" "https://registry.npmjs.org/@walletconnect/types/-/types-2.5.1.tgz" + "version" "2.5.1" dependencies: "@walletconnect/events" "^1.0.1" "@walletconnect/heartbeat" "1.2.0" "@walletconnect/jsonrpc-types" "^1.0.2" "@walletconnect/keyvaluestorage" "^1.0.2" "@walletconnect/logger" "^2.0.1" - events "^3.3.0" - -"@walletconnect/types@^1.8.0": - version "1.8.0" - resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-1.8.0.tgz#3f5e85b2d6b149337f727ab8a71b8471d8d9a195" - integrity sha512-Cn+3I0V0vT9ghMuzh1KzZvCkiAxTq+1TR2eSqw5E5AVWfmCtECFkVZBP6uUJZ8YjwLqXheI+rnjqPy7sVM4Fyg== + "events" "^3.3.0" -"@walletconnect/utils@2.5.1", "@walletconnect/utils@^2.4.5": - version "2.5.1" - resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.5.1.tgz#466cfc76688b9048923ffaf75621c98a0f21c9e7" - integrity sha512-+Pr3kj0CjxEeSxoRtj9lOfsDRLjwI5RyuwASUy4mcTGil59rdAK0Z7Uht3/+HEXB05AUyEJihpQEwworcGu/uw== +"@walletconnect/utils@^2.4.5", "@walletconnect/utils@2.5.1": + "integrity" "sha512-+Pr3kj0CjxEeSxoRtj9lOfsDRLjwI5RyuwASUy4mcTGil59rdAK0Z7Uht3/+HEXB05AUyEJihpQEwworcGu/uw==" + "resolved" "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.5.1.tgz" + "version" "2.5.1" dependencies: "@stablelib/chacha20poly1305" "1.0.1" "@stablelib/hkdf" "1.0.1" @@ -5583,271 +5726,295 @@ "@walletconnect/types" "2.5.1" "@walletconnect/window-getters" "^1.0.1" "@walletconnect/window-metadata" "^1.0.1" - detect-browser "5.3.0" - query-string "7.1.1" - uint8arrays "^3.1.0" - -"@walletconnect/window-getters@1.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@walletconnect/window-getters/-/window-getters-1.0.0.tgz#1053224f77e725dfd611c83931b5f6c98c32bfc8" - integrity sha512-xB0SQsLaleIYIkSsl43vm8EwETpBzJ2gnzk7e0wMF3ktqiTGS6TFHxcprMl5R44KKh4tCcHCJwolMCaDSwtAaA== + "detect-browser" "5.3.0" + "query-string" "7.1.1" + "uint8arrays" "^3.1.0" -"@walletconnect/window-getters@^1.0.0", "@walletconnect/window-getters@^1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@walletconnect/window-getters/-/window-getters-1.0.1.tgz#f36d1c72558a7f6b87ecc4451fc8bd44f63cbbdc" - integrity sha512-vHp+HqzGxORPAN8gY03qnbTMnhqIwjeRJNOMOAzePRg4xVEEE2WvYsI9G2NMjOknA8hnuYbU3/hwLcKbjhc8+Q== +"@walletconnect/window-getters@^1.0.0": + "integrity" "sha512-vHp+HqzGxORPAN8gY03qnbTMnhqIwjeRJNOMOAzePRg4xVEEE2WvYsI9G2NMjOknA8hnuYbU3/hwLcKbjhc8+Q==" + "resolved" "https://registry.npmjs.org/@walletconnect/window-getters/-/window-getters-1.0.1.tgz" + "version" "1.0.1" dependencies: - tslib "1.14.1" + "tslib" "1.14.1" -"@walletconnect/window-metadata@1.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@walletconnect/window-metadata/-/window-metadata-1.0.0.tgz#93b1cc685e6b9b202f29c26be550fde97800c4e5" - integrity sha512-9eFvmJxIKCC3YWOL97SgRkKhlyGXkrHwamfechmqszbypFspaSk+t2jQXAEU7YClHF6Qjw5eYOmy1//zFi9/GA== +"@walletconnect/window-getters@^1.0.1": + "integrity" "sha512-vHp+HqzGxORPAN8gY03qnbTMnhqIwjeRJNOMOAzePRg4xVEEE2WvYsI9G2NMjOknA8hnuYbU3/hwLcKbjhc8+Q==" + "resolved" "https://registry.npmjs.org/@walletconnect/window-getters/-/window-getters-1.0.1.tgz" + "version" "1.0.1" dependencies: - "@walletconnect/window-getters" "^1.0.0" + "tslib" "1.14.1" + +"@walletconnect/window-getters@1.0.0": + "integrity" "sha512-xB0SQsLaleIYIkSsl43vm8EwETpBzJ2gnzk7e0wMF3ktqiTGS6TFHxcprMl5R44KKh4tCcHCJwolMCaDSwtAaA==" + "resolved" "https://registry.npmjs.org/@walletconnect/window-getters/-/window-getters-1.0.0.tgz" + "version" "1.0.0" "@walletconnect/window-metadata@^1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@walletconnect/window-metadata/-/window-metadata-1.0.1.tgz#2124f75447b7e989e4e4e1581d55d25bc75f7be5" - integrity sha512-9koTqyGrM2cqFRW517BPY/iEtUDx2r1+Pwwu5m7sJ7ka79wi3EyqhqcICk/yDmv6jAS1rjKgTKXlEhanYjijcA== + "integrity" "sha512-9koTqyGrM2cqFRW517BPY/iEtUDx2r1+Pwwu5m7sJ7ka79wi3EyqhqcICk/yDmv6jAS1rjKgTKXlEhanYjijcA==" + "resolved" "https://registry.npmjs.org/@walletconnect/window-metadata/-/window-metadata-1.0.1.tgz" + "version" "1.0.1" dependencies: "@walletconnect/window-getters" "^1.0.1" - tslib "1.14.1" + "tslib" "1.14.1" + +"@walletconnect/window-metadata@1.0.0": + "integrity" "sha512-9eFvmJxIKCC3YWOL97SgRkKhlyGXkrHwamfechmqszbypFspaSk+t2jQXAEU7YClHF6Qjw5eYOmy1//zFi9/GA==" + "resolved" "https://registry.npmjs.org/@walletconnect/window-metadata/-/window-metadata-1.0.0.tgz" + "version" "1.0.0" + dependencies: + "@walletconnect/window-getters" "^1.0.0" "@wry/context@^0.7.0": - version "0.7.0" - resolved "https://registry.yarnpkg.com/@wry/context/-/context-0.7.0.tgz#be88e22c0ddf62aeb0ae9f95c3d90932c619a5c8" - integrity sha512-LcDAiYWRtwAoSOArfk7cuYvFXytxfVrdX7yxoUmK7pPITLk5jYh2F8knCwS7LjgYL8u1eidPlKKV6Ikqq0ODqQ== + "integrity" "sha512-LcDAiYWRtwAoSOArfk7cuYvFXytxfVrdX7yxoUmK7pPITLk5jYh2F8knCwS7LjgYL8u1eidPlKKV6Ikqq0ODqQ==" + "resolved" "https://registry.npmjs.org/@wry/context/-/context-0.7.0.tgz" + "version" "0.7.0" dependencies: - tslib "^2.3.0" + "tslib" "^2.3.0" "@wry/equality@^0.5.0": - version "0.5.3" - resolved "https://registry.yarnpkg.com/@wry/equality/-/equality-0.5.3.tgz#fafebc69561aa2d40340da89fa7dc4b1f6fb7831" - integrity sha512-avR+UXdSrsF2v8vIqIgmeTY0UR91UT+IyablCyKe/uk22uOJ8fusKZnH9JH9e1/EtLeNJBtagNmL3eJdnOV53g== + "integrity" "sha512-avR+UXdSrsF2v8vIqIgmeTY0UR91UT+IyablCyKe/uk22uOJ8fusKZnH9JH9e1/EtLeNJBtagNmL3eJdnOV53g==" + "resolved" "https://registry.npmjs.org/@wry/equality/-/equality-0.5.3.tgz" + "version" "0.5.3" dependencies: - tslib "^2.3.0" + "tslib" "^2.3.0" "@wry/trie@^0.3.0": - version "0.3.2" - resolved "https://registry.yarnpkg.com/@wry/trie/-/trie-0.3.2.tgz#a06f235dc184bd26396ba456711f69f8c35097e6" - integrity sha512-yRTyhWSls2OY/pYLfwff867r8ekooZ4UI+/gxot5Wj8EFwSf2rG+n+Mo/6LoLQm1TKA4GRj2+LCpbfS937dClQ== - dependencies: - tslib "^2.3.0" - -JSONStream@^1.3.5: - version "1.3.5" - resolved "https://registry.yarnpkg.com/JSONStream/-/JSONStream-1.3.5.tgz#3208c1f08d3a4d99261ab64f92302bc15e111ca0" - integrity sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ== - dependencies: - jsonparse "^1.2.0" - through ">=2.2.7 <3" - -abab@^2.0.3, abab@^2.0.5: - version "2.0.6" - resolved "https://registry.yarnpkg.com/abab/-/abab-2.0.6.tgz#41b80f2c871d19686216b82309231cfd3cb3d291" - integrity sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA== - -abbrev@1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" - integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q== - -abi-decoder@^2.4.0: - version "2.4.0" - resolved "https://registry.yarnpkg.com/abi-decoder/-/abi-decoder-2.4.0.tgz#99f72337c614d6ac45a28dbc83c08b44eba48ad5" - integrity sha512-TOLU2q1HgYOjs1GKGtVzaqrYkar6I2fT9a80rzx6/9EJ/5crb4nCGuro0grZayixem93T7omrajYmLiMkYDLDA== - dependencies: - web3-eth-abi "^1.2.1" - web3-utils "^1.2.1" - -abitype@0.8.7: - version "0.8.7" - resolved "https://registry.yarnpkg.com/abitype/-/abitype-0.8.7.tgz#e4b3f051febd08111f486c0cc6a98fa72d033622" - integrity sha512-wQ7hV8Yg/yKmGyFpqrNZufCxbszDe5es4AZGYPBitocfSqXtjrTG9JMWFcc4N30ukl2ve48aBTwt7NJxVQdU3w== - -abort-controller@3.0.0, abort-controller@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/abort-controller/-/abort-controller-3.0.0.tgz#eaf54d53b62bae4138e809ca225c8439a6efb392" - integrity sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg== - dependencies: - event-target-shim "^5.0.0" - -abortcontroller-polyfill@^1.7.3: - version "1.7.5" - resolved "https://registry.yarnpkg.com/abortcontroller-polyfill/-/abortcontroller-polyfill-1.7.5.tgz#6738495f4e901fbb57b6c0611d0c75f76c485bed" - integrity sha512-JMJ5soJWP18htbbxJjG7bG6yuI6pRhgJ0scHHTfkUjf6wjP912xZWvM+A4sJK3gqd9E8fcPbDnOefbA9Th/FIQ== - -abstract-level@1.0.3, abstract-level@^1.0.0, abstract-level@^1.0.2, abstract-level@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/abstract-level/-/abstract-level-1.0.3.tgz#78a67d3d84da55ee15201486ab44c09560070741" - integrity sha512-t6jv+xHy+VYwc4xqZMn2Pa9DjcdzvzZmQGRjTFc8spIbRGHgBrEKbPq+rYXc7CCo0lxgYvSgKVg9qZAhpVQSjA== - dependencies: - buffer "^6.0.3" - catering "^2.1.0" - is-buffer "^2.0.5" - level-supports "^4.0.0" - level-transcoder "^1.0.1" - module-error "^1.0.1" - queue-microtask "^1.2.3" - -abstract-leveldown@7.2.0, abstract-leveldown@^7.2.0: - version "7.2.0" - resolved "https://registry.yarnpkg.com/abstract-leveldown/-/abstract-leveldown-7.2.0.tgz#08d19d4e26fb5be426f7a57004851b39e1795a2e" - integrity sha512-DnhQwcFEaYsvYDnACLZhMmCWd3rkOeEvglpa4q5i/5Jlm3UIsWaxVzuXvDLFCSCWRO3yy2/+V/G7FusFgejnfQ== - dependencies: - buffer "^6.0.3" - catering "^2.0.0" - is-buffer "^2.0.5" - level-concat-iterator "^3.0.0" - level-supports "^2.0.1" - queue-microtask "^1.2.3" - -abstract-leveldown@^6.2.1: - version "6.3.0" - resolved "https://registry.yarnpkg.com/abstract-leveldown/-/abstract-leveldown-6.3.0.tgz#d25221d1e6612f820c35963ba4bd739928f6026a" - integrity sha512-TU5nlYgta8YrBMNpc9FwQzRbiXsj49gsALsXadbGHt9CROPzX5fB0rWDR5mtdpOOKa5XqRFpbj1QroPAoPzVjQ== - dependencies: - buffer "^5.5.0" - immediate "^3.2.3" - level-concat-iterator "~2.0.0" - level-supports "~1.0.0" - xtend "~4.0.0" - -abstract-leveldown@~2.7.1: - version "2.7.2" - resolved "https://registry.yarnpkg.com/abstract-leveldown/-/abstract-leveldown-2.7.2.tgz#87a44d7ebebc341d59665204834c8b7e0932cc93" - integrity sha512-+OVvxH2rHVEhWLdbudP6p0+dNMXu8JA1CbhP19T8paTYAcX7oJ4OVjT+ZUVpv7mITxXHqDMej+GdqXBmXkw09w== - dependencies: - xtend "~4.0.0" - -abstract-leveldown@~6.2.1, abstract-leveldown@~6.2.3: - version "6.2.3" - resolved "https://registry.yarnpkg.com/abstract-leveldown/-/abstract-leveldown-6.2.3.tgz#036543d87e3710f2528e47040bc3261b77a9a8eb" - integrity sha512-BsLm5vFMRUrrLeCcRc+G0t2qOaTzpoJQLOubq2XM72eNpjF5UdU5o/5NvlNhx95XHcAvcl8OMXr4mlg/fRgUXQ== - dependencies: - buffer "^5.5.0" - immediate "^3.2.3" - level-concat-iterator "~2.0.0" - level-supports "~1.0.0" - xtend "~4.0.0" - -accepts@^1.3.5, accepts@~1.3.8: - version "1.3.8" - resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.8.tgz#0bf0be125b67014adcb0b0921e62db7bffe16b2e" - integrity sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw== - dependencies: - mime-types "~2.1.34" - negotiator "0.6.3" - -acorn-globals@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/acorn-globals/-/acorn-globals-6.0.0.tgz#46cdd39f0f8ff08a876619b55f5ac8a6dc770b45" - integrity sha512-ZQl7LOWaF5ePqqcX4hLuv/bLXYQNfNWw2c0/yX/TsPRKamzHcTGQnlCjHT3TsmkOUVEPS3crCxiPfdzE/Trlhg== - dependencies: - acorn "^7.1.1" - acorn-walk "^7.1.1" - -acorn-jsx@^5.3.1: - version "5.3.2" - resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937" - integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ== - -acorn-walk@^7.1.1: - version "7.2.0" - resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-7.2.0.tgz#0de889a601203909b0fbe07b8938dc21d2e967bc" - integrity sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA== - -acorn-walk@^8.1.1: - version "8.2.0" - resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.2.0.tgz#741210f2e2426454508853a2f44d0ab83b7f69c1" - integrity sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA== - -acorn@7.1.1: - version "7.1.1" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.1.1.tgz#e35668de0b402f359de515c5482a1ab9f89a69bf" - integrity sha512-add7dgA5ppRPxCFJoAGfMDi7PIBXq1RtGo7BhbLaxwrXPOmw8gq48Y9ozT01hUKy9byMjlR20EJhu5zlkErEkg== - -acorn@^7.1.1, acorn@^7.4.0: - version "7.4.1" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa" - integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A== - -acorn@^8.2.4, acorn@^8.4.1: - version "8.8.2" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.8.2.tgz#1b2f25db02af965399b9776b0c2c391276d37c4a" - integrity sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw== - -adm-zip@^0.4.16: - version "0.4.16" - resolved "https://registry.yarnpkg.com/adm-zip/-/adm-zip-0.4.16.tgz#cf4c508fdffab02c269cbc7f471a875f05570365" - integrity sha512-TFi4HBKSGfIKsK5YCkKaaFG2m4PEDyViZmEwof3MTIgzimHLto6muaHVpbrljdIvIrFZzEq/p4nafOeLcYegrg== - -aes-js@3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/aes-js/-/aes-js-3.0.0.tgz#e21df10ad6c2053295bcbb8dab40b09dbea87e4d" - integrity sha512-H7wUZRn8WpTq9jocdxQ2c8x2sKo9ZVmzfRE13GiNJXfp7NcKYEdvl3vspKjXox6RIG2VtaRe4JFvxG4rqp2Zuw== - -aes-js@^3.1.2: - version "3.1.2" - resolved "https://registry.yarnpkg.com/aes-js/-/aes-js-3.1.2.tgz#db9aabde85d5caabbfc0d4f2a4446960f627146a" - integrity sha512-e5pEa2kBnBOgR4Y/p20pskXI74UEz7de8ZGVo58asOtvSVG5YAbJeELPZxOmt+Bnz3rX753YKhfIn4X4l1PPRQ== - -agent-base@6, agent-base@^6.0.2: - version "6.0.2" - resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-6.0.2.tgz#49fff58577cfee3f37176feab4c22e00f86d7f77" - integrity sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ== - dependencies: - debug "4" - -agentkeepalive@^4.2.1: - version "4.3.0" - resolved "https://registry.yarnpkg.com/agentkeepalive/-/agentkeepalive-4.3.0.tgz#bb999ff07412653c1803b3ced35e50729830a255" - integrity sha512-7Epl1Blf4Sy37j4v9f9FjICCh4+KAQOyXgHEwlyBiAQLbhKdq/i2QQU3amQalS/wPhdPzDXPL5DMR5bkn+YeWg== - dependencies: - debug "^4.1.0" - depd "^2.0.0" - humanize-ms "^1.2.1" - -aggregate-error@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/aggregate-error/-/aggregate-error-3.1.0.tgz#92670ff50f5359bdb7a3e0d40d0ec30c5737687a" - integrity sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA== - dependencies: - clean-stack "^2.0.0" - indent-string "^4.0.0" - -ajv-formats@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/ajv-formats/-/ajv-formats-2.1.1.tgz#6e669400659eb74973bbf2e33327180a0996b520" - integrity sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA== - dependencies: - ajv "^8.0.0" - -ajv@^6.10.0, ajv@^6.12.3, ajv@^6.12.4: - version "6.12.6" - resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4" - integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g== - dependencies: - fast-deep-equal "^3.1.1" - fast-json-stable-stringify "^2.0.0" - json-schema-traverse "^0.4.1" - uri-js "^4.2.2" - -ajv@^8.0.0, ajv@^8.0.1, ajv@^8.6.3: - version "8.12.0" - resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.12.0.tgz#d1a0527323e22f53562c567c00991577dfbe19d1" - integrity sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA== - dependencies: - fast-deep-equal "^3.1.1" - json-schema-traverse "^1.0.0" - require-from-string "^2.0.2" - uri-js "^4.2.2" - -alchemy-sdk@^2.6.3: - version "2.8.0" - resolved "https://registry.yarnpkg.com/alchemy-sdk/-/alchemy-sdk-2.8.0.tgz#ce0a80ff5c390a01eaf8f76b1f1ca3736d656fd2" - integrity sha512-0r+DhxfooKi4fG/VFbIY8SfypeF7NX91m2p3+iDeE4C+noutfSuUs82qOIUdyHvRChzlDGJSoXynhF5gxiRXLA== + "integrity" "sha512-yRTyhWSls2OY/pYLfwff867r8ekooZ4UI+/gxot5Wj8EFwSf2rG+n+Mo/6LoLQm1TKA4GRj2+LCpbfS937dClQ==" + "resolved" "https://registry.npmjs.org/@wry/trie/-/trie-0.3.2.tgz" + "version" "0.3.2" + dependencies: + "tslib" "^2.3.0" + +"abab@^2.0.3", "abab@^2.0.5": + "integrity" "sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==" + "resolved" "https://registry.npmjs.org/abab/-/abab-2.0.6.tgz" + "version" "2.0.6" + +"abbrev@1": + "integrity" "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==" + "resolved" "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz" + "version" "1.1.1" + +"abi-decoder@^2.4.0": + "integrity" "sha512-TOLU2q1HgYOjs1GKGtVzaqrYkar6I2fT9a80rzx6/9EJ/5crb4nCGuro0grZayixem93T7omrajYmLiMkYDLDA==" + "resolved" "https://registry.npmjs.org/abi-decoder/-/abi-decoder-2.4.0.tgz" + "version" "2.4.0" + dependencies: + "web3-eth-abi" "^1.2.1" + "web3-utils" "^1.2.1" + +"abitype@0.8.7": + "integrity" "sha512-wQ7hV8Yg/yKmGyFpqrNZufCxbszDe5es4AZGYPBitocfSqXtjrTG9JMWFcc4N30ukl2ve48aBTwt7NJxVQdU3w==" + "resolved" "https://registry.npmjs.org/abitype/-/abitype-0.8.7.tgz" + "version" "0.8.7" + +"abort-controller@^3.0.0", "abort-controller@3.0.0": + "integrity" "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==" + "resolved" "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz" + "version" "3.0.0" + dependencies: + "event-target-shim" "^5.0.0" + +"abortcontroller-polyfill@^1.7.3": + "integrity" "sha512-JMJ5soJWP18htbbxJjG7bG6yuI6pRhgJ0scHHTfkUjf6wjP912xZWvM+A4sJK3gqd9E8fcPbDnOefbA9Th/FIQ==" + "resolved" "https://registry.npmjs.org/abortcontroller-polyfill/-/abortcontroller-polyfill-1.7.5.tgz" + "version" "1.7.5" + +"abstract-level@^1.0.0", "abstract-level@^1.0.2", "abstract-level@^1.0.3", "abstract-level@1.0.3": + "integrity" "sha512-t6jv+xHy+VYwc4xqZMn2Pa9DjcdzvzZmQGRjTFc8spIbRGHgBrEKbPq+rYXc7CCo0lxgYvSgKVg9qZAhpVQSjA==" + "resolved" "https://registry.npmjs.org/abstract-level/-/abstract-level-1.0.3.tgz" + "version" "1.0.3" + dependencies: + "buffer" "^6.0.3" + "catering" "^2.1.0" + "is-buffer" "^2.0.5" + "level-supports" "^4.0.0" + "level-transcoder" "^1.0.1" + "module-error" "^1.0.1" + "queue-microtask" "^1.2.3" + +"abstract-leveldown@^6.2.1": + "integrity" "sha512-TU5nlYgta8YrBMNpc9FwQzRbiXsj49gsALsXadbGHt9CROPzX5fB0rWDR5mtdpOOKa5XqRFpbj1QroPAoPzVjQ==" + "resolved" "https://registry.npmjs.org/abstract-leveldown/-/abstract-leveldown-6.3.0.tgz" + "version" "6.3.0" + dependencies: + "buffer" "^5.5.0" + "immediate" "^3.2.3" + "level-concat-iterator" "~2.0.0" + "level-supports" "~1.0.0" + "xtend" "~4.0.0" + +"abstract-leveldown@^7.2.0", "abstract-leveldown@7.2.0": + "integrity" "sha512-DnhQwcFEaYsvYDnACLZhMmCWd3rkOeEvglpa4q5i/5Jlm3UIsWaxVzuXvDLFCSCWRO3yy2/+V/G7FusFgejnfQ==" + "resolved" "https://registry.npmjs.org/abstract-leveldown/-/abstract-leveldown-7.2.0.tgz" + "version" "7.2.0" + dependencies: + "buffer" "^6.0.3" + "catering" "^2.0.0" + "is-buffer" "^2.0.5" + "level-concat-iterator" "^3.0.0" + "level-supports" "^2.0.1" + "queue-microtask" "^1.2.3" + +"abstract-leveldown@~2.7.1": + "integrity" "sha512-+OVvxH2rHVEhWLdbudP6p0+dNMXu8JA1CbhP19T8paTYAcX7oJ4OVjT+ZUVpv7mITxXHqDMej+GdqXBmXkw09w==" + "resolved" "https://registry.npmjs.org/abstract-leveldown/-/abstract-leveldown-2.7.2.tgz" + "version" "2.7.2" + dependencies: + "xtend" "~4.0.0" + +"abstract-leveldown@~6.2.1", "abstract-leveldown@~6.2.3": + "integrity" "sha512-BsLm5vFMRUrrLeCcRc+G0t2qOaTzpoJQLOubq2XM72eNpjF5UdU5o/5NvlNhx95XHcAvcl8OMXr4mlg/fRgUXQ==" + "resolved" "https://registry.npmjs.org/abstract-leveldown/-/abstract-leveldown-6.2.3.tgz" + "version" "6.2.3" + dependencies: + "buffer" "^5.5.0" + "immediate" "^3.2.3" + "level-concat-iterator" "~2.0.0" + "level-supports" "~1.0.0" + "xtend" "~4.0.0" + +"accepts@^1.3.5", "accepts@~1.3.8": + "integrity" "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==" + "resolved" "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz" + "version" "1.3.8" + dependencies: + "mime-types" "~2.1.34" + "negotiator" "0.6.3" + +"acorn-globals@^6.0.0": + "integrity" "sha512-ZQl7LOWaF5ePqqcX4hLuv/bLXYQNfNWw2c0/yX/TsPRKamzHcTGQnlCjHT3TsmkOUVEPS3crCxiPfdzE/Trlhg==" + "resolved" "https://registry.npmjs.org/acorn-globals/-/acorn-globals-6.0.0.tgz" + "version" "6.0.0" + dependencies: + "acorn" "^7.1.1" + "acorn-walk" "^7.1.1" + +"acorn-jsx@^5.3.1": + "integrity" "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==" + "resolved" "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz" + "version" "5.3.2" + +"acorn-walk@^7.1.1": + "integrity" "sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==" + "resolved" "https://registry.npmjs.org/acorn-walk/-/acorn-walk-7.2.0.tgz" + "version" "7.2.0" + +"acorn-walk@^8.1.1": + "integrity" "sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==" + "resolved" "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.2.0.tgz" + "version" "8.2.0" + +"acorn@^7.1.1", "acorn@^7.4.0": + "integrity" "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==" + "resolved" "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz" + "version" "7.4.1" + +"acorn@^8.2.4": + "integrity" "sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw==" + "resolved" "https://registry.npmjs.org/acorn/-/acorn-8.8.2.tgz" + "version" "8.8.2" + +"acorn@^8.4.1": + "integrity" "sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw==" + "resolved" "https://registry.npmjs.org/acorn/-/acorn-8.8.2.tgz" + "version" "8.8.2" + +"acorn@7.1.1": + "integrity" "sha512-add7dgA5ppRPxCFJoAGfMDi7PIBXq1RtGo7BhbLaxwrXPOmw8gq48Y9ozT01hUKy9byMjlR20EJhu5zlkErEkg==" + "resolved" "https://registry.npmjs.org/acorn/-/acorn-7.1.1.tgz" + "version" "7.1.1" + +"adm-zip@^0.4.16": + "integrity" "sha512-TFi4HBKSGfIKsK5YCkKaaFG2m4PEDyViZmEwof3MTIgzimHLto6muaHVpbrljdIvIrFZzEq/p4nafOeLcYegrg==" + "resolved" "https://registry.npmjs.org/adm-zip/-/adm-zip-0.4.16.tgz" + "version" "0.4.16" + +"aes-js@^3.1.2": + "integrity" "sha512-e5pEa2kBnBOgR4Y/p20pskXI74UEz7de8ZGVo58asOtvSVG5YAbJeELPZxOmt+Bnz3rX753YKhfIn4X4l1PPRQ==" + "resolved" "https://registry.npmjs.org/aes-js/-/aes-js-3.1.2.tgz" + "version" "3.1.2" + +"aes-js@3.0.0": + "integrity" "sha512-H7wUZRn8WpTq9jocdxQ2c8x2sKo9ZVmzfRE13GiNJXfp7NcKYEdvl3vspKjXox6RIG2VtaRe4JFvxG4rqp2Zuw==" + "resolved" "https://registry.npmjs.org/aes-js/-/aes-js-3.0.0.tgz" + "version" "3.0.0" + +"agent-base@^6.0.2", "agent-base@6": + "integrity" "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==" + "resolved" "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz" + "version" "6.0.2" + dependencies: + "debug" "4" + +"agentkeepalive@^4.2.1": + "integrity" "sha512-7Epl1Blf4Sy37j4v9f9FjICCh4+KAQOyXgHEwlyBiAQLbhKdq/i2QQU3amQalS/wPhdPzDXPL5DMR5bkn+YeWg==" + "resolved" "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.3.0.tgz" + "version" "4.3.0" + dependencies: + "debug" "^4.1.0" + "depd" "^2.0.0" + "humanize-ms" "^1.2.1" + +"aggregate-error@^3.0.0": + "integrity" "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==" + "resolved" "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz" + "version" "3.1.0" + dependencies: + "clean-stack" "^2.0.0" + "indent-string" "^4.0.0" + +"ajv-formats@^2.1.1": + "integrity" "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==" + "resolved" "https://registry.npmjs.org/ajv-formats/-/ajv-formats-2.1.1.tgz" + "version" "2.1.1" + dependencies: + "ajv" "^8.0.0" + +"ajv@^6.10.0": + "integrity" "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==" + "resolved" "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz" + "version" "6.12.6" + dependencies: + "fast-deep-equal" "^3.1.1" + "fast-json-stable-stringify" "^2.0.0" + "json-schema-traverse" "^0.4.1" + "uri-js" "^4.2.2" + +"ajv@^6.12.3": + "integrity" "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==" + "resolved" "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz" + "version" "6.12.6" + dependencies: + "fast-deep-equal" "^3.1.1" + "fast-json-stable-stringify" "^2.0.0" + "json-schema-traverse" "^0.4.1" + "uri-js" "^4.2.2" + +"ajv@^6.12.4": + "integrity" "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==" + "resolved" "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz" + "version" "6.12.6" + dependencies: + "fast-deep-equal" "^3.1.1" + "fast-json-stable-stringify" "^2.0.0" + "json-schema-traverse" "^0.4.1" + "uri-js" "^4.2.2" + +"ajv@^8.0.0", "ajv@^8.0.1", "ajv@^8.6.3": + "integrity" "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==" + "resolved" "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz" + "version" "8.12.0" + dependencies: + "fast-deep-equal" "^3.1.1" + "json-schema-traverse" "^1.0.0" + "require-from-string" "^2.0.2" + "uri-js" "^4.2.2" + +"alchemy-sdk@^2.6.3": + "integrity" "sha512-0r+DhxfooKi4fG/VFbIY8SfypeF7NX91m2p3+iDeE4C+noutfSuUs82qOIUdyHvRChzlDGJSoXynhF5gxiRXLA==" + "resolved" "https://registry.npmjs.org/alchemy-sdk/-/alchemy-sdk-2.8.0.tgz" + "version" "2.8.0" dependencies: "@ethersproject/abi" "^5.7.0" "@ethersproject/abstract-provider" "^5.7.0" @@ -5860,124 +6027,136 @@ alchemy-sdk@^2.6.3: "@ethersproject/units" "^5.7.0" "@ethersproject/wallet" "^5.7.0" "@ethersproject/web" "^5.7.0" - axios "^0.26.1" - sturdy-websocket "^0.2.1" - websocket "^1.0.34" - -algo-msgpack-with-bigint@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/algo-msgpack-with-bigint/-/algo-msgpack-with-bigint-2.1.1.tgz#38bb717220525b3ff42232eefdcd9efb9ad405d6" - integrity sha512-F1tGh056XczEaEAqu7s+hlZUDWwOBT70Eq0lfMpBP2YguSQVyxRbprLq5rELXKQOyOaixTWYhMeMQMzP0U5FoQ== - -algosdk@^2.1.0, algosdk@^2.2.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/algosdk/-/algosdk-2.3.0.tgz#fcb460b3c311f76fa7908dc14a889ead8054955b" - integrity sha512-voxoY2eue2CkzwkTh6UNN5JUeVOBL9qoNX3N/+OYwS2/Xd17ACSs6tLV/6dZumEgPa40ZL8TkO4zQF/ysDpy8w== - dependencies: - algo-msgpack-with-bigint "^2.1.1" - buffer "^6.0.3" - cross-fetch "^3.1.5" - hi-base32 "^0.5.1" - js-sha256 "^0.9.0" - js-sha3 "^0.8.0" - js-sha512 "^0.8.0" - json-bigint "^1.0.0" - tweetnacl "^1.0.3" - vlq "^2.0.4" - -ansi-colors@4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-4.1.1.tgz#cbb9ae256bf750af1eab344f229aa27fe94ba348" - integrity sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA== - -ansi-colors@^4.1.1: - version "4.1.3" - resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-4.1.3.tgz#37611340eb2243e70cc604cad35d63270d48781b" - integrity sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw== - -ansi-escapes@^4.2.1, ansi-escapes@^4.3.0: - version "4.3.2" - resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-4.3.2.tgz#6b2291d1db7d98b6521d5f1efa42d0f3a9feb65e" - integrity sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ== - dependencies: - type-fest "^0.21.3" - -ansi-regex@^2.0.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" - integrity sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA== - -ansi-regex@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-3.0.1.tgz#123d6479e92ad45ad897d4054e3c7ca7db4944e1" - integrity sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw== - -ansi-regex@^4.0.0, ansi-regex@^4.1.0: - version "4.1.1" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-4.1.1.tgz#164daac87ab2d6f6db3a29875e2d1766582dabed" - integrity sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g== - -ansi-regex@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" - integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== - -ansi-styles@^3.2.0, ansi-styles@^3.2.1: - version "3.2.1" - resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" - integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== - dependencies: - color-convert "^1.9.0" - -ansi-styles@^4.0.0, ansi-styles@^4.1.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937" - integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== - dependencies: - color-convert "^2.0.1" - -ansi-styles@^5.0.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-5.2.0.tgz#07449690ad45777d1924ac2abb2fc8895dba836b" - integrity sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA== - -antlr4ts@^0.5.0-alpha.4: - version "0.5.0-alpha.4" - resolved "https://registry.yarnpkg.com/antlr4ts/-/antlr4ts-0.5.0-alpha.4.tgz#71702865a87478ed0b40c0709f422cf14d51652a" - integrity sha512-WPQDt1B74OfPv/IMS2ekXAKkTZIHl88uMetg6q3OTqgFxZ/dxDXI0EWLyZid/1Pe6hTftyg5N7gel5wNAGxXyQ== - -any-promise@1.3.0, any-promise@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/any-promise/-/any-promise-1.3.0.tgz#abc6afeedcea52e809cdc0376aed3ce39635d17f" - integrity sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A== - -anymatch@^3.0.3, anymatch@~3.1.2: - version "3.1.3" - resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.3.tgz#790c58b19ba1720a84205b57c618d5ad8524973e" - integrity sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw== - dependencies: - normalize-path "^3.0.0" - picomatch "^2.0.4" - -apollo-datasource@^3.3.2: - version "3.3.2" - resolved "https://registry.yarnpkg.com/apollo-datasource/-/apollo-datasource-3.3.2.tgz#5711f8b38d4b7b53fb788cb4dbd4a6a526ea74c8" - integrity sha512-L5TiS8E2Hn/Yz7SSnWIVbZw0ZfEIXZCa5VUiVxD9P53JvSrf4aStvsFDlGWPvpIdCR+aly2CfoB79B9/JjKFqg== + "axios" "^0.26.1" + "sturdy-websocket" "^0.2.1" + "websocket" "^1.0.34" + +"algo-msgpack-with-bigint@^2.1.1": + "integrity" "sha512-F1tGh056XczEaEAqu7s+hlZUDWwOBT70Eq0lfMpBP2YguSQVyxRbprLq5rELXKQOyOaixTWYhMeMQMzP0U5FoQ==" + "resolved" "https://registry.npmjs.org/algo-msgpack-with-bigint/-/algo-msgpack-with-bigint-2.1.1.tgz" + "version" "2.1.1" + +"algosdk@^2.1.0", "algosdk@^2.2.0": + "integrity" "sha512-voxoY2eue2CkzwkTh6UNN5JUeVOBL9qoNX3N/+OYwS2/Xd17ACSs6tLV/6dZumEgPa40ZL8TkO4zQF/ysDpy8w==" + "resolved" "https://registry.npmjs.org/algosdk/-/algosdk-2.3.0.tgz" + "version" "2.3.0" + dependencies: + "algo-msgpack-with-bigint" "^2.1.1" + "buffer" "^6.0.3" + "cross-fetch" "^3.1.5" + "hi-base32" "^0.5.1" + "js-sha256" "^0.9.0" + "js-sha3" "^0.8.0" + "js-sha512" "^0.8.0" + "json-bigint" "^1.0.0" + "tweetnacl" "^1.0.3" + "vlq" "^2.0.4" + +"ansi-colors@^4.1.1": + "integrity" "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==" + "resolved" "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz" + "version" "4.1.3" + +"ansi-colors@4.1.1": + "integrity" "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==" + "resolved" "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz" + "version" "4.1.1" + +"ansi-escapes@^4.2.1", "ansi-escapes@^4.3.0": + "integrity" "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==" + "resolved" "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz" + "version" "4.3.2" + dependencies: + "type-fest" "^0.21.3" + +"ansi-regex@^2.0.0": + "integrity" "sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==" + "resolved" "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz" + "version" "2.1.1" + +"ansi-regex@^3.0.0": + "integrity" "sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw==" + "resolved" "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.1.tgz" + "version" "3.0.1" + +"ansi-regex@^4.0.0": + "integrity" "sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==" + "resolved" "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.1.tgz" + "version" "4.1.1" + +"ansi-regex@^4.1.0": + "integrity" "sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==" + "resolved" "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.1.tgz" + "version" "4.1.1" + +"ansi-regex@^5.0.1": + "integrity" "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" + "resolved" "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz" + "version" "5.0.1" + +"ansi-styles@^3.2.0", "ansi-styles@^3.2.1": + "integrity" "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==" + "resolved" "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz" + "version" "3.2.1" + dependencies: + "color-convert" "^1.9.0" + +"ansi-styles@^4.0.0": + "integrity" "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==" + "resolved" "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz" + "version" "4.3.0" + dependencies: + "color-convert" "^2.0.1" + +"ansi-styles@^4.1.0": + "integrity" "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==" + "resolved" "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz" + "version" "4.3.0" + dependencies: + "color-convert" "^2.0.1" + +"ansi-styles@^5.0.0": + "integrity" "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==" + "resolved" "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz" + "version" "5.2.0" + +"antlr4ts@^0.5.0-alpha.4": + "integrity" "sha512-WPQDt1B74OfPv/IMS2ekXAKkTZIHl88uMetg6q3OTqgFxZ/dxDXI0EWLyZid/1Pe6hTftyg5N7gel5wNAGxXyQ==" + "resolved" "https://registry.npmjs.org/antlr4ts/-/antlr4ts-0.5.0-alpha.4.tgz" + "version" "0.5.0-alpha.4" + +"any-promise@^1.3.0", "any-promise@1.3.0": + "integrity" "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==" + "resolved" "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz" + "version" "1.3.0" + +"anymatch@^3.0.3", "anymatch@~3.1.2": + "integrity" "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==" + "resolved" "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz" + "version" "3.1.3" + dependencies: + "normalize-path" "^3.0.0" + "picomatch" "^2.0.4" + +"apollo-datasource@^3.3.2": + "integrity" "sha512-L5TiS8E2Hn/Yz7SSnWIVbZw0ZfEIXZCa5VUiVxD9P53JvSrf4aStvsFDlGWPvpIdCR+aly2CfoB79B9/JjKFqg==" + "resolved" "https://registry.npmjs.org/apollo-datasource/-/apollo-datasource-3.3.2.tgz" + "version" "3.3.2" dependencies: "@apollo/utils.keyvaluecache" "^1.0.1" - apollo-server-env "^4.2.1" + "apollo-server-env" "^4.2.1" -apollo-reporting-protobuf@^3.4.0: - version "3.4.0" - resolved "https://registry.yarnpkg.com/apollo-reporting-protobuf/-/apollo-reporting-protobuf-3.4.0.tgz#6edd31f09d4a3704d9e808d1db30eca2229ded26" - integrity sha512-h0u3EbC/9RpihWOmcSsvTW2O6RXVaD/mPEjfrPkxRPTEPWqncsgOoRJw+wih4OqfH3PvTJvoEIf4LwKrUaqWog== +"apollo-reporting-protobuf@^3.4.0": + "integrity" "sha512-h0u3EbC/9RpihWOmcSsvTW2O6RXVaD/mPEjfrPkxRPTEPWqncsgOoRJw+wih4OqfH3PvTJvoEIf4LwKrUaqWog==" + "resolved" "https://registry.npmjs.org/apollo-reporting-protobuf/-/apollo-reporting-protobuf-3.4.0.tgz" + "version" "3.4.0" dependencies: "@apollo/protobufjs" "1.2.6" -apollo-server-core@^3.12.0: - version "3.12.0" - resolved "https://registry.yarnpkg.com/apollo-server-core/-/apollo-server-core-3.12.0.tgz#8aa2a7329ce6fe1823290c45168c749db01548df" - integrity sha512-hq7iH6Cgldgmnjs9FVSZeKWRpi0/ZR+iJ1arzeD2VXGxxgk1mAm/cz1Tx0TYgegZI+FvvrRl0UhKEx7sLnIxIg== +"apollo-server-core@^3.12.0": + "integrity" "sha512-hq7iH6Cgldgmnjs9FVSZeKWRpi0/ZR+iJ1arzeD2VXGxxgk1mAm/cz1Tx0TYgegZI+FvvrRl0UhKEx7sLnIxIg==" + "resolved" "https://registry.npmjs.org/apollo-server-core/-/apollo-server-core-3.12.0.tgz" + "version" "3.12.0" dependencies: "@apollo/utils.keyvaluecache" "^1.0.1" "@apollo/utils.logger" "^1.0.0" @@ -5987,391 +6166,404 @@ apollo-server-core@^3.12.0: "@graphql-tools/mock" "^8.1.2" "@graphql-tools/schema" "^8.0.0" "@josephg/resolvable" "^1.0.0" - apollo-datasource "^3.3.2" - apollo-reporting-protobuf "^3.4.0" - apollo-server-env "^4.2.1" - apollo-server-errors "^3.3.1" - apollo-server-plugin-base "^3.7.2" - apollo-server-types "^3.8.0" - async-retry "^1.2.1" - fast-json-stable-stringify "^2.1.0" - graphql-tag "^2.11.0" - loglevel "^1.6.8" - lru-cache "^6.0.0" - node-abort-controller "^3.0.1" - sha.js "^2.4.11" - uuid "^9.0.0" - whatwg-mimetype "^3.0.0" - -apollo-server-env@^4.2.1: - version "4.2.1" - resolved "https://registry.yarnpkg.com/apollo-server-env/-/apollo-server-env-4.2.1.tgz#ea5b1944accdbdba311f179e4dfaeca482c20185" - integrity sha512-vm/7c7ld+zFMxibzqZ7SSa5tBENc4B0uye9LTfjJwGoQFY5xsUPH5FpO5j0bMUDZ8YYNbrF9SNtzc5Cngcr90g== - dependencies: - node-fetch "^2.6.7" - -apollo-server-errors@^3.3.1: - version "3.3.1" - resolved "https://registry.yarnpkg.com/apollo-server-errors/-/apollo-server-errors-3.3.1.tgz#ba5c00cdaa33d4cbd09779f8cb6f47475d1cd655" - integrity sha512-xnZJ5QWs6FixHICXHxUfm+ZWqqxrNuPlQ+kj5m6RtEgIpekOPssH/SD9gf2B4HuWV0QozorrygwZnux8POvyPA== - -apollo-server-express@^3.12.0: - version "3.12.0" - resolved "https://registry.yarnpkg.com/apollo-server-express/-/apollo-server-express-3.12.0.tgz#a6e392bb0427544b8c7e5d841ef07f7691b0c105" - integrity sha512-m8FaGPUfDOEGSm7QRWRmUUGjG/vqvpQoorkId9/FXkC57fz/A59kEdrzkMt9538Xgsa5AV+X4MEWLJhTvlW3LQ== + "apollo-datasource" "^3.3.2" + "apollo-reporting-protobuf" "^3.4.0" + "apollo-server-env" "^4.2.1" + "apollo-server-errors" "^3.3.1" + "apollo-server-plugin-base" "^3.7.2" + "apollo-server-types" "^3.8.0" + "async-retry" "^1.2.1" + "fast-json-stable-stringify" "^2.1.0" + "graphql-tag" "^2.11.0" + "loglevel" "^1.6.8" + "lru-cache" "^6.0.0" + "node-abort-controller" "^3.0.1" + "sha.js" "^2.4.11" + "uuid" "^9.0.0" + "whatwg-mimetype" "^3.0.0" + +"apollo-server-env@^4.2.1": + "integrity" "sha512-vm/7c7ld+zFMxibzqZ7SSa5tBENc4B0uye9LTfjJwGoQFY5xsUPH5FpO5j0bMUDZ8YYNbrF9SNtzc5Cngcr90g==" + "resolved" "https://registry.npmjs.org/apollo-server-env/-/apollo-server-env-4.2.1.tgz" + "version" "4.2.1" + dependencies: + "node-fetch" "^2.6.7" + +"apollo-server-errors@^3.3.1": + "integrity" "sha512-xnZJ5QWs6FixHICXHxUfm+ZWqqxrNuPlQ+kj5m6RtEgIpekOPssH/SD9gf2B4HuWV0QozorrygwZnux8POvyPA==" + "resolved" "https://registry.npmjs.org/apollo-server-errors/-/apollo-server-errors-3.3.1.tgz" + "version" "3.3.1" + +"apollo-server-express@^3.12.0": + "integrity" "sha512-m8FaGPUfDOEGSm7QRWRmUUGjG/vqvpQoorkId9/FXkC57fz/A59kEdrzkMt9538Xgsa5AV+X4MEWLJhTvlW3LQ==" + "resolved" "https://registry.npmjs.org/apollo-server-express/-/apollo-server-express-3.12.0.tgz" + "version" "3.12.0" dependencies: "@types/accepts" "^1.3.5" "@types/body-parser" "1.19.2" "@types/cors" "2.8.12" "@types/express" "4.17.14" "@types/express-serve-static-core" "4.17.31" - accepts "^1.3.5" - apollo-server-core "^3.12.0" - apollo-server-types "^3.8.0" - body-parser "^1.19.0" - cors "^2.8.5" - parseurl "^1.3.3" + "accepts" "^1.3.5" + "apollo-server-core" "^3.12.0" + "apollo-server-types" "^3.8.0" + "body-parser" "^1.19.0" + "cors" "^2.8.5" + "parseurl" "^1.3.3" -apollo-server-plugin-base@^3.7.2: - version "3.7.2" - resolved "https://registry.yarnpkg.com/apollo-server-plugin-base/-/apollo-server-plugin-base-3.7.2.tgz#c19cd137bc4c993ba2490ba2b571b0f3ce60a0cd" - integrity sha512-wE8dwGDvBOGehSsPTRZ8P/33Jan6/PmL0y0aN/1Z5a5GcbFhDaaJCjK5cav6npbbGL2DPKK0r6MPXi3k3N45aw== +"apollo-server-plugin-base@^3.7.2": + "integrity" "sha512-wE8dwGDvBOGehSsPTRZ8P/33Jan6/PmL0y0aN/1Z5a5GcbFhDaaJCjK5cav6npbbGL2DPKK0r6MPXi3k3N45aw==" + "resolved" "https://registry.npmjs.org/apollo-server-plugin-base/-/apollo-server-plugin-base-3.7.2.tgz" + "version" "3.7.2" dependencies: - apollo-server-types "^3.8.0" + "apollo-server-types" "^3.8.0" -apollo-server-types@^3.8.0: - version "3.8.0" - resolved "https://registry.yarnpkg.com/apollo-server-types/-/apollo-server-types-3.8.0.tgz#d976b6967878681f715fe2b9e4dad9ba86b1346f" - integrity sha512-ZI/8rTE4ww8BHktsVpb91Sdq7Cb71rdSkXELSwdSR0eXu600/sY+1UXhTWdiJvk+Eq5ljqoHLwLbY2+Clq2b9A== +"apollo-server-types@^3.8.0": + "integrity" "sha512-ZI/8rTE4ww8BHktsVpb91Sdq7Cb71rdSkXELSwdSR0eXu600/sY+1UXhTWdiJvk+Eq5ljqoHLwLbY2+Clq2b9A==" + "resolved" "https://registry.npmjs.org/apollo-server-types/-/apollo-server-types-3.8.0.tgz" + "version" "3.8.0" dependencies: "@apollo/utils.keyvaluecache" "^1.0.1" "@apollo/utils.logger" "^1.0.0" - apollo-reporting-protobuf "^3.4.0" - apollo-server-env "^4.2.1" + "apollo-reporting-protobuf" "^3.4.0" + "apollo-server-env" "^4.2.1" -apollo-server@^3.11.0: - version "3.12.0" - resolved "https://registry.yarnpkg.com/apollo-server/-/apollo-server-3.12.0.tgz#bd43d6dadb8cb16ed34edfc6ad97a81b1fab748a" - integrity sha512-wZHLgBoIdGxr/YpPTG5RwNnS+B2y70T/nCegCnU6Yl+H3PXB92OIguLMhdJIZVjukIOhiQT12dNIehqLQ+1hMQ== +"apollo-server@^3.11.0": + "integrity" "sha512-wZHLgBoIdGxr/YpPTG5RwNnS+B2y70T/nCegCnU6Yl+H3PXB92OIguLMhdJIZVjukIOhiQT12dNIehqLQ+1hMQ==" + "resolved" "https://registry.npmjs.org/apollo-server/-/apollo-server-3.12.0.tgz" + "version" "3.12.0" dependencies: "@types/express" "4.17.14" - apollo-server-core "^3.12.0" - apollo-server-express "^3.12.0" - express "^4.17.1" - -app-module-path@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/app-module-path/-/app-module-path-2.2.0.tgz#641aa55dfb7d6a6f0a8141c4b9c0aa50b6c24dd5" - integrity sha512-gkco+qxENJV+8vFcDiiFhuoSvRXb2a/QPqpSoWhVz829VNJfOTnELbBmPmNKFxf3xdNnw4DWCkzkDaavcX/1YQ== - -app-root-path@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/app-root-path/-/app-root-path-3.1.0.tgz#5971a2fc12ba170369a7a1ef018c71e6e47c2e86" - integrity sha512-biN3PwB2gUtjaYy/isrU3aNWI5w+fAfvHkSvCKeQGxhmYpwKFUxudR3Yya+KqVRHBmEDYh+/lTozYCFbmzX4nA== - -arg@^4.1.0: - version "4.1.3" - resolved "https://registry.yarnpkg.com/arg/-/arg-4.1.3.tgz#269fc7ad5b8e42cb63c896d5666017261c144089" - integrity sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA== - -argparse@^1.0.7: - version "1.0.10" - resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911" - integrity sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg== - dependencies: - sprintf-js "~1.0.2" - -argparse@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38" - integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q== - -argsarray@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/argsarray/-/argsarray-0.0.1.tgz#6e7207b4ecdb39b0af88303fa5ae22bda8df61cb" - integrity sha512-u96dg2GcAKtpTrBdDoFIM7PjcBA+6rSP0OR94MOReNRyUECL6MtQt5XXmRr4qrftYaef9+l5hcpO5te7sML1Cg== - -arr-diff@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-4.0.0.tgz#d6461074febfec71e7e15235761a329a5dc7c520" - integrity sha512-YVIQ82gZPGBebQV/a8dar4AitzCQs0jjXwMPZllpXMaGjXPYVUawSxQrRsjhjupyVxEvbHgUmIhKVlND+j02kA== - -arr-flatten@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/arr-flatten/-/arr-flatten-1.1.0.tgz#36048bbff4e7b47e136644316c99669ea5ae91f1" - integrity sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg== - -arr-union@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/arr-union/-/arr-union-3.1.0.tgz#e39b09aea9def866a8f206e288af63919bae39c4" - integrity sha512-sKpyeERZ02v1FeCZT8lrfJq5u6goHCtpTAzPwJYe7c8SPFOboNjNg1vz2L4VTn9T4PQxEx13TbXLmYUcS6Ug7Q== - -array-buffer-byte-length@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/array-buffer-byte-length/-/array-buffer-byte-length-1.0.0.tgz#fabe8bc193fea865f317fe7807085ee0dee5aead" - integrity sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A== - dependencies: - call-bind "^1.0.2" - is-array-buffer "^3.0.1" - -array-flatten@1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/array-flatten/-/array-flatten-1.1.1.tgz#9a5f699051b1e7073328f2a008968b64ea2955d2" - integrity sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg== - -array-includes@^3.1.6: - version "3.1.6" - resolved "https://registry.yarnpkg.com/array-includes/-/array-includes-3.1.6.tgz#9e9e720e194f198266ba9e18c29e6a9b0e4b225f" - integrity sha512-sgTbLvL6cNnw24FnbaDyjmvddQ2ML8arZsgaJhoABMoplz/4QRhtrYS+alr1BUM1Bwp6dhx8vVCBSLG+StwOFw== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.4" - es-abstract "^1.20.4" - get-intrinsic "^1.1.3" - is-string "^1.0.7" - -array-union@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/array-union/-/array-union-2.1.0.tgz#b798420adbeb1de828d84acd8a2e23d3efe85e8d" - integrity sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw== - -array-unique@^0.3.2: - version "0.3.2" - resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.3.2.tgz#a894b75d4bc4f6cd679ef3244a9fd8f46ae2d428" - integrity sha512-SleRWjh9JUud2wH1hPs9rZBZ33H6T9HOiL0uwGnGx9FpE6wKGyfWugmbkEOIs6qWrZhg0LWeLziLrEwQJhs5mQ== - -array.prototype.flat@^1.3.1: - version "1.3.1" - resolved "https://registry.yarnpkg.com/array.prototype.flat/-/array.prototype.flat-1.3.1.tgz#ffc6576a7ca3efc2f46a143b9d1dda9b4b3cf5e2" - integrity sha512-roTU0KWIOmJ4DRLmwKd19Otg0/mT3qPNt0Qb3GWW8iObuZXxrjB/pzn0R3hqpRSWg4HCwqx+0vwOnWnvlOyeIA== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.4" - es-abstract "^1.20.4" - es-shim-unscopables "^1.0.0" - -array.prototype.flatmap@^1.3.1: - version "1.3.1" - resolved "https://registry.yarnpkg.com/array.prototype.flatmap/-/array.prototype.flatmap-1.3.1.tgz#1aae7903c2100433cb8261cd4ed310aab5c4a183" - integrity sha512-8UGn9O1FDVvMNB0UlLv4voxRMze7+FpHyF5mSMRjWHUMlpoDViniy05870VlxhfgTnLbpuwTzvD76MTtWxB/mQ== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.4" - es-abstract "^1.20.4" - es-shim-unscopables "^1.0.0" - -asap@^2.0.0: - version "2.0.6" - resolved "https://registry.yarnpkg.com/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46" - integrity sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA== - -asn1.js@^5.2.0: - version "5.4.1" - resolved "https://registry.yarnpkg.com/asn1.js/-/asn1.js-5.4.1.tgz#11a980b84ebb91781ce35b0fdc2ee294e3783f07" - integrity sha512-+I//4cYPccV8LdmBLiX8CYvf9Sp3vQsrqu2QNXRcrbiWvcx/UdlFiqUJJzxRQxgsZmvhXhn4cSKeSmoFjVdupA== - dependencies: - bn.js "^4.0.0" - inherits "^2.0.1" - minimalistic-assert "^1.0.0" - safer-buffer "^2.1.0" - -asn1@~0.2.3: - version "0.2.6" - resolved "https://registry.yarnpkg.com/asn1/-/asn1-0.2.6.tgz#0d3a7bb6e64e02a90c0303b31f292868ea09a08d" - integrity sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ== - dependencies: - safer-buffer "~2.1.0" - -assert-plus@1.0.0, assert-plus@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525" - integrity sha512-NfJ4UzBCcQGLDlQq7nHxH+tv3kyZ0hHQqF5BO6J7tNJeP5do1llPr8dZ8zHonfhAu0PHAdMkSo+8o0wxg9lZWw== - -assert@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/assert/-/assert-2.0.0.tgz#95fc1c616d48713510680f2eaf2d10dd22e02d32" - integrity sha512-se5Cd+js9dXJnu6Ag2JFc00t+HmHOen+8Q+L7O9zI0PqQXr20uk2J0XQqMxZEeo5U50o8Nvmmx7dZrl+Ufr35A== - dependencies: - es6-object-assign "^1.1.0" - is-nan "^1.2.1" - object-is "^1.0.1" - util "^0.12.0" - -assertion-error@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/assertion-error/-/assertion-error-1.1.0.tgz#e60b6b0e8f301bd97e5375215bda406c85118c0b" - integrity sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw== - -assign-symbols@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/assign-symbols/-/assign-symbols-1.0.0.tgz#59667f41fadd4f20ccbc2bb96b8d4f7f78ec0367" - integrity sha512-Q+JC7Whu8HhmTdBph/Tq59IoRtoy6KAm5zzPv00WdujX82lbAL8K7WVjne7vdCsAmbF4AYaDOPyO3k0kl8qIrw== - -astral-regex@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/astral-regex/-/astral-regex-2.0.0.tgz#483143c567aeed4785759c0865786dc77d7d2e31" - integrity sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ== - -async-eventemitter@0.2.4, async-eventemitter@^0.2.4: - version "0.2.4" - resolved "https://registry.yarnpkg.com/async-eventemitter/-/async-eventemitter-0.2.4.tgz#f5e7c8ca7d3e46aab9ec40a292baf686a0bafaca" - integrity sha512-pd20BwL7Yt1zwDFy+8MX8F1+WCT8aQeKj0kQnTrH9WaeRETlRamVhD0JtRPmrV4GfOJ2F9CvdQkZeZhnh2TuHw== - dependencies: - async "^2.4.0" - -async-limiter@~1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/async-limiter/-/async-limiter-1.0.1.tgz#dd379e94f0db8310b08291f9d64c3209766617fd" - integrity sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ== - -async-mutex@^0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/async-mutex/-/async-mutex-0.4.0.tgz#ae8048cd4d04ace94347507504b3cf15e631c25f" - integrity sha512-eJFZ1YhRR8UN8eBLoNzcDPcy/jqjsg6I1AP+KvWQX80BqOSW1oJPJXDylPUEeMr2ZQvHgnQ//Lp6f3RQ1zI7HA== - dependencies: - tslib "^2.4.0" - -async-retry@^1.2.1, async-retry@^1.3.1: - version "1.3.3" - resolved "https://registry.yarnpkg.com/async-retry/-/async-retry-1.3.3.tgz#0e7f36c04d8478e7a58bdbed80cedf977785f280" - integrity sha512-wfr/jstw9xNi/0teMHrRW7dsz3Lt5ARhYNZ2ewpadnhaIp5mbALhOAP+EAdsC7t4Z6wqsDVv9+W6gm1Dk9mEyw== - dependencies: - retry "0.13.1" - -async@^2.4.0: - version "2.6.4" - resolved "https://registry.yarnpkg.com/async/-/async-2.6.4.tgz#706b7ff6084664cd7eae713f6f965433b5504221" - integrity sha512-mzo5dfJYwAn29PeiJ0zvwTo04zj8HDJj0Mn8TD7sno7q12prdbnasKJHhkm2c1LgrhlJ0teaea8860oxi51mGA== - dependencies: - lodash "^4.17.14" - -async@^3.2.3: - version "3.2.4" - resolved "https://registry.yarnpkg.com/async/-/async-3.2.4.tgz#2d22e00f8cddeb5fde5dd33522b56d1cf569a81c" - integrity sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ== - -asynckit@^0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" - integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q== - -at-least-node@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/at-least-node/-/at-least-node-1.0.0.tgz#602cd4b46e844ad4effc92a8011a3c46e0238dc2" - integrity sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg== - -atob@^2.1.2: - version "2.1.2" - resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.2.tgz#6d9517eb9e030d2436666651e86bd9f6f13533c9" - integrity sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg== - -atomic-sleep@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/atomic-sleep/-/atomic-sleep-1.0.0.tgz#eb85b77a601fc932cfe432c5acd364a9e2c9075b" - integrity sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ== - -atomically@^1.7.0: - version "1.7.0" - resolved "https://registry.yarnpkg.com/atomically/-/atomically-1.7.0.tgz#c07a0458432ea6dbc9a3506fffa424b48bccaafe" - integrity sha512-Xcz9l0z7y9yQ9rdDaxlmaI4uJHf/T8g9hOEzJcsEqX2SjCj4J20uK7+ldkDHMbpJDK76wF7xEIgxc/vSlsfw5w== - -available-typed-arrays@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz#92f95616501069d07d10edb2fc37d3e1c65123b7" - integrity sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw== - -await-timeout@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/await-timeout/-/await-timeout-1.1.1.tgz#d42062ee6bc4eb271fe4d4f851eb658dae7e3906" - integrity sha512-gsDXAS6XVc4Jt+7S92MPX6Noq69bdeXUPEaXd8dk3+yVr629LTDLxNt4j1ycBbrU+AStK2PhKIyNIM+xzWMVOQ== - -aws-sign2@~0.7.0: - version "0.7.0" - resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.7.0.tgz#b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8" - integrity sha512-08kcGqnYf/YmjoRhfxyu+CLxBjUtHLXLXX/vUfx9l2LYzG3c1m61nrpyFUZI6zeS+Li/wWMMidD9KgrqtGq3mA== - -aws4@^1.8.0: - version "1.12.0" - resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.12.0.tgz#ce1c9d143389679e253b314241ea9aa5cec980d3" - integrity sha512-NmWvPnx0F1SfrQbYwOi7OeaNGokp9XhzNioJ/CSBs8Qa4vxug81mhJEAVZwxXuBmYB5KDRfMq/F3RR0BIU7sWg== - -axios@0.26.0: - version "0.26.0" - resolved "https://registry.yarnpkg.com/axios/-/axios-0.26.0.tgz#9a318f1c69ec108f8cd5f3c3d390366635e13928" - integrity sha512-lKoGLMYtHvFrPVt3r+RBMp9nh34N0M8zEfCWqdWZx6phynIEhQqAdydpyBAAG211zlhX9Rgu08cOamy6XjE5Og== - dependencies: - follow-redirects "^1.14.8" - -axios@1.2.4: - version "1.2.4" - resolved "https://registry.yarnpkg.com/axios/-/axios-1.2.4.tgz#6555dd955d2efa9b8f4cb4cb0b3371b7b243537a" - integrity sha512-lIQuCfBJvZB/Bv7+RWUqEJqNShGOVpk9v7P0ZWx5Ip0qY6u7JBAU6dzQPMLasU9vHL2uD8av/1FDJXj7n6c39w== - dependencies: - follow-redirects "^1.15.0" - form-data "^4.0.0" - proxy-from-env "^1.1.0" - -axios@^0.21.0, axios@^0.21.1, axios@^0.21.2: - version "0.21.4" - resolved "https://registry.yarnpkg.com/axios/-/axios-0.21.4.tgz#c67b90dc0568e5c1cf2b0b858c43ba28e2eda575" - integrity sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg== + "apollo-server-core" "^3.12.0" + "apollo-server-express" "^3.12.0" + "express" "^4.17.1" + +"app-module-path@^2.2.0": + "integrity" "sha512-gkco+qxENJV+8vFcDiiFhuoSvRXb2a/QPqpSoWhVz829VNJfOTnELbBmPmNKFxf3xdNnw4DWCkzkDaavcX/1YQ==" + "resolved" "https://registry.npmjs.org/app-module-path/-/app-module-path-2.2.0.tgz" + "version" "2.2.0" + +"app-root-path@^3.0.0": + "integrity" "sha512-biN3PwB2gUtjaYy/isrU3aNWI5w+fAfvHkSvCKeQGxhmYpwKFUxudR3Yya+KqVRHBmEDYh+/lTozYCFbmzX4nA==" + "resolved" "https://registry.npmjs.org/app-root-path/-/app-root-path-3.1.0.tgz" + "version" "3.1.0" + +"aproba@^1.0.3 || ^2.0.0": + "integrity" "sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ==" + "resolved" "https://registry.npmjs.org/aproba/-/aproba-2.0.0.tgz" + "version" "2.0.0" + +"are-we-there-yet@^2.0.0": + "integrity" "sha512-Ci/qENmwHnsYo9xKIcUJN5LeDKdJ6R1Z1j9V/J5wyq8nh/mYPEpIKJbBZXtZjG04HiK7zV/p6Vs9952MrMeUIw==" + "resolved" "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-2.0.0.tgz" + "version" "2.0.0" + dependencies: + "delegates" "^1.0.0" + "readable-stream" "^3.6.0" + +"arg@^4.1.0": + "integrity" "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==" + "resolved" "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz" + "version" "4.1.3" + +"argparse@^1.0.7": + "integrity" "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==" + "resolved" "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz" + "version" "1.0.10" + dependencies: + "sprintf-js" "~1.0.2" + +"argparse@^2.0.1": + "integrity" "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" + "resolved" "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz" + "version" "2.0.1" + +"argsarray@0.0.1": + "integrity" "sha512-u96dg2GcAKtpTrBdDoFIM7PjcBA+6rSP0OR94MOReNRyUECL6MtQt5XXmRr4qrftYaef9+l5hcpO5te7sML1Cg==" + "resolved" "https://registry.npmjs.org/argsarray/-/argsarray-0.0.1.tgz" + "version" "0.0.1" + +"arr-diff@^4.0.0": + "integrity" "sha512-YVIQ82gZPGBebQV/a8dar4AitzCQs0jjXwMPZllpXMaGjXPYVUawSxQrRsjhjupyVxEvbHgUmIhKVlND+j02kA==" + "resolved" "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz" + "version" "4.0.0" + +"arr-flatten@^1.1.0": + "integrity" "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==" + "resolved" "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz" + "version" "1.1.0" + +"arr-union@^3.1.0": + "integrity" "sha512-sKpyeERZ02v1FeCZT8lrfJq5u6goHCtpTAzPwJYe7c8SPFOboNjNg1vz2L4VTn9T4PQxEx13TbXLmYUcS6Ug7Q==" + "resolved" "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz" + "version" "3.1.0" + +"array-buffer-byte-length@^1.0.0": + "integrity" "sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A==" + "resolved" "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.0.tgz" + "version" "1.0.0" + dependencies: + "call-bind" "^1.0.2" + "is-array-buffer" "^3.0.1" + +"array-flatten@1.1.1": + "integrity" "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==" + "resolved" "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz" + "version" "1.1.1" + +"array-includes@^3.1.6": + "integrity" "sha512-sgTbLvL6cNnw24FnbaDyjmvddQ2ML8arZsgaJhoABMoplz/4QRhtrYS+alr1BUM1Bwp6dhx8vVCBSLG+StwOFw==" + "resolved" "https://registry.npmjs.org/array-includes/-/array-includes-3.1.6.tgz" + "version" "3.1.6" + dependencies: + "call-bind" "^1.0.2" + "define-properties" "^1.1.4" + "es-abstract" "^1.20.4" + "get-intrinsic" "^1.1.3" + "is-string" "^1.0.7" + +"array-union@^2.1.0": + "integrity" "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==" + "resolved" "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz" + "version" "2.1.0" + +"array-unique@^0.3.2": + "integrity" "sha512-SleRWjh9JUud2wH1hPs9rZBZ33H6T9HOiL0uwGnGx9FpE6wKGyfWugmbkEOIs6qWrZhg0LWeLziLrEwQJhs5mQ==" + "resolved" "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz" + "version" "0.3.2" + +"array.prototype.flat@^1.3.1": + "integrity" "sha512-roTU0KWIOmJ4DRLmwKd19Otg0/mT3qPNt0Qb3GWW8iObuZXxrjB/pzn0R3hqpRSWg4HCwqx+0vwOnWnvlOyeIA==" + "resolved" "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.1.tgz" + "version" "1.3.1" + dependencies: + "call-bind" "^1.0.2" + "define-properties" "^1.1.4" + "es-abstract" "^1.20.4" + "es-shim-unscopables" "^1.0.0" + +"array.prototype.flatmap@^1.3.1": + "integrity" "sha512-8UGn9O1FDVvMNB0UlLv4voxRMze7+FpHyF5mSMRjWHUMlpoDViniy05870VlxhfgTnLbpuwTzvD76MTtWxB/mQ==" + "resolved" "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.1.tgz" + "version" "1.3.1" + dependencies: + "call-bind" "^1.0.2" + "define-properties" "^1.1.4" + "es-abstract" "^1.20.4" + "es-shim-unscopables" "^1.0.0" + +"asap@^2.0.0": + "integrity" "sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==" + "resolved" "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz" + "version" "2.0.6" + +"asn1.js@^5.2.0": + "integrity" "sha512-+I//4cYPccV8LdmBLiX8CYvf9Sp3vQsrqu2QNXRcrbiWvcx/UdlFiqUJJzxRQxgsZmvhXhn4cSKeSmoFjVdupA==" + "resolved" "https://registry.npmjs.org/asn1.js/-/asn1.js-5.4.1.tgz" + "version" "5.4.1" + dependencies: + "bn.js" "^4.0.0" + "inherits" "^2.0.1" + "minimalistic-assert" "^1.0.0" + "safer-buffer" "^2.1.0" + +"asn1@~0.2.3": + "integrity" "sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ==" + "resolved" "https://registry.npmjs.org/asn1/-/asn1-0.2.6.tgz" + "version" "0.2.6" + dependencies: + "safer-buffer" "~2.1.0" + +"assert-plus@^1.0.0", "assert-plus@1.0.0": + "integrity" "sha512-NfJ4UzBCcQGLDlQq7nHxH+tv3kyZ0hHQqF5BO6J7tNJeP5do1llPr8dZ8zHonfhAu0PHAdMkSo+8o0wxg9lZWw==" + "resolved" "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz" + "version" "1.0.0" + +"assert@^2.0.0": + "integrity" "sha512-se5Cd+js9dXJnu6Ag2JFc00t+HmHOen+8Q+L7O9zI0PqQXr20uk2J0XQqMxZEeo5U50o8Nvmmx7dZrl+Ufr35A==" + "resolved" "https://registry.npmjs.org/assert/-/assert-2.0.0.tgz" + "version" "2.0.0" + dependencies: + "es6-object-assign" "^1.1.0" + "is-nan" "^1.2.1" + "object-is" "^1.0.1" + "util" "^0.12.0" + +"assertion-error@^1.1.0": + "integrity" "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==" + "resolved" "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz" + "version" "1.1.0" + +"assign-symbols@^1.0.0": + "integrity" "sha512-Q+JC7Whu8HhmTdBph/Tq59IoRtoy6KAm5zzPv00WdujX82lbAL8K7WVjne7vdCsAmbF4AYaDOPyO3k0kl8qIrw==" + "resolved" "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz" + "version" "1.0.0" + +"astral-regex@^2.0.0": + "integrity" "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==" + "resolved" "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz" + "version" "2.0.0" + +"async-eventemitter@^0.2.4", "async-eventemitter@0.2.4": + "integrity" "sha512-pd20BwL7Yt1zwDFy+8MX8F1+WCT8aQeKj0kQnTrH9WaeRETlRamVhD0JtRPmrV4GfOJ2F9CvdQkZeZhnh2TuHw==" + "resolved" "https://registry.npmjs.org/async-eventemitter/-/async-eventemitter-0.2.4.tgz" + "version" "0.2.4" + dependencies: + "async" "^2.4.0" + +"async-limiter@~1.0.0": + "integrity" "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==" + "resolved" "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz" + "version" "1.0.1" + +"async-mutex@^0.4.0": + "integrity" "sha512-eJFZ1YhRR8UN8eBLoNzcDPcy/jqjsg6I1AP+KvWQX80BqOSW1oJPJXDylPUEeMr2ZQvHgnQ//Lp6f3RQ1zI7HA==" + "resolved" "https://registry.npmjs.org/async-mutex/-/async-mutex-0.4.0.tgz" + "version" "0.4.0" + dependencies: + "tslib" "^2.4.0" + +"async-retry@^1.2.1", "async-retry@^1.3.1": + "integrity" "sha512-wfr/jstw9xNi/0teMHrRW7dsz3Lt5ARhYNZ2ewpadnhaIp5mbALhOAP+EAdsC7t4Z6wqsDVv9+W6gm1Dk9mEyw==" + "resolved" "https://registry.npmjs.org/async-retry/-/async-retry-1.3.3.tgz" + "version" "1.3.3" + dependencies: + "retry" "0.13.1" + +"async@^2.4.0": + "integrity" "sha512-mzo5dfJYwAn29PeiJ0zvwTo04zj8HDJj0Mn8TD7sno7q12prdbnasKJHhkm2c1LgrhlJ0teaea8860oxi51mGA==" + "resolved" "https://registry.npmjs.org/async/-/async-2.6.4.tgz" + "version" "2.6.4" + dependencies: + "lodash" "^4.17.14" + +"async@^3.2.3": + "integrity" "sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==" + "resolved" "https://registry.npmjs.org/async/-/async-3.2.4.tgz" + "version" "3.2.4" + +"asynckit@^0.4.0": + "integrity" "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" + "resolved" "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz" + "version" "0.4.0" + +"at-least-node@^1.0.0": + "integrity" "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==" + "resolved" "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz" + "version" "1.0.0" + +"atob@^2.1.2": + "integrity" "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==" + "resolved" "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz" + "version" "2.1.2" + +"atomic-sleep@^1.0.0": + "integrity" "sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ==" + "resolved" "https://registry.npmjs.org/atomic-sleep/-/atomic-sleep-1.0.0.tgz" + "version" "1.0.0" + +"atomically@^1.7.0": + "integrity" "sha512-Xcz9l0z7y9yQ9rdDaxlmaI4uJHf/T8g9hOEzJcsEqX2SjCj4J20uK7+ldkDHMbpJDK76wF7xEIgxc/vSlsfw5w==" + "resolved" "https://registry.npmjs.org/atomically/-/atomically-1.7.0.tgz" + "version" "1.7.0" + +"available-typed-arrays@^1.0.5": + "integrity" "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==" + "resolved" "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz" + "version" "1.0.5" + +"await-timeout@^1.1.1": + "integrity" "sha512-gsDXAS6XVc4Jt+7S92MPX6Noq69bdeXUPEaXd8dk3+yVr629LTDLxNt4j1ycBbrU+AStK2PhKIyNIM+xzWMVOQ==" + "resolved" "https://registry.npmjs.org/await-timeout/-/await-timeout-1.1.1.tgz" + "version" "1.1.1" + +"aws-sign2@~0.7.0": + "integrity" "sha512-08kcGqnYf/YmjoRhfxyu+CLxBjUtHLXLXX/vUfx9l2LYzG3c1m61nrpyFUZI6zeS+Li/wWMMidD9KgrqtGq3mA==" + "resolved" "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz" + "version" "0.7.0" + +"aws4@^1.8.0": + "integrity" "sha512-NmWvPnx0F1SfrQbYwOi7OeaNGokp9XhzNioJ/CSBs8Qa4vxug81mhJEAVZwxXuBmYB5KDRfMq/F3RR0BIU7sWg==" + "resolved" "https://registry.npmjs.org/aws4/-/aws4-1.12.0.tgz" + "version" "1.12.0" + +"axios@^0.21.0", "axios@^0.21.1", "axios@^0.21.2": + "integrity" "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==" + "resolved" "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz" + "version" "0.21.4" + dependencies: + "follow-redirects" "^1.14.0" + +"axios@^0.26.1": + "integrity" "sha512-fPwcX4EvnSHuInCMItEhAGnaSEXRBjtzh9fOtsE6E1G6p7vl7edEeZe11QHf18+6+9gR5PbKV/sGKNaD8YaMeA==" + "resolved" "https://registry.npmjs.org/axios/-/axios-0.26.1.tgz" + "version" "0.26.1" + dependencies: + "follow-redirects" "^1.14.8" + +"axios@^0.27.2": + "integrity" "sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==" + "resolved" "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz" + "version" "0.27.2" + dependencies: + "follow-redirects" "^1.14.9" + "form-data" "^4.0.0" + +"axios@0.26.0": + "integrity" "sha512-lKoGLMYtHvFrPVt3r+RBMp9nh34N0M8zEfCWqdWZx6phynIEhQqAdydpyBAAG211zlhX9Rgu08cOamy6XjE5Og==" + "resolved" "https://registry.npmjs.org/axios/-/axios-0.26.0.tgz" + "version" "0.26.0" + dependencies: + "follow-redirects" "^1.14.8" + +"axios@1.2.4": + "integrity" "sha512-lIQuCfBJvZB/Bv7+RWUqEJqNShGOVpk9v7P0ZWx5Ip0qY6u7JBAU6dzQPMLasU9vHL2uD8av/1FDJXj7n6c39w==" + "resolved" "https://registry.npmjs.org/axios/-/axios-1.2.4.tgz" + "version" "1.2.4" dependencies: - follow-redirects "^1.14.0" - -axios@^0.26.1: - version "0.26.1" - resolved "https://registry.yarnpkg.com/axios/-/axios-0.26.1.tgz#1ede41c51fcf51bbbd6fd43669caaa4f0495aaa9" - integrity sha512-fPwcX4EvnSHuInCMItEhAGnaSEXRBjtzh9fOtsE6E1G6p7vl7edEeZe11QHf18+6+9gR5PbKV/sGKNaD8YaMeA== - dependencies: - follow-redirects "^1.14.8" - -axios@^0.27.2: - version "0.27.2" - resolved "https://registry.yarnpkg.com/axios/-/axios-0.27.2.tgz#207658cc8621606e586c85db4b41a750e756d972" - integrity sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ== - dependencies: - follow-redirects "^1.14.9" - form-data "^4.0.0" - -babel-jest@^27.5.1: - version "27.5.1" - resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-27.5.1.tgz#a1bf8d61928edfefd21da27eb86a695bfd691444" - integrity sha512-cdQ5dXjGRd0IBRATiQ4mZGlGlRE8kJpjPOixdNRdT+m3UcNqmYWN6rK6nvtXYfY3D76cb8s/O1Ss8ea24PIwcg== + "follow-redirects" "^1.15.0" + "form-data" "^4.0.0" + "proxy-from-env" "^1.1.0" + +"babel-jest@^27.5.1": + "integrity" "sha512-cdQ5dXjGRd0IBRATiQ4mZGlGlRE8kJpjPOixdNRdT+m3UcNqmYWN6rK6nvtXYfY3D76cb8s/O1Ss8ea24PIwcg==" + "resolved" "https://registry.npmjs.org/babel-jest/-/babel-jest-27.5.1.tgz" + "version" "27.5.1" dependencies: "@jest/transform" "^27.5.1" "@jest/types" "^27.5.1" "@types/babel__core" "^7.1.14" - babel-plugin-istanbul "^6.1.1" - babel-preset-jest "^27.5.1" - chalk "^4.0.0" - graceful-fs "^4.2.9" - slash "^3.0.0" + "babel-plugin-istanbul" "^6.1.1" + "babel-preset-jest" "^27.5.1" + "chalk" "^4.0.0" + "graceful-fs" "^4.2.9" + "slash" "^3.0.0" -babel-plugin-istanbul@^6.1.1: - version "6.1.1" - resolved "https://registry.yarnpkg.com/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz#fa88ec59232fd9b4e36dbbc540a8ec9a9b47da73" - integrity sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA== +"babel-plugin-istanbul@^6.1.1": + "integrity" "sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==" + "resolved" "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz" + "version" "6.1.1" dependencies: "@babel/helper-plugin-utils" "^7.0.0" "@istanbuljs/load-nyc-config" "^1.0.0" "@istanbuljs/schema" "^0.1.2" - istanbul-lib-instrument "^5.0.4" - test-exclude "^6.0.0" + "istanbul-lib-instrument" "^5.0.4" + "test-exclude" "^6.0.0" -babel-plugin-jest-hoist@^27.5.1: - version "27.5.1" - resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-27.5.1.tgz#9be98ecf28c331eb9f5df9c72d6f89deb8181c2e" - integrity sha512-50wCwD5EMNW4aRpOwtqzyZHIewTYNxLA4nhB+09d8BIssfNfzBRhkBIHiaPv1Si226TQSvp8gxAJm2iY2qs2hQ== +"babel-plugin-jest-hoist@^27.5.1": + "integrity" "sha512-50wCwD5EMNW4aRpOwtqzyZHIewTYNxLA4nhB+09d8BIssfNfzBRhkBIHiaPv1Si226TQSvp8gxAJm2iY2qs2hQ==" + "resolved" "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-27.5.1.tgz" + "version" "27.5.1" dependencies: "@babel/template" "^7.3.3" "@babel/types" "^7.3.3" "@types/babel__core" "^7.0.0" "@types/babel__traverse" "^7.0.6" -babel-preset-current-node-syntax@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.0.1.tgz#b4399239b89b2a011f9ddbe3e4f401fc40cff73b" - integrity sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ== +"babel-preset-current-node-syntax@^1.0.0": + "integrity" "sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ==" + "resolved" "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.0.1.tgz" + "version" "1.0.1" dependencies: "@babel/plugin-syntax-async-generators" "^7.8.4" "@babel/plugin-syntax-bigint" "^7.8.3" @@ -6386,2531 +6578,2684 @@ babel-preset-current-node-syntax@^1.0.0: "@babel/plugin-syntax-optional-chaining" "^7.8.3" "@babel/plugin-syntax-top-level-await" "^7.8.3" -babel-preset-jest@^27.5.1: - version "27.5.1" - resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-27.5.1.tgz#91f10f58034cb7989cb4f962b69fa6eef6a6bc81" - integrity sha512-Nptf2FzlPCWYuJg41HBqXVT8ym6bXOevuCTbhxlUpjwtysGaIWFvDEjp4y+G7fl13FgOdjs7P/DmErqH7da0Ag== - dependencies: - babel-plugin-jest-hoist "^27.5.1" - babel-preset-current-node-syntax "^1.0.0" - -balanced-match@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" - integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== - -base-x@^3.0.2, base-x@^3.0.6, base-x@^3.0.8, base-x@^3.0.9: - version "3.0.9" - resolved "https://registry.yarnpkg.com/base-x/-/base-x-3.0.9.tgz#6349aaabb58526332de9f60995e548a53fe21320" - integrity sha512-H7JU6iBHTal1gp56aKoaa//YUxEaAOUiydvrV/pILqIHXTtqxSkATOnDA2u+jZ/61sD+L/412+7kzXRtWukhpQ== - dependencies: - safe-buffer "^5.0.1" - -base-x@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/base-x/-/base-x-4.0.0.tgz#d0e3b7753450c73f8ad2389b5c018a4af7b2224a" - integrity sha512-FuwxlW4H5kh37X/oW59pwTzzTKRzfrrQwhmyspRM7swOEZcHtDZSCt45U6oKgtuFE+WYPblePMVIPR4RZrh/hw== - -base64-js@^1.0.2, base64-js@^1.3.0, base64-js@^1.3.1, base64-js@^1.5.1: - version "1.5.1" - resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" - integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== - -base64-sol@1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/base64-sol/-/base64-sol-1.0.1.tgz#91317aa341f0bc763811783c5729f1c2574600f6" - integrity sha512-ld3cCNMeXt4uJXmLZBHFGMvVpK9KsLVEhPpFRXnvSVAqABKbuNZg/+dsq3NuM+wxFLb/UrVkz7m1ciWmkMfTbg== - -base64url@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/base64url/-/base64url-3.0.1.tgz#6399d572e2bc3f90a9a8b22d5dbb0a32d33f788d" - integrity sha512-ir1UPr3dkwexU7FdV8qBBbNDRUhMmIekYMFZfi+C/sLNnRESKPl23nB9b2pltqfOQNnGzsDdId90AEtG5tCx4A== - -base@^0.11.1: - version "0.11.2" - resolved "https://registry.yarnpkg.com/base/-/base-0.11.2.tgz#7bde5ced145b6d551a90db87f83c558b4eb48a8f" - integrity sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg== - dependencies: - cache-base "^1.0.1" - class-utils "^0.3.5" - component-emitter "^1.2.1" - define-property "^1.0.0" - isobject "^3.0.1" - mixin-deep "^1.2.0" - pascalcase "^0.1.1" - -basic-auth@~2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/basic-auth/-/basic-auth-2.0.1.tgz#b998279bf47ce38344b4f3cf916d4679bbf51e3a" - integrity sha512-NF+epuEdnUYVlGuhaxbbq+dvJttwLnGY+YixlXlME5KpQ5W3CnXA5cVTneY3SPbPDRkcjMbifrwmFYcClgOZeg== - dependencies: - safe-buffer "5.1.2" - -bchaddrjs@^0.5.2: - version "0.5.2" - resolved "https://registry.yarnpkg.com/bchaddrjs/-/bchaddrjs-0.5.2.tgz#1f52b5077329774e7c82d4882964628106bb11a0" - integrity sha512-OO7gIn3m7ea4FVx4cT8gdlWQR2+++EquhdpWQJH9BQjK63tJJ6ngB3QMZDO6DiBoXiIGUsTPHjlrHVxPGcGxLQ== - dependencies: - bs58check "2.1.2" - buffer "^6.0.3" - cashaddrjs "0.4.4" - stream-browserify "^3.0.0" - -bcrypt-pbkdf@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz#a4301d389b6a43f9b67ff3ca11a3f6637e360e9e" - integrity sha512-qeFIXtP4MSoi6NLqO12WfqARWWuCKi2Rn/9hJLEmtB5yTNr9DqFWkJRCf2qShWzPeAMRnOgCrq0sg/KLv5ES9w== - dependencies: - tweetnacl "^0.14.3" - -bech32@1.1.4, bech32@^1.1.4: - version "1.1.4" - resolved "https://registry.yarnpkg.com/bech32/-/bech32-1.1.4.tgz#e38c9f37bf179b8eb16ae3a772b40c356d4832e9" - integrity sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ== - -bech32@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/bech32/-/bech32-2.0.0.tgz#078d3686535075c8c79709f054b1b226a133b355" - integrity sha512-LcknSilhIGatDAsY1ak2I8VtGaHNhgMSYVxFrGLXv+xLHytaKZKcaUJJUE7qmBr7h33o5YQwP55pMI0xmkpJwg== - -big-integer@1.6.36: - version "1.6.36" - resolved "https://registry.yarnpkg.com/big-integer/-/big-integer-1.6.36.tgz#78631076265d4ae3555c04f85e7d9d2f3a071a36" - integrity sha512-t70bfa7HYEA1D9idDbmuv7YbsbVkQ+Hp+8KFSul4aE5e/i1bjCNIRYJZlA8Q8p0r9T8cF/RVvwUgRA//FydEyg== - -big-integer@^1.6.48: - version "1.6.51" - resolved "https://registry.yarnpkg.com/big-integer/-/big-integer-1.6.51.tgz#0df92a5d9880560d3ff2d5fd20245c889d130686" - integrity sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg== - -big.js@6.1.1: - version "6.1.1" - resolved "https://registry.yarnpkg.com/big.js/-/big.js-6.1.1.tgz#63b35b19dc9775c94991ee5db7694880655d5537" - integrity sha512-1vObw81a8ylZO5ePrtMay0n018TcftpTA5HFKDaSuiUDBo8biRBtjIobw60OpwuvrGk+FsxKamqN4cnmj/eXdg== - -big.js@^5.2.2: - version "5.2.2" - resolved "https://registry.yarnpkg.com/big.js/-/big.js-5.2.2.tgz#65f0af382f578bcdc742bd9c281e9cb2d7768328" - integrity sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ== - -big.js@^6.0.3, big.js@^6.1.0, big.js@^6.2.1: - version "6.2.1" - resolved "https://registry.yarnpkg.com/big.js/-/big.js-6.2.1.tgz#7205ce763efb17c2e41f26f121c420c6a7c2744f" - integrity sha512-bCtHMwL9LeDIozFn+oNhhFoq+yQ3BNdnsLSASUxLciOb1vgvpHsIO1dsENiGMgbb4SkP5TrzWzRiLddn8ahVOQ== - -bigint-buffer@^1.1.5: - version "1.1.5" - resolved "https://registry.yarnpkg.com/bigint-buffer/-/bigint-buffer-1.1.5.tgz#d038f31c8e4534c1f8d0015209bf34b4fa6dd442" - integrity sha512-trfYco6AoZ+rKhKnxA0hgX0HAbVP/s808/EuDSe2JDzUnCp/xAsli35Orvk67UrTEcwuxZqYZDmfA2RXJgxVvA== - dependencies: - bindings "^1.3.0" - -bigint-crypto-utils@^3.0.23: - version "3.1.8" - resolved "https://registry.yarnpkg.com/bigint-crypto-utils/-/bigint-crypto-utils-3.1.8.tgz#e2e0f40cf45488f9d7f0e32ff84152aa73819d5d" - integrity sha512-+VMV9Laq8pXLBKKKK49nOoq9bfR3j7NNQAtbA617a4nw9bVLo8rsqkKMBgM2AJWlNX9fEIyYaYX+d0laqYV4tw== - dependencies: - bigint-mod-arith "^3.1.0" - -bigint-mod-arith@^3.1.0: - version "3.1.2" - resolved "https://registry.yarnpkg.com/bigint-mod-arith/-/bigint-mod-arith-3.1.2.tgz#658e416bc593a463d97b59766226d0a3021a76b1" - integrity sha512-nx8J8bBeiRR+NlsROFH9jHswW5HO8mgfOSqW0AmjicMMvaONDa8AO+5ViKDUUNytBPWiwfvZP4/Bj4Y3lUfvgQ== - -bignumber.js@^9.0.0, bignumber.js@^9.0.1, bignumber.js@^9.1.0, bignumber.js@^9.1.1: - version "9.1.1" - resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-9.1.1.tgz#c4df7dc496bd849d4c9464344c1aa74228b4dac6" - integrity sha512-pHm4LsMJ6lzgNGVfZHjMoO8sdoRhOzOH4MLmY65Jg70bpxCKu5iOHNJyfF6OyvYw7t8Fpf35RuzUyqnQsj8Vig== - -binary-extensions@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d" - integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA== - -bindings@^1.3.0, bindings@^1.3.1, bindings@^1.5.0: - version "1.5.0" - resolved "https://registry.yarnpkg.com/bindings/-/bindings-1.5.0.tgz#10353c9e945334bc0511a6d90b38fbc7c9c504df" - integrity sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ== - dependencies: - file-uri-to-path "1.0.0" - -bip32@^2.0.6: - version "2.0.6" - resolved "https://registry.yarnpkg.com/bip32/-/bip32-2.0.6.tgz#6a81d9f98c4cd57d05150c60d8f9e75121635134" - integrity sha512-HpV5OMLLGTjSVblmrtYRfFFKuQB+GArM0+XP8HGWfJ5vxYBqo+DesvJwOdC2WJ3bCkZShGf0QIfoIpeomVzVdA== +"babel-preset-jest@^27.5.1": + "integrity" "sha512-Nptf2FzlPCWYuJg41HBqXVT8ym6bXOevuCTbhxlUpjwtysGaIWFvDEjp4y+G7fl13FgOdjs7P/DmErqH7da0Ag==" + "resolved" "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-27.5.1.tgz" + "version" "27.5.1" + dependencies: + "babel-plugin-jest-hoist" "^27.5.1" + "babel-preset-current-node-syntax" "^1.0.0" + +"balanced-match@^1.0.0": + "integrity" "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" + "resolved" "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz" + "version" "1.0.2" + +"base-x@^3.0.2", "base-x@^3.0.6", "base-x@^3.0.8", "base-x@^3.0.9": + "integrity" "sha512-H7JU6iBHTal1gp56aKoaa//YUxEaAOUiydvrV/pILqIHXTtqxSkATOnDA2u+jZ/61sD+L/412+7kzXRtWukhpQ==" + "resolved" "https://registry.npmjs.org/base-x/-/base-x-3.0.9.tgz" + "version" "3.0.9" + dependencies: + "safe-buffer" "^5.0.1" + +"base-x@^4.0.0": + "integrity" "sha512-FuwxlW4H5kh37X/oW59pwTzzTKRzfrrQwhmyspRM7swOEZcHtDZSCt45U6oKgtuFE+WYPblePMVIPR4RZrh/hw==" + "resolved" "https://registry.npmjs.org/base-x/-/base-x-4.0.0.tgz" + "version" "4.0.0" + +"base@^0.11.1": + "integrity" "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==" + "resolved" "https://registry.npmjs.org/base/-/base-0.11.2.tgz" + "version" "0.11.2" + dependencies: + "cache-base" "^1.0.1" + "class-utils" "^0.3.5" + "component-emitter" "^1.2.1" + "define-property" "^1.0.0" + "isobject" "^3.0.1" + "mixin-deep" "^1.2.0" + "pascalcase" "^0.1.1" + +"base64-js@^1.0.2", "base64-js@^1.3.0", "base64-js@^1.3.1", "base64-js@^1.5.1": + "integrity" "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==" + "resolved" "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz" + "version" "1.5.1" + +"base64-sol@1.0.1": + "integrity" "sha512-ld3cCNMeXt4uJXmLZBHFGMvVpK9KsLVEhPpFRXnvSVAqABKbuNZg/+dsq3NuM+wxFLb/UrVkz7m1ciWmkMfTbg==" + "resolved" "https://registry.npmjs.org/base64-sol/-/base64-sol-1.0.1.tgz" + "version" "1.0.1" + +"base64url@^3.0.1": + "integrity" "sha512-ir1UPr3dkwexU7FdV8qBBbNDRUhMmIekYMFZfi+C/sLNnRESKPl23nB9b2pltqfOQNnGzsDdId90AEtG5tCx4A==" + "resolved" "https://registry.npmjs.org/base64url/-/base64url-3.0.1.tgz" + "version" "3.0.1" + +"basic-auth@~2.0.1": + "integrity" "sha512-NF+epuEdnUYVlGuhaxbbq+dvJttwLnGY+YixlXlME5KpQ5W3CnXA5cVTneY3SPbPDRkcjMbifrwmFYcClgOZeg==" + "resolved" "https://registry.npmjs.org/basic-auth/-/basic-auth-2.0.1.tgz" + "version" "2.0.1" + dependencies: + "safe-buffer" "5.1.2" + +"bchaddrjs@^0.5.2": + "integrity" "sha512-OO7gIn3m7ea4FVx4cT8gdlWQR2+++EquhdpWQJH9BQjK63tJJ6ngB3QMZDO6DiBoXiIGUsTPHjlrHVxPGcGxLQ==" + "resolved" "https://registry.npmjs.org/bchaddrjs/-/bchaddrjs-0.5.2.tgz" + "version" "0.5.2" + dependencies: + "bs58check" "2.1.2" + "buffer" "^6.0.3" + "cashaddrjs" "0.4.4" + "stream-browserify" "^3.0.0" + +"bcrypt-pbkdf@^1.0.0": + "integrity" "sha512-qeFIXtP4MSoi6NLqO12WfqARWWuCKi2Rn/9hJLEmtB5yTNr9DqFWkJRCf2qShWzPeAMRnOgCrq0sg/KLv5ES9w==" + "resolved" "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz" + "version" "1.0.2" + dependencies: + "tweetnacl" "^0.14.3" + +"bech32@^1.1.4", "bech32@1.1.4": + "integrity" "sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ==" + "resolved" "https://registry.npmjs.org/bech32/-/bech32-1.1.4.tgz" + "version" "1.1.4" + +"bech32@^2.0.0": + "integrity" "sha512-LcknSilhIGatDAsY1ak2I8VtGaHNhgMSYVxFrGLXv+xLHytaKZKcaUJJUE7qmBr7h33o5YQwP55pMI0xmkpJwg==" + "resolved" "https://registry.npmjs.org/bech32/-/bech32-2.0.0.tgz" + "version" "2.0.0" + +"big-integer@^1.6.48": + "integrity" "sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg==" + "resolved" "https://registry.npmjs.org/big-integer/-/big-integer-1.6.51.tgz" + "version" "1.6.51" + +"big-integer@1.6.36": + "integrity" "sha512-t70bfa7HYEA1D9idDbmuv7YbsbVkQ+Hp+8KFSul4aE5e/i1bjCNIRYJZlA8Q8p0r9T8cF/RVvwUgRA//FydEyg==" + "resolved" "https://registry.npmjs.org/big-integer/-/big-integer-1.6.36.tgz" + "version" "1.6.36" + +"big.js@^5.2.2": + "integrity" "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==" + "resolved" "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz" + "version" "5.2.2" + +"big.js@^6.0.3": + "integrity" "sha512-bCtHMwL9LeDIozFn+oNhhFoq+yQ3BNdnsLSASUxLciOb1vgvpHsIO1dsENiGMgbb4SkP5TrzWzRiLddn8ahVOQ==" + "resolved" "https://registry.npmjs.org/big.js/-/big.js-6.2.1.tgz" + "version" "6.2.1" + +"big.js@^6.1.0": + "integrity" "sha512-bCtHMwL9LeDIozFn+oNhhFoq+yQ3BNdnsLSASUxLciOb1vgvpHsIO1dsENiGMgbb4SkP5TrzWzRiLddn8ahVOQ==" + "resolved" "https://registry.npmjs.org/big.js/-/big.js-6.2.1.tgz" + "version" "6.2.1" + +"big.js@^6.2.1": + "integrity" "sha512-bCtHMwL9LeDIozFn+oNhhFoq+yQ3BNdnsLSASUxLciOb1vgvpHsIO1dsENiGMgbb4SkP5TrzWzRiLddn8ahVOQ==" + "resolved" "https://registry.npmjs.org/big.js/-/big.js-6.2.1.tgz" + "version" "6.2.1" + +"big.js@6.1.1": + "integrity" "sha512-1vObw81a8ylZO5ePrtMay0n018TcftpTA5HFKDaSuiUDBo8biRBtjIobw60OpwuvrGk+FsxKamqN4cnmj/eXdg==" + "resolved" "https://registry.npmjs.org/big.js/-/big.js-6.1.1.tgz" + "version" "6.1.1" + +"bigint-buffer@^1.1.5": + "integrity" "sha512-trfYco6AoZ+rKhKnxA0hgX0HAbVP/s808/EuDSe2JDzUnCp/xAsli35Orvk67UrTEcwuxZqYZDmfA2RXJgxVvA==" + "resolved" "https://registry.npmjs.org/bigint-buffer/-/bigint-buffer-1.1.5.tgz" + "version" "1.1.5" + dependencies: + "bindings" "^1.3.0" + +"bigint-crypto-utils@^3.0.23": + "integrity" "sha512-+VMV9Laq8pXLBKKKK49nOoq9bfR3j7NNQAtbA617a4nw9bVLo8rsqkKMBgM2AJWlNX9fEIyYaYX+d0laqYV4tw==" + "resolved" "https://registry.npmjs.org/bigint-crypto-utils/-/bigint-crypto-utils-3.1.8.tgz" + "version" "3.1.8" + dependencies: + "bigint-mod-arith" "^3.1.0" + +"bigint-mod-arith@^3.1.0": + "integrity" "sha512-nx8J8bBeiRR+NlsROFH9jHswW5HO8mgfOSqW0AmjicMMvaONDa8AO+5ViKDUUNytBPWiwfvZP4/Bj4Y3lUfvgQ==" + "resolved" "https://registry.npmjs.org/bigint-mod-arith/-/bigint-mod-arith-3.1.2.tgz" + "version" "3.1.2" + +"bignumber.js@^9.0.0", "bignumber.js@^9.0.1", "bignumber.js@^9.1.0", "bignumber.js@^9.1.1": + "integrity" "sha512-pHm4LsMJ6lzgNGVfZHjMoO8sdoRhOzOH4MLmY65Jg70bpxCKu5iOHNJyfF6OyvYw7t8Fpf35RuzUyqnQsj8Vig==" + "resolved" "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.1.1.tgz" + "version" "9.1.1" + +"binary-extensions@^2.0.0": + "integrity" "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==" + "resolved" "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz" + "version" "2.2.0" + +"bindings@^1.3.0", "bindings@^1.3.1", "bindings@^1.5.0": + "integrity" "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==" + "resolved" "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz" + "version" "1.5.0" + dependencies: + "file-uri-to-path" "1.0.0" + +"bip32@^2.0.6": + "integrity" "sha512-HpV5OMLLGTjSVblmrtYRfFFKuQB+GArM0+XP8HGWfJ5vxYBqo+DesvJwOdC2WJ3bCkZShGf0QIfoIpeomVzVdA==" + "resolved" "https://registry.npmjs.org/bip32/-/bip32-2.0.6.tgz" + "version" "2.0.6" dependencies: "@types/node" "10.12.18" - bs58check "^2.1.1" - create-hash "^1.2.0" - create-hmac "^1.1.7" - tiny-secp256k1 "^1.1.3" - typeforce "^1.11.5" - wif "^2.0.6" - -bip39@3.0.4: - version "3.0.4" - resolved "https://registry.yarnpkg.com/bip39/-/bip39-3.0.4.tgz#5b11fed966840b5e1b8539f0f54ab6392969b2a0" - integrity sha512-YZKQlb752TrUWqHWj7XAwCSjYEgGAk+/Aas3V7NyjQeZYsztO8JnQUaCWhcnL4T+jL8nvB8typ2jRPzTlgugNw== - dependencies: - "@types/node" "11.11.6" - create-hash "^1.1.0" - pbkdf2 "^3.0.9" - randombytes "^2.0.1" - -bip39@^2.5.0: - version "2.6.0" - resolved "https://registry.yarnpkg.com/bip39/-/bip39-2.6.0.tgz#9e3a720b42ec8b3fbe4038f1e445317b6a99321c" - integrity sha512-RrnQRG2EgEoqO24ea+Q/fftuPUZLmrEM3qNhhGsA3PbaXaCW791LTzPuVyx/VprXQcTbPJ3K3UeTna8ZnVl2sg== - dependencies: - create-hash "^1.1.0" - pbkdf2 "^3.0.9" - randombytes "^2.0.1" - safe-buffer "^5.0.1" - unorm "^1.3.3" - -bip39@^3.0.2, bip39@^3.0.3, bip39@^3.0.4: - version "3.1.0" - resolved "https://registry.yarnpkg.com/bip39/-/bip39-3.1.0.tgz#c55a418deaf48826a6ceb34ac55b3ee1577e18a3" - integrity sha512-c9kiwdk45Do5GL0vJMe7tS95VjCii65mYAH7DfWl3uW8AVzXKQVUm64i3hzVybBDMp9r7j9iNxR85+ul8MdN/A== + "bs58check" "^2.1.1" + "create-hash" "^1.2.0" + "create-hmac" "^1.1.7" + "tiny-secp256k1" "^1.1.3" + "typeforce" "^1.11.5" + "wif" "^2.0.6" + +"bip39@^2.5.0": + "integrity" "sha512-RrnQRG2EgEoqO24ea+Q/fftuPUZLmrEM3qNhhGsA3PbaXaCW791LTzPuVyx/VprXQcTbPJ3K3UeTna8ZnVl2sg==" + "resolved" "https://registry.npmjs.org/bip39/-/bip39-2.6.0.tgz" + "version" "2.6.0" + dependencies: + "create-hash" "^1.1.0" + "pbkdf2" "^3.0.9" + "randombytes" "^2.0.1" + "safe-buffer" "^5.0.1" + "unorm" "^1.3.3" + +"bip39@^3.0.2", "bip39@^3.0.3", "bip39@^3.0.4": + "integrity" "sha512-c9kiwdk45Do5GL0vJMe7tS95VjCii65mYAH7DfWl3uW8AVzXKQVUm64i3hzVybBDMp9r7j9iNxR85+ul8MdN/A==" + "resolved" "https://registry.npmjs.org/bip39/-/bip39-3.1.0.tgz" + "version" "3.1.0" dependencies: "@noble/hashes" "^1.2.0" -bip66@^1.1.5: - version "1.1.5" - resolved "https://registry.yarnpkg.com/bip66/-/bip66-1.1.5.tgz#01fa8748785ca70955d5011217d1b3139969ca22" - integrity sha512-nemMHz95EmS38a26XbbdxIYj5csHd3RMP3H5bwQknX0WYHF01qhpufP42mLOwVICuH2JmhIhXiWs89MfUGL7Xw== - dependencies: - safe-buffer "^5.0.1" - -bitcoin-ops@^1.3.0, bitcoin-ops@^1.4.1: - version "1.4.1" - resolved "https://registry.yarnpkg.com/bitcoin-ops/-/bitcoin-ops-1.4.1.tgz#e45de620398e22fd4ca6023de43974ff42240278" - integrity sha512-pef6gxZFztEhaE9RY9HmWVmiIHqCb2OyS4HPKkpc6CIiiOa3Qmuoylxc5P2EkU3w+5eTSifI9SEZC88idAIGow== - -bl@^1.0.0: - version "1.2.3" - resolved "https://registry.yarnpkg.com/bl/-/bl-1.2.3.tgz#1e8dd80142eac80d7158c9dccc047fb620e035e7" - integrity sha512-pvcNpa0UU69UT341rO6AYy4FVAIkUHuZXRIWbq+zHnsVcRzDDjIAhGuuYoi0d//cwIwtt4pkpKycWEfjdV+vww== - dependencies: - readable-stream "^2.3.5" - safe-buffer "^5.1.1" - -blake-hash@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/blake-hash/-/blake-hash-2.0.0.tgz#af184dce641951126d05b7d1c3de3224f538d66e" - integrity sha512-Igj8YowDu1PRkRsxZA7NVkdFNxH5rKv5cpLxQ0CVXSIA77pVYwCPRQJ2sMew/oneUpfuYRyjG6r8SmmmnbZb1w== - dependencies: - node-addon-api "^3.0.0" - node-gyp-build "^4.2.2" - readable-stream "^3.6.0" - -blakejs@^1.1.0, blakejs@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/blakejs/-/blakejs-1.2.1.tgz#5057e4206eadb4a97f7c0b6e197a505042fc3814" - integrity sha512-QXUSXI3QVc/gJME0dBpXrag1kbzOqCjCX8/b54ntNyW6sjtoqxqRk3LTmXzaJoh71zMsDCjM+47jS7XiwN/+fQ== - -bluebird@^3.5.0, bluebird@^3.5.2: - version "3.7.2" - resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f" - integrity sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg== - -bn.js@4.11.6: - version "4.11.6" - resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.6.tgz#53344adb14617a13f6e8dd2ce28905d1c0ba3215" - integrity sha512-XWwnNNFCuuSQ0m3r3C4LE3EiORltHd9M05pq6FOlVeiophzRbMo50Sbz1ehl8K3Z+jw9+vmgnXefY1hz8X+2wA== - -bn.js@4.11.8: - version "4.11.8" - resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.8.tgz#2cde09eb5ee341f484746bb0309b3253b1b1442f" - integrity sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA== - -bn.js@5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.2.0.tgz#358860674396c6997771a9d051fcc1b57d4ae002" - integrity sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw== - -bn.js@5.2.1, bn.js@^5.0.0, bn.js@^5.1.1, bn.js@^5.1.2, bn.js@^5.1.3, bn.js@^5.2.0, bn.js@^5.2.1: - version "5.2.1" - resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.2.1.tgz#0bc527a6a0d18d0aa8d5b0538ce4a77dccfa7b70" - integrity sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ== - -bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.11.0, bn.js@^4.11.6, bn.js@^4.11.8, bn.js@^4.11.9, bn.js@^4.4.0: - version "4.12.0" - resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88" - integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA== - -body-parser@1.20.1: - version "1.20.1" - resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.20.1.tgz#b1812a8912c195cd371a3ee5e66faa2338a5c668" - integrity sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw== - dependencies: - bytes "3.1.2" - content-type "~1.0.4" - debug "2.6.9" - depd "2.0.0" - destroy "1.2.0" - http-errors "2.0.0" - iconv-lite "0.4.24" - on-finished "2.4.1" - qs "6.11.0" - raw-body "2.5.1" - type-is "~1.6.18" - unpipe "1.0.0" - -body-parser@^1.16.0, body-parser@^1.19.0: - version "1.20.2" - resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.20.2.tgz#6feb0e21c4724d06de7ff38da36dad4f57a747fd" - integrity sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA== - dependencies: - bytes "3.1.2" - content-type "~1.0.5" - debug "2.6.9" - depd "2.0.0" - destroy "1.2.0" - http-errors "2.0.0" - iconv-lite "0.4.24" - on-finished "2.4.1" - qs "6.11.0" - raw-body "2.5.2" - type-is "~1.6.18" - unpipe "1.0.0" - -borsh@^0.6.0: - version "0.6.0" - resolved "https://registry.yarnpkg.com/borsh/-/borsh-0.6.0.tgz#a7c9eeca6a31ca9e0607cb49f329cb659eb791e1" - integrity sha512-sl5k89ViqsThXQpYa9XDtz1sBl3l1lI313cFUY1HKr+wvMILnb+58xpkqTNrYbelh99dY7K8usxoCusQmqix9Q== - dependencies: - bn.js "^5.2.0" - bs58 "^4.0.0" - text-encoding-utf-8 "^1.0.2" - -borsh@^0.7.0: - version "0.7.0" - resolved "https://registry.yarnpkg.com/borsh/-/borsh-0.7.0.tgz#6e9560d719d86d90dc589bca60ffc8a6c51fec2a" - integrity sha512-CLCsZGIBCFnPtkNnieW/a8wmreDmfUtjU2m9yHrzPXIlNbqVs0AQrSatSG6vdNYUqdc83tkQi2eHfF98ubzQLA== - dependencies: - bn.js "^5.2.0" - bs58 "^4.0.0" - text-encoding-utf-8 "^1.0.2" - -bowser@^2.11.0: - version "2.11.0" - resolved "https://registry.yarnpkg.com/bowser/-/bowser-2.11.0.tgz#5ca3c35757a7aa5771500c70a73a9f91ef420a8f" - integrity sha512-AlcaJBi/pqqJBIQ8U9Mcpc9i8Aqxn88Skv5d+xBX006BY5u8N3mGLHa5Lgppa7L/HfwgwLgZ6NYs+Ag6uUmJRA== - -brace-expansion@^1.1.7: - version "1.1.11" - resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" - integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA== - dependencies: - balanced-match "^1.0.0" - concat-map "0.0.1" - -brace-expansion@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-2.0.1.tgz#1edc459e0f0c548486ecf9fc99f2221364b9a0ae" - integrity sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA== - dependencies: - balanced-match "^1.0.0" - -braces@^2.3.1: - version "2.3.2" - resolved "https://registry.yarnpkg.com/braces/-/braces-2.3.2.tgz#5979fd3f14cd531565e5fa2df1abfff1dfaee729" - integrity sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w== - dependencies: - arr-flatten "^1.1.0" - array-unique "^0.3.2" - extend-shallow "^2.0.1" - fill-range "^4.0.0" - isobject "^3.0.1" - repeat-element "^1.1.2" - snapdragon "^0.8.1" - snapdragon-node "^2.0.1" - split-string "^3.0.2" - to-regex "^3.0.1" - -braces@^3.0.2, braces@~3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107" - integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A== - dependencies: - fill-range "^7.0.1" - -brorand@^1.0.1, brorand@^1.0.5, brorand@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" - integrity sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w== - -browser-headers@^0.4.0, browser-headers@^0.4.1: - version "0.4.1" - resolved "https://registry.yarnpkg.com/browser-headers/-/browser-headers-0.4.1.tgz#4308a7ad3b240f4203dbb45acedb38dc2d65dd02" - integrity sha512-CA9hsySZVo9371qEHjHZtYxV2cFtVj5Wj/ZHi8ooEsrtm4vOnl9Y9HmyYWk9q+05d7K3rdoAE0j3MVEFVvtQtg== - -browser-level@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/browser-level/-/browser-level-1.0.1.tgz#36e8c3183d0fe1c405239792faaab5f315871011" - integrity sha512-XECYKJ+Dbzw0lbydyQuJzwNXtOpbMSq737qxJN11sIRTErOMShvDpbzTlgju7orJKvx4epULolZAuJGLzCmWRQ== - dependencies: - abstract-level "^1.0.2" - catering "^2.1.1" - module-error "^1.0.2" - run-parallel-limit "^1.1.0" - -browser-process-hrtime@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz#3c9b4b7d782c8121e56f10106d84c0d0ffc94626" - integrity sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow== - -browser-stdout@1.3.1: - version "1.3.1" - resolved "https://registry.yarnpkg.com/browser-stdout/-/browser-stdout-1.3.1.tgz#baa559ee14ced73452229bad7326467c61fabd60" - integrity sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw== - -browserify-aes@^1.0.0, browserify-aes@^1.0.4, browserify-aes@^1.0.6, browserify-aes@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/browserify-aes/-/browserify-aes-1.2.0.tgz#326734642f403dabc3003209853bb70ad428ef48" - integrity sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA== - dependencies: - buffer-xor "^1.0.3" - cipher-base "^1.0.0" - create-hash "^1.1.0" - evp_bytestokey "^1.0.3" - inherits "^2.0.1" - safe-buffer "^5.0.1" - -browserify-cipher@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/browserify-cipher/-/browserify-cipher-1.0.1.tgz#8d6474c1b870bfdabcd3bcfcc1934a10e94f15f0" - integrity sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w== - dependencies: - browserify-aes "^1.0.4" - browserify-des "^1.0.0" - evp_bytestokey "^1.0.0" - -browserify-des@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/browserify-des/-/browserify-des-1.0.2.tgz#3af4f1f59839403572f1c66204375f7a7f703e9c" - integrity sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A== - dependencies: - cipher-base "^1.0.1" - des.js "^1.0.0" - inherits "^2.0.1" - safe-buffer "^5.1.2" - -browserify-rsa@^4.0.0, browserify-rsa@^4.0.1: - version "4.1.0" - resolved "https://registry.yarnpkg.com/browserify-rsa/-/browserify-rsa-4.1.0.tgz#b2fd06b5b75ae297f7ce2dc651f918f5be158c8d" - integrity sha512-AdEER0Hkspgno2aR97SAf6vi0y0k8NuOpGnVH3O99rcA5Q6sh8QxcngtHuJ6uXwnfAXNM4Gn1Gb7/MV1+Ymbog== - dependencies: - bn.js "^5.0.0" - randombytes "^2.0.1" - -browserify-sign@^4.0.0: - version "4.2.1" - resolved "https://registry.yarnpkg.com/browserify-sign/-/browserify-sign-4.2.1.tgz#eaf4add46dd54be3bb3b36c0cf15abbeba7956c3" - integrity sha512-/vrA5fguVAKKAVTNJjgSm1tRQDHUU6DbwO9IROu/0WAzC8PKhucDSh18J0RMvVeHAn5puMd+QHC2erPRNf8lmg== - dependencies: - bn.js "^5.1.1" - browserify-rsa "^4.0.1" - create-hash "^1.2.0" - create-hmac "^1.1.7" - elliptic "^6.5.3" - inherits "^2.0.4" - parse-asn1 "^5.1.5" - readable-stream "^3.6.0" - safe-buffer "^5.2.0" - -browserslist@^4.21.3: - version "4.21.5" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.21.5.tgz#75c5dae60063ee641f977e00edd3cfb2fb7af6a7" - integrity sha512-tUkiguQGW7S3IhB7N+c2MV/HZPSCPAAiYBZXLsBhFB/PCy6ZKKsZrmBayHV9fdGV/ARIfJ14NkxKzRDjvp7L6w== - dependencies: - caniuse-lite "^1.0.30001449" - electron-to-chromium "^1.4.284" - node-releases "^2.0.8" - update-browserslist-db "^1.0.10" - -bs-logger@0.x: - version "0.2.6" - resolved "https://registry.yarnpkg.com/bs-logger/-/bs-logger-0.2.6.tgz#eb7d365307a72cf974cc6cda76b68354ad336bd8" - integrity sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog== - dependencies: - fast-json-stable-stringify "2.x" - -bs58@^4.0.0, bs58@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/bs58/-/bs58-4.0.1.tgz#be161e76c354f6f788ae4071f63f34e8c4f0a42a" - integrity sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw== - dependencies: - base-x "^3.0.2" - -bs58@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/bs58/-/bs58-5.0.0.tgz#865575b4d13c09ea2a84622df6c8cbeb54ffc279" - integrity sha512-r+ihvQJvahgYT50JD05dyJNKlmmSlMoOGwn1lCcEzanPglg7TxYjioQUYehQ9mAR/+hOSd2jRc/Z2y5UxBymvQ== - dependencies: - base-x "^4.0.0" - -bs58check@2.1.2, bs58check@<3.0.0, bs58check@^2.1.1, bs58check@^2.1.2: - version "2.1.2" - resolved "https://registry.yarnpkg.com/bs58check/-/bs58check-2.1.2.tgz#53b018291228d82a5aa08e7d796fdafda54aebfc" - integrity sha512-0TS1jicxdU09dwJMNZtVAfzPi6Q6QeN0pM1Fkzrjn+XYHvzMKPU3pHVpva+769iNVSfIYWf7LJ6WR+BuuMf8cA== - dependencies: - bs58 "^4.0.0" - create-hash "^1.1.0" - safe-buffer "^5.1.2" - -bser@2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/bser/-/bser-2.1.1.tgz#e6787da20ece9d07998533cfd9de6f5c38f4bc05" - integrity sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ== - dependencies: - node-int64 "^0.4.0" - -buffer-alloc-unsafe@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/buffer-alloc-unsafe/-/buffer-alloc-unsafe-1.1.0.tgz#bd7dc26ae2972d0eda253be061dba992349c19f0" - integrity sha512-TEM2iMIEQdJ2yjPJoSIsldnleVaAk1oW3DBVUykyOLsEsFmEc9kn+SFFPz+gl54KQNxlDnAwCXosOS9Okx2xAg== - -buffer-alloc@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/buffer-alloc/-/buffer-alloc-1.2.0.tgz#890dd90d923a873e08e10e5fd51a57e5b7cce0ec" - integrity sha512-CFsHQgjtW1UChdXgbyJGtnm+O/uLQeZdtbDo8mfUgYXCHSM1wgrVxXm6bSyrUuErEb+4sYVGCzASBRot7zyrow== - dependencies: - buffer-alloc-unsafe "^1.1.0" - buffer-fill "^1.0.0" - -buffer-crc32@~0.2.3: - version "0.2.13" - resolved "https://registry.yarnpkg.com/buffer-crc32/-/buffer-crc32-0.2.13.tgz#0d333e3f00eac50aa1454abd30ef8c2a5d9a7242" - integrity sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ== - -buffer-fill@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/buffer-fill/-/buffer-fill-1.0.0.tgz#f8f78b76789888ef39f205cd637f68e702122b2c" - integrity sha512-T7zexNBwiiaCOGDg9xNX9PBmjrubblRkENuptryuI64URkXDFum9il/JGL8Lm8wYfAXpredVXXZz7eMHilimiQ== - -buffer-from@1.1.2, buffer-from@^1.0.0, buffer-from@^1.1.1: - version "1.1.2" - resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" - integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== - -buffer-to-arraybuffer@^0.0.5: - version "0.0.5" - resolved "https://registry.yarnpkg.com/buffer-to-arraybuffer/-/buffer-to-arraybuffer-0.0.5.tgz#6064a40fa76eb43c723aba9ef8f6e1216d10511a" - integrity sha512-3dthu5CYiVB1DEJp61FtApNnNndTckcqe4pFcLdvHtrpG+kcyekCJKg4MRiDcFW7A6AODnXB9U4dwQiCW5kzJQ== - -buffer-xor@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/buffer-xor/-/buffer-xor-1.0.3.tgz#26e61ed1422fb70dd42e6e36729ed51d855fe8d9" - integrity sha512-571s0T7nZWK6vB67HI5dyUF7wXiNcfaPPPTl6zYCNApANjIvYJTg7hlud/+cJpdAhS7dVzqMLmfhfHR3rAcOjQ== - -buffer@5.6.0: - version "5.6.0" - resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.6.0.tgz#a31749dc7d81d84db08abf937b6b8c4033f62786" - integrity sha512-/gDYp/UtU0eA1ys8bOs9J6a+E/KWIY+DZ+Q2WESNUA0jFRsJOc0SNUO6xJ5SGA1xueg3NL65W6s+NY5l9cunuw== - dependencies: - base64-js "^1.0.2" - ieee754 "^1.1.4" - -buffer@6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/buffer/-/buffer-6.0.1.tgz#3cbea8c1463e5a0779e30b66d4c88c6ffa182ac2" - integrity sha512-rVAXBwEcEoYtxnHSO5iWyhzV/O1WMtkUYWlfdLS7FjU4PnSJJHEfHXi/uHPI5EwltmOA794gN3bm3/pzuctWjQ== - dependencies: - base64-js "^1.3.1" - ieee754 "^1.2.1" - -buffer@^5.0.5, buffer@^5.1.0, buffer@^5.2.1, buffer@^5.4.3, buffer@^5.5.0, buffer@^5.6.0: - version "5.7.1" - resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.7.1.tgz#ba62e7c13133053582197160851a8f648e99eed0" - integrity sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ== - dependencies: - base64-js "^1.3.1" - ieee754 "^1.1.13" - -buffer@^6.0.3, buffer@~6.0.3: - version "6.0.3" - resolved "https://registry.yarnpkg.com/buffer/-/buffer-6.0.3.tgz#2ace578459cc8fbe2a70aaa8f52ee63b6a74c6c6" - integrity sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA== +"bip39@3.0.4": + "integrity" "sha512-YZKQlb752TrUWqHWj7XAwCSjYEgGAk+/Aas3V7NyjQeZYsztO8JnQUaCWhcnL4T+jL8nvB8typ2jRPzTlgugNw==" + "resolved" "https://registry.npmjs.org/bip39/-/bip39-3.0.4.tgz" + "version" "3.0.4" dependencies: - base64-js "^1.3.1" - ieee754 "^1.2.1" + "@types/node" "11.11.6" + "create-hash" "^1.1.0" + "pbkdf2" "^3.0.9" + "randombytes" "^2.0.1" + +"bip66@^1.1.5": + "integrity" "sha512-nemMHz95EmS38a26XbbdxIYj5csHd3RMP3H5bwQknX0WYHF01qhpufP42mLOwVICuH2JmhIhXiWs89MfUGL7Xw==" + "resolved" "https://registry.npmjs.org/bip66/-/bip66-1.1.5.tgz" + "version" "1.1.5" + dependencies: + "safe-buffer" "^5.0.1" + +"bitcoin-ops@^1.3.0", "bitcoin-ops@^1.4.1": + "integrity" "sha512-pef6gxZFztEhaE9RY9HmWVmiIHqCb2OyS4HPKkpc6CIiiOa3Qmuoylxc5P2EkU3w+5eTSifI9SEZC88idAIGow==" + "resolved" "https://registry.npmjs.org/bitcoin-ops/-/bitcoin-ops-1.4.1.tgz" + "version" "1.4.1" + +"bl@^1.0.0": + "integrity" "sha512-pvcNpa0UU69UT341rO6AYy4FVAIkUHuZXRIWbq+zHnsVcRzDDjIAhGuuYoi0d//cwIwtt4pkpKycWEfjdV+vww==" + "resolved" "https://registry.npmjs.org/bl/-/bl-1.2.3.tgz" + "version" "1.2.3" + dependencies: + "readable-stream" "^2.3.5" + "safe-buffer" "^5.1.1" + +"blake-hash@^2.0.0": + "integrity" "sha512-Igj8YowDu1PRkRsxZA7NVkdFNxH5rKv5cpLxQ0CVXSIA77pVYwCPRQJ2sMew/oneUpfuYRyjG6r8SmmmnbZb1w==" + "resolved" "https://registry.npmjs.org/blake-hash/-/blake-hash-2.0.0.tgz" + "version" "2.0.0" + dependencies: + "node-addon-api" "^3.0.0" + "node-gyp-build" "^4.2.2" + "readable-stream" "^3.6.0" + +"blakejs@^1.1.0", "blakejs@^1.2.1": + "integrity" "sha512-QXUSXI3QVc/gJME0dBpXrag1kbzOqCjCX8/b54ntNyW6sjtoqxqRk3LTmXzaJoh71zMsDCjM+47jS7XiwN/+fQ==" + "resolved" "https://registry.npmjs.org/blakejs/-/blakejs-1.2.1.tgz" + "version" "1.2.1" + +"bluebird@^3.5.0", "bluebird@^3.5.2": + "integrity" "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==" + "resolved" "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz" + "version" "3.7.2" + +"bn.js@^4.0.0": + "integrity" "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + "resolved" "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz" + "version" "4.12.0" + +"bn.js@^4.1.0": + "integrity" "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + "resolved" "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz" + "version" "4.12.0" + +"bn.js@^4.11.0", "bn.js@^4.11.8": + "integrity" "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + "resolved" "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz" + "version" "4.12.0" + +"bn.js@^4.11.6", "bn.js@^4.11.9", "bn.js@^4.4.0": + "integrity" "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + "resolved" "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz" + "version" "4.12.0" + +"bn.js@^5.0.0", "bn.js@^5.1.1", "bn.js@^5.1.2", "bn.js@^5.1.3", "bn.js@^5.2.0", "bn.js@^5.2.1", "bn.js@5.2.1": + "integrity" "sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ==" + "resolved" "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz" + "version" "5.2.1" + +"bn.js@4.11.6": + "integrity" "sha512-XWwnNNFCuuSQ0m3r3C4LE3EiORltHd9M05pq6FOlVeiophzRbMo50Sbz1ehl8K3Z+jw9+vmgnXefY1hz8X+2wA==" + "resolved" "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz" + "version" "4.11.6" + +"bn.js@4.11.8": + "integrity" "sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA==" + "resolved" "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz" + "version" "4.11.8" + +"bn.js@5.2.0": + "integrity" "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw==" + "resolved" "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz" + "version" "5.2.0" + +"body-parser@^1.16.0", "body-parser@^1.19.0": + "integrity" "sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA==" + "resolved" "https://registry.npmjs.org/body-parser/-/body-parser-1.20.2.tgz" + "version" "1.20.2" + dependencies: + "bytes" "3.1.2" + "content-type" "~1.0.5" + "debug" "2.6.9" + "depd" "2.0.0" + "destroy" "1.2.0" + "http-errors" "2.0.0" + "iconv-lite" "0.4.24" + "on-finished" "2.4.1" + "qs" "6.11.0" + "raw-body" "2.5.2" + "type-is" "~1.6.18" + "unpipe" "1.0.0" + +"body-parser@1.20.1": + "integrity" "sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw==" + "resolved" "https://registry.npmjs.org/body-parser/-/body-parser-1.20.1.tgz" + "version" "1.20.1" + dependencies: + "bytes" "3.1.2" + "content-type" "~1.0.4" + "debug" "2.6.9" + "depd" "2.0.0" + "destroy" "1.2.0" + "http-errors" "2.0.0" + "iconv-lite" "0.4.24" + "on-finished" "2.4.1" + "qs" "6.11.0" + "raw-body" "2.5.1" + "type-is" "~1.6.18" + "unpipe" "1.0.0" + +"borsh@^0.6.0": + "integrity" "sha512-sl5k89ViqsThXQpYa9XDtz1sBl3l1lI313cFUY1HKr+wvMILnb+58xpkqTNrYbelh99dY7K8usxoCusQmqix9Q==" + "resolved" "https://registry.npmjs.org/borsh/-/borsh-0.6.0.tgz" + "version" "0.6.0" + dependencies: + "bn.js" "^5.2.0" + "bs58" "^4.0.0" + "text-encoding-utf-8" "^1.0.2" + +"borsh@^0.7.0": + "integrity" "sha512-CLCsZGIBCFnPtkNnieW/a8wmreDmfUtjU2m9yHrzPXIlNbqVs0AQrSatSG6vdNYUqdc83tkQi2eHfF98ubzQLA==" + "resolved" "https://registry.npmjs.org/borsh/-/borsh-0.7.0.tgz" + "version" "0.7.0" + dependencies: + "bn.js" "^5.2.0" + "bs58" "^4.0.0" + "text-encoding-utf-8" "^1.0.2" + +"bowser@^2.11.0": + "integrity" "sha512-AlcaJBi/pqqJBIQ8U9Mcpc9i8Aqxn88Skv5d+xBX006BY5u8N3mGLHa5Lgppa7L/HfwgwLgZ6NYs+Ag6uUmJRA==" + "resolved" "https://registry.npmjs.org/bowser/-/bowser-2.11.0.tgz" + "version" "2.11.0" + +"brace-expansion@^1.1.7": + "integrity" "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==" + "resolved" "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz" + "version" "1.1.11" + dependencies: + "balanced-match" "^1.0.0" + "concat-map" "0.0.1" + +"brace-expansion@^2.0.1": + "integrity" "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==" + "resolved" "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz" + "version" "2.0.1" + dependencies: + "balanced-match" "^1.0.0" + +"braces@^2.3.1": + "integrity" "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==" + "resolved" "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz" + "version" "2.3.2" + dependencies: + "arr-flatten" "^1.1.0" + "array-unique" "^0.3.2" + "extend-shallow" "^2.0.1" + "fill-range" "^4.0.0" + "isobject" "^3.0.1" + "repeat-element" "^1.1.2" + "snapdragon" "^0.8.1" + "snapdragon-node" "^2.0.1" + "split-string" "^3.0.2" + "to-regex" "^3.0.1" + +"braces@^3.0.2", "braces@~3.0.2": + "integrity" "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==" + "resolved" "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz" + "version" "3.0.2" + dependencies: + "fill-range" "^7.0.1" + +"brorand@^1.0.1", "brorand@^1.0.5", "brorand@^1.1.0": + "integrity" "sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w==" + "resolved" "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz" + "version" "1.1.0" + +"browser-headers@^0.4.0", "browser-headers@^0.4.1": + "integrity" "sha512-CA9hsySZVo9371qEHjHZtYxV2cFtVj5Wj/ZHi8ooEsrtm4vOnl9Y9HmyYWk9q+05d7K3rdoAE0j3MVEFVvtQtg==" + "resolved" "https://registry.npmjs.org/browser-headers/-/browser-headers-0.4.1.tgz" + "version" "0.4.1" + +"browser-level@^1.0.1": + "integrity" "sha512-XECYKJ+Dbzw0lbydyQuJzwNXtOpbMSq737qxJN11sIRTErOMShvDpbzTlgju7orJKvx4epULolZAuJGLzCmWRQ==" + "resolved" "https://registry.npmjs.org/browser-level/-/browser-level-1.0.1.tgz" + "version" "1.0.1" + dependencies: + "abstract-level" "^1.0.2" + "catering" "^2.1.1" + "module-error" "^1.0.2" + "run-parallel-limit" "^1.1.0" + +"browser-process-hrtime@^1.0.0": + "integrity" "sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow==" + "resolved" "https://registry.npmjs.org/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz" + "version" "1.0.0" + +"browser-stdout@1.3.1": + "integrity" "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==" + "resolved" "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz" + "version" "1.3.1" + +"browserify-aes@^1.0.0", "browserify-aes@^1.0.4", "browserify-aes@^1.0.6", "browserify-aes@^1.2.0": + "integrity" "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==" + "resolved" "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz" + "version" "1.2.0" + dependencies: + "buffer-xor" "^1.0.3" + "cipher-base" "^1.0.0" + "create-hash" "^1.1.0" + "evp_bytestokey" "^1.0.3" + "inherits" "^2.0.1" + "safe-buffer" "^5.0.1" + +"browserify-cipher@^1.0.0": + "integrity" "sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w==" + "resolved" "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.1.tgz" + "version" "1.0.1" + dependencies: + "browserify-aes" "^1.0.4" + "browserify-des" "^1.0.0" + "evp_bytestokey" "^1.0.0" + +"browserify-des@^1.0.0": + "integrity" "sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A==" + "resolved" "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.2.tgz" + "version" "1.0.2" + dependencies: + "cipher-base" "^1.0.1" + "des.js" "^1.0.0" + "inherits" "^2.0.1" + "safe-buffer" "^5.1.2" + +"browserify-rsa@^4.0.0", "browserify-rsa@^4.0.1": + "integrity" "sha512-AdEER0Hkspgno2aR97SAf6vi0y0k8NuOpGnVH3O99rcA5Q6sh8QxcngtHuJ6uXwnfAXNM4Gn1Gb7/MV1+Ymbog==" + "resolved" "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.1.0.tgz" + "version" "4.1.0" + dependencies: + "bn.js" "^5.0.0" + "randombytes" "^2.0.1" + +"browserify-sign@^4.0.0": + "integrity" "sha512-/vrA5fguVAKKAVTNJjgSm1tRQDHUU6DbwO9IROu/0WAzC8PKhucDSh18J0RMvVeHAn5puMd+QHC2erPRNf8lmg==" + "resolved" "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.1.tgz" + "version" "4.2.1" + dependencies: + "bn.js" "^5.1.1" + "browserify-rsa" "^4.0.1" + "create-hash" "^1.2.0" + "create-hmac" "^1.1.7" + "elliptic" "^6.5.3" + "inherits" "^2.0.4" + "parse-asn1" "^5.1.5" + "readable-stream" "^3.6.0" + "safe-buffer" "^5.2.0" + +"browserslist@^4.21.3": + "integrity" "sha512-tUkiguQGW7S3IhB7N+c2MV/HZPSCPAAiYBZXLsBhFB/PCy6ZKKsZrmBayHV9fdGV/ARIfJ14NkxKzRDjvp7L6w==" + "resolved" "https://registry.npmjs.org/browserslist/-/browserslist-4.21.5.tgz" + "version" "4.21.5" + dependencies: + "caniuse-lite" "^1.0.30001449" + "electron-to-chromium" "^1.4.284" + "node-releases" "^2.0.8" + "update-browserslist-db" "^1.0.10" + +"bs-logger@0.x": + "integrity" "sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==" + "resolved" "https://registry.npmjs.org/bs-logger/-/bs-logger-0.2.6.tgz" + "version" "0.2.6" + dependencies: + "fast-json-stable-stringify" "2.x" + +"bs58@^4.0.0", "bs58@^4.0.1": + "integrity" "sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw==" + "resolved" "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz" + "version" "4.0.1" + dependencies: + "base-x" "^3.0.2" + +"bs58@^5.0.0": + "integrity" "sha512-r+ihvQJvahgYT50JD05dyJNKlmmSlMoOGwn1lCcEzanPglg7TxYjioQUYehQ9mAR/+hOSd2jRc/Z2y5UxBymvQ==" + "resolved" "https://registry.npmjs.org/bs58/-/bs58-5.0.0.tgz" + "version" "5.0.0" + dependencies: + "base-x" "^4.0.0" + +"bs58check@^2.1.1", "bs58check@^2.1.2", "bs58check@<3.0.0", "bs58check@2.1.2": + "integrity" "sha512-0TS1jicxdU09dwJMNZtVAfzPi6Q6QeN0pM1Fkzrjn+XYHvzMKPU3pHVpva+769iNVSfIYWf7LJ6WR+BuuMf8cA==" + "resolved" "https://registry.npmjs.org/bs58check/-/bs58check-2.1.2.tgz" + "version" "2.1.2" + dependencies: + "bs58" "^4.0.0" + "create-hash" "^1.1.0" + "safe-buffer" "^5.1.2" + +"bser@2.1.1": + "integrity" "sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==" + "resolved" "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz" + "version" "2.1.1" + dependencies: + "node-int64" "^0.4.0" + +"buffer-alloc-unsafe@^1.1.0": + "integrity" "sha512-TEM2iMIEQdJ2yjPJoSIsldnleVaAk1oW3DBVUykyOLsEsFmEc9kn+SFFPz+gl54KQNxlDnAwCXosOS9Okx2xAg==" + "resolved" "https://registry.npmjs.org/buffer-alloc-unsafe/-/buffer-alloc-unsafe-1.1.0.tgz" + "version" "1.1.0" + +"buffer-alloc@^1.2.0": + "integrity" "sha512-CFsHQgjtW1UChdXgbyJGtnm+O/uLQeZdtbDo8mfUgYXCHSM1wgrVxXm6bSyrUuErEb+4sYVGCzASBRot7zyrow==" + "resolved" "https://registry.npmjs.org/buffer-alloc/-/buffer-alloc-1.2.0.tgz" + "version" "1.2.0" + dependencies: + "buffer-alloc-unsafe" "^1.1.0" + "buffer-fill" "^1.0.0" + +"buffer-crc32@~0.2.3": + "integrity" "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==" + "resolved" "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz" + "version" "0.2.13" + +"buffer-fill@^1.0.0": + "integrity" "sha512-T7zexNBwiiaCOGDg9xNX9PBmjrubblRkENuptryuI64URkXDFum9il/JGL8Lm8wYfAXpredVXXZz7eMHilimiQ==" + "resolved" "https://registry.npmjs.org/buffer-fill/-/buffer-fill-1.0.0.tgz" + "version" "1.0.0" + +"buffer-from@^1.0.0", "buffer-from@^1.1.1", "buffer-from@1.1.2": + "integrity" "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==" + "resolved" "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz" + "version" "1.1.2" + +"buffer-to-arraybuffer@^0.0.5": + "integrity" "sha512-3dthu5CYiVB1DEJp61FtApNnNndTckcqe4pFcLdvHtrpG+kcyekCJKg4MRiDcFW7A6AODnXB9U4dwQiCW5kzJQ==" + "resolved" "https://registry.npmjs.org/buffer-to-arraybuffer/-/buffer-to-arraybuffer-0.0.5.tgz" + "version" "0.0.5" + +"buffer-xor@^1.0.3": + "integrity" "sha512-571s0T7nZWK6vB67HI5dyUF7wXiNcfaPPPTl6zYCNApANjIvYJTg7hlud/+cJpdAhS7dVzqMLmfhfHR3rAcOjQ==" + "resolved" "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz" + "version" "1.0.3" + +"buffer@^5.0.5", "buffer@^5.1.0", "buffer@^5.2.1", "buffer@^5.4.3", "buffer@^5.5.0", "buffer@^5.6.0": + "integrity" "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==" + "resolved" "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz" + "version" "5.7.1" + dependencies: + "base64-js" "^1.3.1" + "ieee754" "^1.1.13" + +"buffer@^6.0.3": + "integrity" "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==" + "resolved" "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz" + "version" "6.0.3" + dependencies: + "base64-js" "^1.3.1" + "ieee754" "^1.2.1" + +"buffer@~6.0.3": + "integrity" "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==" + "resolved" "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz" + "version" "6.0.3" + dependencies: + "base64-js" "^1.3.1" + "ieee754" "^1.2.1" -bufferutil@4.0.5: - version "4.0.5" - resolved "https://registry.yarnpkg.com/bufferutil/-/bufferutil-4.0.5.tgz#da9ea8166911cc276bf677b8aed2d02d31f59028" - integrity sha512-HTm14iMQKK2FjFLRTM5lAVcyaUzOnqbPtesFIvREgXpJHdQm8bWS+GkQgIkfaBYRHuCnea7w8UVNfwiAQhlr9A== +"buffer@5.6.0": + "integrity" "sha512-/gDYp/UtU0eA1ys8bOs9J6a+E/KWIY+DZ+Q2WESNUA0jFRsJOc0SNUO6xJ5SGA1xueg3NL65W6s+NY5l9cunuw==" + "resolved" "https://registry.npmjs.org/buffer/-/buffer-5.6.0.tgz" + "version" "5.6.0" dependencies: - node-gyp-build "^4.3.0" + "base64-js" "^1.0.2" + "ieee754" "^1.1.4" -bufferutil@^4.0.1: - version "4.0.7" - resolved "https://registry.yarnpkg.com/bufferutil/-/bufferutil-4.0.7.tgz#60c0d19ba2c992dd8273d3f73772ffc894c153ad" - integrity sha512-kukuqc39WOHtdxtw4UScxF/WVnMFVSQVKhtx3AjZJzhd0RGZZldcrfSEbVsWWe6KNH253574cq5F+wpv0G9pJw== +"buffer@6.0.1": + "integrity" "sha512-rVAXBwEcEoYtxnHSO5iWyhzV/O1WMtkUYWlfdLS7FjU4PnSJJHEfHXi/uHPI5EwltmOA794gN3bm3/pzuctWjQ==" + "resolved" "https://registry.npmjs.org/buffer/-/buffer-6.0.1.tgz" + "version" "6.0.1" dependencies: - node-gyp-build "^4.3.0" - -bunyan-blackhole@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/bunyan-blackhole/-/bunyan-blackhole-1.1.1.tgz#b9208586dc0b4e47f4f713215b1bddd65e4f6257" - integrity sha512-UwzNPhbbSqbzeJhCbygqjlAY7p0ZUdv1ADXPQvDh3CA7VW3C/rCc1gaQO/8j9QL4vsKQCQZQSQIEwX+lxioPAQ== + "base64-js" "^1.3.1" + "ieee754" "^1.2.1" + +"bufferutil@^4.0.1": + "integrity" "sha512-kukuqc39WOHtdxtw4UScxF/WVnMFVSQVKhtx3AjZJzhd0RGZZldcrfSEbVsWWe6KNH253574cq5F+wpv0G9pJw==" + "resolved" "https://registry.npmjs.org/bufferutil/-/bufferutil-4.0.7.tgz" + "version" "4.0.7" + dependencies: + "node-gyp-build" "^4.3.0" + +"bufferutil@4.0.5": + "integrity" "sha512-HTm14iMQKK2FjFLRTM5lAVcyaUzOnqbPtesFIvREgXpJHdQm8bWS+GkQgIkfaBYRHuCnea7w8UVNfwiAQhlr9A==" + "resolved" "https://registry.npmjs.org/bufferutil/-/bufferutil-4.0.5.tgz" + "version" "4.0.5" + dependencies: + "node-gyp-build" "^4.3.0" + +"bunyan-blackhole@^1.1.1": + "integrity" "sha512-UwzNPhbbSqbzeJhCbygqjlAY7p0ZUdv1ADXPQvDh3CA7VW3C/rCc1gaQO/8j9QL4vsKQCQZQSQIEwX+lxioPAQ==" + "resolved" "https://registry.npmjs.org/bunyan-blackhole/-/bunyan-blackhole-1.1.1.tgz" + "version" "1.1.1" dependencies: - stream-blackhole "^1.0.3" - -bunyan@^1.8.15: - version "1.8.15" - resolved "https://registry.yarnpkg.com/bunyan/-/bunyan-1.8.15.tgz#8ce34ca908a17d0776576ca1b2f6cbd916e93b46" - integrity sha512-0tECWShh6wUysgucJcBAoYegf3JJoZWibxdqhTm7OHPeT42qdjkZ29QCMcKwbgU1kiH+auSIasNRXMLWXafXig== + "stream-blackhole" "^1.0.3" + +"bunyan@^1.8.15": + "integrity" "sha512-0tECWShh6wUysgucJcBAoYegf3JJoZWibxdqhTm7OHPeT42qdjkZ29QCMcKwbgU1kiH+auSIasNRXMLWXafXig==" + "resolved" "https://registry.npmjs.org/bunyan/-/bunyan-1.8.15.tgz" + "version" "1.8.15" optionalDependencies: - dtrace-provider "~0.8" - moment "^2.19.3" - mv "~2" - safe-json-stringify "~1" - -busboy@^1.6.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/busboy/-/busboy-1.6.0.tgz#966ea36a9502e43cdb9146962523b92f531f6893" - integrity sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA== - dependencies: - streamsearch "^1.1.0" - -bytebuffer@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/bytebuffer/-/bytebuffer-5.0.1.tgz#582eea4b1a873b6d020a48d58df85f0bba6cfddd" - integrity sha512-IuzSdmADppkZ6DlpycMkm8l9zeEq16fWtLvunEwFiYciR/BHo4E8/xs5piFquG+Za8OWmMqHF8zuRviz2LHvRQ== - dependencies: - long "~3" - -bytes@3.1.2: - version "3.1.2" - resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.2.tgz#8b0beeb98605adf1b128fa4386403c009e0221a5" - integrity sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg== - -cache-base@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/cache-base/-/cache-base-1.0.1.tgz#0a7f46416831c8b662ee36fe4e7c59d76f666ab2" - integrity sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ== - dependencies: - collection-visit "^1.0.0" - component-emitter "^1.2.1" - get-value "^2.0.6" - has-value "^1.0.0" - isobject "^3.0.1" - set-value "^2.0.0" - to-object-path "^0.3.0" - union-value "^1.0.0" - unset-value "^1.0.0" - -cacheable-lookup@^5.0.3: - version "5.0.4" - resolved "https://registry.yarnpkg.com/cacheable-lookup/-/cacheable-lookup-5.0.4.tgz#5a6b865b2c44357be3d5ebc2a467b032719a7005" - integrity sha512-2/kNscPhpcxrOigMZzbiWF7dz8ilhb/nIHU3EyZiXWXpeq/au8qJ8VhdftMkty3n7Gj6HIGalQG8oiBNB3AJgA== - -cacheable-lookup@^6.0.4: - version "6.1.0" - resolved "https://registry.yarnpkg.com/cacheable-lookup/-/cacheable-lookup-6.1.0.tgz#0330a543471c61faa4e9035db583aad753b36385" - integrity sha512-KJ/Dmo1lDDhmW2XDPMo+9oiy/CeqosPguPCrgcVzKyZrL6pM1gU2GmPY/xo6OQPTUaA/c0kwHuywB4E6nmT9ww== - -cacheable-request@^6.0.0: - version "6.1.0" - resolved "https://registry.yarnpkg.com/cacheable-request/-/cacheable-request-6.1.0.tgz#20ffb8bd162ba4be11e9567d823db651052ca912" - integrity sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg== - dependencies: - clone-response "^1.0.2" - get-stream "^5.1.0" - http-cache-semantics "^4.0.0" - keyv "^3.0.0" - lowercase-keys "^2.0.0" - normalize-url "^4.1.0" - responselike "^1.0.2" - -cacheable-request@^7.0.2: - version "7.0.2" - resolved "https://registry.yarnpkg.com/cacheable-request/-/cacheable-request-7.0.2.tgz#ea0d0b889364a25854757301ca12b2da77f91d27" - integrity sha512-pouW8/FmiPQbuGpkXQ9BAPv/Mo5xDGANgSNXzTzJ8DrKGuXOssM4wIQRjfanNRh3Yu5cfYPvcorqbhg2KIJtew== - dependencies: - clone-response "^1.0.2" - get-stream "^5.1.0" - http-cache-semantics "^4.0.0" - keyv "^4.0.0" - lowercase-keys "^2.0.0" - normalize-url "^6.0.1" - responselike "^2.0.0" - -call-bind@^1.0.0, call-bind@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.2.tgz#b1d4e89e688119c3c9a903ad30abb2f6a919be3c" - integrity sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA== - dependencies: - function-bind "^1.1.1" - get-intrinsic "^1.0.2" - -call-me-maybe@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/call-me-maybe/-/call-me-maybe-1.0.2.tgz#03f964f19522ba643b1b0693acb9152fe2074baa" - integrity sha512-HpX65o1Hnr9HH25ojC1YGs7HCQLq0GCOibSaWER0eNpgJ/Z1MZv2mTc7+xh6WOPxbRVcmgbv4hGU+uSQ/2xFZQ== - -callsites@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" - integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== - -camel-case@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/camel-case/-/camel-case-3.0.0.tgz#ca3c3688a4e9cf3a4cda777dc4dcbc713249cf73" - integrity sha512-+MbKztAYHXPr1jNTSKQF52VpcFjwY5RkR7fxksV8Doo4KAYc5Fl4UJRgthBbTmEx8C54DqahhbLJkDwjI3PI/w== - dependencies: - no-case "^2.2.0" - upper-case "^1.1.1" - -camelcase@^5.0.0, camelcase@^5.3.1: - version "5.3.1" - resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320" - integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== - -camelcase@^6.0.0, camelcase@^6.2.0: - version "6.3.0" - resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a" - integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== - -caniuse-lite@^1.0.30001449: - version "1.0.30001468" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001468.tgz#0101837c6a4e38e6331104c33dcfb3bdf367a4b7" - integrity sha512-zgAo8D5kbOyUcRAgSmgyuvBkjrGk5CGYG5TYgFdpQv+ywcyEpo1LOWoG8YmoflGnh+V+UsNuKYedsoYs0hzV5A== - -capability@^0.2.5: - version "0.2.5" - resolved "https://registry.yarnpkg.com/capability/-/capability-0.2.5.tgz#51ad87353f1936ffd77f2f21c74633a4dea88801" - integrity sha512-rsJZYVCgXd08sPqwmaIqjAd5SUTfonV0z/gDJ8D6cN8wQphky1kkAYEqQ+hmDxTw7UihvBfjUVUSY+DBEe44jg== - -case@^1.6.3: - version "1.6.3" - resolved "https://registry.yarnpkg.com/case/-/case-1.6.3.tgz#0a4386e3e9825351ca2e6216c60467ff5f1ea1c9" - integrity sha512-mzDSXIPaFwVDvZAHqZ9VlbyF4yyXRuX6IvB06WvPYkqJVO24kX1PPhv9bfpKNFZyxYFmmgo03HUiD8iklmJYRQ== - -caseless@~0.12.0: - version "0.12.0" - resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" - integrity sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw== - -cashaddrjs@0.4.4: - version "0.4.4" - resolved "https://registry.yarnpkg.com/cashaddrjs/-/cashaddrjs-0.4.4.tgz#169f1ae620d325db77700273d972282adeeee331" - integrity sha512-xZkuWdNOh0uq/mxJIng6vYWfTowZLd9F4GMAlp2DwFHlcCqCm91NtuAc47RuV4L7r4PYcY5p6Cr2OKNb4hnkWA== - dependencies: - big-integer "1.6.36" - -catering@^2.0.0, catering@^2.1.0, catering@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/catering/-/catering-2.1.1.tgz#66acba06ed5ee28d5286133982a927de9a04b510" - integrity sha512-K7Qy8O9p76sL3/3m7/zLKbRkyOlSZAgzEaLhyj2mXS8PsCud2Eo4hAb8aLtZqHh0QGqLcb9dlJSu6lHRVENm1w== - -cbor-sync@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/cbor-sync/-/cbor-sync-1.0.4.tgz#5a11a1ab75c2a14d1af1b237fd84aa8c1593662f" - integrity sha512-GWlXN4wiz0vdWWXBU71Dvc1q3aBo0HytqwAZnXF1wOwjqNnDWA1vZ1gDMFLlqohak31VQzmhiYfiCX5QSSfagA== - -cbor@^5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/cbor/-/cbor-5.2.0.tgz#4cca67783ccd6de7b50ab4ed62636712f287a67c" - integrity sha512-5IMhi9e1QU76ppa5/ajP1BmMWZ2FHkhAhjeVKQ/EFCgYSEaeVaoGtL7cxJskf9oCCk+XjzaIdc3IuU/dbA/o2A== - dependencies: - bignumber.js "^9.0.1" - nofilter "^1.0.4" - -chai@^4.3.7: - version "4.3.7" - resolved "https://registry.yarnpkg.com/chai/-/chai-4.3.7.tgz#ec63f6df01829088e8bf55fca839bcd464a8ec51" - integrity sha512-HLnAzZ2iupm25PlN0xFreAlBA5zaBSv3og0DdeGA4Ar6h6rJ3A0rolRUKJhSF2V10GZKDgWF/VmAEsNWjCRB+A== - dependencies: - assertion-error "^1.1.0" - check-error "^1.0.2" - deep-eql "^4.1.2" - get-func-name "^2.0.0" - loupe "^2.3.1" - pathval "^1.1.1" - type-detect "^4.0.5" - -chain-registry@^1.15.0: - version "1.19.0" - resolved "https://registry.yarnpkg.com/chain-registry/-/chain-registry-1.19.0.tgz#6d2d56b56efebee0d15ced8f9bd8329a099ce04d" - integrity sha512-7Ax0cRurfS+I0Oru3Td8NqBY/2YRCv570XM555E5vu3ib3f/k5SELwxsSalTtQj+Furx6quEyKWuOjrNwPpcQg== + "dtrace-provider" "~0.8" + "moment" "^2.19.3" + "mv" "~2" + "safe-json-stringify" "~1" + +"busboy@^1.6.0": + "integrity" "sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==" + "resolved" "https://registry.npmjs.org/busboy/-/busboy-1.6.0.tgz" + "version" "1.6.0" + dependencies: + "streamsearch" "^1.1.0" + +"bytebuffer@^5.0.1": + "integrity" "sha512-IuzSdmADppkZ6DlpycMkm8l9zeEq16fWtLvunEwFiYciR/BHo4E8/xs5piFquG+Za8OWmMqHF8zuRviz2LHvRQ==" + "resolved" "https://registry.npmjs.org/bytebuffer/-/bytebuffer-5.0.1.tgz" + "version" "5.0.1" + dependencies: + "long" "~3" + +"bytes@3.1.2": + "integrity" "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==" + "resolved" "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz" + "version" "3.1.2" + +"cache-base@^1.0.1": + "integrity" "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==" + "resolved" "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz" + "version" "1.0.1" + dependencies: + "collection-visit" "^1.0.0" + "component-emitter" "^1.2.1" + "get-value" "^2.0.6" + "has-value" "^1.0.0" + "isobject" "^3.0.1" + "set-value" "^2.0.0" + "to-object-path" "^0.3.0" + "union-value" "^1.0.0" + "unset-value" "^1.0.0" + +"cacheable-lookup@^5.0.3": + "integrity" "sha512-2/kNscPhpcxrOigMZzbiWF7dz8ilhb/nIHU3EyZiXWXpeq/au8qJ8VhdftMkty3n7Gj6HIGalQG8oiBNB3AJgA==" + "resolved" "https://registry.npmjs.org/cacheable-lookup/-/cacheable-lookup-5.0.4.tgz" + "version" "5.0.4" + +"cacheable-lookup@^6.0.4": + "integrity" "sha512-KJ/Dmo1lDDhmW2XDPMo+9oiy/CeqosPguPCrgcVzKyZrL6pM1gU2GmPY/xo6OQPTUaA/c0kwHuywB4E6nmT9ww==" + "resolved" "https://registry.npmjs.org/cacheable-lookup/-/cacheable-lookup-6.1.0.tgz" + "version" "6.1.0" + +"cacheable-request@^6.0.0": + "integrity" "sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg==" + "resolved" "https://registry.npmjs.org/cacheable-request/-/cacheable-request-6.1.0.tgz" + "version" "6.1.0" + dependencies: + "clone-response" "^1.0.2" + "get-stream" "^5.1.0" + "http-cache-semantics" "^4.0.0" + "keyv" "^3.0.0" + "lowercase-keys" "^2.0.0" + "normalize-url" "^4.1.0" + "responselike" "^1.0.2" + +"cacheable-request@^7.0.2": + "integrity" "sha512-pouW8/FmiPQbuGpkXQ9BAPv/Mo5xDGANgSNXzTzJ8DrKGuXOssM4wIQRjfanNRh3Yu5cfYPvcorqbhg2KIJtew==" + "resolved" "https://registry.npmjs.org/cacheable-request/-/cacheable-request-7.0.2.tgz" + "version" "7.0.2" + dependencies: + "clone-response" "^1.0.2" + "get-stream" "^5.1.0" + "http-cache-semantics" "^4.0.0" + "keyv" "^4.0.0" + "lowercase-keys" "^2.0.0" + "normalize-url" "^6.0.1" + "responselike" "^2.0.0" + +"call-bind@^1.0.0", "call-bind@^1.0.2": + "integrity" "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==" + "resolved" "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz" + "version" "1.0.2" + dependencies: + "function-bind" "^1.1.1" + "get-intrinsic" "^1.0.2" + +"call-me-maybe@^1.0.1": + "integrity" "sha512-HpX65o1Hnr9HH25ojC1YGs7HCQLq0GCOibSaWER0eNpgJ/Z1MZv2mTc7+xh6WOPxbRVcmgbv4hGU+uSQ/2xFZQ==" + "resolved" "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.2.tgz" + "version" "1.0.2" + +"callsites@^3.0.0": + "integrity" "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==" + "resolved" "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz" + "version" "3.1.0" + +"camel-case@^3.0.0": + "integrity" "sha512-+MbKztAYHXPr1jNTSKQF52VpcFjwY5RkR7fxksV8Doo4KAYc5Fl4UJRgthBbTmEx8C54DqahhbLJkDwjI3PI/w==" + "resolved" "https://registry.npmjs.org/camel-case/-/camel-case-3.0.0.tgz" + "version" "3.0.0" + dependencies: + "no-case" "^2.2.0" + "upper-case" "^1.1.1" + +"camelcase@^5.0.0", "camelcase@^5.3.1": + "integrity" "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==" + "resolved" "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz" + "version" "5.3.1" + +"camelcase@^6.0.0": + "integrity" "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==" + "resolved" "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz" + "version" "6.3.0" + +"camelcase@^6.2.0": + "integrity" "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==" + "resolved" "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz" + "version" "6.3.0" + +"caniuse-lite@^1.0.30001449": + "integrity" "sha512-zgAo8D5kbOyUcRAgSmgyuvBkjrGk5CGYG5TYgFdpQv+ywcyEpo1LOWoG8YmoflGnh+V+UsNuKYedsoYs0hzV5A==" + "resolved" "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001468.tgz" + "version" "1.0.30001468" + +"capability@^0.2.5": + "integrity" "sha512-rsJZYVCgXd08sPqwmaIqjAd5SUTfonV0z/gDJ8D6cN8wQphky1kkAYEqQ+hmDxTw7UihvBfjUVUSY+DBEe44jg==" + "resolved" "https://registry.npmjs.org/capability/-/capability-0.2.5.tgz" + "version" "0.2.5" + +"case@^1.6.3": + "integrity" "sha512-mzDSXIPaFwVDvZAHqZ9VlbyF4yyXRuX6IvB06WvPYkqJVO24kX1PPhv9bfpKNFZyxYFmmgo03HUiD8iklmJYRQ==" + "resolved" "https://registry.npmjs.org/case/-/case-1.6.3.tgz" + "version" "1.6.3" + +"caseless@~0.12.0": + "integrity" "sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw==" + "resolved" "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz" + "version" "0.12.0" + +"cashaddrjs@0.4.4": + "integrity" "sha512-xZkuWdNOh0uq/mxJIng6vYWfTowZLd9F4GMAlp2DwFHlcCqCm91NtuAc47RuV4L7r4PYcY5p6Cr2OKNb4hnkWA==" + "resolved" "https://registry.npmjs.org/cashaddrjs/-/cashaddrjs-0.4.4.tgz" + "version" "0.4.4" + dependencies: + "big-integer" "1.6.36" + +"catering@^2.0.0", "catering@^2.1.0", "catering@^2.1.1": + "integrity" "sha512-K7Qy8O9p76sL3/3m7/zLKbRkyOlSZAgzEaLhyj2mXS8PsCud2Eo4hAb8aLtZqHh0QGqLcb9dlJSu6lHRVENm1w==" + "resolved" "https://registry.npmjs.org/catering/-/catering-2.1.1.tgz" + "version" "2.1.1" + +"cbor-sync@^1.0.4": + "integrity" "sha512-GWlXN4wiz0vdWWXBU71Dvc1q3aBo0HytqwAZnXF1wOwjqNnDWA1vZ1gDMFLlqohak31VQzmhiYfiCX5QSSfagA==" + "resolved" "https://registry.npmjs.org/cbor-sync/-/cbor-sync-1.0.4.tgz" + "version" "1.0.4" + +"cbor@^5.2.0": + "integrity" "sha512-5IMhi9e1QU76ppa5/ajP1BmMWZ2FHkhAhjeVKQ/EFCgYSEaeVaoGtL7cxJskf9oCCk+XjzaIdc3IuU/dbA/o2A==" + "resolved" "https://registry.npmjs.org/cbor/-/cbor-5.2.0.tgz" + "version" "5.2.0" + dependencies: + "bignumber.js" "^9.0.1" + "nofilter" "^1.0.4" + +"chai@^4.3.7": + "integrity" "sha512-HLnAzZ2iupm25PlN0xFreAlBA5zaBSv3og0DdeGA4Ar6h6rJ3A0rolRUKJhSF2V10GZKDgWF/VmAEsNWjCRB+A==" + "resolved" "https://registry.npmjs.org/chai/-/chai-4.3.7.tgz" + "version" "4.3.7" + dependencies: + "assertion-error" "^1.1.0" + "check-error" "^1.0.2" + "deep-eql" "^4.1.2" + "get-func-name" "^2.0.0" + "loupe" "^2.3.1" + "pathval" "^1.1.1" + "type-detect" "^4.0.5" + +"chain-registry@^1.15.0": + "integrity" "sha512-7Ax0cRurfS+I0Oru3Td8NqBY/2YRCv570XM555E5vu3ib3f/k5SELwxsSalTtQj+Furx6quEyKWuOjrNwPpcQg==" + "resolved" "https://registry.npmjs.org/chain-registry/-/chain-registry-1.19.0.tgz" + "version" "1.19.0" dependencies: "@babel/runtime" "^7.21.0" "@chain-registry/types" "^0.16.0" -chalk@^2.0.0, chalk@^2.0.1, chalk@^2.4.1, chalk@^2.4.2: - version "2.4.2" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" - integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== - dependencies: - ansi-styles "^3.2.1" - escape-string-regexp "^1.0.5" - supports-color "^5.3.0" - -chalk@^4.0.0, chalk@^4.1.0, chalk@^4.1.2: - version "4.1.2" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" - integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== - dependencies: - ansi-styles "^4.1.0" - supports-color "^7.1.0" - -change-case@3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/change-case/-/change-case-3.0.2.tgz#fd48746cce02f03f0a672577d1d3a8dc2eceb037" - integrity sha512-Mww+SLF6MZ0U6kdg11algyKd5BARbyM4TbFBepwowYSR5ClfQGCGtxNXgykpN0uF/bstWeaGDT4JWaDh8zWAHA== - dependencies: - camel-case "^3.0.0" - constant-case "^2.0.0" - dot-case "^2.1.0" - header-case "^1.0.0" - is-lower-case "^1.1.0" - is-upper-case "^1.1.0" - lower-case "^1.1.1" - lower-case-first "^1.0.0" - no-case "^2.3.2" - param-case "^2.1.0" - pascal-case "^2.0.0" - path-case "^2.1.0" - sentence-case "^2.1.0" - snake-case "^2.1.0" - swap-case "^1.1.0" - title-case "^2.1.0" - upper-case "^1.1.1" - upper-case-first "^1.1.0" - -char-regex@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/char-regex/-/char-regex-1.0.2.tgz#d744358226217f981ed58f479b1d6bcc29545dcf" - integrity sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw== - -check-error@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/check-error/-/check-error-1.0.2.tgz#574d312edd88bb5dd8912e9286dd6c0aed4aac82" - integrity sha512-BrgHpW9NURQgzoNyjfq0Wu6VFO6D7IZEmJNdtgNqpzGG8RuNFHt2jQxWlAs4HMe119chBnv+34syEZtc6IhLtA== - -chokidar@3.5.3, chokidar@^3.4.0, chokidar@^3.5.2, chokidar@^3.5.3: - version "3.5.3" - resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.3.tgz#1cf37c8707b932bd1af1ae22c0432e2acd1903bd" - integrity sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw== - dependencies: - anymatch "~3.1.2" - braces "~3.0.2" - glob-parent "~5.1.2" - is-binary-path "~2.1.0" - is-glob "~4.0.1" - normalize-path "~3.0.0" - readdirp "~3.6.0" +"chalk@^2.0.0": + "integrity" "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==" + "resolved" "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz" + "version" "2.4.2" + dependencies: + "ansi-styles" "^3.2.1" + "escape-string-regexp" "^1.0.5" + "supports-color" "^5.3.0" + +"chalk@^2.0.1": + "integrity" "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==" + "resolved" "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz" + "version" "2.4.2" + dependencies: + "ansi-styles" "^3.2.1" + "escape-string-regexp" "^1.0.5" + "supports-color" "^5.3.0" + +"chalk@^2.4.1": + "integrity" "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==" + "resolved" "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz" + "version" "2.4.2" + dependencies: + "ansi-styles" "^3.2.1" + "escape-string-regexp" "^1.0.5" + "supports-color" "^5.3.0" + +"chalk@^2.4.2": + "integrity" "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==" + "resolved" "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz" + "version" "2.4.2" + dependencies: + "ansi-styles" "^3.2.1" + "escape-string-regexp" "^1.0.5" + "supports-color" "^5.3.0" + +"chalk@^4.0.0", "chalk@^4.1.0", "chalk@^4.1.2": + "integrity" "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==" + "resolved" "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz" + "version" "4.1.2" + dependencies: + "ansi-styles" "^4.1.0" + "supports-color" "^7.1.0" + +"change-case@3.0.2": + "integrity" "sha512-Mww+SLF6MZ0U6kdg11algyKd5BARbyM4TbFBepwowYSR5ClfQGCGtxNXgykpN0uF/bstWeaGDT4JWaDh8zWAHA==" + "resolved" "https://registry.npmjs.org/change-case/-/change-case-3.0.2.tgz" + "version" "3.0.2" + dependencies: + "camel-case" "^3.0.0" + "constant-case" "^2.0.0" + "dot-case" "^2.1.0" + "header-case" "^1.0.0" + "is-lower-case" "^1.1.0" + "is-upper-case" "^1.1.0" + "lower-case" "^1.1.1" + "lower-case-first" "^1.0.0" + "no-case" "^2.3.2" + "param-case" "^2.1.0" + "pascal-case" "^2.0.0" + "path-case" "^2.1.0" + "sentence-case" "^2.1.0" + "snake-case" "^2.1.0" + "swap-case" "^1.1.0" + "title-case" "^2.1.0" + "upper-case" "^1.1.1" + "upper-case-first" "^1.1.0" + +"char-regex@^1.0.2": + "integrity" "sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==" + "resolved" "https://registry.npmjs.org/char-regex/-/char-regex-1.0.2.tgz" + "version" "1.0.2" + +"check-error@^1.0.2": + "integrity" "sha512-BrgHpW9NURQgzoNyjfq0Wu6VFO6D7IZEmJNdtgNqpzGG8RuNFHt2jQxWlAs4HMe119chBnv+34syEZtc6IhLtA==" + "resolved" "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz" + "version" "1.0.2" + +"chokidar@^3.4.0", "chokidar@^3.5.2", "chokidar@^3.5.3", "chokidar@3.5.3": + "integrity" "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==" + "resolved" "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz" + "version" "3.5.3" + dependencies: + "anymatch" "~3.1.2" + "braces" "~3.0.2" + "glob-parent" "~5.1.2" + "is-binary-path" "~2.1.0" + "is-glob" "~4.0.1" + "normalize-path" "~3.0.0" + "readdirp" "~3.6.0" optionalDependencies: - fsevents "~2.3.2" - -chownr@^1.1.4: - version "1.1.4" - resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.4.tgz#6fc9d7b42d32a583596337666e7d08084da2cc6b" - integrity sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg== - -ci-info@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-2.0.0.tgz#67a9e964be31a51e15e5010d58e6f12834002f46" - integrity sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ== - -ci-info@^3.2.0: - version "3.8.0" - resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.8.0.tgz#81408265a5380c929f0bc665d62256628ce9ef91" - integrity sha512-eXTggHWSooYhq49F2opQhuHWgzucfF2YgODK4e1566GQs5BIfP30B0oenwBJHfWxAs2fyPB1s7Mg949zLf61Yw== - -cids@^0.7.1: - version "0.7.5" - resolved "https://registry.yarnpkg.com/cids/-/cids-0.7.5.tgz#60a08138a99bfb69b6be4ceb63bfef7a396b28b2" - integrity sha512-zT7mPeghoWAu+ppn8+BS1tQ5qGmbMfB4AregnQjA/qHY3GC1m1ptI9GkWNlgeu38r7CuRdXB47uY2XgAYt6QVA== - dependencies: - buffer "^5.5.0" - class-is "^1.1.0" - multibase "~0.6.0" - multicodec "^1.0.0" - multihashes "~0.4.15" - -cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3: - version "1.0.4" - resolved "https://registry.yarnpkg.com/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de" - integrity sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q== - dependencies: - inherits "^2.0.1" - safe-buffer "^5.0.1" - -cjs-module-lexer@^1.0.0: - version "1.2.2" - resolved "https://registry.yarnpkg.com/cjs-module-lexer/-/cjs-module-lexer-1.2.2.tgz#9f84ba3244a512f3a54e5277e8eef4c489864e40" - integrity sha512-cOU9usZw8/dXIXKtwa8pM0OTJQuJkxMN6w30csNRUerHfeQ5R6U3kkU/FtJeIf3M202OHfY2U8ccInBG7/xogA== - -class-is@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/class-is/-/class-is-1.1.0.tgz#9d3c0fba0440d211d843cec3dedfa48055005825" - integrity sha512-rhjH9AG1fvabIDoGRVH587413LPjTZgmDF9fOFCbFJQV4yuocX1mHxxvXI4g3cGwbVY9wAYIoKlg1N79frJKQw== - -class-utils@^0.3.5: - version "0.3.6" - resolved "https://registry.yarnpkg.com/class-utils/-/class-utils-0.3.6.tgz#f93369ae8b9a7ce02fd41faad0ca83033190c463" - integrity sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg== - dependencies: - arr-union "^3.1.0" - define-property "^0.2.5" - isobject "^3.0.0" - static-extend "^0.1.1" - -classic-level@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/classic-level/-/classic-level-1.2.0.tgz#2d52bdec8e7a27f534e67fdeb890abef3e643c27" - integrity sha512-qw5B31ANxSluWz9xBzklRWTUAJ1SXIdaVKTVS7HcTGKOAmExx65Wo5BUICW+YGORe2FOUaDghoI9ZDxj82QcFg== - dependencies: - abstract-level "^1.0.2" - catering "^2.1.0" - module-error "^1.0.1" - napi-macros "~2.0.0" - node-gyp-build "^4.3.0" - -clean-stack@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/clean-stack/-/clean-stack-2.2.0.tgz#ee8472dbb129e727b31e8a10a427dee9dfe4008b" - integrity sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A== - -cli-cursor@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-3.1.0.tgz#264305a7ae490d1d03bf0c9ba7c925d1753af307" - integrity sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw== - dependencies: - restore-cursor "^3.1.0" - -cliui@^4.0.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/cliui/-/cliui-4.1.0.tgz#348422dbe82d800b3022eef4f6ac10bf2e4d1b49" - integrity sha512-4FG+RSG9DL7uEwRUZXZn3SS34DiDPfzP0VOiEwtUWlE+AR2EIg+hSyvrIgUUfhdgR/UkAeW2QHgeP+hWrXs7jQ== - dependencies: - string-width "^2.1.1" - strip-ansi "^4.0.0" - wrap-ansi "^2.0.0" - -cliui@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/cliui/-/cliui-5.0.0.tgz#deefcfdb2e800784aa34f46fa08e06851c7bbbc5" - integrity sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA== - dependencies: - string-width "^3.1.0" - strip-ansi "^5.2.0" - wrap-ansi "^5.1.0" - -cliui@^7.0.2: - version "7.0.4" - resolved "https://registry.yarnpkg.com/cliui/-/cliui-7.0.4.tgz#a0265ee655476fc807aea9df3df8df7783808b4f" - integrity sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ== - dependencies: - string-width "^4.2.0" - strip-ansi "^6.0.0" - wrap-ansi "^7.0.0" - -clone-buffer@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/clone-buffer/-/clone-buffer-1.0.0.tgz#e3e25b207ac4e701af721e2cb5a16792cac3dc58" - integrity sha512-KLLTJWrvwIP+OPfMn0x2PheDEP20RPUcGXj/ERegTgdmPEZylALQldygiqrPPu8P45uNuPs7ckmReLY6v/iA5g== - -clone-response@^1.0.2: - version "1.0.3" - resolved "https://registry.yarnpkg.com/clone-response/-/clone-response-1.0.3.tgz#af2032aa47816399cf5f0a1d0db902f517abb8c3" - integrity sha512-ROoL94jJH2dUVML2Y/5PEDNaSHgeOdSDicUyS7izcF63G6sTc/FTjLub4b8Il9S8S0beOfYt0TaA5qvFK+w0wA== - dependencies: - mimic-response "^1.0.0" - -clone@2.x: - version "2.1.2" - resolved "https://registry.yarnpkg.com/clone/-/clone-2.1.2.tgz#1b7f4b9f591f1e8f83670401600345a02887435f" - integrity sha512-3Pe/CF1Nn94hyhIYpjtiLhdCoEoz0DqQ+988E9gmeEdQZlojxnOb74wctFyuwWQHzqyf9X7C7MG8juUpqBJT8w== - -co@^4.6.0: - version "4.6.0" - resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" - integrity sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ== - -cobertura-parse@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/cobertura-parse/-/cobertura-parse-1.0.5.tgz#3a8c5d30a97468496a2aabd04b8fa4fb7c3cd20e" - integrity sha512-uYJfkGhzw1wibe/8jqqHmSaPNWFguzq/IlSj83u3cSnZho/lUnfj0mLTmZGmB3AiKCOTYr22TYwpR1sXy2JEkg== - dependencies: - mocha "5.0.5" - xml2js "0.4.19" - -code-point-at@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" - integrity sha512-RpAVKQA5T63xEj6/giIbUEtZwJ4UFIc3ZtvEkiaUERylqe8xb5IvqcgOurZLahv93CLKfxcw5YI+DZcUBRyLXA== - -coinalpha-ref-sdk@1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/coinalpha-ref-sdk/-/coinalpha-ref-sdk-1.1.0.tgz#f8d2d08e2de5ddafa7ee948553b6780d206770ec" - integrity sha512-C3rtns2RWyi1DmfJCVmW2MOLqXOvVVIVqjXZPQkThexsimzdqNQ6DgU2CWLRlIujlqHgRNT6LYaqfc25wCC0Kg== + "fsevents" "~2.3.2" + +"chownr@^1.1.4": + "integrity" "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==" + "resolved" "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz" + "version" "1.1.4" + +"chownr@^2.0.0": + "integrity" "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==" + "resolved" "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz" + "version" "2.0.0" + +"ci-info@^2.0.0": + "integrity" "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==" + "resolved" "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz" + "version" "2.0.0" + +"ci-info@^3.2.0": + "integrity" "sha512-eXTggHWSooYhq49F2opQhuHWgzucfF2YgODK4e1566GQs5BIfP30B0oenwBJHfWxAs2fyPB1s7Mg949zLf61Yw==" + "resolved" "https://registry.npmjs.org/ci-info/-/ci-info-3.8.0.tgz" + "version" "3.8.0" + +"cids@^0.7.1": + "integrity" "sha512-zT7mPeghoWAu+ppn8+BS1tQ5qGmbMfB4AregnQjA/qHY3GC1m1ptI9GkWNlgeu38r7CuRdXB47uY2XgAYt6QVA==" + "resolved" "https://registry.npmjs.org/cids/-/cids-0.7.5.tgz" + "version" "0.7.5" + dependencies: + "buffer" "^5.5.0" + "class-is" "^1.1.0" + "multibase" "~0.6.0" + "multicodec" "^1.0.0" + "multihashes" "~0.4.15" + +"cipher-base@^1.0.0", "cipher-base@^1.0.1", "cipher-base@^1.0.3": + "integrity" "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==" + "resolved" "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz" + "version" "1.0.4" + dependencies: + "inherits" "^2.0.1" + "safe-buffer" "^5.0.1" + +"cjs-module-lexer@^1.0.0": + "integrity" "sha512-cOU9usZw8/dXIXKtwa8pM0OTJQuJkxMN6w30csNRUerHfeQ5R6U3kkU/FtJeIf3M202OHfY2U8ccInBG7/xogA==" + "resolved" "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.2.2.tgz" + "version" "1.2.2" + +"class-is@^1.1.0": + "integrity" "sha512-rhjH9AG1fvabIDoGRVH587413LPjTZgmDF9fOFCbFJQV4yuocX1mHxxvXI4g3cGwbVY9wAYIoKlg1N79frJKQw==" + "resolved" "https://registry.npmjs.org/class-is/-/class-is-1.1.0.tgz" + "version" "1.1.0" + +"class-utils@^0.3.5": + "integrity" "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==" + "resolved" "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz" + "version" "0.3.6" + dependencies: + "arr-union" "^3.1.0" + "define-property" "^0.2.5" + "isobject" "^3.0.0" + "static-extend" "^0.1.1" + +"classic-level@^1.2.0": + "integrity" "sha512-qw5B31ANxSluWz9xBzklRWTUAJ1SXIdaVKTVS7HcTGKOAmExx65Wo5BUICW+YGORe2FOUaDghoI9ZDxj82QcFg==" + "resolved" "https://registry.npmjs.org/classic-level/-/classic-level-1.2.0.tgz" + "version" "1.2.0" + dependencies: + "abstract-level" "^1.0.2" + "catering" "^2.1.0" + "module-error" "^1.0.1" + "napi-macros" "~2.0.0" + "node-gyp-build" "^4.3.0" + +"clean-stack@^2.0.0": + "integrity" "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==" + "resolved" "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz" + "version" "2.2.0" + +"cli-cursor@^3.1.0": + "integrity" "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==" + "resolved" "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz" + "version" "3.1.0" + dependencies: + "restore-cursor" "^3.1.0" + +"cliui@^4.0.0": + "integrity" "sha512-4FG+RSG9DL7uEwRUZXZn3SS34DiDPfzP0VOiEwtUWlE+AR2EIg+hSyvrIgUUfhdgR/UkAeW2QHgeP+hWrXs7jQ==" + "resolved" "https://registry.npmjs.org/cliui/-/cliui-4.1.0.tgz" + "version" "4.1.0" + dependencies: + "string-width" "^2.1.1" + "strip-ansi" "^4.0.0" + "wrap-ansi" "^2.0.0" + +"cliui@^5.0.0": + "integrity" "sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA==" + "resolved" "https://registry.npmjs.org/cliui/-/cliui-5.0.0.tgz" + "version" "5.0.0" + dependencies: + "string-width" "^3.1.0" + "strip-ansi" "^5.2.0" + "wrap-ansi" "^5.1.0" + +"cliui@^7.0.2": + "integrity" "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==" + "resolved" "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz" + "version" "7.0.4" + dependencies: + "string-width" "^4.2.0" + "strip-ansi" "^6.0.0" + "wrap-ansi" "^7.0.0" + +"cliui@^8.0.1": + "integrity" "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==" + "resolved" "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz" + "version" "8.0.1" + dependencies: + "string-width" "^4.2.0" + "strip-ansi" "^6.0.1" + "wrap-ansi" "^7.0.0" + +"clone-buffer@1.0.0": + "integrity" "sha512-KLLTJWrvwIP+OPfMn0x2PheDEP20RPUcGXj/ERegTgdmPEZylALQldygiqrPPu8P45uNuPs7ckmReLY6v/iA5g==" + "resolved" "https://registry.npmjs.org/clone-buffer/-/clone-buffer-1.0.0.tgz" + "version" "1.0.0" + +"clone-response@^1.0.2": + "integrity" "sha512-ROoL94jJH2dUVML2Y/5PEDNaSHgeOdSDicUyS7izcF63G6sTc/FTjLub4b8Il9S8S0beOfYt0TaA5qvFK+w0wA==" + "resolved" "https://registry.npmjs.org/clone-response/-/clone-response-1.0.3.tgz" + "version" "1.0.3" + dependencies: + "mimic-response" "^1.0.0" + +"clone@2.x": + "integrity" "sha512-3Pe/CF1Nn94hyhIYpjtiLhdCoEoz0DqQ+988E9gmeEdQZlojxnOb74wctFyuwWQHzqyf9X7C7MG8juUpqBJT8w==" + "resolved" "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz" + "version" "2.1.2" + +"co@^4.6.0": + "integrity" "sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==" + "resolved" "https://registry.npmjs.org/co/-/co-4.6.0.tgz" + "version" "4.6.0" + +"cobertura-parse@^1.0.5": + "integrity" "sha512-uYJfkGhzw1wibe/8jqqHmSaPNWFguzq/IlSj83u3cSnZho/lUnfj0mLTmZGmB3AiKCOTYr22TYwpR1sXy2JEkg==" + "resolved" "https://registry.npmjs.org/cobertura-parse/-/cobertura-parse-1.0.5.tgz" + "version" "1.0.5" + dependencies: + "mocha" "5.0.5" + "xml2js" "0.4.19" + +"code-point-at@^1.0.0": + "integrity" "sha512-RpAVKQA5T63xEj6/giIbUEtZwJ4UFIc3ZtvEkiaUERylqe8xb5IvqcgOurZLahv93CLKfxcw5YI+DZcUBRyLXA==" + "resolved" "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz" + "version" "1.1.0" + +"coinalpha-ref-sdk@1.1.0": + "integrity" "sha512-C3rtns2RWyi1DmfJCVmW2MOLqXOvVVIVqjXZPQkThexsimzdqNQ6DgU2CWLRlIujlqHgRNT6LYaqfc25wCC0Kg==" + "resolved" "https://registry.npmjs.org/coinalpha-ref-sdk/-/coinalpha-ref-sdk-1.1.0.tgz" + "version" "1.1.0" dependencies: "@types/big.js" "^6.1.5" "@types/bn.js" "^5.1.1" "@types/lodash" "^4.14.182" - big.js "^6.2.1" - lodash-es "^4.17.21" - mathjs "^9.3.0" - near-api-js "0.44.2" - ref-sdk "^0.1.5" - -collect-v8-coverage@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/collect-v8-coverage/-/collect-v8-coverage-1.0.1.tgz#cc2c8e94fc18bbdffe64d6534570c8a673b27f59" - integrity sha512-iBPtljfCNcTKNAto0KEtDfZ3qzjJvqE3aTGZsbhjSBlorqpXJlaWWtPO35D+ZImoC3KWejX64o+yPGxhWSTzfg== - -collection-visit@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/collection-visit/-/collection-visit-1.0.0.tgz#4bc0373c164bc3291b4d368c829cf1a80a59dca0" - integrity sha512-lNkKvzEeMBBjUGHZ+q6z9pSJla0KWAQPvtzhEV9+iGyQYG+pBpl7xKDhxoNSOZH2hhv0v5k0y2yAM4o4SjoSkw== - dependencies: - map-visit "^1.0.0" - object-visit "^1.0.0" - -color-convert@^1.9.0, color-convert@^1.9.3: - version "1.9.3" - resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" - integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== - dependencies: - color-name "1.1.3" - -color-convert@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3" - integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== - dependencies: - color-name "~1.1.4" - -color-name@1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" - integrity sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw== - -color-name@^1.0.0, color-name@~1.1.4: - version "1.1.4" - resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" - integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== - -color-string@^1.6.0: - version "1.9.1" - resolved "https://registry.yarnpkg.com/color-string/-/color-string-1.9.1.tgz#4467f9146f036f855b764dfb5bf8582bf342c7a4" - integrity sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg== - dependencies: - color-name "^1.0.0" - simple-swizzle "^0.2.2" - -color@^3.1.3: - version "3.2.1" - resolved "https://registry.yarnpkg.com/color/-/color-3.2.1.tgz#3544dc198caf4490c3ecc9a790b54fe9ff45e164" - integrity sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA== - dependencies: - color-convert "^1.9.3" - color-string "^1.6.0" - -colors@1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/colors/-/colors-1.4.0.tgz#c50491479d4c1bdaed2c9ced32cf7c7dc2360f78" - integrity sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA== - -colorspace@1.1.x: - version "1.1.4" - resolved "https://registry.yarnpkg.com/colorspace/-/colorspace-1.1.4.tgz#8d442d1186152f60453bf8070cd66eb364e59243" - integrity sha512-BgvKJiuVu1igBUF2kEjRCZXol6wiiGbY5ipL/oVPwm0BL9sIpMIzM8IK7vwuxIIzOXMV3Ey5w+vxhm0rR/TN8w== - dependencies: - color "^3.1.3" - text-hex "1.0.x" - -combined-stream@^1.0.6, combined-stream@^1.0.8, combined-stream@~1.0.6: - version "1.0.8" - resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" - integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg== - dependencies: - delayed-stream "~1.0.0" - -command-exists@^1.2.8: - version "1.2.9" - resolved "https://registry.yarnpkg.com/command-exists/-/command-exists-1.2.9.tgz#c50725af3808c8ab0260fd60b01fbfa25b954f69" - integrity sha512-LTQ/SGc+s0Xc0Fu5WaKnR0YiygZkm9eKFvyS+fRsU7/ZWFF8ykFM6Pc9aCVf1+xasOOZpO3BAVgVrKvsqKHV7w== - -commander@2.11.0: - version "2.11.0" - resolved "https://registry.yarnpkg.com/commander/-/commander-2.11.0.tgz#157152fd1e7a6c8d98a5b715cf376df928004563" - integrity sha512-b0553uYA5YAEGgyYIGYROzKQ7X5RAqedkfjiZxwi0kL1g3bOaBNNZfYkzt/CL0umgD5wc9Jec2FbB98CjkMRvQ== - -commander@2.15.1: - version "2.15.1" - resolved "https://registry.yarnpkg.com/commander/-/commander-2.15.1.tgz#df46e867d0fc2aec66a34662b406a9ccafff5b0f" - integrity sha512-VlfT9F3V0v+jr4yxPc5gg9s62/fIVWsd2Bk2iD435um1NlGMYdVCq+MjcXnhYq2icNOizHr1kK+5TI6H0Hy0ag== - -commander@3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/commander/-/commander-3.0.2.tgz#6837c3fb677ad9933d1cfba42dd14d5117d6b39e" - integrity sha512-Gar0ASD4BDyKC4hl4DwHqDrmvjoxWKZigVnAbn5H1owvm4CxCPdb0HQDehwNYMJpla5+M2tPmPARzhtYuwpHow== - -commander@^2.20.3, commander@^2.8.1: - version "2.20.3" - resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" - integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== - -complex.js@^2.0.15, complex.js@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/complex.js/-/complex.js-2.1.1.tgz#0675dac8e464ec431fb2ab7d30f41d889fb25c31" - integrity sha512-8njCHOTtFFLtegk6zQo0kkVX1rngygb/KQI6z1qZxlFI3scluC+LVTCFbrkWjBv4vvLlbQ9t88IPMC6k95VTTg== - -component-emitter@^1.2.1, component-emitter@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.3.0.tgz#16e4070fba8ae29b679f2215853ee181ab2eabc0" - integrity sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg== - -concat-map@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" - integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== - -conf@^10.1.2: - version "10.2.0" - resolved "https://registry.yarnpkg.com/conf/-/conf-10.2.0.tgz#838e757be963f1a2386dfe048a98f8f69f7b55d6" - integrity sha512-8fLl9F04EJqjSqH+QjITQfJF8BrOVaYr1jewVgSRAEWePfxT0sku4w2hrGQ60BC/TNLGQ2pgxNlTbWQmMPFvXg== - dependencies: - ajv "^8.6.3" - ajv-formats "^2.1.1" - atomically "^1.7.0" - debounce-fn "^4.0.0" - dot-prop "^6.0.1" - env-paths "^2.2.1" - json-schema-typed "^7.0.3" - onetime "^5.1.2" - pkg-up "^3.1.0" - semver "^7.3.5" - -constant-case@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/constant-case/-/constant-case-2.0.0.tgz#4175764d389d3fa9c8ecd29186ed6005243b6a46" - integrity sha512-eS0N9WwmjTqrOmR3o83F5vW8Z+9R1HnVz3xmzT2PMFug9ly+Au/fxRWlEBSb6LcZwspSsEn9Xs1uw9YgzAg1EQ== - dependencies: - snake-case "^2.1.0" - upper-case "^1.1.1" - -content-disposition@0.5.4: - version "0.5.4" - resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-0.5.4.tgz#8b82b4efac82512a02bb0b1dcec9d2c5e8eb5bfe" - integrity sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ== - dependencies: - safe-buffer "5.2.1" - -content-hash@^2.5.2: - version "2.5.2" - resolved "https://registry.yarnpkg.com/content-hash/-/content-hash-2.5.2.tgz#bbc2655e7c21f14fd3bfc7b7d4bfe6e454c9e211" - integrity sha512-FvIQKy0S1JaWV10sMsA7TRx8bpU+pqPkhbsfvOJAdjRXvYxEckAwQWGwtRjiaJfh+E0DvcWUGqcdjwMGFjsSdw== - dependencies: - cids "^0.7.1" - multicodec "^0.5.5" - multihashes "^0.4.15" - -content-type@~1.0.4, content-type@~1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.5.tgz#8b773162656d1d1086784c8f23a54ce6d73d7918" - integrity sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA== - -convert-source-map@^1.4.0, convert-source-map@^1.6.0, convert-source-map@^1.7.0: - version "1.9.0" - resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.9.0.tgz#7faae62353fb4213366d0ca98358d22e8368b05f" - integrity sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A== - -cookie-signature@1.0.6: - version "1.0.6" - resolved "https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.0.6.tgz#e303a882b342cc3ee8ca513a79999734dab3ae2c" - integrity sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ== - -cookie@0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.5.0.tgz#d1f5d71adec6558c58f389987c366aa47e994f8b" - integrity sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw== - -cookie@^0.4.1: - version "0.4.2" - resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.4.2.tgz#0e41f24de5ecf317947c82fc789e06a884824432" - integrity sha512-aSWTXFzaKWkvHO1Ny/s+ePFpvKsPnjc551iI41v3ny/ow6tBG5Vd+FuqGNhh1LxOmVzOlGUriIlOaokOvhaStA== - -cookiejar@^2.1.1, cookiejar@^2.1.4: - version "2.1.4" - resolved "https://registry.yarnpkg.com/cookiejar/-/cookiejar-2.1.4.tgz#ee669c1fea2cf42dc31585469d193fef0d65771b" - integrity sha512-LDx6oHrK+PhzLKJU9j5S7/Y3jM/mUHvD/DeI1WQmJn652iPC5Y4TBzC9l+5OMOXlyTTA+SmVUPm0HQUwpD5Jqw== - -copy-descriptor@^0.1.0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/copy-descriptor/-/copy-descriptor-0.1.1.tgz#676f6eb3c39997c2ee1ac3a924fd6124748f578d" - integrity sha512-XgZ0pFcakEUlbwQEVNg3+QAis1FyTL3Qel9FYy8pSkQqoG3PNoT0bOCQtOXcOkur21r2Eq2kI+IE+gsmAEVlYw== - -copy-to-clipboard@^3.3.1: - version "3.3.3" - resolved "https://registry.yarnpkg.com/copy-to-clipboard/-/copy-to-clipboard-3.3.3.tgz#55ac43a1db8ae639a4bd99511c148cdd1b83a1b0" - integrity sha512-2KV8NhB5JqC3ky0r9PMCAZKbUHSwtEo4CwCs0KXgruG43gX5PMqDEBbVU4OUzw2MuAWUfsuFmWvEKG5QRfSnJA== - dependencies: - toggle-selection "^1.0.6" - -copyfiles@^2.4.1: - version "2.4.1" - resolved "https://registry.yarnpkg.com/copyfiles/-/copyfiles-2.4.1.tgz#d2dcff60aaad1015f09d0b66e7f0f1c5cd3c5da5" - integrity sha512-fereAvAvxDrQDOXybk3Qu3dPbOoKoysFMWtkY3mv5BsL8//OSZVL5DCLYqgRfY5cWirgRzlC+WSrxp6Bo3eNZg== - dependencies: - glob "^7.0.5" - minimatch "^3.0.3" - mkdirp "^1.0.4" - noms "0.0.0" - through2 "^2.0.1" - untildify "^4.0.0" - yargs "^16.1.0" - -core-util-is@1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" - integrity sha512-3lqz5YjWTYnW6dlDa5TLaTCcShfar1e40rmcJVwCBJC6mWlFuj0eCHIElmG1g5kyuJ/GD+8Wn4FFCcz4gJPfaQ== - -core-util-is@~1.0.0: - version "1.0.3" - resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.3.tgz#a6042d3634c2b27e9328f837b965fac83808db85" - integrity sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ== - -cors@^2.8.1, cors@^2.8.5: - version "2.8.5" - resolved "https://registry.yarnpkg.com/cors/-/cors-2.8.5.tgz#eac11da51592dd86b9f06f6e7ac293b3df875d29" - integrity sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g== - dependencies: - object-assign "^4" - vary "^1" - -cosmjs-types@^0.7.1: - version "0.7.2" - resolved "https://registry.yarnpkg.com/cosmjs-types/-/cosmjs-types-0.7.2.tgz#a757371abd340949c5bd5d49c6f8379ae1ffd7e2" - integrity sha512-vf2uLyktjr/XVAgEq0DjMxeAWh1yYREe7AMHDKd7EiHVqxBPCaBS+qEEQUkXbR9ndnckqr1sUG8BQhazh4X5lA== - dependencies: - long "^4.0.0" - protobufjs "~6.11.2" - -cosmjs-types@^0.8.0: - version "0.8.0" - resolved "https://registry.yarnpkg.com/cosmjs-types/-/cosmjs-types-0.8.0.tgz#2ed78f3e990f770229726f95f3ef5bf9e2b6859b" - integrity sha512-Q2Mj95Fl0PYMWEhA2LuGEIhipF7mQwd9gTQ85DdP9jjjopeoGaDxvmPa5nakNzsq7FnO1DMTatXTAx6bxMH7Lg== - dependencies: - long "^4.0.0" - protobufjs "~6.11.2" - -crc-32@^1.2.0: - version "1.2.2" - resolved "https://registry.yarnpkg.com/crc-32/-/crc-32-1.2.2.tgz#3cad35a934b8bf71f25ca524b6da51fb7eace2ff" - integrity sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ== - -crc@^3.8.0: - version "3.8.0" - resolved "https://registry.yarnpkg.com/crc/-/crc-3.8.0.tgz#ad60269c2c856f8c299e2c4cc0de4556914056c6" - integrity sha512-iX3mfgcTMIq3ZKLIsVFAbv7+Mc10kxabAGQb8HvjA1o3T1PIYprbakQ65d3I+2HGHt6nSKkM9PYjgoJO2KcFBQ== - dependencies: - buffer "^5.1.0" - -create-ecdh@^4.0.0: - version "4.0.4" - resolved "https://registry.yarnpkg.com/create-ecdh/-/create-ecdh-4.0.4.tgz#d6e7f4bffa66736085a0762fd3a632684dabcc4e" - integrity sha512-mf+TCx8wWc9VpuxfP2ht0iSISLZnt0JgWlrOKZiNqyUZWnjIaCIVNQArMHnCZKfEYRg6IM7A+NeJoN8gf/Ws0A== - dependencies: - bn.js "^4.1.0" - elliptic "^6.5.3" - -create-hash@^1.1.0, create-hash@^1.1.2, create-hash@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/create-hash/-/create-hash-1.2.0.tgz#889078af11a63756bcfb59bd221996be3a9ef196" - integrity sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg== - dependencies: - cipher-base "^1.0.1" - inherits "^2.0.1" - md5.js "^1.3.4" - ripemd160 "^2.0.1" - sha.js "^2.4.0" - -create-hmac@^1.1.0, create-hmac@^1.1.4, create-hmac@^1.1.7: - version "1.1.7" - resolved "https://registry.yarnpkg.com/create-hmac/-/create-hmac-1.1.7.tgz#69170c78b3ab957147b2b8b04572e47ead2243ff" - integrity sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg== - dependencies: - cipher-base "^1.0.3" - create-hash "^1.1.0" - inherits "^2.0.1" - ripemd160 "^2.0.0" - safe-buffer "^5.0.1" - sha.js "^2.4.8" - -create-require@^1.1.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/create-require/-/create-require-1.1.1.tgz#c1d7e8f1e5f6cfc9ff65f9cd352d37348756c333" - integrity sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ== - -cross-fetch@3.1.5, cross-fetch@^3.0.2, cross-fetch@^3.0.6, cross-fetch@^3.1.4, cross-fetch@^3.1.5: - version "3.1.5" - resolved "https://registry.yarnpkg.com/cross-fetch/-/cross-fetch-3.1.5.tgz#e1389f44d9e7ba767907f7af8454787952ab534f" - integrity sha512-lvb1SBsI0Z7GDwmuid+mU3kWVBwTVUbe7S0H52yaaAdQOXq2YktTCZdlAcNKFzE6QtRz0snpw9bNiPeOIkkQvw== - dependencies: - node-fetch "2.6.7" - -cross-spawn@^6.0.0: - version "6.0.5" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4" - integrity sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ== - dependencies: - nice-try "^1.0.4" - path-key "^2.0.1" - semver "^5.5.0" - shebang-command "^1.2.0" - which "^1.2.9" - -cross-spawn@^7.0.2, cross-spawn@^7.0.3: - version "7.0.3" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" - integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== - dependencies: - path-key "^3.1.0" - shebang-command "^2.0.0" - which "^2.0.1" - -crypto-browserify@3.12.0, crypto-browserify@^3.12.0: - version "3.12.0" - resolved "https://registry.yarnpkg.com/crypto-browserify/-/crypto-browserify-3.12.0.tgz#396cf9f3137f03e4b8e532c58f698254e00f80ec" - integrity sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg== - dependencies: - browserify-cipher "^1.0.0" - browserify-sign "^4.0.0" - create-ecdh "^4.0.0" - create-hash "^1.1.0" - create-hmac "^1.1.0" - diffie-hellman "^5.0.0" - inherits "^2.0.1" - pbkdf2 "^3.0.3" - public-encrypt "^4.0.0" - randombytes "^2.0.0" - randomfill "^1.0.3" - -crypto-js@^4.0.0, crypto-js@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/crypto-js/-/crypto-js-4.1.1.tgz#9e485bcf03521041bd85844786b83fb7619736cf" - integrity sha512-o2JlM7ydqd3Qk9CA0L4NL6mTzU2sdx96a+oOfPu8Mkl/PK51vSyoi8/rQ8NknZtk44vq15lmhAj9CIAGwgeWKw== - -cssfilter@0.0.10: - version "0.0.10" - resolved "https://registry.yarnpkg.com/cssfilter/-/cssfilter-0.0.10.tgz#c6d2672632a2e5c83e013e6864a42ce8defd20ae" - integrity sha512-FAaLDaplstoRsDR8XGYH51znUN0UY7nMc6Z9/fvE8EXGwvJE9hu7W2vHwx1+bd6gCYnln9nLbzxFTrcO9YQDZw== - -cssom@^0.4.4: - version "0.4.4" - resolved "https://registry.yarnpkg.com/cssom/-/cssom-0.4.4.tgz#5a66cf93d2d0b661d80bf6a44fb65f5c2e4e0a10" - integrity sha512-p3pvU7r1MyyqbTk+WbNJIgJjG2VmTIaB10rI93LzVPrmDJKkzKYMtxxyAvQXR/NS6otuzveI7+7BBq3SjBS2mw== - -cssom@~0.3.6: - version "0.3.8" - resolved "https://registry.yarnpkg.com/cssom/-/cssom-0.3.8.tgz#9f1276f5b2b463f2114d3f2c75250af8c1a36f4a" - integrity sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg== - -cssstyle@^2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/cssstyle/-/cssstyle-2.3.0.tgz#ff665a0ddbdc31864b09647f34163443d90b0852" - integrity sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A== - dependencies: - cssom "~0.3.6" - -d@1, d@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/d/-/d-1.0.1.tgz#8698095372d58dbee346ffd0c7093f99f8f9eb5a" - integrity sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA== - dependencies: - es5-ext "^0.10.50" - type "^1.0.1" - -dashdash@^1.12.0: - version "1.14.1" - resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0" - integrity sha512-jRFi8UDGo6j+odZiEpjazZaWqEal3w/basFjQHQEwVtZJGDpxbH1MeYluwCS8Xq5wmLJooDlMgvVarmWfGM44g== - dependencies: - assert-plus "^1.0.0" - -data-urls@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/data-urls/-/data-urls-2.0.0.tgz#156485a72963a970f5d5821aaf642bef2bf2db9b" - integrity sha512-X5eWTSXO/BJmpdIKCRuKUgSCgAN0OwliVK3yPKbwIWU1Tdw5BRajxlzMidvh+gwko9AfQ9zIj52pzF91Q3YAvQ== - dependencies: - abab "^2.0.3" - whatwg-mimetype "^2.3.0" - whatwg-url "^8.0.0" - -dataloader@2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/dataloader/-/dataloader-2.1.0.tgz#c69c538235e85e7ac6c6c444bae8ecabf5de9df7" - integrity sha512-qTcEYLen3r7ojZNgVUaRggOI+KM7jrKxXeSHhogh/TWxYMeONEMqY+hmkobiYQozsGIyg9OYVzO4ZIfoB4I0pQ== - -dayjs@^1.10.6: - version "1.11.7" - resolved "https://registry.yarnpkg.com/dayjs/-/dayjs-1.11.7.tgz#4b296922642f70999544d1144a2c25730fce63e2" - integrity sha512-+Yw9U6YO5TQohxLcIkrXBeY73WP3ejHWVvx8XCk3gxvQDCTEmS48ZrSZCKciI7Bhl/uCMyxYtE9UqRILmFphkQ== - -debounce-fn@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/debounce-fn/-/debounce-fn-4.0.0.tgz#ed76d206d8a50e60de0dd66d494d82835ffe61c7" - integrity sha512-8pYCQiL9Xdcg0UPSD3d+0KMlOjp+KGU5EPwYddgzQ7DATsg4fuUDjQtsYLmWjnk2obnNHgV3vE2Y4jejSOJVBQ== - dependencies: - mimic-fn "^3.0.0" - -debug@2.6.9, debug@^2.2.0, debug@^2.3.3: - version "2.6.9" - resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" - integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== - dependencies: - ms "2.0.0" - -debug@3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261" - integrity sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g== - dependencies: - ms "2.0.0" - -debug@4, debug@4.3.4, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.3, debug@^4.3.4, debug@~4.3.1, debug@~4.3.2: - version "4.3.4" - resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" - integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== - dependencies: - ms "2.1.2" - -debug@^3.1.0, debug@^3.2.7: - version "3.2.7" - resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.7.tgz#72580b7e9145fb39b6676f9c5e5fb100b934179a" - integrity sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ== - dependencies: - ms "^2.1.1" - -decamelize@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" - integrity sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA== - -decamelize@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-4.0.0.tgz#aa472d7bf660eb15f3494efd531cab7f2a709837" - integrity sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ== - -decimal.js-light@^2.5.0, decimal.js-light@^2.5.1: - version "2.5.1" - resolved "https://registry.yarnpkg.com/decimal.js-light/-/decimal.js-light-2.5.1.tgz#134fd32508f19e208f4fb2f8dac0d2626a867934" - integrity sha512-qIMFpTMZmny+MMIitAB6D7iVPEorVw6YQRWkvarTkT4tBeSLLiHzcwj6q0MmYSFCiVpiqPJTJEYIrpcPzVEIvg== - -decimal.js@^10.2.0, decimal.js@^10.2.1, decimal.js@^10.3.1, decimal.js@^10.4.3: - version "10.4.3" - resolved "https://registry.yarnpkg.com/decimal.js/-/decimal.js-10.4.3.tgz#1044092884d245d1b7f65725fa4ad4c6f781cc23" - integrity sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA== - -decode-uri-component@^0.2.0: - version "0.2.2" - resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.2.tgz#e69dbe25d37941171dd540e024c444cd5188e1e9" - integrity sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ== - -decompress-response@^3.2.0, decompress-response@^3.3.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/decompress-response/-/decompress-response-3.3.0.tgz#80a4dd323748384bfa248083622aedec982adff3" - integrity sha512-BzRPQuY1ip+qDonAOz42gRm/pg9F768C+npV/4JOsxRC2sq+Rlk+Q4ZCAsOhnIaMrgarILY+RMUIvMmmX1qAEA== - dependencies: - mimic-response "^1.0.0" - -decompress-response@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/decompress-response/-/decompress-response-6.0.0.tgz#ca387612ddb7e104bd16d85aab00d5ecf09c66fc" - integrity sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ== - dependencies: - mimic-response "^3.1.0" - -decompress-tar@^4.0.0, decompress-tar@^4.1.0, decompress-tar@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/decompress-tar/-/decompress-tar-4.1.1.tgz#718cbd3fcb16209716e70a26b84e7ba4592e5af1" - integrity sha512-JdJMaCrGpB5fESVyxwpCx4Jdj2AagLmv3y58Qy4GE6HMVjWz1FeVQk1Ct4Kye7PftcdOo/7U7UKzYBJgqnGeUQ== - dependencies: - file-type "^5.2.0" - is-stream "^1.1.0" - tar-stream "^1.5.2" - -decompress-tarbz2@^4.0.0: - version "4.1.1" - resolved "https://registry.yarnpkg.com/decompress-tarbz2/-/decompress-tarbz2-4.1.1.tgz#3082a5b880ea4043816349f378b56c516be1a39b" - integrity sha512-s88xLzf1r81ICXLAVQVzaN6ZmX4A6U4z2nMbOwobxkLoIIfjVMBg7TeguTUXkKeXni795B6y5rnvDw7rxhAq9A== - dependencies: - decompress-tar "^4.1.0" - file-type "^6.1.0" - is-stream "^1.1.0" - seek-bzip "^1.0.5" - unbzip2-stream "^1.0.9" - -decompress-targz@^4.0.0: - version "4.1.1" - resolved "https://registry.yarnpkg.com/decompress-targz/-/decompress-targz-4.1.1.tgz#c09bc35c4d11f3de09f2d2da53e9de23e7ce1eee" - integrity sha512-4z81Znfr6chWnRDNfFNqLwPvm4db3WuZkqV+UgXQzSngG3CEKdBkw5jrv3axjjL96glyiiKjsxJG3X6WBZwX3w== - dependencies: - decompress-tar "^4.1.1" - file-type "^5.2.0" - is-stream "^1.1.0" - -decompress-unzip@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/decompress-unzip/-/decompress-unzip-4.0.1.tgz#deaaccdfd14aeaf85578f733ae8210f9b4848f69" - integrity sha512-1fqeluvxgnn86MOh66u8FjbtJpAFv5wgCT9Iw8rcBqQcCo5tO8eiJw7NNTrvt9n4CRBVq7CstiS922oPgyGLrw== - dependencies: - file-type "^3.8.0" - get-stream "^2.2.0" - pify "^2.3.0" - yauzl "^2.4.2" - -decompress@^4.0.0: - version "4.2.1" - resolved "https://registry.yarnpkg.com/decompress/-/decompress-4.2.1.tgz#007f55cc6a62c055afa37c07eb6a4ee1b773f118" - integrity sha512-e48kc2IjU+2Zw8cTb6VZcJQ3lgVbS4uuB1TfCHbiZIP/haNXm+SVyhu+87jts5/3ROpd82GSVCoNs/z8l4ZOaQ== - dependencies: - decompress-tar "^4.0.0" - decompress-tarbz2 "^4.0.0" - decompress-targz "^4.0.0" - decompress-unzip "^4.0.1" - graceful-fs "^4.1.10" - make-dir "^1.0.0" - pify "^2.3.0" - strip-dirs "^2.0.0" - -dedent@^0.7.0: - version "0.7.0" - resolved "https://registry.yarnpkg.com/dedent/-/dedent-0.7.0.tgz#2495ddbaf6eb874abb0e1be9df22d2e5a544326c" - integrity sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA== - -deep-eql@^4.1.2: - version "4.1.3" - resolved "https://registry.yarnpkg.com/deep-eql/-/deep-eql-4.1.3.tgz#7c7775513092f7df98d8df9996dd085eb668cc6d" - integrity sha512-WaEtAOpRA1MQ0eohqZjpGD8zdI0Ovsm8mmFhaDN8dvDZzyoUMcYDnf5Y6iu7HTXxf8JDS23qWa4a+hKCDyOPzw== - dependencies: - type-detect "^4.0.0" - -deep-is@^0.1.3, deep-is@~0.1.3: - version "0.1.4" - resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.4.tgz#a6f2dce612fadd2ef1f519b73551f17e85199831" - integrity sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ== - -deepmerge@^4.2.2: - version "4.3.1" - resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-4.3.1.tgz#44b5f2147cd3b00d4b56137685966f26fd25dd4a" - integrity sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A== - -defer-to-connect@^1.0.1: - version "1.1.3" - resolved "https://registry.yarnpkg.com/defer-to-connect/-/defer-to-connect-1.1.3.tgz#331ae050c08dcf789f8c83a7b81f0ed94f4ac591" - integrity sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ== - -defer-to-connect@^2.0.0, defer-to-connect@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/defer-to-connect/-/defer-to-connect-2.0.1.tgz#8016bdb4143e4632b77a3449c6236277de520587" - integrity sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg== - -deferred-leveldown@~5.3.0: - version "5.3.0" - resolved "https://registry.yarnpkg.com/deferred-leveldown/-/deferred-leveldown-5.3.0.tgz#27a997ad95408b61161aa69bd489b86c71b78058" - integrity sha512-a59VOT+oDy7vtAbLRCZwWgxu2BaCfd5Hk7wxJd48ei7I+nsg8Orlb9CLG0PMZienk9BSUKgeAqkO2+Lw+1+Ukw== - dependencies: - abstract-leveldown "~6.2.1" - inherits "^2.0.3" - -define-properties@^1.1.3, define-properties@^1.1.4: - version "1.2.0" - resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.2.0.tgz#52988570670c9eacedd8064f4a990f2405849bd5" - integrity sha512-xvqAVKGfT1+UAvPwKTVw/njhdQ8ZhXK4lI0bCIuCMrp2up9nPnaDftrLtmpTazqd1o+UY4zgzU+avtMbDP+ldA== - dependencies: - has-property-descriptors "^1.0.0" - object-keys "^1.1.1" - -define-property@^0.2.5: - version "0.2.5" - resolved "https://registry.yarnpkg.com/define-property/-/define-property-0.2.5.tgz#c35b1ef918ec3c990f9a5bc57be04aacec5c8116" - integrity sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA== - dependencies: - is-descriptor "^0.1.0" - -define-property@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/define-property/-/define-property-1.0.0.tgz#769ebaaf3f4a63aad3af9e8d304c9bbe79bfb0e6" - integrity sha512-cZTYKFWspt9jZsMscWo8sc/5lbPC9Q0N5nBLgb+Yd915iL3udB1uFgS3B8YCx66UVHq018DAVFoee7x+gxggeA== - dependencies: - is-descriptor "^1.0.0" - -define-property@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/define-property/-/define-property-2.0.2.tgz#d459689e8d654ba77e02a817f8710d702cb16e9d" - integrity sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ== - dependencies: - is-descriptor "^1.0.2" - isobject "^3.0.1" - -delay@^4.4.0: - version "4.4.1" - resolved "https://registry.yarnpkg.com/delay/-/delay-4.4.1.tgz#6e02d02946a1b6ab98b39262ced965acba2ac4d1" - integrity sha512-aL3AhqtfhOlT/3ai6sWXeqwnw63ATNpnUiN4HL7x9q+My5QtHlO3OIkasmug9LKzpheLdmUKGRKnYXYAS7FQkQ== - -delay@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/delay/-/delay-5.0.0.tgz#137045ef1b96e5071060dd5be60bf9334436bd1d" - integrity sha512-ReEBKkIfe4ya47wlPYf/gu5ib6yUG0/Aez0JQZQz94kiWtRQvZIQbTiehsnwHvLSWJnQdhVeqYue7Id1dKr0qw== - -delayed-stream@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" - integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ== - -depd@2.0.0, depd@^2.0.0, depd@~2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/depd/-/depd-2.0.0.tgz#b696163cc757560d09cf22cc8fad1571b79e76df" - integrity sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw== - -depd@~1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9" - integrity sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ== - -des.js@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/des.js/-/des.js-1.0.1.tgz#5382142e1bdc53f85d86d53e5f4aa7deb91e0843" - integrity sha512-Q0I4pfFrv2VPd34/vfLrFOoRmlYj3OV50i7fskps1jZWK1kApMWWT9G6RRUeYedLcBDIhnSDaUvJMb3AhUlaEA== - dependencies: - inherits "^2.0.1" - minimalistic-assert "^1.0.0" - -destroy@1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.2.0.tgz#4803735509ad8be552934c67df614f94e66fa015" - integrity sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg== - -detect-browser@5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/detect-browser/-/detect-browser-5.2.0.tgz#c9cd5afa96a6a19fda0bbe9e9be48a6b6e1e9c97" - integrity sha512-tr7XntDAu50BVENgQfajMLzacmSe34D+qZc4zjnniz0ZVuw/TZcLcyxHQjYpJTM36sGEkZZlYLnIM1hH7alTMA== - -detect-browser@5.3.0: - version "5.3.0" - resolved "https://registry.yarnpkg.com/detect-browser/-/detect-browser-5.3.0.tgz#9705ef2bddf46072d0f7265a1fe300e36fe7ceca" - integrity sha512-53rsFbGdwMwlF7qvCt0ypLM5V5/Mbl0szB7GPN8y9NCcbknYOeVVXdrXEq+90IwAfrrzt6Hd+u2E2ntakICU8w== - -detect-newline@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/detect-newline/-/detect-newline-3.1.0.tgz#576f5dfc63ae1a192ff192d8ad3af6308991b651" - integrity sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA== - -dezalgo@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/dezalgo/-/dezalgo-1.0.4.tgz#751235260469084c132157dfa857f386d4c33d81" - integrity sha512-rXSP0bf+5n0Qonsb+SVVfNfIsimO4HEtmnIpPHY8Q1UCzKlQrDMfdobr8nJOOsRgWCyMRqeSBQzmWUMq7zvVig== - dependencies: - asap "^2.0.0" - wrappy "1" - -diff-sequences@^24.9.0: - version "24.9.0" - resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-24.9.0.tgz#5715d6244e2aa65f48bba0bc972db0b0b11e95b5" - integrity sha512-Dj6Wk3tWyTE+Fo1rW8v0Xhwk80um6yFYKbuAxc9c3EZxIHFDYwbi34Uk42u1CdnIiVorvt4RmlSDjIPyzGC2ew== - -diff-sequences@^27.5.1: - version "27.5.1" - resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-27.5.1.tgz#eaecc0d327fd68c8d9672a1e64ab8dccb2ef5327" - integrity sha512-k1gCAXAsNgLwEL+Y8Wvl+M6oEFj5bgazfZULpS5CneoPPXRaCCW7dm+q21Ky2VEE5X+VeRDBVg1Pcvvsr4TtNQ== - -diff@3.5.0: - version "3.5.0" - resolved "https://registry.yarnpkg.com/diff/-/diff-3.5.0.tgz#800c0dd1e0a8bfbc95835c202ad220fe317e5a12" - integrity sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA== - -diff@5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/diff/-/diff-5.0.0.tgz#7ed6ad76d859d030787ec35855f5b1daf31d852b" - integrity sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w== - -diff@^4.0.1: - version "4.0.2" - resolved "https://registry.yarnpkg.com/diff/-/diff-4.0.2.tgz#60f3aecb89d5fae520c11aa19efc2bb982aade7d" - integrity sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A== - -diffie-hellman@^5.0.0: - version "5.0.3" - resolved "https://registry.yarnpkg.com/diffie-hellman/-/diffie-hellman-5.0.3.tgz#40e8ee98f55a2149607146921c63e1ae5f3d2875" - integrity sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg== - dependencies: - bn.js "^4.1.0" - miller-rabin "^4.0.0" - randombytes "^2.0.0" - -diffparser@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/diffparser/-/diffparser-2.0.1.tgz#4228d5688ab2f05832c320231deda048fcfce8e7" - integrity sha512-XBuCzzdLUBJzXTvbonNPv7+AhNkiUyhyiZBSrhKxKYcIXfAcPOVaINviC2vB+bfBa5EopW60CzkBjuwb3jdmiw== - -dijkstrajs@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/dijkstrajs/-/dijkstrajs-1.0.2.tgz#2e48c0d3b825462afe75ab4ad5e829c8ece36257" - integrity sha512-QV6PMaHTCNmKSeP6QoXhVTw9snc9VD8MulTT0Bd99Pacp4SS1cjcrYPgBPmibqKVtMJJfqC6XvOXgPMEEPH/fg== - -dir-glob@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-3.0.1.tgz#56dbf73d992a4a93ba1584f4534063fd2e41717f" - integrity sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA== - dependencies: - path-type "^4.0.0" - -doctrine@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-2.1.0.tgz#5cd01fc101621b42c4cd7f5d1a66243716d3f39d" - integrity sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw== - dependencies: - esutils "^2.0.2" - -doctrine@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-3.0.0.tgz#addebead72a6574db783639dc87a121773973961" - integrity sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w== - dependencies: - esutils "^2.0.2" - -dom-walk@^0.1.0: - version "0.1.2" - resolved "https://registry.yarnpkg.com/dom-walk/-/dom-walk-0.1.2.tgz#0c548bef048f4d1f2a97249002236060daa3fd84" - integrity sha512-6QvTW9mrGeIegrFXdtQi9pk7O/nSK6lSdXW2eqUspN5LWD7UTji2Fqw5V2YLjBpHEoU9Xl/eUWNpDeZvoyOv2w== - -domexception@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/domexception/-/domexception-2.0.1.tgz#fb44aefba793e1574b0af6aed2801d057529f304" - integrity sha512-yxJ2mFy/sibVQlu5qHjOkf9J3K6zgmCxgJ94u2EdvDOV09H+32LtRswEcUsmUWN72pVLOEnTSRaIVVzVQgS0dg== - dependencies: - webidl-conversions "^5.0.0" - -dot-case@^2.1.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/dot-case/-/dot-case-2.1.1.tgz#34dcf37f50a8e93c2b3bca8bb7fb9155c7da3bee" - integrity sha512-HnM6ZlFqcajLsyudHq7LeeLDr2rFAVYtDv/hV5qchQEidSck8j9OPUsXY9KwJv/lHMtYlX4DjRQqwFYa+0r8Ug== - dependencies: - no-case "^2.2.0" - -dot-case@^3.0.4: - version "3.0.4" - resolved "https://registry.yarnpkg.com/dot-case/-/dot-case-3.0.4.tgz#9b2b670d00a431667a8a75ba29cd1b98809ce751" - integrity sha512-Kv5nKlh6yRrdrGvxeJ2e5y2eRUpkUosIW4A2AS38zwSz27zu7ufDwQPi5Jhs3XAlGNetl3bmnGhQsMtkKJnj3w== - dependencies: - no-case "^3.0.4" - tslib "^2.0.3" - -dot-prop@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/dot-prop/-/dot-prop-6.0.1.tgz#fc26b3cf142b9e59b74dbd39ed66ce620c681083" - integrity sha512-tE7ztYzXHIeyvc7N+hR3oi7FIbf/NIjVP9hmAt3yMXzrQ072/fpjGLx2GxNxGxUl5V73MEqYzioOMoVhGMJ5cA== - dependencies: - is-obj "^2.0.0" - -dotenv@^14.2.0: - version "14.3.2" - resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-14.3.2.tgz#7c30b3a5f777c79a3429cb2db358eef6751e8369" - integrity sha512-vwEppIphpFdvaMCaHfCEv9IgwcxMljMw2TnAQBB4VWPvzXQLTb82jwmdOKzlEVUL3gNFT4l4TPKO+Bn+sqcrVQ== - -double-ended-queue@2.1.0-0: - version "2.1.0-0" - resolved "https://registry.yarnpkg.com/double-ended-queue/-/double-ended-queue-2.1.0-0.tgz#103d3527fd31528f40188130c841efdd78264e5c" - integrity sha512-+BNfZ+deCo8hMNpDqDnvT+c0XpJ5cUa6mqYq89bho2Ifze4URTqRkcwR399hWoTrTkbZ/XJYDgP6rc7pRgffEQ== - -drbg.js@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/drbg.js/-/drbg.js-1.0.1.tgz#3e36b6c42b37043823cdbc332d58f31e2445480b" - integrity sha512-F4wZ06PvqxYLFEZKkFxTDcns9oFNk34hvmJSEwdzsxVQ8YI5YaxtACgQatkYgv2VI2CFkUd2Y+xosPQnHv809g== - dependencies: - browserify-aes "^1.0.6" - create-hash "^1.1.2" - create-hmac "^1.1.4" - -dtrace-provider@~0.8: - version "0.8.8" - resolved "https://registry.yarnpkg.com/dtrace-provider/-/dtrace-provider-0.8.8.tgz#2996d5490c37e1347be263b423ed7b297fb0d97e" - integrity sha512-b7Z7cNtHPhH9EJhNNbbeqTcXB8LGFFZhq1PGgEvpeHlzd36bhbdTWoE/Ba/YguqpBSlAPKnARWhVlhunCMwfxg== - dependencies: - nan "^2.14.0" - -duplexer3@^0.1.4: - version "0.1.5" - resolved "https://registry.yarnpkg.com/duplexer3/-/duplexer3-0.1.5.tgz#0b5e4d7bad5de8901ea4440624c8e1d20099217e" - integrity sha512-1A8za6ws41LQgv9HrE/66jyC5yuSjQ3L/KOpFtoBilsAK2iA2wuS5rTt1OCzIvtS2V7nVmedsUU+DGRcjBmOYA== - -duplexify@^4.1.2: - version "4.1.2" - resolved "https://registry.yarnpkg.com/duplexify/-/duplexify-4.1.2.tgz#18b4f8d28289132fa0b9573c898d9f903f81c7b0" - integrity sha512-fz3OjcNCHmRP12MJoZMPglx8m4rrFP8rovnk4vT8Fs+aonZoCwGg10dSsQsfP/E62eZcPTMSMP6686fu9Qlqtw== - dependencies: - end-of-stream "^1.4.1" - inherits "^2.0.3" - readable-stream "^3.1.1" - stream-shift "^1.0.0" - -ecc-jsbn@~0.1.1: - version "0.1.2" - resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz#3a83a904e54353287874c564b7549386849a98c9" - integrity sha512-eh9O+hwRHNbG4BLTjEl3nw044CkGm5X6LoaCf7LPp7UU8Qrt47JYNi6nPX8xjW97TKGKm1ouctg0QSpZe9qrnw== - dependencies: - jsbn "~0.1.0" - safer-buffer "^2.1.0" + "big.js" "^6.2.1" + "lodash-es" "^4.17.21" + "mathjs" "^9.3.0" + "near-api-js" "0.44.2" + "ref-sdk" "^0.1.5" + +"collect-v8-coverage@^1.0.0": + "integrity" "sha512-iBPtljfCNcTKNAto0KEtDfZ3qzjJvqE3aTGZsbhjSBlorqpXJlaWWtPO35D+ZImoC3KWejX64o+yPGxhWSTzfg==" + "resolved" "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.1.tgz" + "version" "1.0.1" + +"collection-visit@^1.0.0": + "integrity" "sha512-lNkKvzEeMBBjUGHZ+q6z9pSJla0KWAQPvtzhEV9+iGyQYG+pBpl7xKDhxoNSOZH2hhv0v5k0y2yAM4o4SjoSkw==" + "resolved" "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz" + "version" "1.0.0" + dependencies: + "map-visit" "^1.0.0" + "object-visit" "^1.0.0" + +"color-convert@^1.9.0", "color-convert@^1.9.3": + "integrity" "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==" + "resolved" "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz" + "version" "1.9.3" + dependencies: + "color-name" "1.1.3" + +"color-convert@^2.0.1": + "integrity" "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==" + "resolved" "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz" + "version" "2.0.1" + dependencies: + "color-name" "~1.1.4" + +"color-name@^1.0.0", "color-name@~1.1.4": + "integrity" "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + "resolved" "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz" + "version" "1.1.4" + +"color-name@1.1.3": + "integrity" "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" + "resolved" "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz" + "version" "1.1.3" + +"color-string@^1.6.0": + "integrity" "sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==" + "resolved" "https://registry.npmjs.org/color-string/-/color-string-1.9.1.tgz" + "version" "1.9.1" + dependencies: + "color-name" "^1.0.0" + "simple-swizzle" "^0.2.2" + +"color-support@^1.1.2": + "integrity" "sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==" + "resolved" "https://registry.npmjs.org/color-support/-/color-support-1.1.3.tgz" + "version" "1.1.3" + +"color@^3.1.3": + "integrity" "sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA==" + "resolved" "https://registry.npmjs.org/color/-/color-3.2.1.tgz" + "version" "3.2.1" + dependencies: + "color-convert" "^1.9.3" + "color-string" "^1.6.0" + +"colors@1.4.0": + "integrity" "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==" + "resolved" "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz" + "version" "1.4.0" + +"colorspace@1.1.x": + "integrity" "sha512-BgvKJiuVu1igBUF2kEjRCZXol6wiiGbY5ipL/oVPwm0BL9sIpMIzM8IK7vwuxIIzOXMV3Ey5w+vxhm0rR/TN8w==" + "resolved" "https://registry.npmjs.org/colorspace/-/colorspace-1.1.4.tgz" + "version" "1.1.4" + dependencies: + "color" "^3.1.3" + "text-hex" "1.0.x" + +"combined-stream@^1.0.6", "combined-stream@^1.0.8", "combined-stream@~1.0.6": + "integrity" "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==" + "resolved" "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz" + "version" "1.0.8" + dependencies: + "delayed-stream" "~1.0.0" + +"command-exists@^1.2.8": + "integrity" "sha512-LTQ/SGc+s0Xc0Fu5WaKnR0YiygZkm9eKFvyS+fRsU7/ZWFF8ykFM6Pc9aCVf1+xasOOZpO3BAVgVrKvsqKHV7w==" + "resolved" "https://registry.npmjs.org/command-exists/-/command-exists-1.2.9.tgz" + "version" "1.2.9" + +"commander@^2.20.3", "commander@^2.8.1": + "integrity" "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==" + "resolved" "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz" + "version" "2.20.3" + +"commander@2.11.0": + "integrity" "sha512-b0553uYA5YAEGgyYIGYROzKQ7X5RAqedkfjiZxwi0kL1g3bOaBNNZfYkzt/CL0umgD5wc9Jec2FbB98CjkMRvQ==" + "resolved" "https://registry.npmjs.org/commander/-/commander-2.11.0.tgz" + "version" "2.11.0" + +"commander@2.15.1": + "integrity" "sha512-VlfT9F3V0v+jr4yxPc5gg9s62/fIVWsd2Bk2iD435um1NlGMYdVCq+MjcXnhYq2icNOizHr1kK+5TI6H0Hy0ag==" + "resolved" "https://registry.npmjs.org/commander/-/commander-2.15.1.tgz" + "version" "2.15.1" + +"commander@3.0.2": + "integrity" "sha512-Gar0ASD4BDyKC4hl4DwHqDrmvjoxWKZigVnAbn5H1owvm4CxCPdb0HQDehwNYMJpla5+M2tPmPARzhtYuwpHow==" + "resolved" "https://registry.npmjs.org/commander/-/commander-3.0.2.tgz" + "version" "3.0.2" + +"complex.js@^2.0.15", "complex.js@^2.1.1": + "integrity" "sha512-8njCHOTtFFLtegk6zQo0kkVX1rngygb/KQI6z1qZxlFI3scluC+LVTCFbrkWjBv4vvLlbQ9t88IPMC6k95VTTg==" + "resolved" "https://registry.npmjs.org/complex.js/-/complex.js-2.1.1.tgz" + "version" "2.1.1" + +"component-emitter@^1.2.1", "component-emitter@^1.3.0": + "integrity" "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==" + "resolved" "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz" + "version" "1.3.0" + +"concat-map@0.0.1": + "integrity" "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" + "resolved" "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz" + "version" "0.0.1" + +"conf@^10.1.2": + "integrity" "sha512-8fLl9F04EJqjSqH+QjITQfJF8BrOVaYr1jewVgSRAEWePfxT0sku4w2hrGQ60BC/TNLGQ2pgxNlTbWQmMPFvXg==" + "resolved" "https://registry.npmjs.org/conf/-/conf-10.2.0.tgz" + "version" "10.2.0" + dependencies: + "ajv" "^8.6.3" + "ajv-formats" "^2.1.1" + "atomically" "^1.7.0" + "debounce-fn" "^4.0.0" + "dot-prop" "^6.0.1" + "env-paths" "^2.2.1" + "json-schema-typed" "^7.0.3" + "onetime" "^5.1.2" + "pkg-up" "^3.1.0" + "semver" "^7.3.5" + +"console-control-strings@^1.0.0", "console-control-strings@^1.1.0": + "integrity" "sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ==" + "resolved" "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz" + "version" "1.1.0" + +"constant-case@^2.0.0": + "integrity" "sha512-eS0N9WwmjTqrOmR3o83F5vW8Z+9R1HnVz3xmzT2PMFug9ly+Au/fxRWlEBSb6LcZwspSsEn9Xs1uw9YgzAg1EQ==" + "resolved" "https://registry.npmjs.org/constant-case/-/constant-case-2.0.0.tgz" + "version" "2.0.0" + dependencies: + "snake-case" "^2.1.0" + "upper-case" "^1.1.1" + +"content-disposition@0.5.4": + "integrity" "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==" + "resolved" "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz" + "version" "0.5.4" + dependencies: + "safe-buffer" "5.2.1" + +"content-hash@^2.5.2": + "integrity" "sha512-FvIQKy0S1JaWV10sMsA7TRx8bpU+pqPkhbsfvOJAdjRXvYxEckAwQWGwtRjiaJfh+E0DvcWUGqcdjwMGFjsSdw==" + "resolved" "https://registry.npmjs.org/content-hash/-/content-hash-2.5.2.tgz" + "version" "2.5.2" + dependencies: + "cids" "^0.7.1" + "multicodec" "^0.5.5" + "multihashes" "^0.4.15" + +"content-type@~1.0.4", "content-type@~1.0.5": + "integrity" "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==" + "resolved" "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz" + "version" "1.0.5" + +"convert-source-map@^1.4.0", "convert-source-map@^1.6.0", "convert-source-map@^1.7.0": + "integrity" "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==" + "resolved" "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz" + "version" "1.9.0" + +"cookie-signature@1.0.6": + "integrity" "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==" + "resolved" "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz" + "version" "1.0.6" + +"cookie@^0.4.1": + "integrity" "sha512-aSWTXFzaKWkvHO1Ny/s+ePFpvKsPnjc551iI41v3ny/ow6tBG5Vd+FuqGNhh1LxOmVzOlGUriIlOaokOvhaStA==" + "resolved" "https://registry.npmjs.org/cookie/-/cookie-0.4.2.tgz" + "version" "0.4.2" + +"cookie@0.5.0": + "integrity" "sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==" + "resolved" "https://registry.npmjs.org/cookie/-/cookie-0.5.0.tgz" + "version" "0.5.0" + +"cookiejar@^2.1.1", "cookiejar@^2.1.4": + "integrity" "sha512-LDx6oHrK+PhzLKJU9j5S7/Y3jM/mUHvD/DeI1WQmJn652iPC5Y4TBzC9l+5OMOXlyTTA+SmVUPm0HQUwpD5Jqw==" + "resolved" "https://registry.npmjs.org/cookiejar/-/cookiejar-2.1.4.tgz" + "version" "2.1.4" + +"copy-descriptor@^0.1.0": + "integrity" "sha512-XgZ0pFcakEUlbwQEVNg3+QAis1FyTL3Qel9FYy8pSkQqoG3PNoT0bOCQtOXcOkur21r2Eq2kI+IE+gsmAEVlYw==" + "resolved" "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz" + "version" "0.1.1" + +"copy-to-clipboard@^3.3.1": + "integrity" "sha512-2KV8NhB5JqC3ky0r9PMCAZKbUHSwtEo4CwCs0KXgruG43gX5PMqDEBbVU4OUzw2MuAWUfsuFmWvEKG5QRfSnJA==" + "resolved" "https://registry.npmjs.org/copy-to-clipboard/-/copy-to-clipboard-3.3.3.tgz" + "version" "3.3.3" + dependencies: + "toggle-selection" "^1.0.6" + +"copyfiles@^2.4.1": + "integrity" "sha512-fereAvAvxDrQDOXybk3Qu3dPbOoKoysFMWtkY3mv5BsL8//OSZVL5DCLYqgRfY5cWirgRzlC+WSrxp6Bo3eNZg==" + "resolved" "https://registry.npmjs.org/copyfiles/-/copyfiles-2.4.1.tgz" + "version" "2.4.1" + dependencies: + "glob" "^7.0.5" + "minimatch" "^3.0.3" + "mkdirp" "^1.0.4" + "noms" "0.0.0" + "through2" "^2.0.1" + "untildify" "^4.0.0" + "yargs" "^16.1.0" + +"core-util-is@~1.0.0": + "integrity" "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==" + "resolved" "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz" + "version" "1.0.3" + +"core-util-is@1.0.2": + "integrity" "sha512-3lqz5YjWTYnW6dlDa5TLaTCcShfar1e40rmcJVwCBJC6mWlFuj0eCHIElmG1g5kyuJ/GD+8Wn4FFCcz4gJPfaQ==" + "resolved" "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz" + "version" "1.0.2" + +"cors@^2.8.1", "cors@^2.8.5": + "integrity" "sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==" + "resolved" "https://registry.npmjs.org/cors/-/cors-2.8.5.tgz" + "version" "2.8.5" + dependencies: + "object-assign" "^4" + "vary" "^1" + +"cosmjs-types@^0.7.1": + "integrity" "sha512-vf2uLyktjr/XVAgEq0DjMxeAWh1yYREe7AMHDKd7EiHVqxBPCaBS+qEEQUkXbR9ndnckqr1sUG8BQhazh4X5lA==" + "resolved" "https://registry.npmjs.org/cosmjs-types/-/cosmjs-types-0.7.2.tgz" + "version" "0.7.2" + dependencies: + "long" "^4.0.0" + "protobufjs" "~6.11.2" + +"cosmjs-types@^0.8.0": + "integrity" "sha512-Q2Mj95Fl0PYMWEhA2LuGEIhipF7mQwd9gTQ85DdP9jjjopeoGaDxvmPa5nakNzsq7FnO1DMTatXTAx6bxMH7Lg==" + "resolved" "https://registry.npmjs.org/cosmjs-types/-/cosmjs-types-0.8.0.tgz" + "version" "0.8.0" + dependencies: + "long" "^4.0.0" + "protobufjs" "~6.11.2" + +"crc-32@^1.2.0": + "integrity" "sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ==" + "resolved" "https://registry.npmjs.org/crc-32/-/crc-32-1.2.2.tgz" + "version" "1.2.2" + +"crc@^3.8.0": + "integrity" "sha512-iX3mfgcTMIq3ZKLIsVFAbv7+Mc10kxabAGQb8HvjA1o3T1PIYprbakQ65d3I+2HGHt6nSKkM9PYjgoJO2KcFBQ==" + "resolved" "https://registry.npmjs.org/crc/-/crc-3.8.0.tgz" + "version" "3.8.0" + dependencies: + "buffer" "^5.1.0" + +"create-ecdh@^4.0.0": + "integrity" "sha512-mf+TCx8wWc9VpuxfP2ht0iSISLZnt0JgWlrOKZiNqyUZWnjIaCIVNQArMHnCZKfEYRg6IM7A+NeJoN8gf/Ws0A==" + "resolved" "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.4.tgz" + "version" "4.0.4" + dependencies: + "bn.js" "^4.1.0" + "elliptic" "^6.5.3" + +"create-hash@^1.1.0", "create-hash@^1.1.2", "create-hash@^1.2.0": + "integrity" "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==" + "resolved" "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz" + "version" "1.2.0" + dependencies: + "cipher-base" "^1.0.1" + "inherits" "^2.0.1" + "md5.js" "^1.3.4" + "ripemd160" "^2.0.1" + "sha.js" "^2.4.0" + +"create-hmac@^1.1.0", "create-hmac@^1.1.4", "create-hmac@^1.1.7": + "integrity" "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==" + "resolved" "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz" + "version" "1.1.7" + dependencies: + "cipher-base" "^1.0.3" + "create-hash" "^1.1.0" + "inherits" "^2.0.1" + "ripemd160" "^2.0.0" + "safe-buffer" "^5.0.1" + "sha.js" "^2.4.8" + +"create-require@^1.1.0": + "integrity" "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==" + "resolved" "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz" + "version" "1.1.1" + +"cross-fetch@^3.0.2", "cross-fetch@^3.0.6", "cross-fetch@^3.1.4", "cross-fetch@^3.1.5", "cross-fetch@3.1.5": + "integrity" "sha512-lvb1SBsI0Z7GDwmuid+mU3kWVBwTVUbe7S0H52yaaAdQOXq2YktTCZdlAcNKFzE6QtRz0snpw9bNiPeOIkkQvw==" + "resolved" "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.5.tgz" + "version" "3.1.5" + dependencies: + "node-fetch" "2.6.7" + +"cross-spawn@^6.0.0": + "integrity" "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==" + "resolved" "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz" + "version" "6.0.5" + dependencies: + "nice-try" "^1.0.4" + "path-key" "^2.0.1" + "semver" "^5.5.0" + "shebang-command" "^1.2.0" + "which" "^1.2.9" + +"cross-spawn@^7.0.2", "cross-spawn@^7.0.3": + "integrity" "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==" + "resolved" "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz" + "version" "7.0.3" + dependencies: + "path-key" "^3.1.0" + "shebang-command" "^2.0.0" + "which" "^2.0.1" + +"crypto-browserify@^3.12.0", "crypto-browserify@3.12.0": + "integrity" "sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==" + "resolved" "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.0.tgz" + "version" "3.12.0" + dependencies: + "browserify-cipher" "^1.0.0" + "browserify-sign" "^4.0.0" + "create-ecdh" "^4.0.0" + "create-hash" "^1.1.0" + "create-hmac" "^1.1.0" + "diffie-hellman" "^5.0.0" + "inherits" "^2.0.1" + "pbkdf2" "^3.0.3" + "public-encrypt" "^4.0.0" + "randombytes" "^2.0.0" + "randomfill" "^1.0.3" + +"crypto-js@^4.0.0", "crypto-js@^4.1.1": + "integrity" "sha512-o2JlM7ydqd3Qk9CA0L4NL6mTzU2sdx96a+oOfPu8Mkl/PK51vSyoi8/rQ8NknZtk44vq15lmhAj9CIAGwgeWKw==" + "resolved" "https://registry.npmjs.org/crypto-js/-/crypto-js-4.1.1.tgz" + "version" "4.1.1" + +"cssfilter@0.0.10": + "integrity" "sha512-FAaLDaplstoRsDR8XGYH51znUN0UY7nMc6Z9/fvE8EXGwvJE9hu7W2vHwx1+bd6gCYnln9nLbzxFTrcO9YQDZw==" + "resolved" "https://registry.npmjs.org/cssfilter/-/cssfilter-0.0.10.tgz" + "version" "0.0.10" + +"cssom@^0.4.4": + "integrity" "sha512-p3pvU7r1MyyqbTk+WbNJIgJjG2VmTIaB10rI93LzVPrmDJKkzKYMtxxyAvQXR/NS6otuzveI7+7BBq3SjBS2mw==" + "resolved" "https://registry.npmjs.org/cssom/-/cssom-0.4.4.tgz" + "version" "0.4.4" + +"cssom@~0.3.6": + "integrity" "sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==" + "resolved" "https://registry.npmjs.org/cssom/-/cssom-0.3.8.tgz" + "version" "0.3.8" + +"cssstyle@^2.3.0": + "integrity" "sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A==" + "resolved" "https://registry.npmjs.org/cssstyle/-/cssstyle-2.3.0.tgz" + "version" "2.3.0" + dependencies: + "cssom" "~0.3.6" + +"d@^1.0.1", "d@1": + "integrity" "sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==" + "resolved" "https://registry.npmjs.org/d/-/d-1.0.1.tgz" + "version" "1.0.1" + dependencies: + "es5-ext" "^0.10.50" + "type" "^1.0.1" + +"dashdash@^1.12.0": + "integrity" "sha512-jRFi8UDGo6j+odZiEpjazZaWqEal3w/basFjQHQEwVtZJGDpxbH1MeYluwCS8Xq5wmLJooDlMgvVarmWfGM44g==" + "resolved" "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz" + "version" "1.14.1" + dependencies: + "assert-plus" "^1.0.0" + +"data-urls@^2.0.0": + "integrity" "sha512-X5eWTSXO/BJmpdIKCRuKUgSCgAN0OwliVK3yPKbwIWU1Tdw5BRajxlzMidvh+gwko9AfQ9zIj52pzF91Q3YAvQ==" + "resolved" "https://registry.npmjs.org/data-urls/-/data-urls-2.0.0.tgz" + "version" "2.0.0" + dependencies: + "abab" "^2.0.3" + "whatwg-mimetype" "^2.3.0" + "whatwg-url" "^8.0.0" + +"dataloader@2.1.0": + "integrity" "sha512-qTcEYLen3r7ojZNgVUaRggOI+KM7jrKxXeSHhogh/TWxYMeONEMqY+hmkobiYQozsGIyg9OYVzO4ZIfoB4I0pQ==" + "resolved" "https://registry.npmjs.org/dataloader/-/dataloader-2.1.0.tgz" + "version" "2.1.0" + +"dayjs@^1.10.6": + "integrity" "sha512-+Yw9U6YO5TQohxLcIkrXBeY73WP3ejHWVvx8XCk3gxvQDCTEmS48ZrSZCKciI7Bhl/uCMyxYtE9UqRILmFphkQ==" + "resolved" "https://registry.npmjs.org/dayjs/-/dayjs-1.11.7.tgz" + "version" "1.11.7" + +"debounce-fn@^4.0.0": + "integrity" "sha512-8pYCQiL9Xdcg0UPSD3d+0KMlOjp+KGU5EPwYddgzQ7DATsg4fuUDjQtsYLmWjnk2obnNHgV3vE2Y4jejSOJVBQ==" + "resolved" "https://registry.npmjs.org/debounce-fn/-/debounce-fn-4.0.0.tgz" + "version" "4.0.0" + dependencies: + "mimic-fn" "^3.0.0" + +"debug@^2.2.0": + "integrity" "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==" + "resolved" "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz" + "version" "2.6.9" + dependencies: + "ms" "2.0.0" + +"debug@^2.3.3": + "integrity" "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==" + "resolved" "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz" + "version" "2.6.9" + dependencies: + "ms" "2.0.0" + +"debug@^3.1.0": + "integrity" "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==" + "resolved" "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz" + "version" "3.2.7" + dependencies: + "ms" "^2.1.1" + +"debug@^3.2.7": + "integrity" "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==" + "resolved" "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz" + "version" "3.2.7" + dependencies: + "ms" "^2.1.1" + +"debug@^4.0.1", "debug@^4.1.0", "debug@^4.1.1", "debug@^4.3.1", "debug@^4.3.3", "debug@^4.3.4", "debug@~4.3.1", "debug@~4.3.2", "debug@4", "debug@4.3.4": + "integrity" "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==" + "resolved" "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz" + "version" "4.3.4" + dependencies: + "ms" "2.1.2" + +"debug@2.6.9": + "integrity" "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==" + "resolved" "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz" + "version" "2.6.9" + dependencies: + "ms" "2.0.0" + +"debug@3.1.0": + "integrity" "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==" + "resolved" "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz" + "version" "3.1.0" + dependencies: + "ms" "2.0.0" + +"decamelize@^1.2.0": + "integrity" "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==" + "resolved" "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz" + "version" "1.2.0" + +"decamelize@^4.0.0": + "integrity" "sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ==" + "resolved" "https://registry.npmjs.org/decamelize/-/decamelize-4.0.0.tgz" + "version" "4.0.0" + +"decimal.js-light@^2.5.0", "decimal.js-light@^2.5.1": + "integrity" "sha512-qIMFpTMZmny+MMIitAB6D7iVPEorVw6YQRWkvarTkT4tBeSLLiHzcwj6q0MmYSFCiVpiqPJTJEYIrpcPzVEIvg==" + "resolved" "https://registry.npmjs.org/decimal.js-light/-/decimal.js-light-2.5.1.tgz" + "version" "2.5.1" + +"decimal.js@^10.2.0", "decimal.js@^10.2.1", "decimal.js@^10.3.1", "decimal.js@^10.4.3": + "integrity" "sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA==" + "resolved" "https://registry.npmjs.org/decimal.js/-/decimal.js-10.4.3.tgz" + "version" "10.4.3" + +"decode-uri-component@^0.2.0": + "integrity" "sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ==" + "resolved" "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.2.tgz" + "version" "0.2.2" + +"decompress-response@^3.2.0", "decompress-response@^3.3.0": + "integrity" "sha512-BzRPQuY1ip+qDonAOz42gRm/pg9F768C+npV/4JOsxRC2sq+Rlk+Q4ZCAsOhnIaMrgarILY+RMUIvMmmX1qAEA==" + "resolved" "https://registry.npmjs.org/decompress-response/-/decompress-response-3.3.0.tgz" + "version" "3.3.0" + dependencies: + "mimic-response" "^1.0.0" + +"decompress-response@^6.0.0": + "integrity" "sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==" + "resolved" "https://registry.npmjs.org/decompress-response/-/decompress-response-6.0.0.tgz" + "version" "6.0.0" + dependencies: + "mimic-response" "^3.1.0" + +"decompress-tar@^4.0.0", "decompress-tar@^4.1.0", "decompress-tar@^4.1.1": + "integrity" "sha512-JdJMaCrGpB5fESVyxwpCx4Jdj2AagLmv3y58Qy4GE6HMVjWz1FeVQk1Ct4Kye7PftcdOo/7U7UKzYBJgqnGeUQ==" + "resolved" "https://registry.npmjs.org/decompress-tar/-/decompress-tar-4.1.1.tgz" + "version" "4.1.1" + dependencies: + "file-type" "^5.2.0" + "is-stream" "^1.1.0" + "tar-stream" "^1.5.2" + +"decompress-tarbz2@^4.0.0": + "integrity" "sha512-s88xLzf1r81ICXLAVQVzaN6ZmX4A6U4z2nMbOwobxkLoIIfjVMBg7TeguTUXkKeXni795B6y5rnvDw7rxhAq9A==" + "resolved" "https://registry.npmjs.org/decompress-tarbz2/-/decompress-tarbz2-4.1.1.tgz" + "version" "4.1.1" + dependencies: + "decompress-tar" "^4.1.0" + "file-type" "^6.1.0" + "is-stream" "^1.1.0" + "seek-bzip" "^1.0.5" + "unbzip2-stream" "^1.0.9" + +"decompress-targz@^4.0.0": + "integrity" "sha512-4z81Znfr6chWnRDNfFNqLwPvm4db3WuZkqV+UgXQzSngG3CEKdBkw5jrv3axjjL96glyiiKjsxJG3X6WBZwX3w==" + "resolved" "https://registry.npmjs.org/decompress-targz/-/decompress-targz-4.1.1.tgz" + "version" "4.1.1" + dependencies: + "decompress-tar" "^4.1.1" + "file-type" "^5.2.0" + "is-stream" "^1.1.0" + +"decompress-unzip@^4.0.1": + "integrity" "sha512-1fqeluvxgnn86MOh66u8FjbtJpAFv5wgCT9Iw8rcBqQcCo5tO8eiJw7NNTrvt9n4CRBVq7CstiS922oPgyGLrw==" + "resolved" "https://registry.npmjs.org/decompress-unzip/-/decompress-unzip-4.0.1.tgz" + "version" "4.0.1" + dependencies: + "file-type" "^3.8.0" + "get-stream" "^2.2.0" + "pify" "^2.3.0" + "yauzl" "^2.4.2" + +"decompress@^4.0.0": + "integrity" "sha512-e48kc2IjU+2Zw8cTb6VZcJQ3lgVbS4uuB1TfCHbiZIP/haNXm+SVyhu+87jts5/3ROpd82GSVCoNs/z8l4ZOaQ==" + "resolved" "https://registry.npmjs.org/decompress/-/decompress-4.2.1.tgz" + "version" "4.2.1" + dependencies: + "decompress-tar" "^4.0.0" + "decompress-tarbz2" "^4.0.0" + "decompress-targz" "^4.0.0" + "decompress-unzip" "^4.0.1" + "graceful-fs" "^4.1.10" + "make-dir" "^1.0.0" + "pify" "^2.3.0" + "strip-dirs" "^2.0.0" + +"dedent@^0.7.0": + "integrity" "sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA==" + "resolved" "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz" + "version" "0.7.0" + +"deep-eql@^4.1.2": + "integrity" "sha512-WaEtAOpRA1MQ0eohqZjpGD8zdI0Ovsm8mmFhaDN8dvDZzyoUMcYDnf5Y6iu7HTXxf8JDS23qWa4a+hKCDyOPzw==" + "resolved" "https://registry.npmjs.org/deep-eql/-/deep-eql-4.1.3.tgz" + "version" "4.1.3" + dependencies: + "type-detect" "^4.0.0" + +"deep-is@^0.1.3", "deep-is@~0.1.3": + "integrity" "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==" + "resolved" "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz" + "version" "0.1.4" + +"deepmerge@^4.2.2": + "integrity" "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==" + "resolved" "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz" + "version" "4.3.1" + +"defer-to-connect@^1.0.1": + "integrity" "sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ==" + "resolved" "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-1.1.3.tgz" + "version" "1.1.3" + +"defer-to-connect@^2.0.0", "defer-to-connect@^2.0.1": + "integrity" "sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg==" + "resolved" "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-2.0.1.tgz" + "version" "2.0.1" + +"deferred-leveldown@~5.3.0": + "integrity" "sha512-a59VOT+oDy7vtAbLRCZwWgxu2BaCfd5Hk7wxJd48ei7I+nsg8Orlb9CLG0PMZienk9BSUKgeAqkO2+Lw+1+Ukw==" + "resolved" "https://registry.npmjs.org/deferred-leveldown/-/deferred-leveldown-5.3.0.tgz" + "version" "5.3.0" + dependencies: + "abstract-leveldown" "~6.2.1" + "inherits" "^2.0.3" + +"define-properties@^1.1.3", "define-properties@^1.1.4": + "integrity" "sha512-xvqAVKGfT1+UAvPwKTVw/njhdQ8ZhXK4lI0bCIuCMrp2up9nPnaDftrLtmpTazqd1o+UY4zgzU+avtMbDP+ldA==" + "resolved" "https://registry.npmjs.org/define-properties/-/define-properties-1.2.0.tgz" + "version" "1.2.0" + dependencies: + "has-property-descriptors" "^1.0.0" + "object-keys" "^1.1.1" + +"define-property@^0.2.5": + "integrity" "sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==" + "resolved" "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz" + "version" "0.2.5" + dependencies: + "is-descriptor" "^0.1.0" + +"define-property@^1.0.0": + "integrity" "sha512-cZTYKFWspt9jZsMscWo8sc/5lbPC9Q0N5nBLgb+Yd915iL3udB1uFgS3B8YCx66UVHq018DAVFoee7x+gxggeA==" + "resolved" "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz" + "version" "1.0.0" + dependencies: + "is-descriptor" "^1.0.0" + +"define-property@^2.0.2": + "integrity" "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==" + "resolved" "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz" + "version" "2.0.2" + dependencies: + "is-descriptor" "^1.0.2" + "isobject" "^3.0.1" + +"delay@^4.4.0": + "integrity" "sha512-aL3AhqtfhOlT/3ai6sWXeqwnw63ATNpnUiN4HL7x9q+My5QtHlO3OIkasmug9LKzpheLdmUKGRKnYXYAS7FQkQ==" + "resolved" "https://registry.npmjs.org/delay/-/delay-4.4.1.tgz" + "version" "4.4.1" + +"delay@^5.0.0": + "integrity" "sha512-ReEBKkIfe4ya47wlPYf/gu5ib6yUG0/Aez0JQZQz94kiWtRQvZIQbTiehsnwHvLSWJnQdhVeqYue7Id1dKr0qw==" + "resolved" "https://registry.npmjs.org/delay/-/delay-5.0.0.tgz" + "version" "5.0.0" + +"delayed-stream@~1.0.0": + "integrity" "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==" + "resolved" "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz" + "version" "1.0.0" + +"delegates@^1.0.0": + "integrity" "sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ==" + "resolved" "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz" + "version" "1.0.0" + +"depd@^2.0.0", "depd@~2.0.0", "depd@2.0.0": + "integrity" "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==" + "resolved" "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz" + "version" "2.0.0" + +"depd@~1.1.2": + "integrity" "sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ==" + "resolved" "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz" + "version" "1.1.2" + +"des.js@^1.0.0": + "integrity" "sha512-Q0I4pfFrv2VPd34/vfLrFOoRmlYj3OV50i7fskps1jZWK1kApMWWT9G6RRUeYedLcBDIhnSDaUvJMb3AhUlaEA==" + "resolved" "https://registry.npmjs.org/des.js/-/des.js-1.0.1.tgz" + "version" "1.0.1" + dependencies: + "inherits" "^2.0.1" + "minimalistic-assert" "^1.0.0" + +"destroy@1.2.0": + "integrity" "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==" + "resolved" "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz" + "version" "1.2.0" + +"detect-browser@5.2.0": + "integrity" "sha512-tr7XntDAu50BVENgQfajMLzacmSe34D+qZc4zjnniz0ZVuw/TZcLcyxHQjYpJTM36sGEkZZlYLnIM1hH7alTMA==" + "resolved" "https://registry.npmjs.org/detect-browser/-/detect-browser-5.2.0.tgz" + "version" "5.2.0" + +"detect-browser@5.3.0": + "integrity" "sha512-53rsFbGdwMwlF7qvCt0ypLM5V5/Mbl0szB7GPN8y9NCcbknYOeVVXdrXEq+90IwAfrrzt6Hd+u2E2ntakICU8w==" + "resolved" "https://registry.npmjs.org/detect-browser/-/detect-browser-5.3.0.tgz" + "version" "5.3.0" + +"detect-libc@^2.0.0": + "integrity" "sha512-UX6sGumvvqSaXgdKGUsgZWqcUyIXZ/vZTrlRT/iobiKhGL0zL4d3osHj3uqllWJK+i+sixDS/3COVEOFbupFyw==" + "resolved" "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.2.tgz" + "version" "2.0.2" + +"detect-newline@^3.0.0": + "integrity" "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==" + "resolved" "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz" + "version" "3.1.0" + +"dezalgo@^1.0.4": + "integrity" "sha512-rXSP0bf+5n0Qonsb+SVVfNfIsimO4HEtmnIpPHY8Q1UCzKlQrDMfdobr8nJOOsRgWCyMRqeSBQzmWUMq7zvVig==" + "resolved" "https://registry.npmjs.org/dezalgo/-/dezalgo-1.0.4.tgz" + "version" "1.0.4" + dependencies: + "asap" "^2.0.0" + "wrappy" "1" + +"diff-sequences@^24.9.0": + "integrity" "sha512-Dj6Wk3tWyTE+Fo1rW8v0Xhwk80um6yFYKbuAxc9c3EZxIHFDYwbi34Uk42u1CdnIiVorvt4RmlSDjIPyzGC2ew==" + "resolved" "https://registry.npmjs.org/diff-sequences/-/diff-sequences-24.9.0.tgz" + "version" "24.9.0" + +"diff-sequences@^27.5.1": + "integrity" "sha512-k1gCAXAsNgLwEL+Y8Wvl+M6oEFj5bgazfZULpS5CneoPPXRaCCW7dm+q21Ky2VEE5X+VeRDBVg1Pcvvsr4TtNQ==" + "resolved" "https://registry.npmjs.org/diff-sequences/-/diff-sequences-27.5.1.tgz" + "version" "27.5.1" + +"diff@^4.0.1": + "integrity" "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==" + "resolved" "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz" + "version" "4.0.2" + +"diff@3.5.0": + "integrity" "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==" + "resolved" "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz" + "version" "3.5.0" + +"diff@5.0.0": + "integrity" "sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w==" + "resolved" "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz" + "version" "5.0.0" + +"diffie-hellman@^5.0.0": + "integrity" "sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==" + "resolved" "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz" + "version" "5.0.3" + dependencies: + "bn.js" "^4.1.0" + "miller-rabin" "^4.0.0" + "randombytes" "^2.0.0" + +"diffparser@^2.0.1": + "integrity" "sha512-XBuCzzdLUBJzXTvbonNPv7+AhNkiUyhyiZBSrhKxKYcIXfAcPOVaINviC2vB+bfBa5EopW60CzkBjuwb3jdmiw==" + "resolved" "https://registry.npmjs.org/diffparser/-/diffparser-2.0.1.tgz" + "version" "2.0.1" + +"dijkstrajs@^1.0.1": + "integrity" "sha512-QV6PMaHTCNmKSeP6QoXhVTw9snc9VD8MulTT0Bd99Pacp4SS1cjcrYPgBPmibqKVtMJJfqC6XvOXgPMEEPH/fg==" + "resolved" "https://registry.npmjs.org/dijkstrajs/-/dijkstrajs-1.0.2.tgz" + "version" "1.0.2" + +"dir-glob@^3.0.1": + "integrity" "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==" + "resolved" "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz" + "version" "3.0.1" + dependencies: + "path-type" "^4.0.0" + +"doctrine@^2.1.0": + "integrity" "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==" + "resolved" "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz" + "version" "2.1.0" + dependencies: + "esutils" "^2.0.2" + +"doctrine@^3.0.0": + "integrity" "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==" + "resolved" "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz" + "version" "3.0.0" + dependencies: + "esutils" "^2.0.2" + +"dom-walk@^0.1.0": + "integrity" "sha512-6QvTW9mrGeIegrFXdtQi9pk7O/nSK6lSdXW2eqUspN5LWD7UTji2Fqw5V2YLjBpHEoU9Xl/eUWNpDeZvoyOv2w==" + "resolved" "https://registry.npmjs.org/dom-walk/-/dom-walk-0.1.2.tgz" + "version" "0.1.2" + +"domexception@^2.0.1": + "integrity" "sha512-yxJ2mFy/sibVQlu5qHjOkf9J3K6zgmCxgJ94u2EdvDOV09H+32LtRswEcUsmUWN72pVLOEnTSRaIVVzVQgS0dg==" + "resolved" "https://registry.npmjs.org/domexception/-/domexception-2.0.1.tgz" + "version" "2.0.1" + dependencies: + "webidl-conversions" "^5.0.0" + +"dot-case@^2.1.0": + "integrity" "sha512-HnM6ZlFqcajLsyudHq7LeeLDr2rFAVYtDv/hV5qchQEidSck8j9OPUsXY9KwJv/lHMtYlX4DjRQqwFYa+0r8Ug==" + "resolved" "https://registry.npmjs.org/dot-case/-/dot-case-2.1.1.tgz" + "version" "2.1.1" + dependencies: + "no-case" "^2.2.0" + +"dot-case@^3.0.4": + "integrity" "sha512-Kv5nKlh6yRrdrGvxeJ2e5y2eRUpkUosIW4A2AS38zwSz27zu7ufDwQPi5Jhs3XAlGNetl3bmnGhQsMtkKJnj3w==" + "resolved" "https://registry.npmjs.org/dot-case/-/dot-case-3.0.4.tgz" + "version" "3.0.4" + dependencies: + "no-case" "^3.0.4" + "tslib" "^2.0.3" + +"dot-prop@^6.0.1": + "integrity" "sha512-tE7ztYzXHIeyvc7N+hR3oi7FIbf/NIjVP9hmAt3yMXzrQ072/fpjGLx2GxNxGxUl5V73MEqYzioOMoVhGMJ5cA==" + "resolved" "https://registry.npmjs.org/dot-prop/-/dot-prop-6.0.1.tgz" + "version" "6.0.1" + dependencies: + "is-obj" "^2.0.0" + +"dotenv@^14.2.0": + "integrity" "sha512-vwEppIphpFdvaMCaHfCEv9IgwcxMljMw2TnAQBB4VWPvzXQLTb82jwmdOKzlEVUL3gNFT4l4TPKO+Bn+sqcrVQ==" + "resolved" "https://registry.npmjs.org/dotenv/-/dotenv-14.3.2.tgz" + "version" "14.3.2" + +"double-ended-queue@2.1.0-0": + "integrity" "sha512-+BNfZ+deCo8hMNpDqDnvT+c0XpJ5cUa6mqYq89bho2Ifze4URTqRkcwR399hWoTrTkbZ/XJYDgP6rc7pRgffEQ==" + "resolved" "https://registry.npmjs.org/double-ended-queue/-/double-ended-queue-2.1.0-0.tgz" + "version" "2.1.0-0" + +"drbg.js@^1.0.1": + "integrity" "sha512-F4wZ06PvqxYLFEZKkFxTDcns9oFNk34hvmJSEwdzsxVQ8YI5YaxtACgQatkYgv2VI2CFkUd2Y+xosPQnHv809g==" + "resolved" "https://registry.npmjs.org/drbg.js/-/drbg.js-1.0.1.tgz" + "version" "1.0.1" + dependencies: + "browserify-aes" "^1.0.6" + "create-hash" "^1.1.2" + "create-hmac" "^1.1.4" + +"dtrace-provider@~0.8": + "integrity" "sha512-b7Z7cNtHPhH9EJhNNbbeqTcXB8LGFFZhq1PGgEvpeHlzd36bhbdTWoE/Ba/YguqpBSlAPKnARWhVlhunCMwfxg==" + "resolved" "https://registry.npmjs.org/dtrace-provider/-/dtrace-provider-0.8.8.tgz" + "version" "0.8.8" + dependencies: + "nan" "^2.14.0" + +"duplexer3@^0.1.4": + "integrity" "sha512-1A8za6ws41LQgv9HrE/66jyC5yuSjQ3L/KOpFtoBilsAK2iA2wuS5rTt1OCzIvtS2V7nVmedsUU+DGRcjBmOYA==" + "resolved" "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.5.tgz" + "version" "0.1.5" + +"duplexify@^4.1.2": + "integrity" "sha512-fz3OjcNCHmRP12MJoZMPglx8m4rrFP8rovnk4vT8Fs+aonZoCwGg10dSsQsfP/E62eZcPTMSMP6686fu9Qlqtw==" + "resolved" "https://registry.npmjs.org/duplexify/-/duplexify-4.1.2.tgz" + "version" "4.1.2" + dependencies: + "end-of-stream" "^1.4.1" + "inherits" "^2.0.3" + "readable-stream" "^3.1.1" + "stream-shift" "^1.0.0" + +"ecc-jsbn@~0.1.1": + "integrity" "sha512-eh9O+hwRHNbG4BLTjEl3nw044CkGm5X6LoaCf7LPp7UU8Qrt47JYNi6nPX8xjW97TKGKm1ouctg0QSpZe9qrnw==" + "resolved" "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz" + "version" "0.1.2" + dependencies: + "jsbn" "~0.1.0" + "safer-buffer" "^2.1.0" -eccrypto@1.1.6: - version "1.1.6" - resolved "https://registry.yarnpkg.com/eccrypto/-/eccrypto-1.1.6.tgz#846bd1222323036f7a3515613704386399702bd3" - integrity sha512-d78ivVEzu7Tn0ZphUUaL43+jVPKTMPFGtmgtz1D0LrFn7cY3K8CdrvibuLz2AAkHBLKZtR8DMbB2ukRYFk987A== - dependencies: - acorn "7.1.1" - elliptic "6.5.4" - es6-promise "4.2.8" - nan "2.14.0" +"eccrypto@1.1.6": + "integrity" "sha512-d78ivVEzu7Tn0ZphUUaL43+jVPKTMPFGtmgtz1D0LrFn7cY3K8CdrvibuLz2AAkHBLKZtR8DMbB2ukRYFk987A==" + "resolved" "https://registry.npmjs.org/eccrypto/-/eccrypto-1.1.6.tgz" + "version" "1.1.6" + dependencies: + "acorn" "7.1.1" + "elliptic" "6.5.4" + "es6-promise" "4.2.8" + "nan" "2.14.0" optionalDependencies: - secp256k1 "3.7.1" + "secp256k1" "3.7.1" -ee-first@1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" - integrity sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow== +"ee-first@1.1.1": + "integrity" "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==" + "resolved" "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz" + "version" "1.1.1" -eip-712@^0.4.3: - version "0.4.3" - resolved "https://registry.yarnpkg.com/eip-712/-/eip-712-0.4.3.tgz#71da445c3118960933910d168e75f0b1f8f39879" - integrity sha512-RzHERjClqKWennbIFFfoxSTI/BB241R+Dm1FO6KP+NEcFODzApxZHaIXut4fgB4x+5SmQjdW577PfozFoHQ1FA== +"eip-712@^0.4.3": + "integrity" "sha512-RzHERjClqKWennbIFFfoxSTI/BB241R+Dm1FO6KP+NEcFODzApxZHaIXut4fgB4x+5SmQjdW577PfozFoHQ1FA==" + "resolved" "https://registry.npmjs.org/eip-712/-/eip-712-0.4.3.tgz" + "version" "0.4.3" dependencies: "@findeth/abi" "^0.3.0" - keccak "^3.0.1" - superstruct "^0.10.12" + "keccak" "^3.0.1" + "superstruct" "^0.10.12" -eip1193-provider@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/eip1193-provider/-/eip1193-provider-1.0.1.tgz#420d29cf4f6c443e3f32e718fb16fafb250637c3" - integrity sha512-kSuqwQ26d7CzuS/t3yRXo2Su2cVH0QfvyKbr2H7Be7O5YDyIq4hQGCNTo5wRdP07bt+E2R/8nPCzey4ojBHf7g== +"eip1193-provider@^1.0.1": + "integrity" "sha512-kSuqwQ26d7CzuS/t3yRXo2Su2cVH0QfvyKbr2H7Be7O5YDyIq4hQGCNTo5wRdP07bt+E2R/8nPCzey4ojBHf7g==" + "resolved" "https://registry.npmjs.org/eip1193-provider/-/eip1193-provider-1.0.1.tgz" + "version" "1.0.1" dependencies: "@json-rpc-tools/provider" "^1.5.5" -electron-to-chromium@^1.4.284: - version "1.4.333" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.333.tgz#ebb21f860f8a29923717b06ec0cb54e77ed34c04" - integrity sha512-YyE8+GKyGtPEP1/kpvqsdhD6rA/TP1DUFDN4uiU/YI52NzDxmwHkEb3qjId8hLBa5siJvG0sfC3O66501jMruQ== - -elliptic@6.3.3: - version "6.3.3" - resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.3.3.tgz#5482d9646d54bcb89fd7d994fc9e2e9568876e3f" - integrity sha512-cIky9SO2H8W2eU1NOLySnhOYJnuEWCq9ZJeHvHd/lXzEL9vyraIMfilZSn57X3aVX+wkfYmqkch2LvmTzkjFpA== - dependencies: - bn.js "^4.4.0" - brorand "^1.0.1" - hash.js "^1.0.0" - inherits "^2.0.1" - -elliptic@6.5.4, elliptic@^6.4.0, elliptic@^6.4.1, elliptic@^6.5.2, elliptic@^6.5.3, elliptic@^6.5.4: - version "6.5.4" - resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.4.tgz#da37cebd31e79a1367e941b592ed1fbebd58abbb" - integrity sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ== - dependencies: - bn.js "^4.11.9" - brorand "^1.1.0" - hash.js "^1.0.0" - hmac-drbg "^1.0.1" - inherits "^2.0.4" - minimalistic-assert "^1.0.1" - minimalistic-crypto-utils "^1.0.1" - -emittery@0.10.0: - version "0.10.0" - resolved "https://registry.yarnpkg.com/emittery/-/emittery-0.10.0.tgz#bb373c660a9d421bb44706ec4967ed50c02a8026" - integrity sha512-AGvFfs+d0JKCJQ4o01ASQLGPmSCxgfU9RFXvzPvZdjKK8oscynksuJhWrSTSw7j7Ep/sZct5b5ZhYCi8S/t0HQ== - -emittery@^0.4.1: - version "0.4.1" - resolved "https://registry.yarnpkg.com/emittery/-/emittery-0.4.1.tgz#abe9d3297389ba424ac87e53d1c701962ce7433d" - integrity sha512-r4eRSeStEGf6M5SKdrQhhLK5bOwOBxQhIE3YSTnZE3GpKiLfnnhE+tPtrJE79+eDJgm39BM6LSoI8SCx4HbwlQ== - -emittery@^0.8.1: - version "0.8.1" - resolved "https://registry.yarnpkg.com/emittery/-/emittery-0.8.1.tgz#bb23cc86d03b30aa75a7f734819dee2e1ba70860" - integrity sha512-uDfvUjVrfGJJhymx/kz6prltenw1u7WrCg1oa94zYY8xxVpLLUu045LAT0dhDZdXG58/EpPL/5kA180fQ/qudg== - -emoji-regex@^7.0.1: - version "7.0.3" - resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-7.0.3.tgz#933a04052860c85e83c122479c4748a8e4c72156" - integrity sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA== - -emoji-regex@^8.0.0: - version "8.0.0" - resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" - integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== - -enabled@2.0.x: - version "2.0.0" - resolved "https://registry.yarnpkg.com/enabled/-/enabled-2.0.0.tgz#f9dd92ec2d6f4bbc0d5d1e64e21d61cd4665e7c2" - integrity sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ== - -encodeurl@~1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59" - integrity sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w== - -encoding-down@^6.3.0: - version "6.3.0" - resolved "https://registry.yarnpkg.com/encoding-down/-/encoding-down-6.3.0.tgz#b1c4eb0e1728c146ecaef8e32963c549e76d082b" - integrity sha512-QKrV0iKR6MZVJV08QY0wp1e7vF6QbhnbQhb07bwpEyuz4uZiZgPlEGdkCROuFkUwdxlFaiPIhjyarH1ee/3vhw== - dependencies: - abstract-leveldown "^6.2.1" - inherits "^2.0.3" - level-codec "^9.0.0" - level-errors "^2.0.0" - -end-of-stream@^1.0.0, end-of-stream@^1.1.0, end-of-stream@^1.4.1, end-of-stream@^1.4.4: - version "1.4.4" - resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0" - integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q== - dependencies: - once "^1.4.0" - -end-stream@~0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/end-stream/-/end-stream-0.1.0.tgz#32003f3f438a2b0143168137f8fa6e9866c81ed5" - integrity sha512-Brl10T8kYnc75IepKizW6Y9liyW8ikz1B7n/xoHrJxoVSSjoqPn30sb7XVFfQERK4QfUMYRGs9dhWwtt2eu6uA== - dependencies: - write-stream "~0.4.3" - -engine.io-client@~6.4.0: - version "6.4.0" - resolved "https://registry.yarnpkg.com/engine.io-client/-/engine.io-client-6.4.0.tgz#88cd3082609ca86d7d3c12f0e746d12db4f47c91" - integrity sha512-GyKPDyoEha+XZ7iEqam49vz6auPnNJ9ZBfy89f+rMMas8AuiMWOZ9PVzu8xb9ZC6rafUqiGHSCfu22ih66E+1g== +"electron-to-chromium@^1.4.284": + "integrity" "sha512-YyE8+GKyGtPEP1/kpvqsdhD6rA/TP1DUFDN4uiU/YI52NzDxmwHkEb3qjId8hLBa5siJvG0sfC3O66501jMruQ==" + "resolved" "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.333.tgz" + "version" "1.4.333" + +"elliptic@^6.4.0", "elliptic@^6.4.1", "elliptic@^6.5.2", "elliptic@^6.5.3", "elliptic@^6.5.4", "elliptic@6.5.4": + "integrity" "sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==" + "resolved" "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz" + "version" "6.5.4" + dependencies: + "bn.js" "^4.11.9" + "brorand" "^1.1.0" + "hash.js" "^1.0.0" + "hmac-drbg" "^1.0.1" + "inherits" "^2.0.4" + "minimalistic-assert" "^1.0.1" + "minimalistic-crypto-utils" "^1.0.1" + +"elliptic@6.3.3": + "integrity" "sha512-cIky9SO2H8W2eU1NOLySnhOYJnuEWCq9ZJeHvHd/lXzEL9vyraIMfilZSn57X3aVX+wkfYmqkch2LvmTzkjFpA==" + "resolved" "https://registry.npmjs.org/elliptic/-/elliptic-6.3.3.tgz" + "version" "6.3.3" + dependencies: + "bn.js" "^4.4.0" + "brorand" "^1.0.1" + "hash.js" "^1.0.0" + "inherits" "^2.0.1" + +"emittery@^0.4.1": + "integrity" "sha512-r4eRSeStEGf6M5SKdrQhhLK5bOwOBxQhIE3YSTnZE3GpKiLfnnhE+tPtrJE79+eDJgm39BM6LSoI8SCx4HbwlQ==" + "resolved" "https://registry.npmjs.org/emittery/-/emittery-0.4.1.tgz" + "version" "0.4.1" + +"emittery@^0.8.1": + "integrity" "sha512-uDfvUjVrfGJJhymx/kz6prltenw1u7WrCg1oa94zYY8xxVpLLUu045LAT0dhDZdXG58/EpPL/5kA180fQ/qudg==" + "resolved" "https://registry.npmjs.org/emittery/-/emittery-0.8.1.tgz" + "version" "0.8.1" + +"emittery@0.10.0": + "integrity" "sha512-AGvFfs+d0JKCJQ4o01ASQLGPmSCxgfU9RFXvzPvZdjKK8oscynksuJhWrSTSw7j7Ep/sZct5b5ZhYCi8S/t0HQ==" + "resolved" "https://registry.npmjs.org/emittery/-/emittery-0.10.0.tgz" + "version" "0.10.0" + +"emoji-regex@^7.0.1": + "integrity" "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==" + "resolved" "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz" + "version" "7.0.3" + +"emoji-regex@^8.0.0": + "integrity" "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + "resolved" "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz" + "version" "8.0.0" + +"enabled@2.0.x": + "integrity" "sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ==" + "resolved" "https://registry.npmjs.org/enabled/-/enabled-2.0.0.tgz" + "version" "2.0.0" + +"encodeurl@~1.0.2": + "integrity" "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==" + "resolved" "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz" + "version" "1.0.2" + +"encoding-down@^6.3.0": + "integrity" "sha512-QKrV0iKR6MZVJV08QY0wp1e7vF6QbhnbQhb07bwpEyuz4uZiZgPlEGdkCROuFkUwdxlFaiPIhjyarH1ee/3vhw==" + "resolved" "https://registry.npmjs.org/encoding-down/-/encoding-down-6.3.0.tgz" + "version" "6.3.0" + dependencies: + "abstract-leveldown" "^6.2.1" + "inherits" "^2.0.3" + "level-codec" "^9.0.0" + "level-errors" "^2.0.0" + +"end-of-stream@^1.0.0", "end-of-stream@^1.1.0", "end-of-stream@^1.4.1", "end-of-stream@^1.4.4": + "integrity" "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==" + "resolved" "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz" + "version" "1.4.4" + dependencies: + "once" "^1.4.0" + +"end-stream@~0.1.0": + "integrity" "sha512-Brl10T8kYnc75IepKizW6Y9liyW8ikz1B7n/xoHrJxoVSSjoqPn30sb7XVFfQERK4QfUMYRGs9dhWwtt2eu6uA==" + "resolved" "https://registry.npmjs.org/end-stream/-/end-stream-0.1.0.tgz" + "version" "0.1.0" + dependencies: + "write-stream" "~0.4.3" + +"engine.io-client@~6.4.0": + "integrity" "sha512-GyKPDyoEha+XZ7iEqam49vz6auPnNJ9ZBfy89f+rMMas8AuiMWOZ9PVzu8xb9ZC6rafUqiGHSCfu22ih66E+1g==" + "resolved" "https://registry.npmjs.org/engine.io-client/-/engine.io-client-6.4.0.tgz" + "version" "6.4.0" dependencies: "@socket.io/component-emitter" "~3.1.0" - debug "~4.3.1" - engine.io-parser "~5.0.3" - ws "~8.11.0" - xmlhttprequest-ssl "~2.0.0" - -engine.io-parser@~5.0.3: - version "5.0.6" - resolved "https://registry.yarnpkg.com/engine.io-parser/-/engine.io-parser-5.0.6.tgz#7811244af173e157295dec9b2718dfe42a64ef45" - integrity sha512-tjuoZDMAdEhVnSFleYPCtdL2GXwVTGtNjoeJd9IhIG3C1xs9uwxqRNEu5WpnDZCaozwVlK/nuQhpodhXSIMaxw== - -enquirer@^2.3.0, enquirer@^2.3.5: - version "2.3.6" - resolved "https://registry.yarnpkg.com/enquirer/-/enquirer-2.3.6.tgz#2a7fe5dd634a1e4125a975ec994ff5456dc3734d" - integrity sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg== - dependencies: - ansi-colors "^4.1.1" - -env-paths@^2.2.0, env-paths@^2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/env-paths/-/env-paths-2.2.1.tgz#420399d416ce1fbe9bc0a07c62fa68d67fd0f8f2" - integrity sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A== - -err-code@^2.0.2: - version "2.0.3" - resolved "https://registry.yarnpkg.com/err-code/-/err-code-2.0.3.tgz#23c2f3b756ffdfc608d30e27c9a941024807e7f9" - integrity sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA== - -errno@~0.1.1: - version "0.1.8" - resolved "https://registry.yarnpkg.com/errno/-/errno-0.1.8.tgz#8bb3e9c7d463be4976ff888f76b4809ebc2e811f" - integrity sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A== - dependencies: - prr "~1.0.1" - -error-ex@^1.3.1: - version "1.3.2" - resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" - integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g== - dependencies: - is-arrayish "^0.2.1" - -error-polyfill@^0.1.3: - version "0.1.3" - resolved "https://registry.yarnpkg.com/error-polyfill/-/error-polyfill-0.1.3.tgz#df848b61ad8834f7a5db69a70b9913df86721d15" - integrity sha512-XHJk60ufE+TG/ydwp4lilOog549iiQF2OAPhkk9DdiYWMrltz5yhDz/xnKuenNwP7gy3dsibssO5QpVhkrSzzg== - dependencies: - capability "^0.2.5" - o3 "^1.0.3" - u3 "^0.1.1" - -es-abstract@^1.19.0, es-abstract@^1.20.4: - version "1.21.2" - resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.21.2.tgz#a56b9695322c8a185dc25975aa3b8ec31d0e7eff" - integrity sha512-y/B5POM2iBnIxCiernH1G7rC9qQoM77lLIMQLuob0zhp8C56Po81+2Nj0WFKnd0pNReDTnkYryc+zhOzpEIROg== - dependencies: - array-buffer-byte-length "^1.0.0" - available-typed-arrays "^1.0.5" - call-bind "^1.0.2" - es-set-tostringtag "^2.0.1" - es-to-primitive "^1.2.1" - function.prototype.name "^1.1.5" - get-intrinsic "^1.2.0" - get-symbol-description "^1.0.0" - globalthis "^1.0.3" - gopd "^1.0.1" - has "^1.0.3" - has-property-descriptors "^1.0.0" - has-proto "^1.0.1" - has-symbols "^1.0.3" - internal-slot "^1.0.5" - is-array-buffer "^3.0.2" - is-callable "^1.2.7" - is-negative-zero "^2.0.2" - is-regex "^1.1.4" - is-shared-array-buffer "^1.0.2" - is-string "^1.0.7" - is-typed-array "^1.1.10" - is-weakref "^1.0.2" - object-inspect "^1.12.3" - object-keys "^1.1.1" - object.assign "^4.1.4" - regexp.prototype.flags "^1.4.3" - safe-regex-test "^1.0.0" - string.prototype.trim "^1.2.7" - string.prototype.trimend "^1.0.6" - string.prototype.trimstart "^1.0.6" - typed-array-length "^1.0.4" - unbox-primitive "^1.0.2" - which-typed-array "^1.1.9" - -es-set-tostringtag@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/es-set-tostringtag/-/es-set-tostringtag-2.0.1.tgz#338d502f6f674301d710b80c8592de8a15f09cd8" - integrity sha512-g3OMbtlwY3QewlqAiMLI47KywjWZoEytKr8pf6iTC8uJq5bIAH52Z9pnQ8pVL6whrCto53JZDuUIsifGeLorTg== - dependencies: - get-intrinsic "^1.1.3" - has "^1.0.3" - has-tostringtag "^1.0.0" - -es-shim-unscopables@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/es-shim-unscopables/-/es-shim-unscopables-1.0.0.tgz#702e632193201e3edf8713635d083d378e510241" - integrity sha512-Jm6GPcCdC30eMLbZ2x8z2WuRwAws3zTBBKuusffYVUrNj/GVSUAZ+xKMaUpfNDR5IbyNA5LJbaecoUVbmUcB1w== - dependencies: - has "^1.0.3" - -es-to-primitive@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.2.1.tgz#e55cd4c9cdc188bcefb03b366c736323fc5c898a" - integrity sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA== - dependencies: - is-callable "^1.1.4" - is-date-object "^1.0.1" - is-symbol "^1.0.2" - -es5-ext@^0.10.35, es5-ext@^0.10.50: - version "0.10.62" - resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.62.tgz#5e6adc19a6da524bf3d1e02bbc8960e5eb49a9a5" - integrity sha512-BHLqn0klhEpnOKSrzn/Xsz2UIW8j+cGmo9JLzr8BiUapV8hPL9+FliFqjwr9ngW7jWdnxv6eO+/LqyhJVqgrjA== - dependencies: - es6-iterator "^2.0.3" - es6-symbol "^3.1.3" - next-tick "^1.1.0" - -es6-iterator@^2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/es6-iterator/-/es6-iterator-2.0.3.tgz#a7de889141a05a94b0854403b2d0a0fbfa98f3b7" - integrity sha512-zw4SRzoUkd+cl+ZoE15A9o1oQd920Bb0iOJMQkQhl3jNc03YqVjAhG7scf9C5KWRU/R13Orf588uCC6525o02g== - dependencies: - d "1" - es5-ext "^0.10.35" - es6-symbol "^3.1.1" - -es6-object-assign@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/es6-object-assign/-/es6-object-assign-1.1.0.tgz#c2c3582656247c39ea107cb1e6652b6f9f24523c" - integrity sha512-MEl9uirslVwqQU369iHNWZXsI8yaZYGg/D65aOgZkeyFJwHYSxilf7rQzXKI7DdDuBPrBXbfk3sl9hJhmd5AUw== - -es6-promise@4.2.8, es6-promise@^4.0.3, es6-promise@^4.2.8: - version "4.2.8" - resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-4.2.8.tgz#4eb21594c972bc40553d276e510539143db53e0a" - integrity sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w== - -es6-promisify@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/es6-promisify/-/es6-promisify-5.0.0.tgz#5109d62f3e56ea967c4b63505aef08291c8a5203" - integrity sha512-C+d6UdsYDk0lMebHNR4S2NybQMMngAOnOwYBQjTOiv0MkoJMP0Myw2mgpDLBcpfCmRLxyFqYhS/CfOENq4SJhQ== - dependencies: - es6-promise "^4.0.3" - -es6-symbol@^3.1.1, es6-symbol@^3.1.3: - version "3.1.3" - resolved "https://registry.yarnpkg.com/es6-symbol/-/es6-symbol-3.1.3.tgz#bad5d3c1bcdac28269f4cb331e431c78ac705d18" - integrity sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA== - dependencies: - d "^1.0.1" - ext "^1.1.2" - -escalade@^3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" - integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw== - -escape-html@~1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988" - integrity sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow== - -escape-latex@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/escape-latex/-/escape-latex-1.2.0.tgz#07c03818cf7dac250cce517f4fda1b001ef2bca1" - integrity sha512-nV5aVWW1K0wEiUIEdZ4erkGGH8mDxGyxSeqPzRNtWP7ataw+/olFObw7hujFWlVjNsaDFw5VZ5NzVSIqRgfTiw== - -escape-string-regexp@1.0.5, escape-string-regexp@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" - integrity sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg== - -escape-string-regexp@4.0.0, escape-string-regexp@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" - integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== - -escape-string-regexp@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz#a30304e99daa32e23b2fd20f51babd07cffca344" - integrity sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w== - -escodegen@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-2.0.0.tgz#5e32b12833e8aa8fa35e1bf0befa89380484c7dd" - integrity sha512-mmHKys/C8BFUGI+MAWNcSYoORYLMdPzjrknd2Vc+bUsjN5bXcr8EhrNB+UTqfL1y3I9c4fw2ihgtMPQLBRiQxw== - dependencies: - esprima "^4.0.1" - estraverse "^5.2.0" - esutils "^2.0.2" - optionator "^0.8.1" + "debug" "~4.3.1" + "engine.io-parser" "~5.0.3" + "ws" "~8.11.0" + "xmlhttprequest-ssl" "~2.0.0" + +"engine.io-parser@~5.0.3": + "integrity" "sha512-tjuoZDMAdEhVnSFleYPCtdL2GXwVTGtNjoeJd9IhIG3C1xs9uwxqRNEu5WpnDZCaozwVlK/nuQhpodhXSIMaxw==" + "resolved" "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-5.0.6.tgz" + "version" "5.0.6" + +"enquirer@^2.3.0", "enquirer@^2.3.5": + "integrity" "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==" + "resolved" "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz" + "version" "2.3.6" + dependencies: + "ansi-colors" "^4.1.1" + +"env-paths@^2.2.0", "env-paths@^2.2.1": + "integrity" "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==" + "resolved" "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz" + "version" "2.2.1" + +"err-code@^2.0.2": + "integrity" "sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==" + "resolved" "https://registry.npmjs.org/err-code/-/err-code-2.0.3.tgz" + "version" "2.0.3" + +"errno@~0.1.1": + "integrity" "sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A==" + "resolved" "https://registry.npmjs.org/errno/-/errno-0.1.8.tgz" + "version" "0.1.8" + dependencies: + "prr" "~1.0.1" + +"error-ex@^1.3.1": + "integrity" "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==" + "resolved" "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz" + "version" "1.3.2" + dependencies: + "is-arrayish" "^0.2.1" + +"error-polyfill@^0.1.3": + "integrity" "sha512-XHJk60ufE+TG/ydwp4lilOog549iiQF2OAPhkk9DdiYWMrltz5yhDz/xnKuenNwP7gy3dsibssO5QpVhkrSzzg==" + "resolved" "https://registry.npmjs.org/error-polyfill/-/error-polyfill-0.1.3.tgz" + "version" "0.1.3" + dependencies: + "capability" "^0.2.5" + "o3" "^1.0.3" + "u3" "^0.1.1" + +"es-abstract@^1.19.0", "es-abstract@^1.20.4": + "integrity" "sha512-y/B5POM2iBnIxCiernH1G7rC9qQoM77lLIMQLuob0zhp8C56Po81+2Nj0WFKnd0pNReDTnkYryc+zhOzpEIROg==" + "resolved" "https://registry.npmjs.org/es-abstract/-/es-abstract-1.21.2.tgz" + "version" "1.21.2" + dependencies: + "array-buffer-byte-length" "^1.0.0" + "available-typed-arrays" "^1.0.5" + "call-bind" "^1.0.2" + "es-set-tostringtag" "^2.0.1" + "es-to-primitive" "^1.2.1" + "function.prototype.name" "^1.1.5" + "get-intrinsic" "^1.2.0" + "get-symbol-description" "^1.0.0" + "globalthis" "^1.0.3" + "gopd" "^1.0.1" + "has" "^1.0.3" + "has-property-descriptors" "^1.0.0" + "has-proto" "^1.0.1" + "has-symbols" "^1.0.3" + "internal-slot" "^1.0.5" + "is-array-buffer" "^3.0.2" + "is-callable" "^1.2.7" + "is-negative-zero" "^2.0.2" + "is-regex" "^1.1.4" + "is-shared-array-buffer" "^1.0.2" + "is-string" "^1.0.7" + "is-typed-array" "^1.1.10" + "is-weakref" "^1.0.2" + "object-inspect" "^1.12.3" + "object-keys" "^1.1.1" + "object.assign" "^4.1.4" + "regexp.prototype.flags" "^1.4.3" + "safe-regex-test" "^1.0.0" + "string.prototype.trim" "^1.2.7" + "string.prototype.trimend" "^1.0.6" + "string.prototype.trimstart" "^1.0.6" + "typed-array-length" "^1.0.4" + "unbox-primitive" "^1.0.2" + "which-typed-array" "^1.1.9" + +"es-set-tostringtag@^2.0.1": + "integrity" "sha512-g3OMbtlwY3QewlqAiMLI47KywjWZoEytKr8pf6iTC8uJq5bIAH52Z9pnQ8pVL6whrCto53JZDuUIsifGeLorTg==" + "resolved" "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.1.tgz" + "version" "2.0.1" + dependencies: + "get-intrinsic" "^1.1.3" + "has" "^1.0.3" + "has-tostringtag" "^1.0.0" + +"es-shim-unscopables@^1.0.0": + "integrity" "sha512-Jm6GPcCdC30eMLbZ2x8z2WuRwAws3zTBBKuusffYVUrNj/GVSUAZ+xKMaUpfNDR5IbyNA5LJbaecoUVbmUcB1w==" + "resolved" "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.0.0.tgz" + "version" "1.0.0" + dependencies: + "has" "^1.0.3" + +"es-to-primitive@^1.2.1": + "integrity" "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==" + "resolved" "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz" + "version" "1.2.1" + dependencies: + "is-callable" "^1.1.4" + "is-date-object" "^1.0.1" + "is-symbol" "^1.0.2" + +"es5-ext@^0.10.35", "es5-ext@^0.10.50": + "integrity" "sha512-BHLqn0klhEpnOKSrzn/Xsz2UIW8j+cGmo9JLzr8BiUapV8hPL9+FliFqjwr9ngW7jWdnxv6eO+/LqyhJVqgrjA==" + "resolved" "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.62.tgz" + "version" "0.10.62" + dependencies: + "es6-iterator" "^2.0.3" + "es6-symbol" "^3.1.3" + "next-tick" "^1.1.0" + +"es6-iterator@^2.0.3": + "integrity" "sha512-zw4SRzoUkd+cl+ZoE15A9o1oQd920Bb0iOJMQkQhl3jNc03YqVjAhG7scf9C5KWRU/R13Orf588uCC6525o02g==" + "resolved" "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz" + "version" "2.0.3" + dependencies: + "d" "1" + "es5-ext" "^0.10.35" + "es6-symbol" "^3.1.1" + +"es6-object-assign@^1.1.0": + "integrity" "sha512-MEl9uirslVwqQU369iHNWZXsI8yaZYGg/D65aOgZkeyFJwHYSxilf7rQzXKI7DdDuBPrBXbfk3sl9hJhmd5AUw==" + "resolved" "https://registry.npmjs.org/es6-object-assign/-/es6-object-assign-1.1.0.tgz" + "version" "1.1.0" + +"es6-promise@^4.0.3", "es6-promise@^4.2.8", "es6-promise@4.2.8": + "integrity" "sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w==" + "resolved" "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz" + "version" "4.2.8" + +"es6-promisify@^5.0.0": + "integrity" "sha512-C+d6UdsYDk0lMebHNR4S2NybQMMngAOnOwYBQjTOiv0MkoJMP0Myw2mgpDLBcpfCmRLxyFqYhS/CfOENq4SJhQ==" + "resolved" "https://registry.npmjs.org/es6-promisify/-/es6-promisify-5.0.0.tgz" + "version" "5.0.0" + dependencies: + "es6-promise" "^4.0.3" + +"es6-symbol@^3.1.1", "es6-symbol@^3.1.3": + "integrity" "sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==" + "resolved" "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.3.tgz" + "version" "3.1.3" + dependencies: + "d" "^1.0.1" + "ext" "^1.1.2" + +"escalade@^3.1.1": + "integrity" "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==" + "resolved" "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz" + "version" "3.1.1" + +"escape-html@~1.0.3": + "integrity" "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==" + "resolved" "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz" + "version" "1.0.3" + +"escape-latex@^1.2.0": + "integrity" "sha512-nV5aVWW1K0wEiUIEdZ4erkGGH8mDxGyxSeqPzRNtWP7ataw+/olFObw7hujFWlVjNsaDFw5VZ5NzVSIqRgfTiw==" + "resolved" "https://registry.npmjs.org/escape-latex/-/escape-latex-1.2.0.tgz" + "version" "1.2.0" + +"escape-string-regexp@^1.0.5", "escape-string-regexp@1.0.5": + "integrity" "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==" + "resolved" "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz" + "version" "1.0.5" + +"escape-string-regexp@^2.0.0": + "integrity" "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==" + "resolved" "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz" + "version" "2.0.0" + +"escape-string-regexp@^4.0.0": + "integrity" "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==" + "resolved" "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz" + "version" "4.0.0" + +"escape-string-regexp@4.0.0": + "integrity" "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==" + "resolved" "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz" + "version" "4.0.0" + +"escodegen@^2.0.0": + "integrity" "sha512-mmHKys/C8BFUGI+MAWNcSYoORYLMdPzjrknd2Vc+bUsjN5bXcr8EhrNB+UTqfL1y3I9c4fw2ihgtMPQLBRiQxw==" + "resolved" "https://registry.npmjs.org/escodegen/-/escodegen-2.0.0.tgz" + "version" "2.0.0" + dependencies: + "esprima" "^4.0.1" + "estraverse" "^5.2.0" + "esutils" "^2.0.2" + "optionator" "^0.8.1" optionalDependencies: - source-map "~0.6.1" - -eslint-config-prettier@^8.3.0: - version "8.7.0" - resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-8.7.0.tgz#f1cc58a8afebc50980bd53475451df146c13182d" - integrity sha512-HHVXLSlVUhMSmyW4ZzEuvjpwqamgmlfkutD53cYXLikh4pt/modINRcCIApJ84czDxM4GZInwUrromsDdTImTA== - -eslint-config-standard@^16.0.3: - version "16.0.3" - resolved "https://registry.yarnpkg.com/eslint-config-standard/-/eslint-config-standard-16.0.3.tgz#6c8761e544e96c531ff92642eeb87842b8488516" - integrity sha512-x4fmJL5hGqNJKGHSjnLdgA6U6h1YW/G2dW9fA+cyVur4SK6lyue8+UgNKWlZtUDTXvgKDD/Oa3GQjmB5kjtVvg== - -eslint-import-resolver-node@^0.3.7: - version "0.3.7" - resolved "https://registry.yarnpkg.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.7.tgz#83b375187d412324a1963d84fa664377a23eb4d7" - integrity sha512-gozW2blMLJCeFpBwugLTGyvVjNoeo1knonXAcatC6bjPBZitotxdWf7Gimr25N4c0AAOo4eOUfaG82IJPDpqCA== - dependencies: - debug "^3.2.7" - is-core-module "^2.11.0" - resolve "^1.22.1" - -eslint-module-utils@^2.7.4: - version "2.7.4" - resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.7.4.tgz#4f3e41116aaf13a20792261e61d3a2e7e0583974" - integrity sha512-j4GT+rqzCoRKHwURX7pddtIPGySnX9Si/cgMI5ztrcqOPtk5dDEeZ34CQVPphnqkJytlc97Vuk05Um2mJ3gEQA== - dependencies: - debug "^3.2.7" - -eslint-plugin-es@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/eslint-plugin-es/-/eslint-plugin-es-3.0.1.tgz#75a7cdfdccddc0589934aeeb384175f221c57893" - integrity sha512-GUmAsJaN4Fc7Gbtl8uOBlayo2DqhwWvEzykMHSCZHU3XdJ+NSzzZcVhXh3VxX5icqQ+oQdIEawXX8xkR3mIFmQ== - dependencies: - eslint-utils "^2.0.0" - regexpp "^3.0.0" - -eslint-plugin-import@^2.23.4: - version "2.27.5" - resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.27.5.tgz#876a6d03f52608a3e5bb439c2550588e51dd6c65" - integrity sha512-LmEt3GVofgiGuiE+ORpnvP+kAm3h6MLZJ4Q5HCyHADofsb4VzXFsRiWj3c0OFiV+3DWFh0qg3v9gcPlfc3zRow== - dependencies: - array-includes "^3.1.6" - array.prototype.flat "^1.3.1" - array.prototype.flatmap "^1.3.1" - debug "^3.2.7" - doctrine "^2.1.0" - eslint-import-resolver-node "^0.3.7" - eslint-module-utils "^2.7.4" - has "^1.0.3" - is-core-module "^2.11.0" - is-glob "^4.0.3" - minimatch "^3.1.2" - object.values "^1.1.6" - resolve "^1.22.1" - semver "^6.3.0" - tsconfig-paths "^3.14.1" - -eslint-plugin-node@^11.1.0: - version "11.1.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-node/-/eslint-plugin-node-11.1.0.tgz#c95544416ee4ada26740a30474eefc5402dc671d" - integrity sha512-oUwtPJ1W0SKD0Tr+wqu92c5xuCeQqB3hSCHasn/ZgjFdA9iDGNkNf2Zi9ztY7X+hNuMib23LNGRm6+uN+KLE3g== - dependencies: - eslint-plugin-es "^3.0.0" - eslint-utils "^2.0.0" - ignore "^5.1.1" - minimatch "^3.0.4" - resolve "^1.10.1" - semver "^6.1.0" - -eslint-plugin-prettier@^3.4.0: - version "3.4.1" - resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-3.4.1.tgz#e9ddb200efb6f3d05ffe83b1665a716af4a387e5" - integrity sha512-htg25EUYUeIhKHXjOinK4BgCcDwtLHjqaxCDsMy5nbnUMkKFvIhMVCp+5GFUXQ4Nr8lBsPqtGAqBenbpFqAA2g== - dependencies: - prettier-linter-helpers "^1.0.0" - -eslint-plugin-promise@^5.1.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-promise/-/eslint-plugin-promise-5.2.0.tgz#a596acc32981627eb36d9d75f9666ac1a4564971" - integrity sha512-SftLb1pUG01QYq2A/hGAWfDRXqYD82zE7j7TopDOyNdU+7SvvoXREls/+PRTY17vUXzXnZA/zfnyKgRH6x4JJw== - -eslint-plugin-standard@^4.0.1: - version "4.1.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-standard/-/eslint-plugin-standard-4.1.0.tgz#0c3bf3a67e853f8bbbc580fb4945fbf16f41b7c5" - integrity sha512-ZL7+QRixjTR6/528YNGyDotyffm5OQst/sGxKDwGb9Uqs4In5Egi4+jbobhqJoyoCM6/7v/1A5fhQ7ScMtDjaQ== - -eslint-scope@^5.1.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c" - integrity sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw== - dependencies: - esrecurse "^4.3.0" - estraverse "^4.1.1" - -eslint-utils@^2.0.0, eslint-utils@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-2.1.0.tgz#d2de5e03424e707dc10c74068ddedae708741b27" - integrity sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg== - dependencies: - eslint-visitor-keys "^1.1.0" - -eslint-utils@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-3.0.0.tgz#8aebaface7345bb33559db0a1f13a1d2d48c3672" - integrity sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA== - dependencies: - eslint-visitor-keys "^2.0.0" - -eslint-visitor-keys@^1.1.0, eslint-visitor-keys@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz#30ebd1ef7c2fdff01c3a4f151044af25fab0523e" - integrity sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ== - -eslint-visitor-keys@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz#f65328259305927392c938ed44eb0a5c9b2bd303" - integrity sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw== - -eslint@^7.25.0: - version "7.32.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-7.32.0.tgz#c6d328a14be3fb08c8d1d21e12c02fdb7a2a812d" - integrity sha512-VHZ8gX+EDfz+97jGcgyGCyRia/dPOd6Xh9yPv8Bl1+SoaIwD+a/vlrOmGRUyOYu7MwUhc7CxqeaDZU13S4+EpA== + "source-map" "~0.6.1" + +"eslint-config-prettier@^8.3.0": + "integrity" "sha512-HHVXLSlVUhMSmyW4ZzEuvjpwqamgmlfkutD53cYXLikh4pt/modINRcCIApJ84czDxM4GZInwUrromsDdTImTA==" + "resolved" "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.7.0.tgz" + "version" "8.7.0" + +"eslint-config-standard@^16.0.3": + "integrity" "sha512-x4fmJL5hGqNJKGHSjnLdgA6U6h1YW/G2dW9fA+cyVur4SK6lyue8+UgNKWlZtUDTXvgKDD/Oa3GQjmB5kjtVvg==" + "resolved" "https://registry.npmjs.org/eslint-config-standard/-/eslint-config-standard-16.0.3.tgz" + "version" "16.0.3" + +"eslint-import-resolver-node@^0.3.7": + "integrity" "sha512-gozW2blMLJCeFpBwugLTGyvVjNoeo1knonXAcatC6bjPBZitotxdWf7Gimr25N4c0AAOo4eOUfaG82IJPDpqCA==" + "resolved" "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.7.tgz" + "version" "0.3.7" + dependencies: + "debug" "^3.2.7" + "is-core-module" "^2.11.0" + "resolve" "^1.22.1" + +"eslint-module-utils@^2.7.4": + "integrity" "sha512-j4GT+rqzCoRKHwURX7pddtIPGySnX9Si/cgMI5ztrcqOPtk5dDEeZ34CQVPphnqkJytlc97Vuk05Um2mJ3gEQA==" + "resolved" "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.7.4.tgz" + "version" "2.7.4" + dependencies: + "debug" "^3.2.7" + +"eslint-plugin-es@^3.0.0": + "integrity" "sha512-GUmAsJaN4Fc7Gbtl8uOBlayo2DqhwWvEzykMHSCZHU3XdJ+NSzzZcVhXh3VxX5icqQ+oQdIEawXX8xkR3mIFmQ==" + "resolved" "https://registry.npmjs.org/eslint-plugin-es/-/eslint-plugin-es-3.0.1.tgz" + "version" "3.0.1" + dependencies: + "eslint-utils" "^2.0.0" + "regexpp" "^3.0.0" + +"eslint-plugin-import@^2.23.4": + "integrity" "sha512-LmEt3GVofgiGuiE+ORpnvP+kAm3h6MLZJ4Q5HCyHADofsb4VzXFsRiWj3c0OFiV+3DWFh0qg3v9gcPlfc3zRow==" + "resolved" "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.27.5.tgz" + "version" "2.27.5" + dependencies: + "array-includes" "^3.1.6" + "array.prototype.flat" "^1.3.1" + "array.prototype.flatmap" "^1.3.1" + "debug" "^3.2.7" + "doctrine" "^2.1.0" + "eslint-import-resolver-node" "^0.3.7" + "eslint-module-utils" "^2.7.4" + "has" "^1.0.3" + "is-core-module" "^2.11.0" + "is-glob" "^4.0.3" + "minimatch" "^3.1.2" + "object.values" "^1.1.6" + "resolve" "^1.22.1" + "semver" "^6.3.0" + "tsconfig-paths" "^3.14.1" + +"eslint-plugin-node@^11.1.0": + "integrity" "sha512-oUwtPJ1W0SKD0Tr+wqu92c5xuCeQqB3hSCHasn/ZgjFdA9iDGNkNf2Zi9ztY7X+hNuMib23LNGRm6+uN+KLE3g==" + "resolved" "https://registry.npmjs.org/eslint-plugin-node/-/eslint-plugin-node-11.1.0.tgz" + "version" "11.1.0" + dependencies: + "eslint-plugin-es" "^3.0.0" + "eslint-utils" "^2.0.0" + "ignore" "^5.1.1" + "minimatch" "^3.0.4" + "resolve" "^1.10.1" + "semver" "^6.1.0" + +"eslint-plugin-prettier@^3.4.0": + "integrity" "sha512-htg25EUYUeIhKHXjOinK4BgCcDwtLHjqaxCDsMy5nbnUMkKFvIhMVCp+5GFUXQ4Nr8lBsPqtGAqBenbpFqAA2g==" + "resolved" "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-3.4.1.tgz" + "version" "3.4.1" + dependencies: + "prettier-linter-helpers" "^1.0.0" + +"eslint-plugin-promise@^5.1.0": + "integrity" "sha512-SftLb1pUG01QYq2A/hGAWfDRXqYD82zE7j7TopDOyNdU+7SvvoXREls/+PRTY17vUXzXnZA/zfnyKgRH6x4JJw==" + "resolved" "https://registry.npmjs.org/eslint-plugin-promise/-/eslint-plugin-promise-5.2.0.tgz" + "version" "5.2.0" + +"eslint-plugin-standard@^4.0.1": + "integrity" "sha512-ZL7+QRixjTR6/528YNGyDotyffm5OQst/sGxKDwGb9Uqs4In5Egi4+jbobhqJoyoCM6/7v/1A5fhQ7ScMtDjaQ==" + "resolved" "https://registry.npmjs.org/eslint-plugin-standard/-/eslint-plugin-standard-4.1.0.tgz" + "version" "4.1.0" + +"eslint-scope@^5.1.1": + "integrity" "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==" + "resolved" "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz" + "version" "5.1.1" + dependencies: + "esrecurse" "^4.3.0" + "estraverse" "^4.1.1" + +"eslint-utils@^2.0.0", "eslint-utils@^2.1.0": + "integrity" "sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg==" + "resolved" "https://registry.npmjs.org/eslint-utils/-/eslint-utils-2.1.0.tgz" + "version" "2.1.0" + dependencies: + "eslint-visitor-keys" "^1.1.0" + +"eslint-utils@^3.0.0": + "integrity" "sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==" + "resolved" "https://registry.npmjs.org/eslint-utils/-/eslint-utils-3.0.0.tgz" + "version" "3.0.0" + dependencies: + "eslint-visitor-keys" "^2.0.0" + +"eslint-visitor-keys@^1.1.0": + "integrity" "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==" + "resolved" "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz" + "version" "1.3.0" + +"eslint-visitor-keys@^1.3.0": + "integrity" "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==" + "resolved" "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz" + "version" "1.3.0" + +"eslint-visitor-keys@^2.0.0": + "integrity" "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==" + "resolved" "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz" + "version" "2.1.0" + +"eslint@^7.25.0": + "integrity" "sha512-VHZ8gX+EDfz+97jGcgyGCyRia/dPOd6Xh9yPv8Bl1+SoaIwD+a/vlrOmGRUyOYu7MwUhc7CxqeaDZU13S4+EpA==" + "resolved" "https://registry.npmjs.org/eslint/-/eslint-7.32.0.tgz" + "version" "7.32.0" dependencies: "@babel/code-frame" "7.12.11" "@eslint/eslintrc" "^0.4.3" "@humanwhocodes/config-array" "^0.5.0" - ajv "^6.10.0" - chalk "^4.0.0" - cross-spawn "^7.0.2" - debug "^4.0.1" - doctrine "^3.0.0" - enquirer "^2.3.5" - escape-string-regexp "^4.0.0" - eslint-scope "^5.1.1" - eslint-utils "^2.1.0" - eslint-visitor-keys "^2.0.0" - espree "^7.3.1" - esquery "^1.4.0" - esutils "^2.0.2" - fast-deep-equal "^3.1.3" - file-entry-cache "^6.0.1" - functional-red-black-tree "^1.0.1" - glob-parent "^5.1.2" - globals "^13.6.0" - ignore "^4.0.6" - import-fresh "^3.0.0" - imurmurhash "^0.1.4" - is-glob "^4.0.0" - js-yaml "^3.13.1" - json-stable-stringify-without-jsonify "^1.0.1" - levn "^0.4.1" - lodash.merge "^4.6.2" - minimatch "^3.0.4" - natural-compare "^1.4.0" - optionator "^0.9.1" - progress "^2.0.0" - regexpp "^3.1.0" - semver "^7.2.1" - strip-ansi "^6.0.0" - strip-json-comments "^3.1.0" - table "^6.0.9" - text-table "^0.2.0" - v8-compile-cache "^2.0.3" - -espree@^7.3.0, espree@^7.3.1: - version "7.3.1" - resolved "https://registry.yarnpkg.com/espree/-/espree-7.3.1.tgz#f2df330b752c6f55019f8bd89b7660039c1bbbb6" - integrity sha512-v3JCNCE64umkFpmkFGqzVKsOT0tN1Zr+ueqLZfpV1Ob8e+CEgPWa+OxCoGH3tnhimMKIaBm4m/vaRpJ/krRz2g== - dependencies: - acorn "^7.4.0" - acorn-jsx "^5.3.1" - eslint-visitor-keys "^1.3.0" - -esprima@^4.0.0, esprima@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" - integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== - -esquery@^1.4.0: - version "1.5.0" - resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.5.0.tgz#6ce17738de8577694edd7361c57182ac8cb0db0b" - integrity sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg== - dependencies: - estraverse "^5.1.0" - -esrecurse@^4.3.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.3.0.tgz#7ad7964d679abb28bee72cec63758b1c5d2c9921" - integrity sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag== - dependencies: - estraverse "^5.2.0" - -estraverse@^4.1.1: - version "4.3.0" - resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.3.0.tgz#398ad3f3c5a24948be7725e83d11a7de28cdbd1d" - integrity sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw== - -estraverse@^5.1.0, estraverse@^5.2.0: - version "5.3.0" - resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.3.0.tgz#2eea5290702f26ab8fe5370370ff86c965d21123" - integrity sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA== - -esutils@^2.0.2: - version "2.0.3" - resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" - integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== - -etag@~1.8.1: - version "1.8.1" - resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887" - integrity sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg== - -eth-crypto@^2.6.0: - version "2.6.0" - resolved "https://registry.yarnpkg.com/eth-crypto/-/eth-crypto-2.6.0.tgz#b777f367ae8c70e5917b3b7d52adab6b34841e29" - integrity sha512-GCX4ffFYRUGgnuWR5qxcZIRQJ1KEqPFiyXU9yVy7s6dtXIMlUXZQ2h+5ID6rFaOHWbpJbjfkC6YdhwtwRYCnug== + "ajv" "^6.10.0" + "chalk" "^4.0.0" + "cross-spawn" "^7.0.2" + "debug" "^4.0.1" + "doctrine" "^3.0.0" + "enquirer" "^2.3.5" + "escape-string-regexp" "^4.0.0" + "eslint-scope" "^5.1.1" + "eslint-utils" "^2.1.0" + "eslint-visitor-keys" "^2.0.0" + "espree" "^7.3.1" + "esquery" "^1.4.0" + "esutils" "^2.0.2" + "fast-deep-equal" "^3.1.3" + "file-entry-cache" "^6.0.1" + "functional-red-black-tree" "^1.0.1" + "glob-parent" "^5.1.2" + "globals" "^13.6.0" + "ignore" "^4.0.6" + "import-fresh" "^3.0.0" + "imurmurhash" "^0.1.4" + "is-glob" "^4.0.0" + "js-yaml" "^3.13.1" + "json-stable-stringify-without-jsonify" "^1.0.1" + "levn" "^0.4.1" + "lodash.merge" "^4.6.2" + "minimatch" "^3.0.4" + "natural-compare" "^1.4.0" + "optionator" "^0.9.1" + "progress" "^2.0.0" + "regexpp" "^3.1.0" + "semver" "^7.2.1" + "strip-ansi" "^6.0.0" + "strip-json-comments" "^3.1.0" + "table" "^6.0.9" + "text-table" "^0.2.0" + "v8-compile-cache" "^2.0.3" + +"espree@^7.3.0", "espree@^7.3.1": + "integrity" "sha512-v3JCNCE64umkFpmkFGqzVKsOT0tN1Zr+ueqLZfpV1Ob8e+CEgPWa+OxCoGH3tnhimMKIaBm4m/vaRpJ/krRz2g==" + "resolved" "https://registry.npmjs.org/espree/-/espree-7.3.1.tgz" + "version" "7.3.1" + dependencies: + "acorn" "^7.4.0" + "acorn-jsx" "^5.3.1" + "eslint-visitor-keys" "^1.3.0" + +"esprima@^4.0.0", "esprima@^4.0.1": + "integrity" "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==" + "resolved" "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz" + "version" "4.0.1" + +"esquery@^1.4.0": + "integrity" "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==" + "resolved" "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz" + "version" "1.5.0" + dependencies: + "estraverse" "^5.1.0" + +"esrecurse@^4.3.0": + "integrity" "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==" + "resolved" "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz" + "version" "4.3.0" + dependencies: + "estraverse" "^5.2.0" + +"estraverse@^4.1.1": + "integrity" "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==" + "resolved" "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz" + "version" "4.3.0" + +"estraverse@^5.1.0", "estraverse@^5.2.0": + "integrity" "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==" + "resolved" "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz" + "version" "5.3.0" + +"esutils@^2.0.2": + "integrity" "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==" + "resolved" "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz" + "version" "2.0.3" + +"etag@~1.8.1": + "integrity" "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==" + "resolved" "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz" + "version" "1.8.1" + +"eth-crypto@^2.6.0": + "integrity" "sha512-GCX4ffFYRUGgnuWR5qxcZIRQJ1KEqPFiyXU9yVy7s6dtXIMlUXZQ2h+5ID6rFaOHWbpJbjfkC6YdhwtwRYCnug==" + "resolved" "https://registry.npmjs.org/eth-crypto/-/eth-crypto-2.6.0.tgz" + "version" "2.6.0" dependencies: "@babel/runtime" "7.20.13" "@ethereumjs/tx" "3.5.2" "@types/bn.js" "5.1.1" - eccrypto "1.1.6" - ethereumjs-util "7.1.5" - ethers "5.7.2" - secp256k1 "5.0.0" - -eth-ens-namehash@2.0.8: - version "2.0.8" - resolved "https://registry.yarnpkg.com/eth-ens-namehash/-/eth-ens-namehash-2.0.8.tgz#229ac46eca86d52e0c991e7cb2aef83ff0f68bcf" - integrity sha512-VWEI1+KJfz4Km//dadyvBBoBeSQ0MHTXPvr8UIXiLW6IanxvAV+DmlZAijZwAyggqGUfwQBeHf7tc9wzc1piSw== - dependencies: - idna-uts46-hx "^2.3.1" - js-sha3 "^0.5.7" - -eth-lib@0.2.7: - version "0.2.7" - resolved "https://registry.yarnpkg.com/eth-lib/-/eth-lib-0.2.7.tgz#2f93f17b1e23aec3759cd4a3fe20c1286a3fc1ca" - integrity sha512-VqEBQKH92jNsaE8lG9CTq8M/bc12gdAfb5MY8Ro1hVyXkh7rOtY3m5tRHK3Hus5HqIAAwU2ivcUjTLVwsvf/kw== - dependencies: - bn.js "^4.11.6" - elliptic "^6.4.0" - xhr-request-promise "^0.1.2" - -eth-lib@0.2.8: - version "0.2.8" - resolved "https://registry.yarnpkg.com/eth-lib/-/eth-lib-0.2.8.tgz#b194058bef4b220ad12ea497431d6cb6aa0623c8" - integrity sha512-ArJ7x1WcWOlSpzdoTBX8vkwlkSQ85CjjifSZtV4co64vWxSV8geWfPI9x4SVYu3DSxnX4yWFVTtGL+j9DUFLNw== - dependencies: - bn.js "^4.11.6" - elliptic "^6.4.0" - xhr-request-promise "^0.1.2" - -eth-lib@^0.1.26: - version "0.1.29" - resolved "https://registry.yarnpkg.com/eth-lib/-/eth-lib-0.1.29.tgz#0c11f5060d42da9f931eab6199084734f4dbd1d9" - integrity sha512-bfttrr3/7gG4E02HoWTDUcDDslN003OlOoBxk9virpAZQ1ja/jDgwkWB8QfJF7ojuEowrqy+lzp9VcJG7/k5bQ== - dependencies: - bn.js "^4.11.6" - elliptic "^6.4.0" - nano-json-stream-parser "^0.1.2" - servify "^0.1.12" - ws "^3.0.0" - xhr-request-promise "^0.1.2" - -eth-rpc-errors@^4.0.3: - version "4.0.3" - resolved "https://registry.yarnpkg.com/eth-rpc-errors/-/eth-rpc-errors-4.0.3.tgz#6ddb6190a4bf360afda82790bb7d9d5e724f423a" - integrity sha512-Z3ymjopaoft7JDoxZcEb3pwdGh7yiYMhOwm2doUt6ASXlMavpNlK6Cre0+IMl2VSGyEU9rkiperQhp5iRxn5Pg== - dependencies: - fast-safe-stringify "^2.0.6" - -eth-sig-util@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/eth-sig-util/-/eth-sig-util-3.0.1.tgz#8753297c83a3f58346bd13547b59c4b2cd110c96" - integrity sha512-0Us50HiGGvZgjtWTyAI/+qTzYPMLy5Q451D0Xy68bxq1QMWdoOddDwGvsqcFT27uohKgalM9z/yxplyt+mY2iQ== - dependencies: - ethereumjs-abi "^0.6.8" - ethereumjs-util "^5.1.1" - tweetnacl "^1.0.3" - tweetnacl-util "^0.15.0" - -ethereum-bloom-filters@^1.0.6: - version "1.0.10" - resolved "https://registry.yarnpkg.com/ethereum-bloom-filters/-/ethereum-bloom-filters-1.0.10.tgz#3ca07f4aed698e75bd134584850260246a5fed8a" - integrity sha512-rxJ5OFN3RwjQxDcFP2Z5+Q9ho4eIdEmSc2ht0fCu8Se9nbXjZ7/031uXoUYJ87KHCOdVeiUuwSnoS7hmYAGVHA== - dependencies: - js-sha3 "^0.8.0" - -ethereum-cryptography@0.1.3, ethereum-cryptography@^0.1.3: - version "0.1.3" - resolved "https://registry.yarnpkg.com/ethereum-cryptography/-/ethereum-cryptography-0.1.3.tgz#8d6143cfc3d74bf79bbd8edecdf29e4ae20dd191" - integrity sha512-w8/4x1SGGzc+tO97TASLja6SLd3fRIK2tLVcV2Gx4IB21hE19atll5Cq9o3d0ZmAYC/8aw0ipieTSiekAea4SQ== + "eccrypto" "1.1.6" + "ethereumjs-util" "7.1.5" + "ethers" "5.7.2" + "secp256k1" "5.0.0" + +"eth-ens-namehash@2.0.8": + "integrity" "sha512-VWEI1+KJfz4Km//dadyvBBoBeSQ0MHTXPvr8UIXiLW6IanxvAV+DmlZAijZwAyggqGUfwQBeHf7tc9wzc1piSw==" + "resolved" "https://registry.npmjs.org/eth-ens-namehash/-/eth-ens-namehash-2.0.8.tgz" + "version" "2.0.8" + dependencies: + "idna-uts46-hx" "^2.3.1" + "js-sha3" "^0.5.7" + +"eth-lib@^0.1.26": + "integrity" "sha512-bfttrr3/7gG4E02HoWTDUcDDslN003OlOoBxk9virpAZQ1ja/jDgwkWB8QfJF7ojuEowrqy+lzp9VcJG7/k5bQ==" + "resolved" "https://registry.npmjs.org/eth-lib/-/eth-lib-0.1.29.tgz" + "version" "0.1.29" + dependencies: + "bn.js" "^4.11.6" + "elliptic" "^6.4.0" + "nano-json-stream-parser" "^0.1.2" + "servify" "^0.1.12" + "ws" "^3.0.0" + "xhr-request-promise" "^0.1.2" + +"eth-lib@0.2.7": + "integrity" "sha512-VqEBQKH92jNsaE8lG9CTq8M/bc12gdAfb5MY8Ro1hVyXkh7rOtY3m5tRHK3Hus5HqIAAwU2ivcUjTLVwsvf/kw==" + "resolved" "https://registry.npmjs.org/eth-lib/-/eth-lib-0.2.7.tgz" + "version" "0.2.7" + dependencies: + "bn.js" "^4.11.6" + "elliptic" "^6.4.0" + "xhr-request-promise" "^0.1.2" + +"eth-lib@0.2.8": + "integrity" "sha512-ArJ7x1WcWOlSpzdoTBX8vkwlkSQ85CjjifSZtV4co64vWxSV8geWfPI9x4SVYu3DSxnX4yWFVTtGL+j9DUFLNw==" + "resolved" "https://registry.npmjs.org/eth-lib/-/eth-lib-0.2.8.tgz" + "version" "0.2.8" + dependencies: + "bn.js" "^4.11.6" + "elliptic" "^6.4.0" + "xhr-request-promise" "^0.1.2" + +"eth-rpc-errors@^4.0.3": + "integrity" "sha512-Z3ymjopaoft7JDoxZcEb3pwdGh7yiYMhOwm2doUt6ASXlMavpNlK6Cre0+IMl2VSGyEU9rkiperQhp5iRxn5Pg==" + "resolved" "https://registry.npmjs.org/eth-rpc-errors/-/eth-rpc-errors-4.0.3.tgz" + "version" "4.0.3" + dependencies: + "fast-safe-stringify" "^2.0.6" + +"eth-sig-util@^3.0.1": + "integrity" "sha512-0Us50HiGGvZgjtWTyAI/+qTzYPMLy5Q451D0Xy68bxq1QMWdoOddDwGvsqcFT27uohKgalM9z/yxplyt+mY2iQ==" + "resolved" "https://registry.npmjs.org/eth-sig-util/-/eth-sig-util-3.0.1.tgz" + "version" "3.0.1" + dependencies: + "ethereumjs-abi" "^0.6.8" + "ethereumjs-util" "^5.1.1" + "tweetnacl" "^1.0.3" + "tweetnacl-util" "^0.15.0" + +"ethereum-bloom-filters@^1.0.6": + "integrity" "sha512-rxJ5OFN3RwjQxDcFP2Z5+Q9ho4eIdEmSc2ht0fCu8Se9nbXjZ7/031uXoUYJ87KHCOdVeiUuwSnoS7hmYAGVHA==" + "resolved" "https://registry.npmjs.org/ethereum-bloom-filters/-/ethereum-bloom-filters-1.0.10.tgz" + "version" "1.0.10" + dependencies: + "js-sha3" "^0.8.0" + +"ethereum-cryptography@^0.1.3", "ethereum-cryptography@0.1.3": + "integrity" "sha512-w8/4x1SGGzc+tO97TASLja6SLd3fRIK2tLVcV2Gx4IB21hE19atll5Cq9o3d0ZmAYC/8aw0ipieTSiekAea4SQ==" + "resolved" "https://registry.npmjs.org/ethereum-cryptography/-/ethereum-cryptography-0.1.3.tgz" + "version" "0.1.3" dependencies: "@types/pbkdf2" "^3.0.0" "@types/secp256k1" "^4.0.1" - blakejs "^1.1.0" - browserify-aes "^1.2.0" - bs58check "^2.1.2" - create-hash "^1.2.0" - create-hmac "^1.1.7" - hash.js "^1.1.7" - keccak "^3.0.0" - pbkdf2 "^3.0.17" - randombytes "^2.1.0" - safe-buffer "^5.1.2" - scrypt-js "^3.0.0" - secp256k1 "^4.0.1" - setimmediate "^1.0.5" - -ethereum-cryptography@^1.0.3, ethereum-cryptography@^1.1.2: - version "1.2.0" - resolved "https://registry.yarnpkg.com/ethereum-cryptography/-/ethereum-cryptography-1.2.0.tgz#5ccfa183e85fdaf9f9b299a79430c044268c9b3a" - integrity sha512-6yFQC9b5ug6/17CQpCyE3k9eKBMdhyVjzUy1WkiuY/E4vj/SXDBbCw8QEIaXqf0Mf2SnY6RmpDcwlUmBSS0EJw== + "blakejs" "^1.1.0" + "browserify-aes" "^1.2.0" + "bs58check" "^2.1.2" + "create-hash" "^1.2.0" + "create-hmac" "^1.1.7" + "hash.js" "^1.1.7" + "keccak" "^3.0.0" + "pbkdf2" "^3.0.17" + "randombytes" "^2.1.0" + "safe-buffer" "^5.1.2" + "scrypt-js" "^3.0.0" + "secp256k1" "^4.0.1" + "setimmediate" "^1.0.5" + +"ethereum-cryptography@^1.0.3": + "integrity" "sha512-6yFQC9b5ug6/17CQpCyE3k9eKBMdhyVjzUy1WkiuY/E4vj/SXDBbCw8QEIaXqf0Mf2SnY6RmpDcwlUmBSS0EJw==" + "resolved" "https://registry.npmjs.org/ethereum-cryptography/-/ethereum-cryptography-1.2.0.tgz" + "version" "1.2.0" + dependencies: + "@noble/hashes" "1.2.0" + "@noble/secp256k1" "1.7.1" + "@scure/bip32" "1.1.5" + "@scure/bip39" "1.1.1" + +"ethereum-cryptography@^1.1.2": + "integrity" "sha512-6yFQC9b5ug6/17CQpCyE3k9eKBMdhyVjzUy1WkiuY/E4vj/SXDBbCw8QEIaXqf0Mf2SnY6RmpDcwlUmBSS0EJw==" + "resolved" "https://registry.npmjs.org/ethereum-cryptography/-/ethereum-cryptography-1.2.0.tgz" + "version" "1.2.0" dependencies: "@noble/hashes" "1.2.0" "@noble/secp256k1" "1.7.1" "@scure/bip32" "1.1.5" "@scure/bip39" "1.1.1" -ethereum-cryptography@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/ethereum-cryptography/-/ethereum-cryptography-2.0.0.tgz#e052b49fa81affae29402e977b8d3a31f88612b6" - integrity sha512-g25m4EtfQGjstWgVE1aIz7XYYjf3kH5kG17ULWVB5dH6uLahsoltOhACzSxyDV+fhn4gbR4xRrOXGe6r2uh4Bg== +"ethereum-cryptography@^2.0.0": + "integrity" "sha512-g25m4EtfQGjstWgVE1aIz7XYYjf3kH5kG17ULWVB5dH6uLahsoltOhACzSxyDV+fhn4gbR4xRrOXGe6r2uh4Bg==" + "resolved" "https://registry.npmjs.org/ethereum-cryptography/-/ethereum-cryptography-2.0.0.tgz" + "version" "2.0.0" dependencies: "@noble/curves" "1.0.0" "@noble/hashes" "1.3.0" "@scure/bip32" "1.3.0" "@scure/bip39" "1.2.0" -ethereumjs-abi@^0.6.8: - version "0.6.8" - resolved "https://registry.yarnpkg.com/ethereumjs-abi/-/ethereumjs-abi-0.6.8.tgz#71bc152db099f70e62f108b7cdfca1b362c6fcae" - integrity sha512-Tx0r/iXI6r+lRsdvkFDlut0N08jWMnKRZ6Gkq+Nmw75lZe4e6o3EkSnkaBP5NF6+m5PTGAr9JP43N3LyeoglsA== +"ethereumjs-abi@^0.6.8": + "integrity" "sha512-Tx0r/iXI6r+lRsdvkFDlut0N08jWMnKRZ6Gkq+Nmw75lZe4e6o3EkSnkaBP5NF6+m5PTGAr9JP43N3LyeoglsA==" + "resolved" "https://registry.npmjs.org/ethereumjs-abi/-/ethereumjs-abi-0.6.8.tgz" + "version" "0.6.8" dependencies: - bn.js "^4.11.8" - ethereumjs-util "^6.0.0" + "bn.js" "^4.11.8" + "ethereumjs-util" "^6.0.0" -ethereumjs-util@7.1.5, ethereumjs-util@^7.1.0, ethereumjs-util@^7.1.1, ethereumjs-util@^7.1.2, ethereumjs-util@^7.1.4, ethereumjs-util@^7.1.5: - version "7.1.5" - resolved "https://registry.yarnpkg.com/ethereumjs-util/-/ethereumjs-util-7.1.5.tgz#9ecf04861e4fbbeed7465ece5f23317ad1129181" - integrity sha512-SDl5kKrQAudFBUe5OJM9Ac6WmMyYmXX/6sTmLZ3ffG2eY6ZIGBes3pEDxNN6V72WyOw4CPD5RomKdsa8DAAwLg== +"ethereumjs-util@^5.1.1": + "integrity" "sha512-v3kT+7zdyCm1HIqWlLNrHGqHGLpGYIhjeHxQjnDXjLT2FyGJDsd3LWMYUo7pAFRrk86CR3nUJfhC81CCoJNNGQ==" + "resolved" "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.1.tgz" + "version" "5.2.1" dependencies: - "@types/bn.js" "^5.1.0" - bn.js "^5.1.2" - create-hash "^1.1.2" - ethereum-cryptography "^0.1.3" - rlp "^2.2.4" - -ethereumjs-util@^5.1.1: - version "5.2.1" - resolved "https://registry.yarnpkg.com/ethereumjs-util/-/ethereumjs-util-5.2.1.tgz#a833f0e5fca7e5b361384dc76301a721f537bf65" - integrity sha512-v3kT+7zdyCm1HIqWlLNrHGqHGLpGYIhjeHxQjnDXjLT2FyGJDsd3LWMYUo7pAFRrk86CR3nUJfhC81CCoJNNGQ== - dependencies: - bn.js "^4.11.0" - create-hash "^1.1.2" - elliptic "^6.5.2" - ethereum-cryptography "^0.1.3" - ethjs-util "^0.1.3" - rlp "^2.0.0" - safe-buffer "^5.1.1" - -ethereumjs-util@^6.0.0, ethereumjs-util@^6.2.1: - version "6.2.1" - resolved "https://registry.yarnpkg.com/ethereumjs-util/-/ethereumjs-util-6.2.1.tgz#fcb4e4dd5ceacb9d2305426ab1a5cd93e3163b69" - integrity sha512-W2Ktez4L01Vexijrm5EB6w7dg4n/TgpoYU4avuT5T3Vmnw/eCRtiBrJfQYS/DCSvDIOLn2k57GcHdeBcgVxAqw== + "bn.js" "^4.11.0" + "create-hash" "^1.1.2" + "elliptic" "^6.5.2" + "ethereum-cryptography" "^0.1.3" + "ethjs-util" "^0.1.3" + "rlp" "^2.0.0" + "safe-buffer" "^5.1.1" + +"ethereumjs-util@^6.0.0": + "integrity" "sha512-W2Ktez4L01Vexijrm5EB6w7dg4n/TgpoYU4avuT5T3Vmnw/eCRtiBrJfQYS/DCSvDIOLn2k57GcHdeBcgVxAqw==" + "resolved" "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-6.2.1.tgz" + "version" "6.2.1" dependencies: "@types/bn.js" "^4.11.3" - bn.js "^4.11.0" - create-hash "^1.1.2" - elliptic "^6.5.2" - ethereum-cryptography "^0.1.3" - ethjs-util "0.1.6" - rlp "^2.2.3" + "bn.js" "^4.11.0" + "create-hash" "^1.1.2" + "elliptic" "^6.5.2" + "ethereum-cryptography" "^0.1.3" + "ethjs-util" "0.1.6" + "rlp" "^2.2.3" + +"ethereumjs-util@^6.2.1": + "integrity" "sha512-W2Ktez4L01Vexijrm5EB6w7dg4n/TgpoYU4avuT5T3Vmnw/eCRtiBrJfQYS/DCSvDIOLn2k57GcHdeBcgVxAqw==" + "resolved" "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-6.2.1.tgz" + "version" "6.2.1" + dependencies: + "@types/bn.js" "^4.11.3" + "bn.js" "^4.11.0" + "create-hash" "^1.1.2" + "elliptic" "^6.5.2" + "ethereum-cryptography" "^0.1.3" + "ethjs-util" "0.1.6" + "rlp" "^2.2.3" + +"ethereumjs-util@^7.1.0", "ethereumjs-util@^7.1.1", "ethereumjs-util@^7.1.2", "ethereumjs-util@^7.1.4", "ethereumjs-util@^7.1.5", "ethereumjs-util@7.1.5": + "integrity" "sha512-SDl5kKrQAudFBUe5OJM9Ac6WmMyYmXX/6sTmLZ3ffG2eY6ZIGBes3pEDxNN6V72WyOw4CPD5RomKdsa8DAAwLg==" + "resolved" "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-7.1.5.tgz" + "version" "7.1.5" + dependencies: + "@types/bn.js" "^5.1.0" + "bn.js" "^5.1.2" + "create-hash" "^1.1.2" + "ethereum-cryptography" "^0.1.3" + "rlp" "^2.2.4" "ethers-xdc@file:./vendor/ethers-xdc": - version "5.7.2" - dependencies: - "@ethersproject-xdc/abi" "file:vendor/@ethersproject-xdc/abi" - "@ethersproject-xdc/abstract-provider" "file:vendor/@ethersproject-xdc/abstract-provider" - "@ethersproject-xdc/abstract-signer" "file:vendor/@ethersproject-xdc/abstract-signer" - "@ethersproject-xdc/address" "file:vendor/@ethersproject-xdc/address" - "@ethersproject-xdc/base64" "file:vendor/@ethersproject-xdc/base64" - "@ethersproject-xdc/basex" "file:vendor/@ethersproject-xdc/basex" - "@ethersproject-xdc/bignumber" "file:vendor/@ethersproject-xdc/bignumber" - "@ethersproject-xdc/bytes" "file:vendor/@ethersproject-xdc/bytes" - "@ethersproject-xdc/constants" "file:vendor/@ethersproject-xdc/constants" - "@ethersproject-xdc/contracts" "file:vendor/@ethersproject-xdc/contracts" - "@ethersproject-xdc/hash" "file:vendor/@ethersproject-xdc/hash" - "@ethersproject-xdc/hdnode" "file:vendor/@ethersproject-xdc/hdnode" - "@ethersproject-xdc/json-wallets" "file:vendor/@ethersproject-xdc/json-wallets" - "@ethersproject-xdc/keccak256" "file:vendor/@ethersproject-xdc/keccak256" - "@ethersproject-xdc/logger" "file:vendor/@ethersproject-xdc/logger" - "@ethersproject-xdc/networks" "file:vendor/@ethersproject-xdc/networks" - "@ethersproject-xdc/pbkdf2" "file:vendor/@ethersproject-xdc/pbkdf2" - "@ethersproject-xdc/properties" "file:vendor/@ethersproject-xdc/properties" - "@ethersproject-xdc/providers" "file:vendor/@ethersproject-xdc/providers" - "@ethersproject-xdc/random" "file:vendor/@ethersproject-xdc/random" - "@ethersproject-xdc/rlp" "file:vendor/@ethersproject-xdc/rlp" - "@ethersproject-xdc/sha2" "file:vendor/@ethersproject-xdc/sha2" - "@ethersproject-xdc/signing-key" "file:vendor/@ethersproject-xdc/signing-key" - "@ethersproject-xdc/solidity" "file:vendor/@ethersproject-xdc/solidity" - "@ethersproject-xdc/strings" "file:vendor/@ethersproject-xdc/strings" - "@ethersproject-xdc/transactions" "file:vendor/@ethersproject-xdc/transactions" - "@ethersproject-xdc/units" "file:vendor/@ethersproject-xdc/units" - "@ethersproject-xdc/wallet" "file:vendor/@ethersproject-xdc/wallet" - "@ethersproject-xdc/web" "file:vendor/@ethersproject-xdc/web" - "@ethersproject-xdc/wordlists" "file:vendor/@ethersproject-xdc/wordlists" - -ethers@4.0.0-beta.3: - version "4.0.0-beta.3" - resolved "https://registry.yarnpkg.com/ethers/-/ethers-4.0.0-beta.3.tgz#15bef14e57e94ecbeb7f9b39dd0a4bd435bc9066" - integrity sha512-YYPogooSknTwvHg3+Mv71gM/3Wcrx+ZpCzarBj3mqs9njjRkrOo2/eufzhHloOCo3JSoNI4TQJJ6yU5ABm3Uog== - dependencies: - "@types/node" "^10.3.2" - aes-js "3.0.0" - bn.js "^4.4.0" - elliptic "6.3.3" - hash.js "1.1.3" - js-sha3 "0.5.7" - scrypt-js "2.0.3" - setimmediate "1.0.4" - uuid "2.0.1" - xmlhttprequest "1.8.0" - -ethers@5.7.2, ethers@^5.0.19, ethers@^5.6.1, ethers@^5.6.2, ethers@^5.7.0, ethers@^5.7.2: - version "5.7.2" - resolved "https://registry.yarnpkg.com/ethers/-/ethers-5.7.2.tgz#3a7deeabbb8c030d4126b24f84e525466145872e" - integrity sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg== + "resolved" "file:vendor/ethers-xdc" + "version" "5.7.2" + dependencies: + "@ethersproject-xdc/abi" "file:../@ethersproject-xdc/abi" + "@ethersproject-xdc/abstract-provider" "file:../@ethersproject-xdc/abstract-provider" + "@ethersproject-xdc/abstract-signer" "file:../@ethersproject-xdc/abstract-signer" + "@ethersproject-xdc/address" "file:../@ethersproject-xdc/address" + "@ethersproject-xdc/base64" "file:../@ethersproject-xdc/base64" + "@ethersproject-xdc/basex" "file:../@ethersproject-xdc/basex" + "@ethersproject-xdc/bignumber" "file:../@ethersproject-xdc/bignumber" + "@ethersproject-xdc/bytes" "file:../@ethersproject-xdc/bytes" + "@ethersproject-xdc/constants" "file:../@ethersproject-xdc/constants" + "@ethersproject-xdc/contracts" "file:../@ethersproject-xdc/contracts" + "@ethersproject-xdc/hash" "file:../@ethersproject-xdc/hash" + "@ethersproject-xdc/hdnode" "file:../@ethersproject-xdc/hdnode" + "@ethersproject-xdc/json-wallets" "file:../@ethersproject-xdc/json-wallets" + "@ethersproject-xdc/keccak256" "file:../@ethersproject-xdc/keccak256" + "@ethersproject-xdc/logger" "file:../@ethersproject-xdc/logger" + "@ethersproject-xdc/networks" "file:../@ethersproject-xdc/networks" + "@ethersproject-xdc/pbkdf2" "file:../@ethersproject-xdc/pbkdf2" + "@ethersproject-xdc/properties" "file:../@ethersproject-xdc/properties" + "@ethersproject-xdc/providers" "file:../@ethersproject-xdc/providers" + "@ethersproject-xdc/random" "file:../@ethersproject-xdc/random" + "@ethersproject-xdc/rlp" "file:../@ethersproject-xdc/rlp" + "@ethersproject-xdc/sha2" "file:../@ethersproject-xdc/sha2" + "@ethersproject-xdc/signing-key" "file:../@ethersproject-xdc/signing-key" + "@ethersproject-xdc/solidity" "file:../@ethersproject-xdc/solidity" + "@ethersproject-xdc/strings" "file:../@ethersproject-xdc/strings" + "@ethersproject-xdc/transactions" "file:../@ethersproject-xdc/transactions" + "@ethersproject-xdc/units" "file:../@ethersproject-xdc/units" + "@ethersproject-xdc/wallet" "file:../@ethersproject-xdc/wallet" + "@ethersproject-xdc/web" "file:../@ethersproject-xdc/web" + "@ethersproject-xdc/wordlists" "file:../@ethersproject-xdc/wordlists" + +"ethers@^4.0.32": + "integrity" "sha512-kPltTvWiyu+OktYy1IStSO16i2e7cS9D9OxZ81q2UUaiNPVrm/RTcbxamCXF9VUSKzJIdJV68EAIhTEVBalRWg==" + "resolved" "https://registry.npmjs.org/ethers/-/ethers-4.0.49.tgz" + "version" "4.0.49" + dependencies: + "aes-js" "3.0.0" + "bn.js" "^4.11.9" + "elliptic" "6.5.4" + "hash.js" "1.1.3" + "js-sha3" "0.5.7" + "scrypt-js" "2.0.4" + "setimmediate" "1.0.4" + "uuid" "2.0.1" + "xmlhttprequest" "1.8.0" + +"ethers@^5.0.19", "ethers@^5.6.1", "ethers@^5.6.2", "ethers@^5.7.0", "ethers@^5.7.2", "ethers@5.7.2": + "integrity" "sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg==" + "resolved" "https://registry.npmjs.org/ethers/-/ethers-5.7.2.tgz" + "version" "5.7.2" dependencies: "@ethersproject/abi" "5.7.0" "@ethersproject/abstract-provider" "5.7.0" @@ -8943,1051 +9288,1127 @@ ethers@5.7.2, ethers@^5.0.19, ethers@^5.6.1, ethers@^5.6.2, ethers@^5.7.0, ether "@ethersproject/web" "5.7.1" "@ethersproject/wordlists" "5.7.0" -ethers@^4.0.32: - version "4.0.49" - resolved "https://registry.yarnpkg.com/ethers/-/ethers-4.0.49.tgz#0eb0e9161a0c8b4761be547396bbe2fb121a8894" - integrity sha512-kPltTvWiyu+OktYy1IStSO16i2e7cS9D9OxZ81q2UUaiNPVrm/RTcbxamCXF9VUSKzJIdJV68EAIhTEVBalRWg== - dependencies: - aes-js "3.0.0" - bn.js "^4.11.9" - elliptic "6.5.4" - hash.js "1.1.3" - js-sha3 "0.5.7" - scrypt-js "2.0.4" - setimmediate "1.0.4" - uuid "2.0.1" - xmlhttprequest "1.8.0" - -ethjs-unit@0.1.6: - version "0.1.6" - resolved "https://registry.yarnpkg.com/ethjs-unit/-/ethjs-unit-0.1.6.tgz#c665921e476e87bce2a9d588a6fe0405b2c41699" - integrity sha512-/Sn9Y0oKl0uqQuvgFk/zQgR7aw1g36qX/jzSQ5lSwlO0GigPymk4eGQfeNTD03w1dPOqfz8V77Cy43jH56pagw== - dependencies: - bn.js "4.11.6" - number-to-bn "1.7.0" - -ethjs-util@0.1.6, ethjs-util@^0.1.3, ethjs-util@^0.1.6: - version "0.1.6" - resolved "https://registry.yarnpkg.com/ethjs-util/-/ethjs-util-0.1.6.tgz#f308b62f185f9fe6237132fb2a9818866a5cd536" - integrity sha512-CUnVOQq7gSpDHZVVrQW8ExxUETWrnrvXYvYz55wOU8Uj4VCgw56XC2B/fVqQN+f7gmrnRHSLVnFAwsCuNwji8w== - dependencies: - is-hex-prefixed "1.0.0" - strip-hex-prefix "1.0.0" - -event-target-shim@^5.0.0: - version "5.0.1" - resolved "https://registry.yarnpkg.com/event-target-shim/-/event-target-shim-5.0.1.tgz#5d4d3ebdf9583d63a5333ce2deb7480ab2b05789" - integrity sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ== - -eventemitter3@3.1.2: - version "3.1.2" - resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-3.1.2.tgz#2d3d48f9c346698fce83a85d7d664e98535df6e7" - integrity sha512-tvtQIeLVHjDkJYnzf2dgVMxfuSGJeM/7UCG17TT4EumTfNtF+0nebF/4zWOIkCreAbtNqhGEboB6BWrwqNaw4Q== - -eventemitter3@4.0.4: - version "4.0.4" - resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.4.tgz#b5463ace635a083d018bdc7c917b4c5f10a85384" - integrity sha512-rlaVLnVxtxvoyLsQQFBx53YmXHDxRIzzTLbdfxqi4yocpSjAxXwkU0cScM5JgSKMqEhrZpnvQ2D9gjylR0AimQ== - -eventemitter3@^4.0.4, eventemitter3@^4.0.7: - version "4.0.7" - resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" - integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw== - -events@^3.3.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" - integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== - -evp_bytestokey@^1.0.0, evp_bytestokey@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz#7fcbdb198dc71959432efe13842684e0525acb02" - integrity sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA== - dependencies: - md5.js "^1.3.4" - safe-buffer "^5.1.1" - -execa@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/execa/-/execa-1.0.0.tgz#c6236a5bb4df6d6f15e88e7f017798216749ddd8" - integrity sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA== - dependencies: - cross-spawn "^6.0.0" - get-stream "^4.0.0" - is-stream "^1.1.0" - npm-run-path "^2.0.0" - p-finally "^1.0.0" - signal-exit "^3.0.0" - strip-eof "^1.0.0" - -execa@^5.0.0: - version "5.1.1" - resolved "https://registry.yarnpkg.com/execa/-/execa-5.1.1.tgz#f80ad9cbf4298f7bd1d4c9555c21e93741c411dd" - integrity sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg== - dependencies: - cross-spawn "^7.0.3" - get-stream "^6.0.0" - human-signals "^2.1.0" - is-stream "^2.0.0" - merge-stream "^2.0.0" - npm-run-path "^4.0.1" - onetime "^5.1.2" - signal-exit "^3.0.3" - strip-final-newline "^2.0.0" - -exenv@^1.2.0: - version "1.2.2" - resolved "https://registry.yarnpkg.com/exenv/-/exenv-1.2.2.tgz#2ae78e85d9894158670b03d47bec1f03bd91bb9d" - integrity sha512-Z+ktTxTwv9ILfgKCk32OX3n/doe+OcLTRtqK9pcL+JsP3J1/VW8Uvl4ZjLlKqeW4rzK4oesDOGMEMRIZqtP4Iw== - -exit@^0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c" - integrity sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ== - -expand-brackets@^2.1.4: - version "2.1.4" - resolved "https://registry.yarnpkg.com/expand-brackets/-/expand-brackets-2.1.4.tgz#b77735e315ce30f6b6eff0f83b04151a22449622" - integrity sha512-w/ozOKR9Obk3qoWeY/WDi6MFta9AoMR+zud60mdnbniMcBxRuFJyDt2LdX/14A1UABeqk+Uk+LDfUpvoGKppZA== - dependencies: - debug "^2.3.3" - define-property "^0.2.5" - extend-shallow "^2.0.1" - posix-character-classes "^0.1.0" - regex-not "^1.0.0" - snapdragon "^0.8.1" - to-regex "^3.0.1" - -expect@^24.1.0: - version "24.9.0" - resolved "https://registry.yarnpkg.com/expect/-/expect-24.9.0.tgz#b75165b4817074fa4a157794f46fe9f1ba15b6ca" - integrity sha512-wvVAx8XIol3Z5m9zvZXiyZOQ+sRJqNTIm6sGjdWlaZIeupQGO3WbYI+15D/AmEwZywL6wtJkbAbJtzkOfBuR0Q== +"ethers@4.0.0-beta.3": + "integrity" "sha512-YYPogooSknTwvHg3+Mv71gM/3Wcrx+ZpCzarBj3mqs9njjRkrOo2/eufzhHloOCo3JSoNI4TQJJ6yU5ABm3Uog==" + "resolved" "https://registry.npmjs.org/ethers/-/ethers-4.0.0-beta.3.tgz" + "version" "4.0.0-beta.3" + dependencies: + "@types/node" "^10.3.2" + "aes-js" "3.0.0" + "bn.js" "^4.4.0" + "elliptic" "6.3.3" + "hash.js" "1.1.3" + "js-sha3" "0.5.7" + "scrypt-js" "2.0.3" + "setimmediate" "1.0.4" + "uuid" "2.0.1" + "xmlhttprequest" "1.8.0" + +"ethjs-unit@0.1.6": + "integrity" "sha512-/Sn9Y0oKl0uqQuvgFk/zQgR7aw1g36qX/jzSQ5lSwlO0GigPymk4eGQfeNTD03w1dPOqfz8V77Cy43jH56pagw==" + "resolved" "https://registry.npmjs.org/ethjs-unit/-/ethjs-unit-0.1.6.tgz" + "version" "0.1.6" + dependencies: + "bn.js" "4.11.6" + "number-to-bn" "1.7.0" + +"ethjs-util@^0.1.3", "ethjs-util@^0.1.6", "ethjs-util@0.1.6": + "integrity" "sha512-CUnVOQq7gSpDHZVVrQW8ExxUETWrnrvXYvYz55wOU8Uj4VCgw56XC2B/fVqQN+f7gmrnRHSLVnFAwsCuNwji8w==" + "resolved" "https://registry.npmjs.org/ethjs-util/-/ethjs-util-0.1.6.tgz" + "version" "0.1.6" + dependencies: + "is-hex-prefixed" "1.0.0" + "strip-hex-prefix" "1.0.0" + +"event-target-shim@^5.0.0": + "integrity" "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==" + "resolved" "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz" + "version" "5.0.1" + +"eventemitter3@^4.0.4", "eventemitter3@^4.0.7": + "integrity" "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==" + "resolved" "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz" + "version" "4.0.7" + +"eventemitter3@3.1.2": + "integrity" "sha512-tvtQIeLVHjDkJYnzf2dgVMxfuSGJeM/7UCG17TT4EumTfNtF+0nebF/4zWOIkCreAbtNqhGEboB6BWrwqNaw4Q==" + "resolved" "https://registry.npmjs.org/eventemitter3/-/eventemitter3-3.1.2.tgz" + "version" "3.1.2" + +"eventemitter3@4.0.4": + "integrity" "sha512-rlaVLnVxtxvoyLsQQFBx53YmXHDxRIzzTLbdfxqi4yocpSjAxXwkU0cScM5JgSKMqEhrZpnvQ2D9gjylR0AimQ==" + "resolved" "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.4.tgz" + "version" "4.0.4" + +"events@^3.3.0": + "integrity" "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==" + "resolved" "https://registry.npmjs.org/events/-/events-3.3.0.tgz" + "version" "3.3.0" + +"evp_bytestokey@^1.0.0", "evp_bytestokey@^1.0.3": + "integrity" "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==" + "resolved" "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz" + "version" "1.0.3" + dependencies: + "md5.js" "^1.3.4" + "safe-buffer" "^5.1.1" + +"execa@^1.0.0": + "integrity" "sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==" + "resolved" "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz" + "version" "1.0.0" + dependencies: + "cross-spawn" "^6.0.0" + "get-stream" "^4.0.0" + "is-stream" "^1.1.0" + "npm-run-path" "^2.0.0" + "p-finally" "^1.0.0" + "signal-exit" "^3.0.0" + "strip-eof" "^1.0.0" + +"execa@^5.0.0": + "integrity" "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==" + "resolved" "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz" + "version" "5.1.1" + dependencies: + "cross-spawn" "^7.0.3" + "get-stream" "^6.0.0" + "human-signals" "^2.1.0" + "is-stream" "^2.0.0" + "merge-stream" "^2.0.0" + "npm-run-path" "^4.0.1" + "onetime" "^5.1.2" + "signal-exit" "^3.0.3" + "strip-final-newline" "^2.0.0" + +"exenv@^1.2.0": + "integrity" "sha512-Z+ktTxTwv9ILfgKCk32OX3n/doe+OcLTRtqK9pcL+JsP3J1/VW8Uvl4ZjLlKqeW4rzK4oesDOGMEMRIZqtP4Iw==" + "resolved" "https://registry.npmjs.org/exenv/-/exenv-1.2.2.tgz" + "version" "1.2.2" + +"exit@^0.1.2": + "integrity" "sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==" + "resolved" "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz" + "version" "0.1.2" + +"expand-brackets@^2.1.4": + "integrity" "sha512-w/ozOKR9Obk3qoWeY/WDi6MFta9AoMR+zud60mdnbniMcBxRuFJyDt2LdX/14A1UABeqk+Uk+LDfUpvoGKppZA==" + "resolved" "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz" + "version" "2.1.4" + dependencies: + "debug" "^2.3.3" + "define-property" "^0.2.5" + "extend-shallow" "^2.0.1" + "posix-character-classes" "^0.1.0" + "regex-not" "^1.0.0" + "snapdragon" "^0.8.1" + "to-regex" "^3.0.1" + +"expect@^24.1.0": + "integrity" "sha512-wvVAx8XIol3Z5m9zvZXiyZOQ+sRJqNTIm6sGjdWlaZIeupQGO3WbYI+15D/AmEwZywL6wtJkbAbJtzkOfBuR0Q==" + "resolved" "https://registry.npmjs.org/expect/-/expect-24.9.0.tgz" + "version" "24.9.0" dependencies: "@jest/types" "^24.9.0" - ansi-styles "^3.2.0" - jest-get-type "^24.9.0" - jest-matcher-utils "^24.9.0" - jest-message-util "^24.9.0" - jest-regex-util "^24.9.0" + "ansi-styles" "^3.2.0" + "jest-get-type" "^24.9.0" + "jest-matcher-utils" "^24.9.0" + "jest-message-util" "^24.9.0" + "jest-regex-util" "^24.9.0" -expect@^27.5.1: - version "27.5.1" - resolved "https://registry.yarnpkg.com/expect/-/expect-27.5.1.tgz#83ce59f1e5bdf5f9d2b94b61d2050db48f3fef74" - integrity sha512-E1q5hSUG2AmYQwQJ041nvgpkODHQvB+RKlB4IYdru6uJsyFTRyZAP463M+1lINorwbqAmUggi6+WwkD8lCS/Dw== +"expect@^27.5.1": + "integrity" "sha512-E1q5hSUG2AmYQwQJ041nvgpkODHQvB+RKlB4IYdru6uJsyFTRyZAP463M+1lINorwbqAmUggi6+WwkD8lCS/Dw==" + "resolved" "https://registry.npmjs.org/expect/-/expect-27.5.1.tgz" + "version" "27.5.1" dependencies: "@jest/types" "^27.5.1" - jest-get-type "^27.5.1" - jest-matcher-utils "^27.5.1" - jest-message-util "^27.5.1" - -exponential-backoff@3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/exponential-backoff/-/exponential-backoff-3.1.0.tgz#9409c7e579131f8bd4b32d7d8094a911040f2e68" - integrity sha512-oBuz5SYz5zzyuHINoe9ooePwSu0xApKWgeNzok4hZ5YKXFh9zrQBEM15CXqoZkJJPuI2ArvqjPQd8UKJA753XA== - -express-winston@^4.1.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/express-winston/-/express-winston-4.2.0.tgz#e9d535d52aa4c125a54a29cce132ae2e3633f4fa" - integrity sha512-EMD74g63nVHi7pFleQw7KHCxiA1pjF5uCwbCfzGqmFxs9KvlDPIVS3cMGpULm6MshExMT9TjC3SqmRGB9kb7yw== - dependencies: - chalk "^2.4.2" - lodash "^4.17.21" - -express@^4.14.0, express@^4.17.1: - version "4.18.2" - resolved "https://registry.yarnpkg.com/express/-/express-4.18.2.tgz#3fabe08296e930c796c19e3c516979386ba9fd59" - integrity sha512-5/PsL6iGPdfQ/lKM1UuielYgv3BUoJfz1aUwU9vHZ+J7gyvwdQXFEBIEIaxeGf0GIcreATNyBExtalisDbuMqQ== - dependencies: - accepts "~1.3.8" - array-flatten "1.1.1" - body-parser "1.20.1" - content-disposition "0.5.4" - content-type "~1.0.4" - cookie "0.5.0" - cookie-signature "1.0.6" - debug "2.6.9" - depd "2.0.0" - encodeurl "~1.0.2" - escape-html "~1.0.3" - etag "~1.8.1" - finalhandler "1.2.0" - fresh "0.5.2" - http-errors "2.0.0" - merge-descriptors "1.0.1" - methods "~1.1.2" - on-finished "2.4.1" - parseurl "~1.3.3" - path-to-regexp "0.1.7" - proxy-addr "~2.0.7" - qs "6.11.0" - range-parser "~1.2.1" - safe-buffer "5.2.1" - send "0.18.0" - serve-static "1.15.0" - setprototypeof "1.2.0" - statuses "2.0.1" - type-is "~1.6.18" - utils-merge "1.0.1" - vary "~1.1.2" - -ext@^1.1.2: - version "1.7.0" - resolved "https://registry.yarnpkg.com/ext/-/ext-1.7.0.tgz#0ea4383c0103d60e70be99e9a7f11027a33c4f5f" - integrity sha512-6hxeJYaL110a9b5TEJSj0gojyHQAmA2ch5Os+ySCiA1QGdS697XWY1pzsrSjqA9LDEEgdB/KypIlR59RcLuHYw== - dependencies: - type "^2.7.2" - -extend-shallow@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-2.0.1.tgz#51af7d614ad9a9f610ea1bafbb989d6b1c56890f" - integrity sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug== - dependencies: - is-extendable "^0.1.0" - -extend-shallow@^3.0.0, extend-shallow@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-3.0.2.tgz#26a71aaf073b39fb2127172746131c2704028db8" - integrity sha512-BwY5b5Ql4+qZoefgMj2NUmx+tehVTH/Kf4k1ZEtOHNFcm2wSxMRo992l6X3TIgni2eZVTZ85xMOjF31fwZAj6Q== - dependencies: - assign-symbols "^1.0.0" - is-extendable "^1.0.1" - -extend@~3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa" - integrity sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g== - -extglob@^2.0.4: - version "2.0.4" - resolved "https://registry.yarnpkg.com/extglob/-/extglob-2.0.4.tgz#ad00fe4dc612a9232e8718711dc5cb5ab0285543" - integrity sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw== - dependencies: - array-unique "^0.3.2" - define-property "^1.0.0" - expand-brackets "^2.1.4" - extend-shallow "^2.0.1" - fragment-cache "^0.2.1" - regex-not "^1.0.0" - snapdragon "^0.8.1" - to-regex "^3.0.1" - -extract-files@^9.0.0: - version "9.0.0" - resolved "https://registry.yarnpkg.com/extract-files/-/extract-files-9.0.0.tgz#8a7744f2437f81f5ed3250ed9f1550de902fe54a" - integrity sha512-CvdFfHkC95B4bBBk36hcEmvdR2awOdhhVUYH6S/zrVj3477zven/fJMYg7121h4T1xHZC+tetUpubpAhxwI7hQ== - -extsprintf@1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.3.0.tgz#96918440e3041a7a414f8c52e3c574eb3c3e1e05" - integrity sha512-11Ndz7Nv+mvAC1j0ktTa7fAb0vLyGGX+rMHNBYQviQDGU0Hw7lhctJANqbPhu9nV9/izT/IntTgZ7Im/9LJs9g== - -extsprintf@^1.2.0: - version "1.4.1" - resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.4.1.tgz#8d172c064867f235c0c84a596806d279bf4bcc07" - integrity sha512-Wrk35e8ydCKDj/ArClo1VrPVmN8zph5V4AtHwIuHhvMXsKf73UT3BOD+azBIW+3wOJ4FhEH7zyaJCFvChjYvMA== - -eyes@^0.1.8: - version "0.1.8" - resolved "https://registry.yarnpkg.com/eyes/-/eyes-0.1.8.tgz#62cf120234c683785d902348a800ef3e0cc20bc0" - integrity sha512-GipyPsXO1anza0AOZdy69Im7hGFCNB7Y/NGjDlZGJ3GJJLtwNSb2vrzYrTYJRrRloVx7pl+bhUaTB8yiccPvFQ== - -fast-check@3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/fast-check/-/fast-check-3.1.1.tgz#72c5ae7022a4e86504762e773adfb8a5b0b01252" - integrity sha512-3vtXinVyuUKCKFKYcwXhGE6NtGWkqF8Yh3rvMZNzmwz8EPrgoc/v4pDdLHyLnCyCI5MZpZZkDEwFyXyEONOxpA== - dependencies: - pure-rand "^5.0.1" - -fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: - version "3.1.3" - resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" - integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== - -fast-diff@^1.1.2: - version "1.2.0" - resolved "https://registry.yarnpkg.com/fast-diff/-/fast-diff-1.2.0.tgz#73ee11982d86caaf7959828d519cfe927fac5f03" - integrity sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w== - -fast-glob@^2.2.3: - version "2.2.7" - resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-2.2.7.tgz#6953857c3afa475fff92ee6015d52da70a4cd39d" - integrity sha512-g1KuQwHOZAmOZMuBtHdxDtju+T2RT8jgCC9aANsbpdiDDTSnjgfuVsIBNKbUeJI3oKMRExcfNDtJl4OhbffMsw== + "jest-get-type" "^27.5.1" + "jest-matcher-utils" "^27.5.1" + "jest-message-util" "^27.5.1" + +"exponential-backoff@3.1.0": + "integrity" "sha512-oBuz5SYz5zzyuHINoe9ooePwSu0xApKWgeNzok4hZ5YKXFh9zrQBEM15CXqoZkJJPuI2ArvqjPQd8UKJA753XA==" + "resolved" "https://registry.npmjs.org/exponential-backoff/-/exponential-backoff-3.1.0.tgz" + "version" "3.1.0" + +"express-winston@^4.1.0": + "integrity" "sha512-EMD74g63nVHi7pFleQw7KHCxiA1pjF5uCwbCfzGqmFxs9KvlDPIVS3cMGpULm6MshExMT9TjC3SqmRGB9kb7yw==" + "resolved" "https://registry.npmjs.org/express-winston/-/express-winston-4.2.0.tgz" + "version" "4.2.0" + dependencies: + "chalk" "^2.4.2" + "lodash" "^4.17.21" + +"express@^4.14.0", "express@^4.17.1": + "integrity" "sha512-5/PsL6iGPdfQ/lKM1UuielYgv3BUoJfz1aUwU9vHZ+J7gyvwdQXFEBIEIaxeGf0GIcreATNyBExtalisDbuMqQ==" + "resolved" "https://registry.npmjs.org/express/-/express-4.18.2.tgz" + "version" "4.18.2" + dependencies: + "accepts" "~1.3.8" + "array-flatten" "1.1.1" + "body-parser" "1.20.1" + "content-disposition" "0.5.4" + "content-type" "~1.0.4" + "cookie" "0.5.0" + "cookie-signature" "1.0.6" + "debug" "2.6.9" + "depd" "2.0.0" + "encodeurl" "~1.0.2" + "escape-html" "~1.0.3" + "etag" "~1.8.1" + "finalhandler" "1.2.0" + "fresh" "0.5.2" + "http-errors" "2.0.0" + "merge-descriptors" "1.0.1" + "methods" "~1.1.2" + "on-finished" "2.4.1" + "parseurl" "~1.3.3" + "path-to-regexp" "0.1.7" + "proxy-addr" "~2.0.7" + "qs" "6.11.0" + "range-parser" "~1.2.1" + "safe-buffer" "5.2.1" + "send" "0.18.0" + "serve-static" "1.15.0" + "setprototypeof" "1.2.0" + "statuses" "2.0.1" + "type-is" "~1.6.18" + "utils-merge" "1.0.1" + "vary" "~1.1.2" + +"ext@^1.1.2": + "integrity" "sha512-6hxeJYaL110a9b5TEJSj0gojyHQAmA2ch5Os+ySCiA1QGdS697XWY1pzsrSjqA9LDEEgdB/KypIlR59RcLuHYw==" + "resolved" "https://registry.npmjs.org/ext/-/ext-1.7.0.tgz" + "version" "1.7.0" + dependencies: + "type" "^2.7.2" + +"extend-shallow@^2.0.1": + "integrity" "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==" + "resolved" "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz" + "version" "2.0.1" + dependencies: + "is-extendable" "^0.1.0" + +"extend-shallow@^3.0.0": + "integrity" "sha512-BwY5b5Ql4+qZoefgMj2NUmx+tehVTH/Kf4k1ZEtOHNFcm2wSxMRo992l6X3TIgni2eZVTZ85xMOjF31fwZAj6Q==" + "resolved" "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz" + "version" "3.0.2" + dependencies: + "assign-symbols" "^1.0.0" + "is-extendable" "^1.0.1" + +"extend-shallow@^3.0.2": + "integrity" "sha512-BwY5b5Ql4+qZoefgMj2NUmx+tehVTH/Kf4k1ZEtOHNFcm2wSxMRo992l6X3TIgni2eZVTZ85xMOjF31fwZAj6Q==" + "resolved" "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz" + "version" "3.0.2" + dependencies: + "assign-symbols" "^1.0.0" + "is-extendable" "^1.0.1" + +"extend@~3.0.2": + "integrity" "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" + "resolved" "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz" + "version" "3.0.2" + +"extglob@^2.0.4": + "integrity" "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==" + "resolved" "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz" + "version" "2.0.4" + dependencies: + "array-unique" "^0.3.2" + "define-property" "^1.0.0" + "expand-brackets" "^2.1.4" + "extend-shallow" "^2.0.1" + "fragment-cache" "^0.2.1" + "regex-not" "^1.0.0" + "snapdragon" "^0.8.1" + "to-regex" "^3.0.1" + +"extract-files@^9.0.0": + "integrity" "sha512-CvdFfHkC95B4bBBk36hcEmvdR2awOdhhVUYH6S/zrVj3477zven/fJMYg7121h4T1xHZC+tetUpubpAhxwI7hQ==" + "resolved" "https://registry.npmjs.org/extract-files/-/extract-files-9.0.0.tgz" + "version" "9.0.0" + +"extsprintf@^1.2.0": + "integrity" "sha512-Wrk35e8ydCKDj/ArClo1VrPVmN8zph5V4AtHwIuHhvMXsKf73UT3BOD+azBIW+3wOJ4FhEH7zyaJCFvChjYvMA==" + "resolved" "https://registry.npmjs.org/extsprintf/-/extsprintf-1.4.1.tgz" + "version" "1.4.1" + +"extsprintf@1.3.0": + "integrity" "sha512-11Ndz7Nv+mvAC1j0ktTa7fAb0vLyGGX+rMHNBYQviQDGU0Hw7lhctJANqbPhu9nV9/izT/IntTgZ7Im/9LJs9g==" + "resolved" "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz" + "version" "1.3.0" + +"eyes@^0.1.8": + "integrity" "sha512-GipyPsXO1anza0AOZdy69Im7hGFCNB7Y/NGjDlZGJ3GJJLtwNSb2vrzYrTYJRrRloVx7pl+bhUaTB8yiccPvFQ==" + "resolved" "https://registry.npmjs.org/eyes/-/eyes-0.1.8.tgz" + "version" "0.1.8" + +"fast-check@3.1.1": + "integrity" "sha512-3vtXinVyuUKCKFKYcwXhGE6NtGWkqF8Yh3rvMZNzmwz8EPrgoc/v4pDdLHyLnCyCI5MZpZZkDEwFyXyEONOxpA==" + "resolved" "https://registry.npmjs.org/fast-check/-/fast-check-3.1.1.tgz" + "version" "3.1.1" + dependencies: + "pure-rand" "^5.0.1" + +"fast-deep-equal@^3.1.1", "fast-deep-equal@^3.1.3": + "integrity" "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" + "resolved" "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz" + "version" "3.1.3" + +"fast-diff@^1.1.2": + "integrity" "sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w==" + "resolved" "https://registry.npmjs.org/fast-diff/-/fast-diff-1.2.0.tgz" + "version" "1.2.0" + +"fast-glob@^2.2.3": + "integrity" "sha512-g1KuQwHOZAmOZMuBtHdxDtju+T2RT8jgCC9aANsbpdiDDTSnjgfuVsIBNKbUeJI3oKMRExcfNDtJl4OhbffMsw==" + "resolved" "https://registry.npmjs.org/fast-glob/-/fast-glob-2.2.7.tgz" + "version" "2.2.7" dependencies: "@mrmlnc/readdir-enhanced" "^2.2.1" "@nodelib/fs.stat" "^1.1.2" - glob-parent "^3.1.0" - is-glob "^4.0.0" - merge2 "^1.2.3" - micromatch "^3.1.10" + "glob-parent" "^3.1.0" + "is-glob" "^4.0.0" + "merge2" "^1.2.3" + "micromatch" "^3.1.10" -fast-glob@^3.2.9: - version "3.2.12" - resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.12.tgz#7f39ec99c2e6ab030337142da9e0c18f37afae80" - integrity sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w== +"fast-glob@^3.2.9": + "integrity" "sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==" + "resolved" "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.12.tgz" + "version" "3.2.12" dependencies: "@nodelib/fs.stat" "^2.0.2" "@nodelib/fs.walk" "^1.2.3" - glob-parent "^5.1.2" - merge2 "^1.3.0" - micromatch "^4.0.4" - -fast-json-stable-stringify@2.x, fast-json-stable-stringify@^2.0.0, fast-json-stable-stringify@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" - integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== - -fast-levenshtein@^2.0.6, fast-levenshtein@~2.0.6: - version "2.0.6" - resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" - integrity sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw== - -fast-redact@^3.0.0: - version "3.1.2" - resolved "https://registry.yarnpkg.com/fast-redact/-/fast-redact-3.1.2.tgz#d58e69e9084ce9fa4c1a6fa98a3e1ecf5d7839aa" - integrity sha512-+0em+Iya9fKGfEQGcd62Yv6onjBmmhV1uh86XVfOU8VwAe6kaFdQCWI9s0/Nnugx5Vd9tdbZ7e6gE2tR9dzXdw== - -fast-safe-stringify@^2.0.6, fast-safe-stringify@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/fast-safe-stringify/-/fast-safe-stringify-2.1.1.tgz#c406a83b6e70d9e35ce3b30a81141df30aeba884" - integrity sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA== - -fast-stable-stringify@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/fast-stable-stringify/-/fast-stable-stringify-1.0.0.tgz#5c5543462b22aeeefd36d05b34e51c78cb86d313" - integrity sha512-wpYMUmFu5f00Sm0cj2pfivpmawLZ0NKdviQ4w9zJeR8JVtOpOxHmLaJuj0vxvGqMJQWyP/COUkF75/57OKyRag== - -fastq@^1.6.0: - version "1.15.0" - resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.15.0.tgz#d04d07c6a2a68fe4599fea8d2e103a937fae6b3a" - integrity sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw== - dependencies: - reusify "^1.0.4" - -fb-watchman@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/fb-watchman/-/fb-watchman-2.0.2.tgz#e9524ee6b5c77e9e5001af0f85f3adbb8623255c" - integrity sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA== - dependencies: - bser "2.1.1" - -fd-slicer@~1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/fd-slicer/-/fd-slicer-1.1.0.tgz#25c7c89cb1f9077f8891bbe61d8f390eae256f1e" - integrity sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g== - dependencies: - pend "~1.2.0" - -fecha@^4.2.0: - version "4.2.3" - resolved "https://registry.yarnpkg.com/fecha/-/fecha-4.2.3.tgz#4d9ccdbc61e8629b259fdca67e65891448d569fd" - integrity sha512-OP2IUU6HeYKJi3i0z4A19kHMQoLVs4Hc+DPqqxI2h/DPZHTm/vjsfC6P0b4jCMy14XizLBqvndQ+UilD7707Jw== - -fetch-cookie@0.11.0: - version "0.11.0" - resolved "https://registry.yarnpkg.com/fetch-cookie/-/fetch-cookie-0.11.0.tgz#e046d2abadd0ded5804ce7e2cae06d4331c15407" - integrity sha512-BQm7iZLFhMWFy5CZ/162sAGjBfdNWb7a8LEqqnzsHFhxT/X/SVj/z2t2nu3aJvjlbQkrAlTUApplPRjWyH4mhA== - dependencies: - tough-cookie "^2.3.3 || ^3.0.1 || ^4.0.0" - -file-entry-cache@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-6.0.1.tgz#211b2dd9659cb0394b073e7323ac3c933d522027" - integrity sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg== - dependencies: - flat-cache "^3.0.4" - -file-stream-rotator@^0.6.1: - version "0.6.1" - resolved "https://registry.yarnpkg.com/file-stream-rotator/-/file-stream-rotator-0.6.1.tgz#007019e735b262bb6c6f0197e58e5c87cb96cec3" - integrity sha512-u+dBid4PvZw17PmDeRcNOtCP9CCK/9lRN2w+r1xIS7yOL9JFrIBKTvrYsxT4P0pGtThYTn++QS5ChHaUov3+zQ== - dependencies: - moment "^2.29.1" - -file-type@^3.8.0: - version "3.9.0" - resolved "https://registry.yarnpkg.com/file-type/-/file-type-3.9.0.tgz#257a078384d1db8087bc449d107d52a52672b9e9" - integrity sha512-RLoqTXE8/vPmMuTI88DAzhMYC99I8BWv7zYP4A1puo5HIjEJ5EX48ighy4ZyKMG9EDXxBgW6e++cn7d1xuFghA== - -file-type@^5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/file-type/-/file-type-5.2.0.tgz#2ddbea7c73ffe36368dfae49dc338c058c2b8ad6" - integrity sha512-Iq1nJ6D2+yIO4c8HHg4fyVb8mAJieo1Oloy1mLLaB2PvezNedhBVm+QU7g0qM42aiMbRXTxKKwGD17rjKNJYVQ== - -file-type@^6.1.0: - version "6.2.0" - resolved "https://registry.yarnpkg.com/file-type/-/file-type-6.2.0.tgz#e50cd75d356ffed4e306dc4f5bcf52a79903a919" - integrity sha512-YPcTBDV+2Tm0VqjybVd32MHdlEGAtuxS3VAYsumFokDSMG+ROT5wawGlnHDoz7bfMcMDt9hxuXvXwoKUx2fkOg== - -file-uri-to-path@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz#553a7b8446ff6f684359c445f1e37a05dacc33dd" - integrity sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw== - -fill-range@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-4.0.0.tgz#d544811d428f98eb06a63dc402d2403c328c38f7" - integrity sha512-VcpLTWqWDiTerugjj8e3+esbg+skS3M9e54UuR3iCeIDMXCLTsAH8hTSzDQU/X6/6t3eYkOKoZSef2PlU6U1XQ== - dependencies: - extend-shallow "^2.0.1" - is-number "^3.0.0" - repeat-string "^1.6.1" - to-regex-range "^2.1.0" - -fill-range@^7.0.1: - version "7.0.1" - resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40" - integrity sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ== - dependencies: - to-regex-range "^5.0.1" - -filter-obj@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/filter-obj/-/filter-obj-1.1.0.tgz#9b311112bc6c6127a16e016c6c5d7f19e0805c5b" - integrity sha512-8rXg1ZnX7xzy2NGDVkBVaAy+lSlPNwad13BtgSlLuxfIslyt5Vg64U7tFcCt4WS1R0hvtnQybT/IyCkGZ3DpXQ== - -finalhandler@1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-1.2.0.tgz#7d23fe5731b207b4640e4fcd00aec1f9207a7b32" - integrity sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg== - dependencies: - debug "2.6.9" - encodeurl "~1.0.2" - escape-html "~1.0.3" - on-finished "2.4.1" - parseurl "~1.3.3" - statuses "2.0.1" - unpipe "~1.0.0" - -find-up@5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/find-up/-/find-up-5.0.0.tgz#4c92819ecb7083561e4f4a240a86be5198f536fc" - integrity sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng== - dependencies: - locate-path "^6.0.0" - path-exists "^4.0.0" - -find-up@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/find-up/-/find-up-2.1.0.tgz#45d1b7e506c717ddd482775a2b77920a3c0c57a7" - integrity sha512-NWzkk0jSJtTt08+FBFMvXoeZnOJD+jTtsRmBYbAIzJdX6l7dLgR7CTubCM5/eDdPUBvLCeVasP1brfVR/9/EZQ== - dependencies: - locate-path "^2.0.0" - -find-up@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/find-up/-/find-up-3.0.0.tgz#49169f1d7993430646da61ecc5ae355c21c97b73" - integrity sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg== - dependencies: - locate-path "^3.0.0" - -find-up@^4.0.0, find-up@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19" - integrity sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw== - dependencies: - locate-path "^5.0.0" - path-exists "^4.0.0" - -flat-cache@^3.0.4: - version "3.0.4" - resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-3.0.4.tgz#61b0338302b2fe9f957dcc32fc2a87f1c3048b11" - integrity sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg== - dependencies: - flatted "^3.1.0" - rimraf "^3.0.2" - -flat@^5.0.2: - version "5.0.2" - resolved "https://registry.yarnpkg.com/flat/-/flat-5.0.2.tgz#8ca6fe332069ffa9d324c327198c598259ceb241" - integrity sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ== - -flatted@^3.1.0: - version "3.2.7" - resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.7.tgz#609f39207cb614b89d0765b477cb2d437fbf9787" - integrity sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ== - -fn.name@1.x.x: - version "1.1.0" - resolved "https://registry.yarnpkg.com/fn.name/-/fn.name-1.1.0.tgz#26cad8017967aea8731bc42961d04a3d5988accc" - integrity sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw== - -follow-redirects@^1.12.1, follow-redirects@^1.14.0, follow-redirects@^1.14.8, follow-redirects@^1.14.9, follow-redirects@^1.15.0: - version "1.15.2" - resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13" - integrity sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA== - -for-each@^0.3.3: - version "0.3.3" - resolved "https://registry.yarnpkg.com/for-each/-/for-each-0.3.3.tgz#69b447e88a0a5d32c3e7084f3f1710034b21376e" - integrity sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw== - dependencies: - is-callable "^1.1.3" - -for-in@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" - integrity sha512-7EwmXrOjyL+ChxMhmG5lnW9MPt1aIeZEwKhQzoBUdTV0N3zuwWDZYVJatDvZ2OyzPUvdIAZDsCetk3coyMfcnQ== - -foreach@^2.0.4: - version "2.0.6" - resolved "https://registry.yarnpkg.com/foreach/-/foreach-2.0.6.tgz#87bcc8a1a0e74000ff2bf9802110708cfb02eb6e" - integrity sha512-k6GAGDyqLe9JaebCsFCoudPPWfihKu8pylYXRlqP1J7ms39iPoTtk2fviNglIeQEwdh0bQeKJ01ZPyuyQvKzwg== - -forever-agent@~0.6.1: - version "0.6.1" - resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" - integrity sha512-j0KLYPhm6zeac4lz3oJ3o65qvgQCcPubiyotZrXqEaG4hNagNYO8qdlUrX5vwqv9ohqeT/Z3j6+yW067yWWdUw== - -form-data-encoder@1.7.1: - version "1.7.1" - resolved "https://registry.yarnpkg.com/form-data-encoder/-/form-data-encoder-1.7.1.tgz#ac80660e4f87ee0d3d3c3638b7da8278ddb8ec96" - integrity sha512-EFRDrsMm/kyqbTQocNvRXMLjc7Es2Vk+IQFx/YW7hkUH1eBl4J1fqiP34l74Yt0pFLCNpc06fkbVk00008mzjg== - -form-data@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/form-data/-/form-data-3.0.1.tgz#ebd53791b78356a99af9a300d4282c4d5eb9755f" - integrity sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg== - dependencies: - asynckit "^0.4.0" - combined-stream "^1.0.8" - mime-types "^2.1.12" - -form-data@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.0.tgz#93919daeaf361ee529584b9b31664dc12c9fa452" - integrity sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww== - dependencies: - asynckit "^0.4.0" - combined-stream "^1.0.8" - mime-types "^2.1.12" - -form-data@~2.3.2: - version "2.3.3" - resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.3.3.tgz#dcce52c05f644f298c6a7ab936bd724ceffbf3a6" - integrity sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ== - dependencies: - asynckit "^0.4.0" - combined-stream "^1.0.6" - mime-types "^2.1.12" - -formidable@^2.1.2: - version "2.1.2" - resolved "https://registry.yarnpkg.com/formidable/-/formidable-2.1.2.tgz#fa973a2bec150e4ce7cac15589d7a25fc30ebd89" - integrity sha512-CM3GuJ57US06mlpQ47YcunuUZ9jpm8Vx+P2CGt2j7HpgkKZO/DJYQ0Bobim8G6PFQmK5lOqOOdUXboU+h73A4g== - dependencies: - dezalgo "^1.0.4" - hexoid "^1.0.0" - once "^1.4.0" - qs "^6.11.0" - -forwarded@0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/forwarded/-/forwarded-0.2.0.tgz#2269936428aad4c15c7ebe9779a84bf0b2a81811" - integrity sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow== - -fp-ts@1.19.3: - version "1.19.3" - resolved "https://registry.yarnpkg.com/fp-ts/-/fp-ts-1.19.3.tgz#261a60d1088fbff01f91256f91d21d0caaaaa96f" - integrity sha512-H5KQDspykdHuztLTg+ajGN0Z2qUjcEf3Ybxc6hLt0k7/zPkn29XnKnxlBPyW2XIddWrGaJBzBl4VLYOtk39yZg== - -fp-ts@^1.0.0: - version "1.19.5" - resolved "https://registry.yarnpkg.com/fp-ts/-/fp-ts-1.19.5.tgz#3da865e585dfa1fdfd51785417357ac50afc520a" - integrity sha512-wDNqTimnzs8QqpldiId9OavWK2NptormjXnRJTQecNjzwfyp6P/8s/zG8e4h3ja3oqkKaY72UlTjQYt/1yXf9A== - -fraction.js@^4.1.1, fraction.js@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/fraction.js/-/fraction.js-4.2.0.tgz#448e5109a313a3527f5a3ab2119ec4cf0e0e2950" - integrity sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA== - -fragment-cache@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/fragment-cache/-/fragment-cache-0.2.1.tgz#4290fad27f13e89be7f33799c6bc5a0abfff0d19" - integrity sha512-GMBAbW9antB8iZRHLoGw0b3HANt57diZYFO/HL1JGIC1MjKrdmhxvrJbupnVvpys0zsz7yBApXdQyfepKly2kA== - dependencies: - map-cache "^0.2.2" - -fresh@0.5.2: - version "0.5.2" - resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.5.2.tgz#3d8cadd90d976569fa835ab1f8e4b23a105605a7" - integrity sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q== - -fs-constants@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/fs-constants/-/fs-constants-1.0.0.tgz#6be0de9be998ce16af8afc24497b9ee9b7ccd9ad" - integrity sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow== - -fs-extra@^0.30.0: - version "0.30.0" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-0.30.0.tgz#f233ffcc08d4da7d432daa449776989db1df93f0" - integrity sha512-UvSPKyhMn6LEd/WpUaV9C9t3zATuqoqfWc3QdPhPLb58prN9tqYPlPWi8Krxi44loBoUzlobqZ3+8tGpxxSzwA== - dependencies: - graceful-fs "^4.1.2" - jsonfile "^2.1.0" - klaw "^1.0.0" - path-is-absolute "^1.0.0" - rimraf "^2.2.8" - -fs-extra@^10.0.0: - version "10.1.0" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-10.1.0.tgz#02873cfbc4084dde127eaa5f9905eef2325d1abf" - integrity sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ== - dependencies: - graceful-fs "^4.2.0" - jsonfile "^6.0.1" - universalify "^2.0.0" - -fs-extra@^4.0.2: - version "4.0.3" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-4.0.3.tgz#0d852122e5bc5beb453fb028e9c0c9bf36340c94" - integrity sha512-q6rbdDd1o2mAnQreO7YADIxf/Whx4AHBiRf6d+/cVT8h44ss+lHgxf1FemcqDnQt9X3ct4McHr+JMGlYSsK7Cg== - dependencies: - graceful-fs "^4.1.2" - jsonfile "^4.0.0" - universalify "^0.1.0" - -fs-extra@^7.0.1: - version "7.0.1" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-7.0.1.tgz#4f189c44aa123b895f722804f55ea23eadc348e9" - integrity sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw== - dependencies: - graceful-fs "^4.1.2" - jsonfile "^4.0.0" - universalify "^0.1.0" - -fs-extra@^9.1.0: - version "9.1.0" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-9.1.0.tgz#5954460c764a8da2094ba3554bf839e6b9a7c86d" - integrity sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ== - dependencies: - at-least-node "^1.0.0" - graceful-fs "^4.2.0" - jsonfile "^6.0.1" - universalify "^2.0.0" - -fs-minipass@^1.2.7: - version "1.2.7" - resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-1.2.7.tgz#ccff8570841e7fe4265693da88936c55aed7f7c7" - integrity sha512-GWSSJGFy4e9GUeCcbIkED+bgAoFyj7XF1mV8rma3QW4NIqX9Kyx79N/PF61H5udOV3aY1IaMLs6pGbH71nlCTA== - dependencies: - minipass "^2.6.0" - -fs.realpath@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" - integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== - -fsevents@^2.3.2, fsevents@~2.3.2: - version "2.3.2" - resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a" - integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA== - -function-bind@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" - integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== - -function.prototype.name@^1.1.5: - version "1.1.5" - resolved "https://registry.yarnpkg.com/function.prototype.name/-/function.prototype.name-1.1.5.tgz#cce0505fe1ffb80503e6f9e46cc64e46a12a9621" - integrity sha512-uN7m/BzVKQnCUF/iW8jYea67v++2u7m5UgENbHRtdDVclOUP+FMPlCNdmk0h/ysGyo2tavMJEDqJAkJdRa1vMA== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" - es-abstract "^1.19.0" - functions-have-names "^1.2.2" - -functional-red-black-tree@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz#1b0ab3bd553b2a0d6399d29c0e3ea0b252078327" - integrity sha512-dsKNQNdj6xA3T+QlADDA7mOSlX0qiMINjn0cgr+eGHGsbSHzTabcIogz2+p/iqP1Xs6EP/sS2SbqH+brGTbq0g== - -functions-have-names@^1.2.2: - version "1.2.3" - resolved "https://registry.yarnpkg.com/functions-have-names/-/functions-have-names-1.2.3.tgz#0404fe4ee2ba2f607f0e0ec3c80bae994133b834" - integrity sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ== - -ganache@7.7.7: - version "7.7.7" - resolved "https://registry.yarnpkg.com/ganache/-/ganache-7.7.7.tgz#19939a86799f0bcb7df02e88082944466394b913" - integrity sha512-kZUuOcgDQBtbxzs4iB3chg1iAc28s2ffdOdzyTTzo4vr9sb843w4PbWd5v1hsIqtcNjurcpLaW8XRp/cw2u++g== + "glob-parent" "^5.1.2" + "merge2" "^1.3.0" + "micromatch" "^4.0.4" + +"fast-json-stable-stringify@^2.0.0", "fast-json-stable-stringify@^2.1.0", "fast-json-stable-stringify@2.x": + "integrity" "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" + "resolved" "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz" + "version" "2.1.0" + +"fast-levenshtein@^2.0.6", "fast-levenshtein@~2.0.6": + "integrity" "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==" + "resolved" "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz" + "version" "2.0.6" + +"fast-redact@^3.0.0": + "integrity" "sha512-+0em+Iya9fKGfEQGcd62Yv6onjBmmhV1uh86XVfOU8VwAe6kaFdQCWI9s0/Nnugx5Vd9tdbZ7e6gE2tR9dzXdw==" + "resolved" "https://registry.npmjs.org/fast-redact/-/fast-redact-3.1.2.tgz" + "version" "3.1.2" + +"fast-safe-stringify@^2.0.6", "fast-safe-stringify@^2.1.1": + "integrity" "sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==" + "resolved" "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.1.1.tgz" + "version" "2.1.1" + +"fast-stable-stringify@^1.0.0": + "integrity" "sha512-wpYMUmFu5f00Sm0cj2pfivpmawLZ0NKdviQ4w9zJeR8JVtOpOxHmLaJuj0vxvGqMJQWyP/COUkF75/57OKyRag==" + "resolved" "https://registry.npmjs.org/fast-stable-stringify/-/fast-stable-stringify-1.0.0.tgz" + "version" "1.0.0" + +"fastq@^1.6.0": + "integrity" "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==" + "resolved" "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz" + "version" "1.15.0" + dependencies: + "reusify" "^1.0.4" + +"fb-watchman@^2.0.0": + "integrity" "sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==" + "resolved" "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.2.tgz" + "version" "2.0.2" + dependencies: + "bser" "2.1.1" + +"fd-slicer@~1.1.0": + "integrity" "sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==" + "resolved" "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz" + "version" "1.1.0" + dependencies: + "pend" "~1.2.0" + +"fecha@^4.2.0": + "integrity" "sha512-OP2IUU6HeYKJi3i0z4A19kHMQoLVs4Hc+DPqqxI2h/DPZHTm/vjsfC6P0b4jCMy14XizLBqvndQ+UilD7707Jw==" + "resolved" "https://registry.npmjs.org/fecha/-/fecha-4.2.3.tgz" + "version" "4.2.3" + +"fetch-cookie@0.11.0": + "integrity" "sha512-BQm7iZLFhMWFy5CZ/162sAGjBfdNWb7a8LEqqnzsHFhxT/X/SVj/z2t2nu3aJvjlbQkrAlTUApplPRjWyH4mhA==" + "resolved" "https://registry.npmjs.org/fetch-cookie/-/fetch-cookie-0.11.0.tgz" + "version" "0.11.0" + dependencies: + "tough-cookie" "^2.3.3 || ^3.0.1 || ^4.0.0" + +"file-entry-cache@^6.0.1": + "integrity" "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==" + "resolved" "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz" + "version" "6.0.1" + dependencies: + "flat-cache" "^3.0.4" + +"file-stream-rotator@^0.6.1": + "integrity" "sha512-u+dBid4PvZw17PmDeRcNOtCP9CCK/9lRN2w+r1xIS7yOL9JFrIBKTvrYsxT4P0pGtThYTn++QS5ChHaUov3+zQ==" + "resolved" "https://registry.npmjs.org/file-stream-rotator/-/file-stream-rotator-0.6.1.tgz" + "version" "0.6.1" + dependencies: + "moment" "^2.29.1" + +"file-type@^3.8.0": + "integrity" "sha512-RLoqTXE8/vPmMuTI88DAzhMYC99I8BWv7zYP4A1puo5HIjEJ5EX48ighy4ZyKMG9EDXxBgW6e++cn7d1xuFghA==" + "resolved" "https://registry.npmjs.org/file-type/-/file-type-3.9.0.tgz" + "version" "3.9.0" + +"file-type@^5.2.0": + "integrity" "sha512-Iq1nJ6D2+yIO4c8HHg4fyVb8mAJieo1Oloy1mLLaB2PvezNedhBVm+QU7g0qM42aiMbRXTxKKwGD17rjKNJYVQ==" + "resolved" "https://registry.npmjs.org/file-type/-/file-type-5.2.0.tgz" + "version" "5.2.0" + +"file-type@^6.1.0": + "integrity" "sha512-YPcTBDV+2Tm0VqjybVd32MHdlEGAtuxS3VAYsumFokDSMG+ROT5wawGlnHDoz7bfMcMDt9hxuXvXwoKUx2fkOg==" + "resolved" "https://registry.npmjs.org/file-type/-/file-type-6.2.0.tgz" + "version" "6.2.0" + +"file-uri-to-path@1.0.0": + "integrity" "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==" + "resolved" "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz" + "version" "1.0.0" + +"fill-range@^4.0.0": + "integrity" "sha512-VcpLTWqWDiTerugjj8e3+esbg+skS3M9e54UuR3iCeIDMXCLTsAH8hTSzDQU/X6/6t3eYkOKoZSef2PlU6U1XQ==" + "resolved" "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz" + "version" "4.0.0" + dependencies: + "extend-shallow" "^2.0.1" + "is-number" "^3.0.0" + "repeat-string" "^1.6.1" + "to-regex-range" "^2.1.0" + +"fill-range@^7.0.1": + "integrity" "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==" + "resolved" "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz" + "version" "7.0.1" + dependencies: + "to-regex-range" "^5.0.1" + +"filter-obj@^1.1.0": + "integrity" "sha512-8rXg1ZnX7xzy2NGDVkBVaAy+lSlPNwad13BtgSlLuxfIslyt5Vg64U7tFcCt4WS1R0hvtnQybT/IyCkGZ3DpXQ==" + "resolved" "https://registry.npmjs.org/filter-obj/-/filter-obj-1.1.0.tgz" + "version" "1.1.0" + +"finalhandler@1.2.0": + "integrity" "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==" + "resolved" "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz" + "version" "1.2.0" + dependencies: + "debug" "2.6.9" + "encodeurl" "~1.0.2" + "escape-html" "~1.0.3" + "on-finished" "2.4.1" + "parseurl" "~1.3.3" + "statuses" "2.0.1" + "unpipe" "~1.0.0" + +"find-up@^2.1.0": + "integrity" "sha512-NWzkk0jSJtTt08+FBFMvXoeZnOJD+jTtsRmBYbAIzJdX6l7dLgR7CTubCM5/eDdPUBvLCeVasP1brfVR/9/EZQ==" + "resolved" "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz" + "version" "2.1.0" + dependencies: + "locate-path" "^2.0.0" + +"find-up@^3.0.0": + "integrity" "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==" + "resolved" "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz" + "version" "3.0.0" + dependencies: + "locate-path" "^3.0.0" + +"find-up@^4.0.0": + "integrity" "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==" + "resolved" "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz" + "version" "4.1.0" + dependencies: + "locate-path" "^5.0.0" + "path-exists" "^4.0.0" + +"find-up@^4.1.0": + "integrity" "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==" + "resolved" "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz" + "version" "4.1.0" + dependencies: + "locate-path" "^5.0.0" + "path-exists" "^4.0.0" + +"find-up@5.0.0": + "integrity" "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==" + "resolved" "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz" + "version" "5.0.0" + dependencies: + "locate-path" "^6.0.0" + "path-exists" "^4.0.0" + +"flat-cache@^3.0.4": + "integrity" "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==" + "resolved" "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz" + "version" "3.0.4" + dependencies: + "flatted" "^3.1.0" + "rimraf" "^3.0.2" + +"flat@^5.0.2": + "integrity" "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==" + "resolved" "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz" + "version" "5.0.2" + +"flatted@^3.1.0": + "integrity" "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==" + "resolved" "https://registry.npmjs.org/flatted/-/flatted-3.2.7.tgz" + "version" "3.2.7" + +"fn.name@1.x.x": + "integrity" "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==" + "resolved" "https://registry.npmjs.org/fn.name/-/fn.name-1.1.0.tgz" + "version" "1.1.0" + +"follow-redirects@^1.12.1", "follow-redirects@^1.14.0", "follow-redirects@^1.14.8", "follow-redirects@^1.14.9", "follow-redirects@^1.15.0": + "integrity" "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==" + "resolved" "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz" + "version" "1.15.2" + +"for-each@^0.3.3": + "integrity" "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==" + "resolved" "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz" + "version" "0.3.3" + dependencies: + "is-callable" "^1.1.3" + +"for-in@^1.0.2": + "integrity" "sha512-7EwmXrOjyL+ChxMhmG5lnW9MPt1aIeZEwKhQzoBUdTV0N3zuwWDZYVJatDvZ2OyzPUvdIAZDsCetk3coyMfcnQ==" + "resolved" "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz" + "version" "1.0.2" + +"foreach@^2.0.4": + "integrity" "sha512-k6GAGDyqLe9JaebCsFCoudPPWfihKu8pylYXRlqP1J7ms39iPoTtk2fviNglIeQEwdh0bQeKJ01ZPyuyQvKzwg==" + "resolved" "https://registry.npmjs.org/foreach/-/foreach-2.0.6.tgz" + "version" "2.0.6" + +"forever-agent@~0.6.1": + "integrity" "sha512-j0KLYPhm6zeac4lz3oJ3o65qvgQCcPubiyotZrXqEaG4hNagNYO8qdlUrX5vwqv9ohqeT/Z3j6+yW067yWWdUw==" + "resolved" "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz" + "version" "0.6.1" + +"form-data-encoder@1.7.1": + "integrity" "sha512-EFRDrsMm/kyqbTQocNvRXMLjc7Es2Vk+IQFx/YW7hkUH1eBl4J1fqiP34l74Yt0pFLCNpc06fkbVk00008mzjg==" + "resolved" "https://registry.npmjs.org/form-data-encoder/-/form-data-encoder-1.7.1.tgz" + "version" "1.7.1" + +"form-data@^3.0.0": + "integrity" "sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==" + "resolved" "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz" + "version" "3.0.1" + dependencies: + "asynckit" "^0.4.0" + "combined-stream" "^1.0.8" + "mime-types" "^2.1.12" + +"form-data@^4.0.0": + "integrity" "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==" + "resolved" "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz" + "version" "4.0.0" + dependencies: + "asynckit" "^0.4.0" + "combined-stream" "^1.0.8" + "mime-types" "^2.1.12" + +"form-data@~2.3.2": + "integrity" "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==" + "resolved" "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz" + "version" "2.3.3" + dependencies: + "asynckit" "^0.4.0" + "combined-stream" "^1.0.6" + "mime-types" "^2.1.12" + +"formidable@^2.1.2": + "integrity" "sha512-CM3GuJ57US06mlpQ47YcunuUZ9jpm8Vx+P2CGt2j7HpgkKZO/DJYQ0Bobim8G6PFQmK5lOqOOdUXboU+h73A4g==" + "resolved" "https://registry.npmjs.org/formidable/-/formidable-2.1.2.tgz" + "version" "2.1.2" + dependencies: + "dezalgo" "^1.0.4" + "hexoid" "^1.0.0" + "once" "^1.4.0" + "qs" "^6.11.0" + +"forwarded@0.2.0": + "integrity" "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==" + "resolved" "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz" + "version" "0.2.0" + +"fp-ts@^1.0.0": + "integrity" "sha512-wDNqTimnzs8QqpldiId9OavWK2NptormjXnRJTQecNjzwfyp6P/8s/zG8e4h3ja3oqkKaY72UlTjQYt/1yXf9A==" + "resolved" "https://registry.npmjs.org/fp-ts/-/fp-ts-1.19.5.tgz" + "version" "1.19.5" + +"fp-ts@1.19.3": + "integrity" "sha512-H5KQDspykdHuztLTg+ajGN0Z2qUjcEf3Ybxc6hLt0k7/zPkn29XnKnxlBPyW2XIddWrGaJBzBl4VLYOtk39yZg==" + "resolved" "https://registry.npmjs.org/fp-ts/-/fp-ts-1.19.3.tgz" + "version" "1.19.3" + +"fraction.js@^4.1.1", "fraction.js@^4.2.0": + "integrity" "sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA==" + "resolved" "https://registry.npmjs.org/fraction.js/-/fraction.js-4.2.0.tgz" + "version" "4.2.0" + +"fragment-cache@^0.2.1": + "integrity" "sha512-GMBAbW9antB8iZRHLoGw0b3HANt57diZYFO/HL1JGIC1MjKrdmhxvrJbupnVvpys0zsz7yBApXdQyfepKly2kA==" + "resolved" "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz" + "version" "0.2.1" + dependencies: + "map-cache" "^0.2.2" + +"fresh@0.5.2": + "integrity" "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==" + "resolved" "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz" + "version" "0.5.2" + +"fs-constants@^1.0.0": + "integrity" "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==" + "resolved" "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz" + "version" "1.0.0" + +"fs-extra@^0.30.0": + "integrity" "sha512-UvSPKyhMn6LEd/WpUaV9C9t3zATuqoqfWc3QdPhPLb58prN9tqYPlPWi8Krxi44loBoUzlobqZ3+8tGpxxSzwA==" + "resolved" "https://registry.npmjs.org/fs-extra/-/fs-extra-0.30.0.tgz" + "version" "0.30.0" + dependencies: + "graceful-fs" "^4.1.2" + "jsonfile" "^2.1.0" + "klaw" "^1.0.0" + "path-is-absolute" "^1.0.0" + "rimraf" "^2.2.8" + +"fs-extra@^10.0.0": + "integrity" "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==" + "resolved" "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz" + "version" "10.1.0" + dependencies: + "graceful-fs" "^4.2.0" + "jsonfile" "^6.0.1" + "universalify" "^2.0.0" + +"fs-extra@^4.0.2": + "integrity" "sha512-q6rbdDd1o2mAnQreO7YADIxf/Whx4AHBiRf6d+/cVT8h44ss+lHgxf1FemcqDnQt9X3ct4McHr+JMGlYSsK7Cg==" + "resolved" "https://registry.npmjs.org/fs-extra/-/fs-extra-4.0.3.tgz" + "version" "4.0.3" + dependencies: + "graceful-fs" "^4.1.2" + "jsonfile" "^4.0.0" + "universalify" "^0.1.0" + +"fs-extra@^7.0.1": + "integrity" "sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==" + "resolved" "https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.1.tgz" + "version" "7.0.1" + dependencies: + "graceful-fs" "^4.1.2" + "jsonfile" "^4.0.0" + "universalify" "^0.1.0" + +"fs-extra@^9.1.0": + "integrity" "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==" + "resolved" "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz" + "version" "9.1.0" + dependencies: + "at-least-node" "^1.0.0" + "graceful-fs" "^4.2.0" + "jsonfile" "^6.0.1" + "universalify" "^2.0.0" + +"fs-minipass@^1.2.7": + "integrity" "sha512-GWSSJGFy4e9GUeCcbIkED+bgAoFyj7XF1mV8rma3QW4NIqX9Kyx79N/PF61H5udOV3aY1IaMLs6pGbH71nlCTA==" + "resolved" "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.7.tgz" + "version" "1.2.7" + dependencies: + "minipass" "^2.6.0" + +"fs-minipass@^2.0.0": + "integrity" "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==" + "resolved" "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz" + "version" "2.1.0" + dependencies: + "minipass" "^3.0.0" + +"fs.realpath@^1.0.0": + "integrity" "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" + "resolved" "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz" + "version" "1.0.0" + +"fsevents@^2.3.2", "fsevents@~2.3.2": + "integrity" "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==" + "resolved" "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz" + "version" "2.3.2" + +"function-bind@^1.1.1": + "integrity" "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" + "resolved" "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz" + "version" "1.1.1" + +"function.prototype.name@^1.1.5": + "integrity" "sha512-uN7m/BzVKQnCUF/iW8jYea67v++2u7m5UgENbHRtdDVclOUP+FMPlCNdmk0h/ysGyo2tavMJEDqJAkJdRa1vMA==" + "resolved" "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.5.tgz" + "version" "1.1.5" + dependencies: + "call-bind" "^1.0.2" + "define-properties" "^1.1.3" + "es-abstract" "^1.19.0" + "functions-have-names" "^1.2.2" + +"functional-red-black-tree@^1.0.1": + "integrity" "sha512-dsKNQNdj6xA3T+QlADDA7mOSlX0qiMINjn0cgr+eGHGsbSHzTabcIogz2+p/iqP1Xs6EP/sS2SbqH+brGTbq0g==" + "resolved" "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz" + "version" "1.0.1" + +"functions-have-names@^1.2.2": + "integrity" "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==" + "resolved" "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz" + "version" "1.2.3" + +"ganache@7.7.7": + "integrity" "sha512-kZUuOcgDQBtbxzs4iB3chg1iAc28s2ffdOdzyTTzo4vr9sb843w4PbWd5v1hsIqtcNjurcpLaW8XRp/cw2u++g==" + "resolved" "https://registry.npmjs.org/ganache/-/ganache-7.7.7.tgz" + "version" "7.7.7" dependencies: "@trufflesuite/bigint-buffer" "1.1.10" "@types/bn.js" "^5.1.0" "@types/lru-cache" "5.1.1" "@types/seedrandom" "3.0.1" - abstract-level "1.0.3" - abstract-leveldown "7.2.0" - async-eventemitter "0.2.4" - emittery "0.10.0" - keccak "3.0.2" - leveldown "6.1.0" - secp256k1 "4.0.3" + "abstract-level" "1.0.3" + "abstract-leveldown" "7.2.0" + "async-eventemitter" "0.2.4" + "emittery" "0.10.0" + "keccak" "3.0.2" + "leveldown" "6.1.0" + "secp256k1" "4.0.3" optionalDependencies: - bufferutil "4.0.5" - utf-8-validate "5.0.7" - -gensync@^1.0.0-beta.2: - version "1.0.0-beta.2" - resolved "https://registry.yarnpkg.com/gensync/-/gensync-1.0.0-beta.2.tgz#32a6ee76c3d7f52d46b2b1ae5d93fea8580a25e0" - integrity sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg== - -get-caller-file@^1.0.1: - version "1.0.3" - resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-1.0.3.tgz#f978fa4c90d1dfe7ff2d6beda2a515e713bdcf4a" - integrity sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w== - -get-caller-file@^2.0.1, get-caller-file@^2.0.5: - version "2.0.5" - resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" - integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== - -get-func-name@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/get-func-name/-/get-func-name-2.0.0.tgz#ead774abee72e20409433a066366023dd6887a41" - integrity sha512-Hm0ixYtaSZ/V7C8FJrtZIuBBI+iSgL+1Aq82zSu8VQNB4S3Gk8e7Qs3VwBDJAhmRZcFqkl3tQu36g/Foh5I5ig== - -get-intrinsic@^1.0.2, get-intrinsic@^1.1.1, get-intrinsic@^1.1.3, get-intrinsic@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.0.tgz#7ad1dc0535f3a2904bba075772763e5051f6d05f" - integrity sha512-L049y6nFOuom5wGyRc3/gdTLO94dySVKRACj1RmJZBQXlbTMhtNIgkWkUHq+jYmZvKf14EW1EoJnnjbmoHij0Q== - dependencies: - function-bind "^1.1.1" - has "^1.0.3" - has-symbols "^1.0.3" - -get-package-type@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/get-package-type/-/get-package-type-0.1.0.tgz#8de2d803cff44df3bc6c456e6668b36c3926e11a" - integrity sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q== - -get-stdin@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-6.0.0.tgz#9e09bf712b360ab9225e812048f71fde9c89657b" - integrity sha512-jp4tHawyV7+fkkSKyvjuLZswblUtz+SQKzSWnBbii16BuZksJlU1wuBYXY75r+duh/llF1ur6oNwi+2ZzjKZ7g== - -get-stream@^2.2.0: - version "2.3.1" - resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-2.3.1.tgz#5f38f93f346009666ee0150a054167f91bdd95de" - integrity sha512-AUGhbbemXxrZJRD5cDvKtQxLuYaIbNtDTK8YqupCI393Q2KSTreEsLUN3ZxAWFGiKTzL6nKuzfcIvieflUX9qA== - dependencies: - object-assign "^4.0.1" - pinkie-promise "^2.0.0" - -get-stream@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-3.0.0.tgz#8e943d1358dc37555054ecbe2edb05aa174ede14" - integrity sha512-GlhdIUuVakc8SJ6kK0zAFbiGzRFzNnY4jUuEbV9UROo4Y+0Ny4fjvcZFVTeDA4odpFyOQzaw6hXukJSq/f28sQ== - -get-stream@^4.0.0, get-stream@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-4.1.0.tgz#c1b255575f3dc21d59bfc79cd3d2b46b1c3a54b5" - integrity sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w== - dependencies: - pump "^3.0.0" - -get-stream@^5.1.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-5.2.0.tgz#4966a1795ee5ace65e706c4b7beb71257d6e22d3" - integrity sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA== - dependencies: - pump "^3.0.0" - -get-stream@^6.0.0, get-stream@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7" - integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg== - -get-symbol-description@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/get-symbol-description/-/get-symbol-description-1.0.0.tgz#7fdb81c900101fbd564dd5f1a30af5aadc1e58d6" - integrity sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw== - dependencies: - call-bind "^1.0.2" - get-intrinsic "^1.1.1" - -get-value@^2.0.3, get-value@^2.0.6: - version "2.0.6" - resolved "https://registry.yarnpkg.com/get-value/-/get-value-2.0.6.tgz#dc15ca1c672387ca76bd37ac0a395ba2042a2c28" - integrity sha512-Ln0UQDlxH1BapMu3GPtf7CuYNwRZf2gwCuPqbyG6pB8WfmFpzqcy4xtAaAMUhnNqjMKTiCPZG2oMT3YSx8U2NA== - -getpass@^0.1.1: - version "0.1.7" - resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.7.tgz#5eff8e3e684d569ae4cb2b1282604e8ba62149fa" - integrity sha512-0fzj9JxOLfJ+XGLhR8ze3unN0KZCgZwiSSDz168VERjK8Wl8kVSdcu2kspd4s4wtAa1y/qrVRiAA0WclVsu0ng== - dependencies: - assert-plus "^1.0.0" - -glob-parent@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-3.1.0.tgz#9e6af6299d8d3bd2bd40430832bd113df906c5ae" - integrity sha512-E8Ak/2+dZY6fnzlR7+ueWvhsH1SjHr4jjss4YS/h4py44jY9MhK/VFdaZJAWDz6BbL21KeteKxFSFpq8OS5gVA== - dependencies: - is-glob "^3.1.0" - path-dirname "^1.0.0" - -glob-parent@^5.1.2, glob-parent@~5.1.2: - version "5.1.2" - resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4" - integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow== - dependencies: - is-glob "^4.0.1" - -glob-to-regexp@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/glob-to-regexp/-/glob-to-regexp-0.3.0.tgz#8c5a1494d2066c570cc3bfe4496175acc4d502ab" - integrity sha512-Iozmtbqv0noj0uDDqoL0zNq0VBEfK2YFoMAZoxJe4cwphvLR+JskfF30QhXHOR4m3KrE6NLRYw+U9MRXvifyig== - -glob@7.1.2: - version "7.1.2" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15" - integrity sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ== - dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^3.0.4" - once "^1.3.0" - path-is-absolute "^1.0.0" - -glob@7.2.0: - version "7.2.0" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.0.tgz#d15535af7732e02e948f4c41628bd910293f6023" - integrity sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q== - dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^3.0.4" - once "^1.3.0" - path-is-absolute "^1.0.0" - -glob@^6.0.1: - version "6.0.4" - resolved "https://registry.yarnpkg.com/glob/-/glob-6.0.4.tgz#0f08860f6a155127b2fadd4f9ce24b1aab6e4d22" - integrity sha512-MKZeRNyYZAVVVG1oZeLaWie1uweH40m9AZwIwxyPbTSX4hHrVYSzLg0Ro5Z5R7XKkIX+Cc6oD1rqeDJnwsB8/A== - dependencies: - inflight "^1.0.4" - inherits "2" - minimatch "2 || 3" - once "^1.3.0" - path-is-absolute "^1.0.0" - -glob@^7.0.0, glob@^7.0.5, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4: - version "7.2.3" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" - integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== - dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^3.1.1" - once "^1.3.0" - path-is-absolute "^1.0.0" - -global@~4.4.0: - version "4.4.0" - resolved "https://registry.yarnpkg.com/global/-/global-4.4.0.tgz#3e7b105179006a323ed71aafca3e9c57a5cc6406" - integrity sha512-wv/LAoHdRE3BeTGz53FAamhGlPLhlssK45usmGFThIi4XqnBmjKQ16u+RNbP7WvigRZDxUsM0J3gcQ5yicaL0w== - dependencies: - min-document "^2.19.0" - process "^0.11.10" - -globals@^11.1.0: - version "11.12.0" - resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" - integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== - -globals@^13.6.0, globals@^13.9.0: - version "13.20.0" - resolved "https://registry.yarnpkg.com/globals/-/globals-13.20.0.tgz#ea276a1e508ffd4f1612888f9d1bad1e2717bf82" - integrity sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ== - dependencies: - type-fest "^0.20.2" - -globalthis@^1.0.1, globalthis@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/globalthis/-/globalthis-1.0.3.tgz#5852882a52b80dc301b0660273e1ed082f0b6ccf" - integrity sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA== - dependencies: - define-properties "^1.1.3" - -globby@^11.0.3: - version "11.1.0" - resolved "https://registry.yarnpkg.com/globby/-/globby-11.1.0.tgz#bd4be98bb042f83d796f7e3811991fbe82a0d34b" - integrity sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g== - dependencies: - array-union "^2.1.0" - dir-glob "^3.0.1" - fast-glob "^3.2.9" - ignore "^5.2.0" - merge2 "^1.4.1" - slash "^3.0.0" - -golang-cover-parse@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/golang-cover-parse/-/golang-cover-parse-2.0.0.tgz#6bac2e5a88c1fb26468fa8d605aa52b4b8d12119" - integrity sha512-3AI0uT2motB7CQUInokoYqVVLeRpqTDaoXL5XS++v+UwCUNM0uIiEDy0L1UZe0VXbhhe8LUvcG3CtFXdzEebxA== - dependencies: - mocha "^5.2.0" - -google-protobuf@^3.13.0, google-protobuf@^3.14.0, google-protobuf@^3.2.0, google-protobuf@^3.21.0: - version "3.21.2" - resolved "https://registry.yarnpkg.com/google-protobuf/-/google-protobuf-3.21.2.tgz#4580a2bea8bbb291ee579d1fefb14d6fa3070ea4" - integrity sha512-3MSOYFO5U9mPGikIYCzK0SaThypfGgS6bHqrUGXG3DPHCrb+txNqeEcns1W0lkGfk0rCyNXm7xB9rMxnCiZOoA== - -gopd@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/gopd/-/gopd-1.0.1.tgz#29ff76de69dac7489b7c0918a5788e56477c332c" - integrity sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA== - dependencies: - get-intrinsic "^1.1.3" - -got@12.1.0: - version "12.1.0" - resolved "https://registry.yarnpkg.com/got/-/got-12.1.0.tgz#099f3815305c682be4fd6b0ee0726d8e4c6b0af4" - integrity sha512-hBv2ty9QN2RdbJJMK3hesmSkFTjVIHyIDDbssCKnSmq62edGgImJWD10Eb1k77TiV1bxloxqcFAVK8+9pkhOig== + "bufferutil" "4.0.5" + "utf-8-validate" "5.0.7" + +"gauge@^3.0.0": + "integrity" "sha512-+5J6MS/5XksCuXq++uFRsnUd7Ovu1XenbeuIuNRJxYWjgQbPuFhT14lAvsWfqfAmnwluf1OwMjz39HjfLPci0Q==" + "resolved" "https://registry.npmjs.org/gauge/-/gauge-3.0.2.tgz" + "version" "3.0.2" + dependencies: + "aproba" "^1.0.3 || ^2.0.0" + "color-support" "^1.1.2" + "console-control-strings" "^1.0.0" + "has-unicode" "^2.0.1" + "object-assign" "^4.1.1" + "signal-exit" "^3.0.0" + "string-width" "^4.2.3" + "strip-ansi" "^6.0.1" + "wide-align" "^1.1.2" + +"gensync@^1.0.0-beta.2": + "integrity" "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==" + "resolved" "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz" + "version" "1.0.0-beta.2" + +"get-caller-file@^1.0.1": + "integrity" "sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w==" + "resolved" "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.3.tgz" + "version" "1.0.3" + +"get-caller-file@^2.0.1", "get-caller-file@^2.0.5": + "integrity" "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==" + "resolved" "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz" + "version" "2.0.5" + +"get-func-name@^2.0.0": + "integrity" "sha512-Hm0ixYtaSZ/V7C8FJrtZIuBBI+iSgL+1Aq82zSu8VQNB4S3Gk8e7Qs3VwBDJAhmRZcFqkl3tQu36g/Foh5I5ig==" + "resolved" "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz" + "version" "2.0.0" + +"get-intrinsic@^1.0.2", "get-intrinsic@^1.1.1", "get-intrinsic@^1.1.3", "get-intrinsic@^1.2.0": + "integrity" "sha512-L049y6nFOuom5wGyRc3/gdTLO94dySVKRACj1RmJZBQXlbTMhtNIgkWkUHq+jYmZvKf14EW1EoJnnjbmoHij0Q==" + "resolved" "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.0.tgz" + "version" "1.2.0" + dependencies: + "function-bind" "^1.1.1" + "has" "^1.0.3" + "has-symbols" "^1.0.3" + +"get-package-type@^0.1.0": + "integrity" "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==" + "resolved" "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz" + "version" "0.1.0" + +"get-stdin@^6.0.0": + "integrity" "sha512-jp4tHawyV7+fkkSKyvjuLZswblUtz+SQKzSWnBbii16BuZksJlU1wuBYXY75r+duh/llF1ur6oNwi+2ZzjKZ7g==" + "resolved" "https://registry.npmjs.org/get-stdin/-/get-stdin-6.0.0.tgz" + "version" "6.0.0" + +"get-stream@^2.2.0": + "integrity" "sha512-AUGhbbemXxrZJRD5cDvKtQxLuYaIbNtDTK8YqupCI393Q2KSTreEsLUN3ZxAWFGiKTzL6nKuzfcIvieflUX9qA==" + "resolved" "https://registry.npmjs.org/get-stream/-/get-stream-2.3.1.tgz" + "version" "2.3.1" + dependencies: + "object-assign" "^4.0.1" + "pinkie-promise" "^2.0.0" + +"get-stream@^3.0.0": + "integrity" "sha512-GlhdIUuVakc8SJ6kK0zAFbiGzRFzNnY4jUuEbV9UROo4Y+0Ny4fjvcZFVTeDA4odpFyOQzaw6hXukJSq/f28sQ==" + "resolved" "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz" + "version" "3.0.0" + +"get-stream@^4.0.0", "get-stream@^4.1.0": + "integrity" "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==" + "resolved" "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz" + "version" "4.1.0" + dependencies: + "pump" "^3.0.0" + +"get-stream@^5.1.0": + "integrity" "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==" + "resolved" "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz" + "version" "5.2.0" + dependencies: + "pump" "^3.0.0" + +"get-stream@^6.0.0": + "integrity" "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==" + "resolved" "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz" + "version" "6.0.1" + +"get-stream@^6.0.1": + "integrity" "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==" + "resolved" "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz" + "version" "6.0.1" + +"get-symbol-description@^1.0.0": + "integrity" "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==" + "resolved" "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz" + "version" "1.0.0" + dependencies: + "call-bind" "^1.0.2" + "get-intrinsic" "^1.1.1" + +"get-value@^2.0.3", "get-value@^2.0.6": + "integrity" "sha512-Ln0UQDlxH1BapMu3GPtf7CuYNwRZf2gwCuPqbyG6pB8WfmFpzqcy4xtAaAMUhnNqjMKTiCPZG2oMT3YSx8U2NA==" + "resolved" "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz" + "version" "2.0.6" + +"getpass@^0.1.1": + "integrity" "sha512-0fzj9JxOLfJ+XGLhR8ze3unN0KZCgZwiSSDz168VERjK8Wl8kVSdcu2kspd4s4wtAa1y/qrVRiAA0WclVsu0ng==" + "resolved" "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz" + "version" "0.1.7" + dependencies: + "assert-plus" "^1.0.0" + +"glob-parent@^3.1.0": + "integrity" "sha512-E8Ak/2+dZY6fnzlR7+ueWvhsH1SjHr4jjss4YS/h4py44jY9MhK/VFdaZJAWDz6BbL21KeteKxFSFpq8OS5gVA==" + "resolved" "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz" + "version" "3.1.0" + dependencies: + "is-glob" "^3.1.0" + "path-dirname" "^1.0.0" + +"glob-parent@^5.1.2", "glob-parent@~5.1.2": + "integrity" "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==" + "resolved" "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz" + "version" "5.1.2" + dependencies: + "is-glob" "^4.0.1" + +"glob-to-regexp@^0.3.0": + "integrity" "sha512-Iozmtbqv0noj0uDDqoL0zNq0VBEfK2YFoMAZoxJe4cwphvLR+JskfF30QhXHOR4m3KrE6NLRYw+U9MRXvifyig==" + "resolved" "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.3.0.tgz" + "version" "0.3.0" + +"glob@^6.0.1": + "integrity" "sha512-MKZeRNyYZAVVVG1oZeLaWie1uweH40m9AZwIwxyPbTSX4hHrVYSzLg0Ro5Z5R7XKkIX+Cc6oD1rqeDJnwsB8/A==" + "resolved" "https://registry.npmjs.org/glob/-/glob-6.0.4.tgz" + "version" "6.0.4" + dependencies: + "inflight" "^1.0.4" + "inherits" "2" + "minimatch" "2 || 3" + "once" "^1.3.0" + "path-is-absolute" "^1.0.0" + +"glob@^7.0.0", "glob@^7.0.5", "glob@^7.1.1", "glob@^7.1.2", "glob@^7.1.3", "glob@^7.1.4": + "integrity" "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==" + "resolved" "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz" + "version" "7.2.3" + dependencies: + "fs.realpath" "^1.0.0" + "inflight" "^1.0.4" + "inherits" "2" + "minimatch" "^3.1.1" + "once" "^1.3.0" + "path-is-absolute" "^1.0.0" + +"glob@7.1.2": + "integrity" "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==" + "resolved" "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz" + "version" "7.1.2" + dependencies: + "fs.realpath" "^1.0.0" + "inflight" "^1.0.4" + "inherits" "2" + "minimatch" "^3.0.4" + "once" "^1.3.0" + "path-is-absolute" "^1.0.0" + +"glob@7.2.0": + "integrity" "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==" + "resolved" "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz" + "version" "7.2.0" + dependencies: + "fs.realpath" "^1.0.0" + "inflight" "^1.0.4" + "inherits" "2" + "minimatch" "^3.0.4" + "once" "^1.3.0" + "path-is-absolute" "^1.0.0" + +"global@~4.4.0": + "integrity" "sha512-wv/LAoHdRE3BeTGz53FAamhGlPLhlssK45usmGFThIi4XqnBmjKQ16u+RNbP7WvigRZDxUsM0J3gcQ5yicaL0w==" + "resolved" "https://registry.npmjs.org/global/-/global-4.4.0.tgz" + "version" "4.4.0" + dependencies: + "min-document" "^2.19.0" + "process" "^0.11.10" + +"globals@^11.1.0": + "integrity" "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==" + "resolved" "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz" + "version" "11.12.0" + +"globals@^13.6.0", "globals@^13.9.0": + "integrity" "sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==" + "resolved" "https://registry.npmjs.org/globals/-/globals-13.20.0.tgz" + "version" "13.20.0" + dependencies: + "type-fest" "^0.20.2" + +"globalthis@^1.0.1", "globalthis@^1.0.3": + "integrity" "sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==" + "resolved" "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz" + "version" "1.0.3" + dependencies: + "define-properties" "^1.1.3" + +"globby@^11.0.3": + "integrity" "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==" + "resolved" "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz" + "version" "11.1.0" + dependencies: + "array-union" "^2.1.0" + "dir-glob" "^3.0.1" + "fast-glob" "^3.2.9" + "ignore" "^5.2.0" + "merge2" "^1.4.1" + "slash" "^3.0.0" + +"golang-cover-parse@^2.0.0": + "integrity" "sha512-3AI0uT2motB7CQUInokoYqVVLeRpqTDaoXL5XS++v+UwCUNM0uIiEDy0L1UZe0VXbhhe8LUvcG3CtFXdzEebxA==" + "resolved" "https://registry.npmjs.org/golang-cover-parse/-/golang-cover-parse-2.0.0.tgz" + "version" "2.0.0" + dependencies: + "mocha" "^5.2.0" + +"google-protobuf@^3.13.0", "google-protobuf@^3.14.0", "google-protobuf@^3.2.0", "google-protobuf@^3.21.0": + "integrity" "sha512-3MSOYFO5U9mPGikIYCzK0SaThypfGgS6bHqrUGXG3DPHCrb+txNqeEcns1W0lkGfk0rCyNXm7xB9rMxnCiZOoA==" + "resolved" "https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.21.2.tgz" + "version" "3.21.2" + +"google-protobuf@3.15.8": + "integrity" "sha512-2jtfdqTaSxk0cuBJBtTTWsot4WtR9RVr2rXg7x7OoqiuOKopPrwXpM1G4dXIkLcUNRh3RKzz76C8IOkksZSeOw==" + "resolved" "https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.15.8.tgz" + "version" "3.15.8" + +"gopd@^1.0.1": + "integrity" "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==" + "resolved" "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz" + "version" "1.0.1" + dependencies: + "get-intrinsic" "^1.1.3" + +"got@^11.8.5": + "integrity" "sha512-6tfZ91bOr7bOXnK7PRDCGBLa1H4U080YHNaAQ2KsMGlLEzRbk44nsZF2E1IeRc3vtJHPVbKCYgdFbaGO2ljd8g==" + "resolved" "https://registry.npmjs.org/got/-/got-11.8.6.tgz" + "version" "11.8.6" + dependencies: + "@sindresorhus/is" "^4.0.0" + "@szmarczak/http-timer" "^4.0.5" + "@types/cacheable-request" "^6.0.1" + "@types/responselike" "^1.0.0" + "cacheable-lookup" "^5.0.3" + "cacheable-request" "^7.0.2" + "decompress-response" "^6.0.0" + "http2-wrapper" "^1.0.0-beta.5.2" + "lowercase-keys" "^2.0.0" + "p-cancelable" "^2.0.0" + "responselike" "^2.0.0" + +"got@^7.1.0": + "integrity" "sha512-Y5WMo7xKKq1muPsxD+KmrR8DH5auG7fBdDVueZwETwV6VytKyU9OX/ddpq2/1hp1vIPvVb4T81dKQz3BivkNLw==" + "resolved" "https://registry.npmjs.org/got/-/got-7.1.0.tgz" + "version" "7.1.0" + dependencies: + "decompress-response" "^3.2.0" + "duplexer3" "^0.1.4" + "get-stream" "^3.0.0" + "is-plain-obj" "^1.1.0" + "is-retry-allowed" "^1.0.0" + "is-stream" "^1.0.0" + "isurl" "^1.0.0-alpha5" + "lowercase-keys" "^1.0.0" + "p-cancelable" "^0.3.0" + "p-timeout" "^1.1.1" + "safe-buffer" "^5.0.1" + "timed-out" "^4.0.0" + "url-parse-lax" "^1.0.0" + "url-to-options" "^1.0.1" + +"got@12.1.0": + "integrity" "sha512-hBv2ty9QN2RdbJJMK3hesmSkFTjVIHyIDDbssCKnSmq62edGgImJWD10Eb1k77TiV1bxloxqcFAVK8+9pkhOig==" + "resolved" "https://registry.npmjs.org/got/-/got-12.1.0.tgz" + "version" "12.1.0" dependencies: "@sindresorhus/is" "^4.6.0" "@szmarczak/http-timer" "^5.0.1" "@types/cacheable-request" "^6.0.2" "@types/responselike" "^1.0.0" - cacheable-lookup "^6.0.4" - cacheable-request "^7.0.2" - decompress-response "^6.0.0" - form-data-encoder "1.7.1" - get-stream "^6.0.1" - http2-wrapper "^2.1.10" - lowercase-keys "^3.0.0" - p-cancelable "^3.0.0" - responselike "^2.0.0" - -got@9.6.0: - version "9.6.0" - resolved "https://registry.yarnpkg.com/got/-/got-9.6.0.tgz#edf45e7d67f99545705de1f7bbeeeb121765ed85" - integrity sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q== + "cacheable-lookup" "^6.0.4" + "cacheable-request" "^7.0.2" + "decompress-response" "^6.0.0" + "form-data-encoder" "1.7.1" + "get-stream" "^6.0.1" + "http2-wrapper" "^2.1.10" + "lowercase-keys" "^3.0.0" + "p-cancelable" "^3.0.0" + "responselike" "^2.0.0" + +"got@9.6.0": + "integrity" "sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q==" + "resolved" "https://registry.npmjs.org/got/-/got-9.6.0.tgz" + "version" "9.6.0" dependencies: "@sindresorhus/is" "^0.14.0" "@szmarczak/http-timer" "^1.1.2" - cacheable-request "^6.0.0" - decompress-response "^3.3.0" - duplexer3 "^0.1.4" - get-stream "^4.1.0" - lowercase-keys "^1.0.1" - mimic-response "^1.0.1" - p-cancelable "^1.0.0" - to-readable-stream "^1.0.0" - url-parse-lax "^3.0.0" - -got@^11.8.5: - version "11.8.6" - resolved "https://registry.yarnpkg.com/got/-/got-11.8.6.tgz#276e827ead8772eddbcfc97170590b841823233a" - integrity sha512-6tfZ91bOr7bOXnK7PRDCGBLa1H4U080YHNaAQ2KsMGlLEzRbk44nsZF2E1IeRc3vtJHPVbKCYgdFbaGO2ljd8g== + "cacheable-request" "^6.0.0" + "decompress-response" "^3.3.0" + "duplexer3" "^0.1.4" + "get-stream" "^4.1.0" + "lowercase-keys" "^1.0.1" + "mimic-response" "^1.0.1" + "p-cancelable" "^1.0.0" + "to-readable-stream" "^1.0.0" + "url-parse-lax" "^3.0.0" + +"graceful-fs@^4.1.10", "graceful-fs@^4.1.15", "graceful-fs@^4.1.2", "graceful-fs@^4.1.6", "graceful-fs@^4.1.9", "graceful-fs@^4.2.0", "graceful-fs@^4.2.9": + "integrity" "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==" + "resolved" "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz" + "version" "4.2.11" + +"graphql-request@^3.4.0": + "integrity" "sha512-dw5PxHCgBneN2DDNqpWu8QkbbJ07oOziy8z+bK/TAXufsOLaETuVO4GkXrbs0WjhdKhBMN3BkpN/RIvUHkmNUQ==" + "resolved" "https://registry.npmjs.org/graphql-request/-/graphql-request-3.7.0.tgz" + "version" "3.7.0" + dependencies: + "cross-fetch" "^3.0.6" + "extract-files" "^9.0.0" + "form-data" "^3.0.0" + +"graphql-tag@^2.11.0", "graphql-tag@^2.12.6": + "integrity" "sha512-FdSNcu2QQcWnM2VNvSCCDCVS5PpPqpzgFT8+GXzqJuoDd0CBncxCY278u4mhRO7tMgo2JjgJA5aZ+nWSQ/Z+xg==" + "resolved" "https://registry.npmjs.org/graphql-tag/-/graphql-tag-2.12.6.tgz" + "version" "2.12.6" + dependencies: + "tslib" "^2.1.0" + +"graphql@^15.3.0", "graphql@^15.5.0": + "integrity" "sha512-5gghUc24tP9HRznNpV2+FIoq3xKkj5dTQqf4v0CpdPbFVwFkWoxOM+o+2OC9ZSvjEMTjfmG9QT+gcvggTwW1zw==" + "resolved" "https://registry.npmjs.org/graphql/-/graphql-15.8.0.tgz" + "version" "15.8.0" + +"graphql@^16.3.0": + "integrity" "sha512-KPIBPDlW7NxrbT/eh4qPXz5FiFdL5UbaA0XUNz2Rp3Z3hqBSkbj0GVjwFDztsWVauZUWsbKHgMg++sk8UX0bkw==" + "resolved" "https://registry.npmjs.org/graphql/-/graphql-16.6.0.tgz" + "version" "16.6.0" + +"growl@1.10.3": + "integrity" "sha512-hKlsbA5Vu3xsh1Cg3J7jSmX/WaW6A5oBeqzM88oNbCRQFz+zUaXm6yxS4RVytp1scBoJzSYl4YAEOQIt6O8V1Q==" + "resolved" "https://registry.npmjs.org/growl/-/growl-1.10.3.tgz" + "version" "1.10.3" + +"growl@1.10.5": + "integrity" "sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA==" + "resolved" "https://registry.npmjs.org/growl/-/growl-1.10.5.tgz" + "version" "1.10.5" + +"grpc_tools_node_protoc_ts@^5.3.3": + "integrity" "sha512-M/YrklvVXMtuuj9kb42PxeouZhs7Ul+R4e/31XwrankUcKL8cQQP50Q9q+KEHGyHQaPt6VtKKsxMgLaKbCxeww==" + "resolved" "https://registry.npmjs.org/grpc_tools_node_protoc_ts/-/grpc_tools_node_protoc_ts-5.3.3.tgz" + "version" "5.3.3" + dependencies: + "google-protobuf" "3.15.8" + "handlebars" "4.7.7" + +"grpc-tools@^1.12.4": + "integrity" "sha512-5+mLAJJma3BjnW/KQp6JBjUMgvu7Mu3dBvBPd1dcbNIb+qiR0817zDpgPjS7gRb+l/8EVNIa3cB02xI9JLToKg==" + "resolved" "https://registry.npmjs.org/grpc-tools/-/grpc-tools-1.12.4.tgz" + "version" "1.12.4" + dependencies: + "@mapbox/node-pre-gyp" "^1.0.5" + +"handlebars@4.7.7": + "integrity" "sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==" + "resolved" "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz" + "version" "4.7.7" + dependencies: + "minimist" "^1.2.5" + "neo-async" "^2.6.0" + "source-map" "^0.6.1" + "wordwrap" "^1.0.0" + optionalDependencies: + "uglify-js" "^3.1.4" + +"har-schema@^2.0.0": + "integrity" "sha512-Oqluz6zhGX8cyRaTQlFMPw80bSJVG2x/cFb8ZPhUILGgHka9SsokCCOQgpveePerqidZOrT14ipqfJb7ILcW5Q==" + "resolved" "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz" + "version" "2.0.0" + +"har-validator@~5.1.3": + "integrity" "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==" + "resolved" "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz" + "version" "5.1.5" dependencies: - "@sindresorhus/is" "^4.0.0" - "@szmarczak/http-timer" "^4.0.5" - "@types/cacheable-request" "^6.0.1" - "@types/responselike" "^1.0.0" - cacheable-lookup "^5.0.3" - cacheable-request "^7.0.2" - decompress-response "^6.0.0" - http2-wrapper "^1.0.0-beta.5.2" - lowercase-keys "^2.0.0" - p-cancelable "^2.0.0" - responselike "^2.0.0" - -got@^7.1.0: - version "7.1.0" - resolved "https://registry.yarnpkg.com/got/-/got-7.1.0.tgz#05450fd84094e6bbea56f451a43a9c289166385a" - integrity sha512-Y5WMo7xKKq1muPsxD+KmrR8DH5auG7fBdDVueZwETwV6VytKyU9OX/ddpq2/1hp1vIPvVb4T81dKQz3BivkNLw== - dependencies: - decompress-response "^3.2.0" - duplexer3 "^0.1.4" - get-stream "^3.0.0" - is-plain-obj "^1.1.0" - is-retry-allowed "^1.0.0" - is-stream "^1.0.0" - isurl "^1.0.0-alpha5" - lowercase-keys "^1.0.0" - p-cancelable "^0.3.0" - p-timeout "^1.1.1" - safe-buffer "^5.0.1" - timed-out "^4.0.0" - url-parse-lax "^1.0.0" - url-to-options "^1.0.1" - -graceful-fs@^4.1.10, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.1.9, graceful-fs@^4.2.0, graceful-fs@^4.2.9: - version "4.2.11" - resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3" - integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ== - -graphql-request@^3.4.0: - version "3.7.0" - resolved "https://registry.yarnpkg.com/graphql-request/-/graphql-request-3.7.0.tgz#c7406e537084f8b9788541e3e6704340ca13055b" - integrity sha512-dw5PxHCgBneN2DDNqpWu8QkbbJ07oOziy8z+bK/TAXufsOLaETuVO4GkXrbs0WjhdKhBMN3BkpN/RIvUHkmNUQ== - dependencies: - cross-fetch "^3.0.6" - extract-files "^9.0.0" - form-data "^3.0.0" - -graphql-tag@^2.11.0, graphql-tag@^2.12.6: - version "2.12.6" - resolved "https://registry.yarnpkg.com/graphql-tag/-/graphql-tag-2.12.6.tgz#d441a569c1d2537ef10ca3d1633b48725329b5f1" - integrity sha512-FdSNcu2QQcWnM2VNvSCCDCVS5PpPqpzgFT8+GXzqJuoDd0CBncxCY278u4mhRO7tMgo2JjgJA5aZ+nWSQ/Z+xg== - dependencies: - tslib "^2.1.0" - -graphql@^15.3.0, graphql@^15.5.0: - version "15.8.0" - resolved "https://registry.yarnpkg.com/graphql/-/graphql-15.8.0.tgz#33410e96b012fa3bdb1091cc99a94769db212b38" - integrity sha512-5gghUc24tP9HRznNpV2+FIoq3xKkj5dTQqf4v0CpdPbFVwFkWoxOM+o+2OC9ZSvjEMTjfmG9QT+gcvggTwW1zw== - -graphql@^16.3.0: - version "16.6.0" - resolved "https://registry.yarnpkg.com/graphql/-/graphql-16.6.0.tgz#c2dcffa4649db149f6282af726c8c83f1c7c5fdb" - integrity sha512-KPIBPDlW7NxrbT/eh4qPXz5FiFdL5UbaA0XUNz2Rp3Z3hqBSkbj0GVjwFDztsWVauZUWsbKHgMg++sk8UX0bkw== - -growl@1.10.3: - version "1.10.3" - resolved "https://registry.yarnpkg.com/growl/-/growl-1.10.3.tgz#1926ba90cf3edfe2adb4927f5880bc22c66c790f" - integrity sha512-hKlsbA5Vu3xsh1Cg3J7jSmX/WaW6A5oBeqzM88oNbCRQFz+zUaXm6yxS4RVytp1scBoJzSYl4YAEOQIt6O8V1Q== - -growl@1.10.5: - version "1.10.5" - resolved "https://registry.yarnpkg.com/growl/-/growl-1.10.5.tgz#f2735dc2283674fa67478b10181059355c369e5e" - integrity sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA== - -har-schema@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92" - integrity sha512-Oqluz6zhGX8cyRaTQlFMPw80bSJVG2x/cFb8ZPhUILGgHka9SsokCCOQgpveePerqidZOrT14ipqfJb7ILcW5Q== - -har-validator@~5.1.3: - version "5.1.5" - resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-5.1.5.tgz#1f0803b9f8cb20c0fa13822df1ecddb36bde1efd" - integrity sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w== - dependencies: - ajv "^6.12.3" - har-schema "^2.0.0" - -hardhat-tracer@^1.0.0-alpha.5: - version "1.3.0" - resolved "https://registry.yarnpkg.com/hardhat-tracer/-/hardhat-tracer-1.3.0.tgz#273d8aeca57283f597f2eaef2c8acdd0162f3672" - integrity sha512-mUYuRJWlxCwY4R2urCpNM4ecVSq/iMLiVP9YZKlfXyv4R8T+4HAcTfumilUOXHGe6wHI+8Ki2EaTon3KgzATDA== - dependencies: - ethers "^5.6.1" - -hardhat-watcher@^2.1.1: - version "2.5.0" - resolved "https://registry.yarnpkg.com/hardhat-watcher/-/hardhat-watcher-2.5.0.tgz#3ee76c3cb5b99f2875b78d176207745aa484ed4a" - integrity sha512-Su2qcSMIo2YO2PrmJ0/tdkf+6pSt8zf9+4URR5edMVti6+ShI8T3xhPrwugdyTOFuyj8lKHrcTZNKUFYowYiyA== - dependencies: - chokidar "^3.5.3" - -hardhat@^2.13.0: - version "2.13.0" - resolved "https://registry.yarnpkg.com/hardhat/-/hardhat-2.13.0.tgz#d52a0ec9b733a651687e5b1c1b0ee9a11a30f3d0" - integrity sha512-ZlzBOLML1QGlm6JWyVAG8lVTEAoOaVm1in/RU2zoGAnYEoD1Rp4T+ZMvrLNhHaaeS9hfjJ1gJUBfiDr4cx+htQ== + "ajv" "^6.12.3" + "har-schema" "^2.0.0" + +"hardhat-tracer@^1.0.0-alpha.5": + "integrity" "sha512-mUYuRJWlxCwY4R2urCpNM4ecVSq/iMLiVP9YZKlfXyv4R8T+4HAcTfumilUOXHGe6wHI+8Ki2EaTon3KgzATDA==" + "resolved" "https://registry.npmjs.org/hardhat-tracer/-/hardhat-tracer-1.3.0.tgz" + "version" "1.3.0" + dependencies: + "ethers" "^5.6.1" + +"hardhat-watcher@^2.1.1": + "integrity" "sha512-Su2qcSMIo2YO2PrmJ0/tdkf+6pSt8zf9+4URR5edMVti6+ShI8T3xhPrwugdyTOFuyj8lKHrcTZNKUFYowYiyA==" + "resolved" "https://registry.npmjs.org/hardhat-watcher/-/hardhat-watcher-2.5.0.tgz" + "version" "2.5.0" + dependencies: + "chokidar" "^3.5.3" + +"hardhat@^2.13.0": + "integrity" "sha512-ZlzBOLML1QGlm6JWyVAG8lVTEAoOaVm1in/RU2zoGAnYEoD1Rp4T+ZMvrLNhHaaeS9hfjJ1gJUBfiDr4cx+htQ==" + "resolved" "https://registry.npmjs.org/hardhat/-/hardhat-2.13.0.tgz" + "version" "2.13.0" dependencies: "@ethersproject/abi" "^5.1.2" "@metamask/eth-sig-util" "^4.0.0" @@ -10005,1288 +10426,1303 @@ hardhat@^2.13.0: "@sentry/node" "^5.18.1" "@types/bn.js" "^5.1.0" "@types/lru-cache" "^5.1.0" - abort-controller "^3.0.0" - adm-zip "^0.4.16" - aggregate-error "^3.0.0" - ansi-escapes "^4.3.0" - chalk "^2.4.2" - chokidar "^3.4.0" - ci-info "^2.0.0" - debug "^4.1.1" - enquirer "^2.3.0" - env-paths "^2.2.0" - ethereum-cryptography "^1.0.3" - ethereumjs-abi "^0.6.8" - find-up "^2.1.0" - fp-ts "1.19.3" - fs-extra "^7.0.1" - glob "7.2.0" - immutable "^4.0.0-rc.12" - io-ts "1.10.4" - keccak "^3.0.2" - lodash "^4.17.11" - mnemonist "^0.38.0" - mocha "^10.0.0" - p-map "^4.0.0" - qs "^6.7.0" - raw-body "^2.4.1" - resolve "1.17.0" - semver "^6.3.0" - solc "0.7.3" - source-map-support "^0.5.13" - stacktrace-parser "^0.1.10" - tsort "0.0.1" - undici "^5.14.0" - uuid "^8.3.2" - ws "^7.4.6" - -has-bigints@^1.0.1, has-bigints@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/has-bigints/-/has-bigints-1.0.2.tgz#0871bd3e3d51626f6ca0966668ba35d5602d6eaa" - integrity sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ== - -has-flag@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-2.0.0.tgz#e8207af1cc7b30d446cc70b734b5e8be18f88d51" - integrity sha512-P+1n3MnwjR/Epg9BBo1KT8qbye2g2Ou4sFumihwt6I4tsUX7jnLcX4BTOSKg/B1ZrIYMN9FcEnG4x5a7NB8Eng== - -has-flag@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" - integrity sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw== - -has-flag@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" - integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== - -has-property-descriptors@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz#610708600606d36961ed04c196193b6a607fa861" - integrity sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ== - dependencies: - get-intrinsic "^1.1.1" - -has-proto@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/has-proto/-/has-proto-1.0.1.tgz#1885c1305538958aff469fef37937c22795408e0" - integrity sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg== - -has-symbol-support-x@^1.4.1: - version "1.4.2" - resolved "https://registry.yarnpkg.com/has-symbol-support-x/-/has-symbol-support-x-1.4.2.tgz#1409f98bc00247da45da67cee0a36f282ff26455" - integrity sha512-3ToOva++HaW+eCpgqZrCfN51IPB+7bJNVT6CUATzueB5Heb8o6Nam0V3HG5dlDvZU1Gn5QLcbahiKw/XVk5JJw== - -has-symbols@^1.0.2, has-symbols@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.3.tgz#bb7b2c4349251dce87b125f7bdf874aa7c8b39f8" - integrity sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A== - -has-to-string-tag-x@^1.2.0: - version "1.4.1" - resolved "https://registry.yarnpkg.com/has-to-string-tag-x/-/has-to-string-tag-x-1.4.1.tgz#a045ab383d7b4b2012a00148ab0aa5f290044d4d" - integrity sha512-vdbKfmw+3LoOYVr+mtxHaX5a96+0f3DljYd8JOqvOLsf5mw2Otda2qCDT9qRqLAhrjyQ0h7ual5nOiASpsGNFw== - dependencies: - has-symbol-support-x "^1.4.1" - -has-tostringtag@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/has-tostringtag/-/has-tostringtag-1.0.0.tgz#7e133818a7d394734f941e73c3d3f9291e658b25" - integrity sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ== - dependencies: - has-symbols "^1.0.2" - -has-value@^0.3.1: - version "0.3.1" - resolved "https://registry.yarnpkg.com/has-value/-/has-value-0.3.1.tgz#7b1f58bada62ca827ec0a2078025654845995e1f" - integrity sha512-gpG936j8/MzaeID5Yif+577c17TxaDmhuyVgSwtnL/q8UUTySg8Mecb+8Cf1otgLoD7DDH75axp86ER7LFsf3Q== - dependencies: - get-value "^2.0.3" - has-values "^0.1.4" - isobject "^2.0.0" - -has-value@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/has-value/-/has-value-1.0.0.tgz#18b281da585b1c5c51def24c930ed29a0be6b177" - integrity sha512-IBXk4GTsLYdQ7Rvt+GRBrFSVEkmuOUy4re0Xjd9kJSUQpnTrWR4/y9RpfexN9vkAPMFuQoeWKwqzPozRTlasGw== - dependencies: - get-value "^2.0.6" - has-values "^1.0.0" - isobject "^3.0.0" - -has-values@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/has-values/-/has-values-0.1.4.tgz#6d61de95d91dfca9b9a02089ad384bff8f62b771" - integrity sha512-J8S0cEdWuQbqD9//tlZxiMuMNmxB8PlEwvYwuxsTmR1G5RXUePEX/SJn7aD0GMLieuZYSwNH0cQuJGwnYunXRQ== - -has-values@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/has-values/-/has-values-1.0.0.tgz#95b0b63fec2146619a6fe57fe75628d5a39efe4f" - integrity sha512-ODYZC64uqzmtfGMEAX/FvZiRyWLpAC3vYnNunURUnkGVTS+mI0smVsWaPydRBsE3g+ok7h960jChO8mFcWlHaQ== - dependencies: - is-number "^3.0.0" - kind-of "^4.0.0" - -has@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" - integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== - dependencies: - function-bind "^1.1.1" - -hash-base@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/hash-base/-/hash-base-3.1.0.tgz#55c381d9e06e1d2997a883b4a3fddfe7f0d3af33" - integrity sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA== - dependencies: - inherits "^2.0.4" - readable-stream "^3.6.0" - safe-buffer "^5.2.0" - -hash.js@1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/hash.js/-/hash.js-1.1.3.tgz#340dedbe6290187151c1ea1d777a3448935df846" - integrity sha512-/UETyP0W22QILqS+6HowevwhEFJ3MBJnwTf75Qob9Wz9t0DPuisL8kW8YZMK62dHAKE1c1p+gY1TtOLY+USEHA== - dependencies: - inherits "^2.0.3" - minimalistic-assert "^1.0.0" - -hash.js@1.1.7, hash.js@^1.0.0, hash.js@^1.0.3, hash.js@^1.1.7: - version "1.1.7" - resolved "https://registry.yarnpkg.com/hash.js/-/hash.js-1.1.7.tgz#0babca538e8d4ee4a0f8988d68866537a003cf42" - integrity sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA== - dependencies: - inherits "^2.0.3" - minimalistic-assert "^1.0.1" - -hdkey@^1.1.1: - version "1.1.2" - resolved "https://registry.yarnpkg.com/hdkey/-/hdkey-1.1.2.tgz#c60f9cf6f90fbf24a8a52ea06893f36a0108cd3e" - integrity sha512-PTQ4VKu0oRnCrYfLp04iQZ7T2Cxz0UsEXYauk2j8eh6PJXCpbXuCFhOmtIFtbET0i3PMWmHN9J11gU8LEgUljQ== - dependencies: - bs58check "^2.1.2" - safe-buffer "^5.1.1" - secp256k1 "^3.0.1" - -hdkey@^2.0.1: - version "2.1.0" - resolved "https://registry.yarnpkg.com/hdkey/-/hdkey-2.1.0.tgz#755b30b73f54e93c31919c1b2f19205a8e57cb92" - integrity sha512-i9Wzi0Dy49bNS4tXXeGeu0vIcn86xXdPQUpEYg+SO1YiO8HtomjmmRMaRyqL0r59QfcD4PfVbSF3qmsWFwAemA== - dependencies: - bs58check "^2.1.2" - ripemd160 "^2.0.2" - safe-buffer "^5.1.1" - secp256k1 "^4.0.0" - -he@1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/he/-/he-1.1.1.tgz#93410fd21b009735151f8868c2f271f3427e23fd" - integrity sha512-z/GDPjlRMNOa2XJiB4em8wJpuuBfrFOlYKTZxtpkdr1uPdibHI8rYA3MY0KDObpVyaes0e/aunid/t88ZI2EKA== - -he@1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f" - integrity sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw== - -header-case@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/header-case/-/header-case-1.0.1.tgz#9535973197c144b09613cd65d317ef19963bd02d" - integrity sha512-i0q9mkOeSuhXw6bGgiQCCBgY/jlZuV/7dZXyZ9c6LcBrqwvT8eT719E9uxE5LiZftdl+z81Ugbg/VvXV4OJOeQ== - dependencies: - no-case "^2.2.0" - upper-case "^1.1.3" - -hexoid@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/hexoid/-/hexoid-1.0.0.tgz#ad10c6573fb907de23d9ec63a711267d9dc9bc18" - integrity sha512-QFLV0taWQOZtvIRIAdBChesmogZrtuXvVWsFHZTk2SU+anspqZ2vMnoLg7IE1+Uk16N19APic1BuF8bC8c2m5g== - -hi-base32@^0.5.1: - version "0.5.1" - resolved "https://registry.yarnpkg.com/hi-base32/-/hi-base32-0.5.1.tgz#1279f2ddae2673219ea5870c2121d2a33132857e" - integrity sha512-EmBBpvdYh/4XxsnUybsPag6VikPYnN30td+vQk+GI3qpahVEG9+gTkG0aXVxTjBqQ5T6ijbWIu77O+C5WFWsnA== - -hmac-drbg@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1" - integrity sha512-Tti3gMqLdZfhOQY1Mzf/AanLiqh1WTiJgEj26ZuYQ9fbkLomzGchCws4FyrSd4VkpBfiNhaE1On+lOz894jvXg== - dependencies: - hash.js "^1.0.3" - minimalistic-assert "^1.0.0" - minimalistic-crypto-utils "^1.0.1" - -hoist-non-react-statics@^3.3.2: - version "3.3.2" - resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45" - integrity sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw== - dependencies: - react-is "^16.7.0" - -hosted-git-info@^2.6.0: - version "2.8.9" - resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.9.tgz#dffc0bf9a21c02209090f2aa69429e1414daf3f9" - integrity sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw== - -html-encoding-sniffer@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/html-encoding-sniffer/-/html-encoding-sniffer-2.0.1.tgz#42a6dc4fd33f00281176e8b23759ca4e4fa185f3" - integrity sha512-D5JbOMBIR/TVZkubHT+OyT2705QvogUW4IBn6nHd756OwieSF9aDYFj4dv6HHEVGYbHaLETa3WggZYWWMyy3ZQ== - dependencies: - whatwg-encoding "^1.0.5" - -html-escaper@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/html-escaper/-/html-escaper-2.0.2.tgz#dfd60027da36a36dfcbe236262c00a5822681453" - integrity sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg== - -http-cache-semantics@^4.0.0: - version "4.1.1" - resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz#abe02fcb2985460bf0323be664436ec3476a6d5a" - integrity sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ== - -http-errors@2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-2.0.0.tgz#b7774a1486ef73cf7667ac9ae0858c012c57b9d3" - integrity sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ== - dependencies: - depd "2.0.0" - inherits "2.0.4" - setprototypeof "1.2.0" - statuses "2.0.1" - toidentifier "1.0.1" - -http-errors@^1.7.2: - version "1.8.1" - resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.8.1.tgz#7c3f28577cbc8a207388455dbd62295ed07bd68c" - integrity sha512-Kpk9Sm7NmI+RHhnj6OIWDI1d6fIoFAtFt9RLaTMRlg/8w49juAStsrBgp0Dp4OdxdVbRIeKhtCUvoi/RuAhO4g== - dependencies: - depd "~1.1.2" - inherits "2.0.4" - setprototypeof "1.2.0" - statuses ">= 1.5.0 < 2" - toidentifier "1.0.1" - -http-https@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/http-https/-/http-https-1.0.0.tgz#2f908dd5f1db4068c058cd6e6d4ce392c913389b" - integrity sha512-o0PWwVCSp3O0wS6FvNr6xfBCHgt0m1tvPLFOCc2iFDKTRAXhB7m8klDf7ErowFH8POa6dVdGatKU5I1YYwzUyg== - -http-proxy-agent@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz#8a8c8ef7f5932ccf953c296ca8291b95aa74aa3a" - integrity sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg== + "abort-controller" "^3.0.0" + "adm-zip" "^0.4.16" + "aggregate-error" "^3.0.0" + "ansi-escapes" "^4.3.0" + "chalk" "^2.4.2" + "chokidar" "^3.4.0" + "ci-info" "^2.0.0" + "debug" "^4.1.1" + "enquirer" "^2.3.0" + "env-paths" "^2.2.0" + "ethereum-cryptography" "^1.0.3" + "ethereumjs-abi" "^0.6.8" + "find-up" "^2.1.0" + "fp-ts" "1.19.3" + "fs-extra" "^7.0.1" + "glob" "7.2.0" + "immutable" "^4.0.0-rc.12" + "io-ts" "1.10.4" + "keccak" "^3.0.2" + "lodash" "^4.17.11" + "mnemonist" "^0.38.0" + "mocha" "^10.0.0" + "p-map" "^4.0.0" + "qs" "^6.7.0" + "raw-body" "^2.4.1" + "resolve" "1.17.0" + "semver" "^6.3.0" + "solc" "0.7.3" + "source-map-support" "^0.5.13" + "stacktrace-parser" "^0.1.10" + "tsort" "0.0.1" + "undici" "^5.14.0" + "uuid" "^8.3.2" + "ws" "^7.4.6" + +"has-bigints@^1.0.1", "has-bigints@^1.0.2": + "integrity" "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==" + "resolved" "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz" + "version" "1.0.2" + +"has-flag@^2.0.0": + "integrity" "sha512-P+1n3MnwjR/Epg9BBo1KT8qbye2g2Ou4sFumihwt6I4tsUX7jnLcX4BTOSKg/B1ZrIYMN9FcEnG4x5a7NB8Eng==" + "resolved" "https://registry.npmjs.org/has-flag/-/has-flag-2.0.0.tgz" + "version" "2.0.0" + +"has-flag@^3.0.0": + "integrity" "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==" + "resolved" "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz" + "version" "3.0.0" + +"has-flag@^4.0.0": + "integrity" "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" + "resolved" "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz" + "version" "4.0.0" + +"has-property-descriptors@^1.0.0": + "integrity" "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==" + "resolved" "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz" + "version" "1.0.0" + dependencies: + "get-intrinsic" "^1.1.1" + +"has-proto@^1.0.1": + "integrity" "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==" + "resolved" "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz" + "version" "1.0.1" + +"has-symbol-support-x@^1.4.1": + "integrity" "sha512-3ToOva++HaW+eCpgqZrCfN51IPB+7bJNVT6CUATzueB5Heb8o6Nam0V3HG5dlDvZU1Gn5QLcbahiKw/XVk5JJw==" + "resolved" "https://registry.npmjs.org/has-symbol-support-x/-/has-symbol-support-x-1.4.2.tgz" + "version" "1.4.2" + +"has-symbols@^1.0.2", "has-symbols@^1.0.3": + "integrity" "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==" + "resolved" "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz" + "version" "1.0.3" + +"has-to-string-tag-x@^1.2.0": + "integrity" "sha512-vdbKfmw+3LoOYVr+mtxHaX5a96+0f3DljYd8JOqvOLsf5mw2Otda2qCDT9qRqLAhrjyQ0h7ual5nOiASpsGNFw==" + "resolved" "https://registry.npmjs.org/has-to-string-tag-x/-/has-to-string-tag-x-1.4.1.tgz" + "version" "1.4.1" + dependencies: + "has-symbol-support-x" "^1.4.1" + +"has-tostringtag@^1.0.0": + "integrity" "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==" + "resolved" "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz" + "version" "1.0.0" + dependencies: + "has-symbols" "^1.0.2" + +"has-unicode@^2.0.1": + "integrity" "sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ==" + "resolved" "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz" + "version" "2.0.1" + +"has-value@^0.3.1": + "integrity" "sha512-gpG936j8/MzaeID5Yif+577c17TxaDmhuyVgSwtnL/q8UUTySg8Mecb+8Cf1otgLoD7DDH75axp86ER7LFsf3Q==" + "resolved" "https://registry.npmjs.org/has-value/-/has-value-0.3.1.tgz" + "version" "0.3.1" + dependencies: + "get-value" "^2.0.3" + "has-values" "^0.1.4" + "isobject" "^2.0.0" + +"has-value@^1.0.0": + "integrity" "sha512-IBXk4GTsLYdQ7Rvt+GRBrFSVEkmuOUy4re0Xjd9kJSUQpnTrWR4/y9RpfexN9vkAPMFuQoeWKwqzPozRTlasGw==" + "resolved" "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz" + "version" "1.0.0" + dependencies: + "get-value" "^2.0.6" + "has-values" "^1.0.0" + "isobject" "^3.0.0" + +"has-values@^0.1.4": + "integrity" "sha512-J8S0cEdWuQbqD9//tlZxiMuMNmxB8PlEwvYwuxsTmR1G5RXUePEX/SJn7aD0GMLieuZYSwNH0cQuJGwnYunXRQ==" + "resolved" "https://registry.npmjs.org/has-values/-/has-values-0.1.4.tgz" + "version" "0.1.4" + +"has-values@^1.0.0": + "integrity" "sha512-ODYZC64uqzmtfGMEAX/FvZiRyWLpAC3vYnNunURUnkGVTS+mI0smVsWaPydRBsE3g+ok7h960jChO8mFcWlHaQ==" + "resolved" "https://registry.npmjs.org/has-values/-/has-values-1.0.0.tgz" + "version" "1.0.0" + dependencies: + "is-number" "^3.0.0" + "kind-of" "^4.0.0" + +"has@^1.0.3": + "integrity" "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==" + "resolved" "https://registry.npmjs.org/has/-/has-1.0.3.tgz" + "version" "1.0.3" + dependencies: + "function-bind" "^1.1.1" + +"hash-base@^3.0.0": + "integrity" "sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==" + "resolved" "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz" + "version" "3.1.0" + dependencies: + "inherits" "^2.0.4" + "readable-stream" "^3.6.0" + "safe-buffer" "^5.2.0" + +"hash.js@^1.0.0", "hash.js@^1.0.3", "hash.js@^1.1.7", "hash.js@1.1.7": + "integrity" "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==" + "resolved" "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz" + "version" "1.1.7" + dependencies: + "inherits" "^2.0.3" + "minimalistic-assert" "^1.0.1" + +"hash.js@1.1.3": + "integrity" "sha512-/UETyP0W22QILqS+6HowevwhEFJ3MBJnwTf75Qob9Wz9t0DPuisL8kW8YZMK62dHAKE1c1p+gY1TtOLY+USEHA==" + "resolved" "https://registry.npmjs.org/hash.js/-/hash.js-1.1.3.tgz" + "version" "1.1.3" + dependencies: + "inherits" "^2.0.3" + "minimalistic-assert" "^1.0.0" + +"hdkey@^1.1.1": + "integrity" "sha512-PTQ4VKu0oRnCrYfLp04iQZ7T2Cxz0UsEXYauk2j8eh6PJXCpbXuCFhOmtIFtbET0i3PMWmHN9J11gU8LEgUljQ==" + "resolved" "https://registry.npmjs.org/hdkey/-/hdkey-1.1.2.tgz" + "version" "1.1.2" + dependencies: + "bs58check" "^2.1.2" + "safe-buffer" "^5.1.1" + "secp256k1" "^3.0.1" + +"hdkey@^2.0.1": + "integrity" "sha512-i9Wzi0Dy49bNS4tXXeGeu0vIcn86xXdPQUpEYg+SO1YiO8HtomjmmRMaRyqL0r59QfcD4PfVbSF3qmsWFwAemA==" + "resolved" "https://registry.npmjs.org/hdkey/-/hdkey-2.1.0.tgz" + "version" "2.1.0" + dependencies: + "bs58check" "^2.1.2" + "ripemd160" "^2.0.2" + "safe-buffer" "^5.1.1" + "secp256k1" "^4.0.0" + +"he@1.1.1": + "integrity" "sha512-z/GDPjlRMNOa2XJiB4em8wJpuuBfrFOlYKTZxtpkdr1uPdibHI8rYA3MY0KDObpVyaes0e/aunid/t88ZI2EKA==" + "resolved" "https://registry.npmjs.org/he/-/he-1.1.1.tgz" + "version" "1.1.1" + +"he@1.2.0": + "integrity" "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==" + "resolved" "https://registry.npmjs.org/he/-/he-1.2.0.tgz" + "version" "1.2.0" + +"header-case@^1.0.0": + "integrity" "sha512-i0q9mkOeSuhXw6bGgiQCCBgY/jlZuV/7dZXyZ9c6LcBrqwvT8eT719E9uxE5LiZftdl+z81Ugbg/VvXV4OJOeQ==" + "resolved" "https://registry.npmjs.org/header-case/-/header-case-1.0.1.tgz" + "version" "1.0.1" + dependencies: + "no-case" "^2.2.0" + "upper-case" "^1.1.3" + +"hexoid@^1.0.0": + "integrity" "sha512-QFLV0taWQOZtvIRIAdBChesmogZrtuXvVWsFHZTk2SU+anspqZ2vMnoLg7IE1+Uk16N19APic1BuF8bC8c2m5g==" + "resolved" "https://registry.npmjs.org/hexoid/-/hexoid-1.0.0.tgz" + "version" "1.0.0" + +"hi-base32@^0.5.1": + "integrity" "sha512-EmBBpvdYh/4XxsnUybsPag6VikPYnN30td+vQk+GI3qpahVEG9+gTkG0aXVxTjBqQ5T6ijbWIu77O+C5WFWsnA==" + "resolved" "https://registry.npmjs.org/hi-base32/-/hi-base32-0.5.1.tgz" + "version" "0.5.1" + +"hmac-drbg@^1.0.1": + "integrity" "sha512-Tti3gMqLdZfhOQY1Mzf/AanLiqh1WTiJgEj26ZuYQ9fbkLomzGchCws4FyrSd4VkpBfiNhaE1On+lOz894jvXg==" + "resolved" "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz" + "version" "1.0.1" + dependencies: + "hash.js" "^1.0.3" + "minimalistic-assert" "^1.0.0" + "minimalistic-crypto-utils" "^1.0.1" + +"hoist-non-react-statics@^3.3.2": + "integrity" "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==" + "resolved" "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz" + "version" "3.3.2" + dependencies: + "react-is" "^16.7.0" + +"hosted-git-info@^2.6.0": + "integrity" "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==" + "resolved" "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz" + "version" "2.8.9" + +"html-encoding-sniffer@^2.0.1": + "integrity" "sha512-D5JbOMBIR/TVZkubHT+OyT2705QvogUW4IBn6nHd756OwieSF9aDYFj4dv6HHEVGYbHaLETa3WggZYWWMyy3ZQ==" + "resolved" "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-2.0.1.tgz" + "version" "2.0.1" + dependencies: + "whatwg-encoding" "^1.0.5" + +"html-escaper@^2.0.0": + "integrity" "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==" + "resolved" "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz" + "version" "2.0.2" + +"http-cache-semantics@^4.0.0": + "integrity" "sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==" + "resolved" "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz" + "version" "4.1.1" + +"http-errors@^1.7.2": + "integrity" "sha512-Kpk9Sm7NmI+RHhnj6OIWDI1d6fIoFAtFt9RLaTMRlg/8w49juAStsrBgp0Dp4OdxdVbRIeKhtCUvoi/RuAhO4g==" + "resolved" "https://registry.npmjs.org/http-errors/-/http-errors-1.8.1.tgz" + "version" "1.8.1" + dependencies: + "depd" "~1.1.2" + "inherits" "2.0.4" + "setprototypeof" "1.2.0" + "statuses" ">= 1.5.0 < 2" + "toidentifier" "1.0.1" + +"http-errors@2.0.0": + "integrity" "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==" + "resolved" "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz" + "version" "2.0.0" + dependencies: + "depd" "2.0.0" + "inherits" "2.0.4" + "setprototypeof" "1.2.0" + "statuses" "2.0.1" + "toidentifier" "1.0.1" + +"http-https@^1.0.0": + "integrity" "sha512-o0PWwVCSp3O0wS6FvNr6xfBCHgt0m1tvPLFOCc2iFDKTRAXhB7m8klDf7ErowFH8POa6dVdGatKU5I1YYwzUyg==" + "resolved" "https://registry.npmjs.org/http-https/-/http-https-1.0.0.tgz" + "version" "1.0.0" + +"http-proxy-agent@^4.0.1": + "integrity" "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==" + "resolved" "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz" + "version" "4.0.1" dependencies: "@tootallnate/once" "1" - agent-base "6" - debug "4" - -http-signature@~1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.2.0.tgz#9aecd925114772f3d95b65a60abb8f7c18fbace1" - integrity sha512-CAbnr6Rz4CYQkLYUtSNXxQPUH2gK8f3iWexVlsnMeD+GjlsQ0Xsy1cOX+mN3dtxYomRy21CiOzU8Uhw6OwncEQ== - dependencies: - assert-plus "^1.0.0" - jsprim "^1.2.2" - sshpk "^1.7.0" - -http-status-codes@2.2.0, http-status-codes@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/http-status-codes/-/http-status-codes-2.2.0.tgz#bb2efe63d941dfc2be18e15f703da525169622be" - integrity sha512-feERVo9iWxvnejp3SEfm/+oNG517npqL2/PIA8ORjyOZjGC7TwCRQsZylciLS64i6pJ0wRYz3rkXLRwbtFa8Ng== - -http2-wrapper@^1.0.0-beta.5.2: - version "1.0.3" - resolved "https://registry.yarnpkg.com/http2-wrapper/-/http2-wrapper-1.0.3.tgz#b8f55e0c1f25d4ebd08b3b0c2c079f9590800b3d" - integrity sha512-V+23sDMr12Wnz7iTcDeJr3O6AIxlnvT/bmaAAAP/Xda35C90p9599p0F1eHR/N1KILWSoWVAiOMFjBBXaXSMxg== - dependencies: - quick-lru "^5.1.1" - resolve-alpn "^1.0.0" - -http2-wrapper@^2.1.10: - version "2.2.0" - resolved "https://registry.yarnpkg.com/http2-wrapper/-/http2-wrapper-2.2.0.tgz#b80ad199d216b7d3680195077bd7b9060fa9d7f3" - integrity sha512-kZB0wxMo0sh1PehyjJUWRFEd99KC5TLjZ2cULC4f9iqJBAmKQQXEICjxl5iPJRwP40dpeHFqqhm7tYCvODpqpQ== - dependencies: - quick-lru "^5.1.1" - resolve-alpn "^1.2.0" - -https-proxy-agent@^5.0.0: - version "5.0.1" - resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz#c59ef224a04fe8b754f3db0063a25ea30d0005d6" - integrity sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA== - dependencies: - agent-base "6" - debug "4" - -human-signals@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0" - integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw== - -humanize-ms@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/humanize-ms/-/humanize-ms-1.2.1.tgz#c46e3159a293f6b896da29316d8b6fe8bb79bbed" - integrity sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ== - dependencies: - ms "^2.0.0" - -iconv-lite@0.4.24: - version "0.4.24" - resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" - integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA== - dependencies: - safer-buffer ">= 2.1.2 < 3" - -idna-uts46-hx@^2.3.1: - version "2.3.1" - resolved "https://registry.yarnpkg.com/idna-uts46-hx/-/idna-uts46-hx-2.3.1.tgz#a1dc5c4df37eee522bf66d969cc980e00e8711f9" - integrity sha512-PWoF9Keq6laYdIRwwCdhTPl60xRqAloYNMQLiyUnG42VjT53oW07BXIRM+NK7eQjzXjAk2gUvX9caRxlnF9TAA== - dependencies: - punycode "2.1.0" - -ieee754@^1.1.13, ieee754@^1.1.4, ieee754@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" - integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== - -ignore-by-default@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/ignore-by-default/-/ignore-by-default-1.0.1.tgz#48ca6d72f6c6a3af00a9ad4ae6876be3889e2b09" - integrity sha512-Ius2VYcGNk7T90CppJqcIkS5ooHUZyIQK+ClZfMfMNFEF9VSE73Fq+906u/CWu92x4gzZMWOwfFYckPObzdEbA== - -ignore@^4.0.6: - version "4.0.6" - resolved "https://registry.yarnpkg.com/ignore/-/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc" - integrity sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg== - -ignore@^5.1.1, ignore@^5.1.8, ignore@^5.2.0: - version "5.2.4" - resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.4.tgz#a291c0c6178ff1b960befe47fcdec301674a6324" - integrity sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ== - -immediate@3.3.0, immediate@^3.2.3: - version "3.3.0" - resolved "https://registry.yarnpkg.com/immediate/-/immediate-3.3.0.tgz#1aef225517836bcdf7f2a2de2600c79ff0269266" - integrity sha512-HR7EVodfFUdQCTIeySw+WDRFJlPcLOJbXfwwZ7Oom6tjsvZ3bOkCDJHehQC3nxJrv7+f9XecwazynjU8e4Vw3Q== - -immutable@^4.0.0-rc.12, immutable@^4.2.4: - version "4.3.0" - resolved "https://registry.yarnpkg.com/immutable/-/immutable-4.3.0.tgz#eb1738f14ffb39fd068b1dbe1296117484dd34be" - integrity sha512-0AOCmOip+xgJwEVTQj1EfiDDOkPmuyllDuTuEX+DDXUgapLAsBIfkg3sxCYyCEA8mQqZrrxPUGjcOQ2JS3WLkg== - -import-fresh@^3.0.0, import-fresh@^3.2.1: - version "3.3.0" - resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b" - integrity sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw== - dependencies: - parent-module "^1.0.0" - resolve-from "^4.0.0" - -import-local@^3.0.2: - version "3.1.0" - resolved "https://registry.yarnpkg.com/import-local/-/import-local-3.1.0.tgz#b4479df8a5fd44f6cdce24070675676063c95cb4" - integrity sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg== - dependencies: - pkg-dir "^4.2.0" - resolve-cwd "^3.0.0" - -imurmurhash@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" - integrity sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA== - -indent-string@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-4.0.0.tgz#624f8f4497d619b2d9768531d58f4122854d7251" - integrity sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg== - -inflight@^1.0.4: - version "1.0.6" - resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" - integrity sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA== - dependencies: - once "^1.3.0" - wrappy "1" - -inherits@2, inherits@2.0.4, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.1, inherits@~2.0.3, inherits@~2.0.4: - version "2.0.4" - resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" - integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== - -int64-buffer@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/int64-buffer/-/int64-buffer-1.0.1.tgz#c78d841b444cadf036cd04f8683696c740f15dca" - integrity sha512-+3azY4pXrjAupJHU1V9uGERWlhoqNswJNji6aD/02xac7oxol508AsMC5lxKhEqyZeDFy3enq5OGWXF4u75hiw== - -internal-slot@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/internal-slot/-/internal-slot-1.0.5.tgz#f2a2ee21f668f8627a4667f309dc0f4fb6674986" - integrity sha512-Y+R5hJrzs52QCG2laLn4udYVnxsfny9CpOhNhUvk/SSSVyF6T27FzRbF0sroPidSu3X8oEAkOn2K804mjpt6UQ== - dependencies: - get-intrinsic "^1.2.0" - has "^1.0.3" - side-channel "^1.0.4" - -interpret@^1.0.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.4.0.tgz#665ab8bc4da27a774a40584e812e3e0fa45b1a1e" - integrity sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA== - -invariant@2: - version "2.2.4" - resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" - integrity sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA== - dependencies: - loose-envify "^1.0.0" - -invert-kv@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/invert-kv/-/invert-kv-2.0.0.tgz#7393f5afa59ec9ff5f67a27620d11c226e3eec02" - integrity sha512-wPVv/y/QQ/Uiirj/vh3oP+1Ww+AWehmi1g5fFWGPF6IpCBCDVrhgHRMvrLfdYcwDh3QJbGXDW4JAuzxElLSqKA== - -io-ts@1.10.4: - version "1.10.4" - resolved "https://registry.yarnpkg.com/io-ts/-/io-ts-1.10.4.tgz#cd5401b138de88e4f920adbcb7026e2d1967e6e2" - integrity sha512-b23PteSnYXSONJ6JQXRAlvJhuw8KOtkqa87W4wDtvMrud/DTJd5X+NpOOI+O/zZwVq6v0VLAaJ+1EDViKEuN9g== - dependencies: - fp-ts "^1.0.0" - -ip@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/ip/-/ip-2.0.0.tgz#4cf4ab182fee2314c75ede1276f8c80b479936da" - integrity sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ== - -ipaddr.js@1.9.1: - version "1.9.1" - resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.9.1.tgz#bff38543eeb8984825079ff3a2a8e6cbd46781b3" - integrity sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g== - -is-accessor-descriptor@^0.1.6: - version "0.1.6" - resolved "https://registry.yarnpkg.com/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz#a9e12cb3ae8d876727eeef3843f8a0897b5c98d6" - integrity sha512-e1BM1qnDbMRG3ll2U9dSK0UMHuWOs3pY3AtcFsmvwPtKL3MML/Q86i+GilLfvqEs4GW+ExB91tQ3Ig9noDIZ+A== - dependencies: - kind-of "^3.0.2" - -is-accessor-descriptor@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz#169c2f6d3df1f992618072365c9b0ea1f6878656" - integrity sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ== - dependencies: - kind-of "^6.0.0" - -is-arguments@^1.0.4: - version "1.1.1" - resolved "https://registry.yarnpkg.com/is-arguments/-/is-arguments-1.1.1.tgz#15b3f88fda01f2a97fec84ca761a560f123efa9b" - integrity sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA== - dependencies: - call-bind "^1.0.2" - has-tostringtag "^1.0.0" - -is-array-buffer@^3.0.1, is-array-buffer@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/is-array-buffer/-/is-array-buffer-3.0.2.tgz#f2653ced8412081638ecb0ebbd0c41c6e0aecbbe" - integrity sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w== - dependencies: - call-bind "^1.0.2" - get-intrinsic "^1.2.0" - is-typed-array "^1.1.10" - -is-arrayish@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" - integrity sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg== - -is-arrayish@^0.3.1: - version "0.3.2" - resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.3.2.tgz#4574a2ae56f7ab206896fb431eaeed066fdf8f03" - integrity sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ== - -is-bigint@^1.0.1: - version "1.0.4" - resolved "https://registry.yarnpkg.com/is-bigint/-/is-bigint-1.0.4.tgz#08147a1875bc2b32005d41ccd8291dffc6691df3" - integrity sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg== - dependencies: - has-bigints "^1.0.1" - -is-binary-path@~2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09" - integrity sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw== - dependencies: - binary-extensions "^2.0.0" - -is-boolean-object@^1.1.0: - version "1.1.2" - resolved "https://registry.yarnpkg.com/is-boolean-object/-/is-boolean-object-1.1.2.tgz#5c6dc200246dd9321ae4b885a114bb1f75f63719" - integrity sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA== - dependencies: - call-bind "^1.0.2" - has-tostringtag "^1.0.0" - -is-buffer@^1.1.5: - version "1.1.6" - resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" - integrity sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w== - -is-buffer@^2.0.5: - version "2.0.5" - resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-2.0.5.tgz#ebc252e400d22ff8d77fa09888821a24a658c191" - integrity sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ== - -is-callable@^1.1.3, is-callable@^1.1.4, is-callable@^1.2.7: - version "1.2.7" - resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.7.tgz#3bc2a85ea742d9e36205dcacdd72ca1fdc51b055" - integrity sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA== - -is-core-module@^2.11.0, is-core-module@^2.9.0: - version "2.11.0" - resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.11.0.tgz#ad4cb3e3863e814523c96f3f58d26cc570ff0144" - integrity sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw== + "agent-base" "6" + "debug" "4" + +"http-signature@~1.2.0": + "integrity" "sha512-CAbnr6Rz4CYQkLYUtSNXxQPUH2gK8f3iWexVlsnMeD+GjlsQ0Xsy1cOX+mN3dtxYomRy21CiOzU8Uhw6OwncEQ==" + "resolved" "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz" + "version" "1.2.0" + dependencies: + "assert-plus" "^1.0.0" + "jsprim" "^1.2.2" + "sshpk" "^1.7.0" + +"http-status-codes@^2.2.0", "http-status-codes@2.2.0": + "integrity" "sha512-feERVo9iWxvnejp3SEfm/+oNG517npqL2/PIA8ORjyOZjGC7TwCRQsZylciLS64i6pJ0wRYz3rkXLRwbtFa8Ng==" + "resolved" "https://registry.npmjs.org/http-status-codes/-/http-status-codes-2.2.0.tgz" + "version" "2.2.0" + +"http2-wrapper@^1.0.0-beta.5.2": + "integrity" "sha512-V+23sDMr12Wnz7iTcDeJr3O6AIxlnvT/bmaAAAP/Xda35C90p9599p0F1eHR/N1KILWSoWVAiOMFjBBXaXSMxg==" + "resolved" "https://registry.npmjs.org/http2-wrapper/-/http2-wrapper-1.0.3.tgz" + "version" "1.0.3" + dependencies: + "quick-lru" "^5.1.1" + "resolve-alpn" "^1.0.0" + +"http2-wrapper@^2.1.10": + "integrity" "sha512-kZB0wxMo0sh1PehyjJUWRFEd99KC5TLjZ2cULC4f9iqJBAmKQQXEICjxl5iPJRwP40dpeHFqqhm7tYCvODpqpQ==" + "resolved" "https://registry.npmjs.org/http2-wrapper/-/http2-wrapper-2.2.0.tgz" + "version" "2.2.0" + dependencies: + "quick-lru" "^5.1.1" + "resolve-alpn" "^1.2.0" + +"https-proxy-agent@^5.0.0": + "integrity" "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==" + "resolved" "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz" + "version" "5.0.1" + dependencies: + "agent-base" "6" + "debug" "4" + +"human-signals@^2.1.0": + "integrity" "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==" + "resolved" "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz" + "version" "2.1.0" + +"humanize-ms@^1.2.1": + "integrity" "sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==" + "resolved" "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz" + "version" "1.2.1" + dependencies: + "ms" "^2.0.0" + +"iconv-lite@0.4.24": + "integrity" "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==" + "resolved" "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz" + "version" "0.4.24" + dependencies: + "safer-buffer" ">= 2.1.2 < 3" + +"idna-uts46-hx@^2.3.1": + "integrity" "sha512-PWoF9Keq6laYdIRwwCdhTPl60xRqAloYNMQLiyUnG42VjT53oW07BXIRM+NK7eQjzXjAk2gUvX9caRxlnF9TAA==" + "resolved" "https://registry.npmjs.org/idna-uts46-hx/-/idna-uts46-hx-2.3.1.tgz" + "version" "2.3.1" + dependencies: + "punycode" "2.1.0" + +"ieee754@^1.1.13", "ieee754@^1.1.4", "ieee754@^1.2.1": + "integrity" "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==" + "resolved" "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz" + "version" "1.2.1" + +"ignore-by-default@^1.0.1": + "integrity" "sha512-Ius2VYcGNk7T90CppJqcIkS5ooHUZyIQK+ClZfMfMNFEF9VSE73Fq+906u/CWu92x4gzZMWOwfFYckPObzdEbA==" + "resolved" "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-1.0.1.tgz" + "version" "1.0.1" + +"ignore@^4.0.6": + "integrity" "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==" + "resolved" "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz" + "version" "4.0.6" + +"ignore@^5.1.1", "ignore@^5.1.8", "ignore@^5.2.0": + "integrity" "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==" + "resolved" "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz" + "version" "5.2.4" + +"immediate@^3.2.3", "immediate@3.3.0": + "integrity" "sha512-HR7EVodfFUdQCTIeySw+WDRFJlPcLOJbXfwwZ7Oom6tjsvZ3bOkCDJHehQC3nxJrv7+f9XecwazynjU8e4Vw3Q==" + "resolved" "https://registry.npmjs.org/immediate/-/immediate-3.3.0.tgz" + "version" "3.3.0" + +"immutable@^4.0.0-rc.12", "immutable@^4.2.4": + "integrity" "sha512-0AOCmOip+xgJwEVTQj1EfiDDOkPmuyllDuTuEX+DDXUgapLAsBIfkg3sxCYyCEA8mQqZrrxPUGjcOQ2JS3WLkg==" + "resolved" "https://registry.npmjs.org/immutable/-/immutable-4.3.0.tgz" + "version" "4.3.0" + +"import-fresh@^3.0.0", "import-fresh@^3.2.1": + "integrity" "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==" + "resolved" "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz" + "version" "3.3.0" + dependencies: + "parent-module" "^1.0.0" + "resolve-from" "^4.0.0" + +"import-local@^3.0.2": + "integrity" "sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg==" + "resolved" "https://registry.npmjs.org/import-local/-/import-local-3.1.0.tgz" + "version" "3.1.0" + dependencies: + "pkg-dir" "^4.2.0" + "resolve-cwd" "^3.0.0" + +"imurmurhash@^0.1.4": + "integrity" "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==" + "resolved" "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz" + "version" "0.1.4" + +"indent-string@^4.0.0": + "integrity" "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==" + "resolved" "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz" + "version" "4.0.0" + +"inflight@^1.0.4": + "integrity" "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==" + "resolved" "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz" + "version" "1.0.6" + dependencies: + "once" "^1.3.0" + "wrappy" "1" + +"inherits@^2.0.1", "inherits@^2.0.3", "inherits@^2.0.4", "inherits@~2.0.1", "inherits@~2.0.3", "inherits@~2.0.4", "inherits@2", "inherits@2.0.4": + "integrity" "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + "resolved" "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz" + "version" "2.0.4" + +"int64-buffer@^1.0.1": + "integrity" "sha512-+3azY4pXrjAupJHU1V9uGERWlhoqNswJNji6aD/02xac7oxol508AsMC5lxKhEqyZeDFy3enq5OGWXF4u75hiw==" + "resolved" "https://registry.npmjs.org/int64-buffer/-/int64-buffer-1.0.1.tgz" + "version" "1.0.1" + +"internal-slot@^1.0.5": + "integrity" "sha512-Y+R5hJrzs52QCG2laLn4udYVnxsfny9CpOhNhUvk/SSSVyF6T27FzRbF0sroPidSu3X8oEAkOn2K804mjpt6UQ==" + "resolved" "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.5.tgz" + "version" "1.0.5" + dependencies: + "get-intrinsic" "^1.2.0" + "has" "^1.0.3" + "side-channel" "^1.0.4" + +"interpret@^1.0.0": + "integrity" "sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==" + "resolved" "https://registry.npmjs.org/interpret/-/interpret-1.4.0.tgz" + "version" "1.4.0" + +"invariant@2": + "integrity" "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==" + "resolved" "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz" + "version" "2.2.4" + dependencies: + "loose-envify" "^1.0.0" + +"invert-kv@^2.0.0": + "integrity" "sha512-wPVv/y/QQ/Uiirj/vh3oP+1Ww+AWehmi1g5fFWGPF6IpCBCDVrhgHRMvrLfdYcwDh3QJbGXDW4JAuzxElLSqKA==" + "resolved" "https://registry.npmjs.org/invert-kv/-/invert-kv-2.0.0.tgz" + "version" "2.0.0" + +"io-ts@1.10.4": + "integrity" "sha512-b23PteSnYXSONJ6JQXRAlvJhuw8KOtkqa87W4wDtvMrud/DTJd5X+NpOOI+O/zZwVq6v0VLAaJ+1EDViKEuN9g==" + "resolved" "https://registry.npmjs.org/io-ts/-/io-ts-1.10.4.tgz" + "version" "1.10.4" + dependencies: + "fp-ts" "^1.0.0" + +"ip@^2.0.0": + "integrity" "sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ==" + "resolved" "https://registry.npmjs.org/ip/-/ip-2.0.0.tgz" + "version" "2.0.0" + +"ipaddr.js@1.9.1": + "integrity" "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==" + "resolved" "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz" + "version" "1.9.1" + +"is-accessor-descriptor@^0.1.6": + "integrity" "sha512-e1BM1qnDbMRG3ll2U9dSK0UMHuWOs3pY3AtcFsmvwPtKL3MML/Q86i+GilLfvqEs4GW+ExB91tQ3Ig9noDIZ+A==" + "resolved" "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz" + "version" "0.1.6" + dependencies: + "kind-of" "^3.0.2" + +"is-accessor-descriptor@^1.0.0": + "integrity" "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==" + "resolved" "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz" + "version" "1.0.0" + dependencies: + "kind-of" "^6.0.0" + +"is-arguments@^1.0.4": + "integrity" "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==" + "resolved" "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz" + "version" "1.1.1" + dependencies: + "call-bind" "^1.0.2" + "has-tostringtag" "^1.0.0" + +"is-array-buffer@^3.0.1", "is-array-buffer@^3.0.2": + "integrity" "sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w==" + "resolved" "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.2.tgz" + "version" "3.0.2" + dependencies: + "call-bind" "^1.0.2" + "get-intrinsic" "^1.2.0" + "is-typed-array" "^1.1.10" + +"is-arrayish@^0.2.1": + "integrity" "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==" + "resolved" "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz" + "version" "0.2.1" + +"is-arrayish@^0.3.1": + "integrity" "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==" + "resolved" "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz" + "version" "0.3.2" + +"is-bigint@^1.0.1": + "integrity" "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==" + "resolved" "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz" + "version" "1.0.4" + dependencies: + "has-bigints" "^1.0.1" + +"is-binary-path@~2.1.0": + "integrity" "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==" + "resolved" "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz" + "version" "2.1.0" + dependencies: + "binary-extensions" "^2.0.0" + +"is-boolean-object@^1.1.0": + "integrity" "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==" + "resolved" "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz" + "version" "1.1.2" + dependencies: + "call-bind" "^1.0.2" + "has-tostringtag" "^1.0.0" + +"is-buffer@^1.1.5": + "integrity" "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==" + "resolved" "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz" + "version" "1.1.6" + +"is-buffer@^2.0.5": + "integrity" "sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==" + "resolved" "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.5.tgz" + "version" "2.0.5" + +"is-callable@^1.1.3", "is-callable@^1.1.4", "is-callable@^1.2.7": + "integrity" "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==" + "resolved" "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz" + "version" "1.2.7" + +"is-core-module@^2.11.0", "is-core-module@^2.9.0": + "integrity" "sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==" + "resolved" "https://registry.npmjs.org/is-core-module/-/is-core-module-2.11.0.tgz" + "version" "2.11.0" dependencies: - has "^1.0.3" - -is-data-descriptor@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz#0b5ee648388e2c860282e793f1856fec3f301b56" - integrity sha512-+w9D5ulSoBNlmw9OHn3U2v51SyoCd0he+bB3xMl62oijhrspxowjU+AIcDY0N3iEJbUEkB15IlMASQsxYigvXg== + "has" "^1.0.3" + +"is-data-descriptor@^0.1.4": + "integrity" "sha512-+w9D5ulSoBNlmw9OHn3U2v51SyoCd0he+bB3xMl62oijhrspxowjU+AIcDY0N3iEJbUEkB15IlMASQsxYigvXg==" + "resolved" "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz" + "version" "0.1.4" dependencies: - kind-of "^3.0.2" - -is-data-descriptor@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz#d84876321d0e7add03990406abbbbd36ba9268c7" - integrity sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ== - dependencies: - kind-of "^6.0.0" + "kind-of" "^3.0.2" + +"is-data-descriptor@^1.0.0": + "integrity" "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==" + "resolved" "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz" + "version" "1.0.0" + dependencies: + "kind-of" "^6.0.0" -is-date-object@^1.0.1: - version "1.0.5" - resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.5.tgz#0841d5536e724c25597bf6ea62e1bd38298df31f" - integrity sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ== +"is-date-object@^1.0.1": + "integrity" "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==" + "resolved" "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz" + "version" "1.0.5" dependencies: - has-tostringtag "^1.0.0" + "has-tostringtag" "^1.0.0" -is-descriptor@^0.1.0: - version "0.1.6" - resolved "https://registry.yarnpkg.com/is-descriptor/-/is-descriptor-0.1.6.tgz#366d8240dde487ca51823b1ab9f07a10a78251ca" - integrity sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg== +"is-descriptor@^0.1.0": + "integrity" "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==" + "resolved" "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz" + "version" "0.1.6" dependencies: - is-accessor-descriptor "^0.1.6" - is-data-descriptor "^0.1.4" - kind-of "^5.0.0" - -is-descriptor@^1.0.0, is-descriptor@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-descriptor/-/is-descriptor-1.0.2.tgz#3b159746a66604b04f8c81524ba365c5f14d86ec" - integrity sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg== - dependencies: - is-accessor-descriptor "^1.0.0" - is-data-descriptor "^1.0.0" - kind-of "^6.0.2" - -is-extendable@^0.1.0, is-extendable@^0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89" - integrity sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw== - -is-extendable@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-1.0.1.tgz#a7470f9e426733d81bd81e1155264e3a3507cab4" - integrity sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA== + "is-accessor-descriptor" "^0.1.6" + "is-data-descriptor" "^0.1.4" + "kind-of" "^5.0.0" + +"is-descriptor@^1.0.0", "is-descriptor@^1.0.2": + "integrity" "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==" + "resolved" "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz" + "version" "1.0.2" + dependencies: + "is-accessor-descriptor" "^1.0.0" + "is-data-descriptor" "^1.0.0" + "kind-of" "^6.0.2" + +"is-extendable@^0.1.0", "is-extendable@^0.1.1": + "integrity" "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==" + "resolved" "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz" + "version" "0.1.1" + +"is-extendable@^1.0.1": + "integrity" "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==" + "resolved" "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz" + "version" "1.0.1" dependencies: - is-plain-object "^2.0.4" + "is-plain-object" "^2.0.4" -is-extglob@^2.1.0, is-extglob@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" - integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ== +"is-extglob@^2.1.0", "is-extglob@^2.1.1": + "integrity" "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==" + "resolved" "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz" + "version" "2.1.1" -is-fullwidth-code-point@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz#ef9e31386f031a7f0d643af82fde50c457ef00cb" - integrity sha512-1pqUqRjkhPJ9miNq9SwMfdvi6lBJcd6eFxvfaivQhaH3SgisfiuudvFntdKOmxuee/77l+FPjKrQjWvmPjWrRw== +"is-fullwidth-code-point@^1.0.0": + "integrity" "sha512-1pqUqRjkhPJ9miNq9SwMfdvi6lBJcd6eFxvfaivQhaH3SgisfiuudvFntdKOmxuee/77l+FPjKrQjWvmPjWrRw==" + "resolved" "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz" + "version" "1.0.0" dependencies: - number-is-nan "^1.0.0" + "number-is-nan" "^1.0.0" -is-fullwidth-code-point@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f" - integrity sha512-VHskAKYM8RfSFXwee5t5cbN5PZeq1Wrh6qd5bkyiXIf6UQcN6w/A0eXM9r6t8d+GYOh+o6ZhiEnb88LN/Y8m2w== +"is-fullwidth-code-point@^2.0.0": + "integrity" "sha512-VHskAKYM8RfSFXwee5t5cbN5PZeq1Wrh6qd5bkyiXIf6UQcN6w/A0eXM9r6t8d+GYOh+o6ZhiEnb88LN/Y8m2w==" + "resolved" "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz" + "version" "2.0.0" -is-fullwidth-code-point@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" - integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== - -is-function@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-function/-/is-function-1.0.2.tgz#4f097f30abf6efadac9833b17ca5dc03f8144e08" - integrity sha512-lw7DUp0aWXYg+CBCN+JKkcE0Q2RayZnSvnZBlwgxHBQhqt5pZNVy4Ri7H9GmmXkdu7LUthszM+Tor1u/2iBcpQ== - -is-generator-fn@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/is-generator-fn/-/is-generator-fn-2.1.0.tgz#7d140adc389aaf3011a8f2a2a4cfa6faadffb118" - integrity sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ== - -is-generator-function@^1.0.7: - version "1.0.10" - resolved "https://registry.yarnpkg.com/is-generator-function/-/is-generator-function-1.0.10.tgz#f1558baf1ac17e0deea7c0415c438351ff2b3c72" - integrity sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A== - dependencies: - has-tostringtag "^1.0.0" - -is-glob@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-3.1.0.tgz#7ba5ae24217804ac70707b96922567486cc3e84a" - integrity sha512-UFpDDrPgM6qpnFNI+rh/p3bUaq9hKLZN8bMUWzxmcnZVS3omf4IPK+BrewlnWjO1WmUsMYuSjKh4UJuV4+Lqmw== - dependencies: - is-extglob "^2.1.0" - -is-glob@^4.0.0, is-glob@^4.0.1, is-glob@^4.0.3, is-glob@~4.0.1: - version "4.0.3" - resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084" - integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg== - dependencies: - is-extglob "^2.1.1" - -is-hex-prefixed@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-hex-prefixed/-/is-hex-prefixed-1.0.0.tgz#7d8d37e6ad77e5d127148913c573e082d777f554" - integrity sha512-WvtOiug1VFrE9v1Cydwm+FnXd3+w9GaeVUss5W4v/SLy3UW00vP+6iNF2SdnfiBoLy4bTqVdkftNGTUeOFVsbA== - -is-lower-case@^1.1.0: - version "1.1.3" - resolved "https://registry.yarnpkg.com/is-lower-case/-/is-lower-case-1.1.3.tgz#7e147be4768dc466db3bfb21cc60b31e6ad69393" - integrity sha512-+5A1e/WJpLLXZEDlgz4G//WYSHyQBD32qa4Jd3Lw06qQlv3fJHnp3YIHjTQSGzHMgzmVKz2ZP3rBxTHkPw/lxA== - dependencies: - lower-case "^1.1.0" - -is-nan@^1.2.1: - version "1.3.2" - resolved "https://registry.yarnpkg.com/is-nan/-/is-nan-1.3.2.tgz#043a54adea31748b55b6cd4e09aadafa69bd9e1d" - integrity sha512-E+zBKpQ2t6MEo1VsonYmluk9NxGrbzpeeLC2xIViuO2EjU2xsXsBPwTr3Ykv9l08UYEVEdWeRZNouaZqF6RN0w== - dependencies: - call-bind "^1.0.0" - define-properties "^1.1.3" - -is-natural-number@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/is-natural-number/-/is-natural-number-4.0.1.tgz#ab9d76e1db4ced51e35de0c72ebecf09f734cde8" - integrity sha512-Y4LTamMe0DDQIIAlaer9eKebAlDSV6huy+TWhJVPlzZh2o4tRP5SQWFlLn5N0To4mDD22/qdOq+veo1cSISLgQ== - -is-negative-zero@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/is-negative-zero/-/is-negative-zero-2.0.2.tgz#7bf6f03a28003b8b3965de3ac26f664d765f3150" - integrity sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA== - -is-number-object@^1.0.4: - version "1.0.7" - resolved "https://registry.yarnpkg.com/is-number-object/-/is-number-object-1.0.7.tgz#59d50ada4c45251784e9904f5246c742f07a42fc" - integrity sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ== - dependencies: - has-tostringtag "^1.0.0" - -is-number@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/is-number/-/is-number-3.0.0.tgz#24fd6201a4782cf50561c810276afc7d12d71195" - integrity sha512-4cboCqIpliH+mAvFNegjZQ4kgKc3ZUhQVr3HvWbSh5q3WH2v82ct+T2Y1hdU5Gdtorx/cLifQjqCbL7bpznLTg== - dependencies: - kind-of "^3.0.2" - -is-number@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" - integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== - -is-obj@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/is-obj/-/is-obj-2.0.0.tgz#473fb05d973705e3fd9620545018ca8e22ef4982" - integrity sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w== - -is-object@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-object/-/is-object-1.0.2.tgz#a56552e1c665c9e950b4a025461da87e72f86fcf" - integrity sha512-2rRIahhZr2UWb45fIOuvZGpFtz0TyOZLf32KxBbSoUCeZR495zCKlWUKKUByk3geS2eAs7ZAABt0Y/Rx0GiQGA== - -is-plain-obj@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-1.1.0.tgz#71a50c8429dfca773c92a390a4a03b39fcd51d3e" - integrity sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg== - -is-plain-obj@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-2.1.0.tgz#45e42e37fccf1f40da8e5f76ee21515840c09287" - integrity sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA== - -is-plain-object@^2.0.3, is-plain-object@^2.0.4: - version "2.0.4" - resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-2.0.4.tgz#2c163b3fafb1b606d9d17928f05c2a1c38e07677" - integrity sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og== - dependencies: - isobject "^3.0.1" - -is-potential-custom-element-name@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz#171ed6f19e3ac554394edf78caa05784a45bebb5" - integrity sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ== - -is-regex@^1.1.4: - version "1.1.4" - resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.1.4.tgz#eef5663cd59fa4c0ae339505323df6854bb15958" - integrity sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg== - dependencies: - call-bind "^1.0.2" - has-tostringtag "^1.0.0" - -is-retry-allowed@^1.0.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/is-retry-allowed/-/is-retry-allowed-1.2.0.tgz#d778488bd0a4666a3be8a1482b9f2baafedea8b4" - integrity sha512-RUbUeKwvm3XG2VYamhJL1xFktgjvPzL0Hq8C+6yrWIswDy3BIXGqCxhxkc30N9jqK311gVU137K8Ei55/zVJRg== - -is-shared-array-buffer@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz#8f259c573b60b6a32d4058a1a07430c0a7344c79" - integrity sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA== - dependencies: - call-bind "^1.0.2" - -is-stream@^1.0.0, is-stream@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" - integrity sha512-uQPm8kcs47jx38atAcWTVxyltQYoPT68y9aWYdV6yWXSyW8mzSat0TL6CiWdZeCdF3KrAvpVtnHbTv4RN+rqdQ== - -is-stream@^2.0.0, is-stream@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-2.0.1.tgz#fac1e3d53b97ad5a9d0ae9cef2389f5810a5c077" - integrity sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg== - -is-string@^1.0.5, is-string@^1.0.7: - version "1.0.7" - resolved "https://registry.yarnpkg.com/is-string/-/is-string-1.0.7.tgz#0dd12bf2006f255bb58f695110eff7491eebc0fd" - integrity sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg== - dependencies: - has-tostringtag "^1.0.0" - -is-symbol@^1.0.2, is-symbol@^1.0.3: - version "1.0.4" - resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.4.tgz#a6dac93b635b063ca6872236de88910a57af139c" - integrity sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg== - dependencies: - has-symbols "^1.0.2" - -is-typed-array@^1.1.10, is-typed-array@^1.1.3, is-typed-array@^1.1.9: - version "1.1.10" - resolved "https://registry.yarnpkg.com/is-typed-array/-/is-typed-array-1.1.10.tgz#36a5b5cb4189b575d1a3e4b08536bfb485801e3f" - integrity sha512-PJqgEHiWZvMpaFZ3uTc8kHPM4+4ADTlDniuQL7cU/UDA0Ql7F70yGfHph3cLNe+c9toaigv+DFzTJKhc2CtO6A== - dependencies: - available-typed-arrays "^1.0.5" - call-bind "^1.0.2" - for-each "^0.3.3" - gopd "^1.0.1" - has-tostringtag "^1.0.0" - -is-typedarray@^1.0.0, is-typedarray@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" - integrity sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA== - -is-unicode-supported@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz#3f26c76a809593b52bfa2ecb5710ed2779b522a7" - integrity sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw== - -is-upper-case@^1.1.0: - version "1.1.2" - resolved "https://registry.yarnpkg.com/is-upper-case/-/is-upper-case-1.1.2.tgz#8d0b1fa7e7933a1e58483600ec7d9661cbaf756f" - integrity sha512-GQYSJMgfeAmVwh9ixyk888l7OIhNAGKtY6QA+IrWlu9MDTCaXmeozOZ2S9Knj7bQwBO/H6J2kb+pbyTUiMNbsw== - dependencies: - upper-case "^1.1.0" - -is-weakref@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-weakref/-/is-weakref-1.0.2.tgz#9529f383a9338205e89765e0392efc2f100f06f2" - integrity sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ== - dependencies: - call-bind "^1.0.2" - -is-windows@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d" - integrity sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA== - -isarray@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/isarray/-/isarray-0.0.1.tgz#8a18acfca9a8f4177e09abfc6038939b05d1eedf" - integrity sha512-D2S+3GLxWH+uhrNEcoh/fnmYeP8E8/zHl644d/jdA0g2uyXvy3sb0qxotE+ne0LtccHknQzWwZEzhak7oJ0COQ== - -isarray@1.0.0, isarray@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" - integrity sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ== - -isarray@^2.0.1: - version "2.0.5" - resolved "https://registry.yarnpkg.com/isarray/-/isarray-2.0.5.tgz#8af1e4c1221244cc62459faf38940d4e644a5723" - integrity sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw== - -isexe@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" - integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw== - -isnumber@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/isnumber/-/isnumber-1.0.0.tgz#0e3f9759b581d99dd85086f0ec2a74909cfadd01" - integrity sha512-JLiSz/zsZcGFXPrB4I/AGBvtStkt+8QmksyZBZnVXnnK9XdTEyz0tX8CRYljtwYDuIuZzih6DpHQdi+3Q6zHPw== - -isobject@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/isobject/-/isobject-2.1.0.tgz#f065561096a3f1da2ef46272f815c840d87e0c89" - integrity sha512-+OUdGJlgjOBZDfxnDjYYG6zp487z0JGNQq3cYQYg5f5hKR+syHMsaztzGeml/4kGG55CSpKSpWTY+jYGgsHLgA== - dependencies: - isarray "1.0.0" - -isobject@^3.0.0, isobject@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df" - integrity sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg== - -isomorphic-unfetch@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/isomorphic-unfetch/-/isomorphic-unfetch-3.1.0.tgz#87341d5f4f7b63843d468438128cb087b7c3e98f" - integrity sha512-geDJjpoZ8N0kWexiwkX8F9NkTsXhetLPVbZFQ+JTW239QNOwvB0gniuR1Wc6f0AMTn7/mFGyXvHTifrCp/GH8Q== - dependencies: - node-fetch "^2.6.1" - unfetch "^4.2.0" - -isomorphic-ws@5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/isomorphic-ws/-/isomorphic-ws-5.0.0.tgz#e5529148912ecb9b451b46ed44d53dae1ce04bbf" - integrity sha512-muId7Zzn9ywDsyXgTIafTry2sV3nySZeUDe6YedVd1Hvuuep5AsIlqK+XefWpYTyJG5e503F2xIuT2lcU6rCSw== - -isomorphic-ws@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/isomorphic-ws/-/isomorphic-ws-4.0.1.tgz#55fd4cd6c5e6491e76dc125938dd863f5cd4f2dc" - integrity sha512-BhBvN2MBpWTaSHdWRb/bwdZJ1WaehQ2L1KngkCkfLUGF0mAWAT1sQUQacEmQ0jXkFw/czDXPNQSL5u2/Krsz1w== - -isstream@~0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" - integrity sha512-Yljz7ffyPbrLpLngrMtZ7NduUgVvi6wG9RJ9IUcyCd59YQ911PBJphODUcbOVbqYfxe1wuYf/LJ8PauMRwsM/g== - -istanbul-lib-coverage@^3.0.0, istanbul-lib-coverage@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz#189e7909d0a39fa5a3dfad5b03f71947770191d3" - integrity sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw== - -istanbul-lib-instrument@^5.0.4, istanbul-lib-instrument@^5.1.0: - version "5.2.1" - resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz#d10c8885c2125574e1c231cacadf955675e1ce3d" - integrity sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg== +"is-fullwidth-code-point@^3.0.0": + "integrity" "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==" + "resolved" "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz" + "version" "3.0.0" + +"is-function@^1.0.1": + "integrity" "sha512-lw7DUp0aWXYg+CBCN+JKkcE0Q2RayZnSvnZBlwgxHBQhqt5pZNVy4Ri7H9GmmXkdu7LUthszM+Tor1u/2iBcpQ==" + "resolved" "https://registry.npmjs.org/is-function/-/is-function-1.0.2.tgz" + "version" "1.0.2" + +"is-generator-fn@^2.0.0": + "integrity" "sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==" + "resolved" "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-2.1.0.tgz" + "version" "2.1.0" + +"is-generator-function@^1.0.7": + "integrity" "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==" + "resolved" "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz" + "version" "1.0.10" + dependencies: + "has-tostringtag" "^1.0.0" + +"is-glob@^3.1.0": + "integrity" "sha512-UFpDDrPgM6qpnFNI+rh/p3bUaq9hKLZN8bMUWzxmcnZVS3omf4IPK+BrewlnWjO1WmUsMYuSjKh4UJuV4+Lqmw==" + "resolved" "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz" + "version" "3.1.0" + dependencies: + "is-extglob" "^2.1.0" + +"is-glob@^4.0.0", "is-glob@^4.0.1", "is-glob@^4.0.3", "is-glob@~4.0.1": + "integrity" "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==" + "resolved" "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz" + "version" "4.0.3" + dependencies: + "is-extglob" "^2.1.1" + +"is-hex-prefixed@1.0.0": + "integrity" "sha512-WvtOiug1VFrE9v1Cydwm+FnXd3+w9GaeVUss5W4v/SLy3UW00vP+6iNF2SdnfiBoLy4bTqVdkftNGTUeOFVsbA==" + "resolved" "https://registry.npmjs.org/is-hex-prefixed/-/is-hex-prefixed-1.0.0.tgz" + "version" "1.0.0" + +"is-lower-case@^1.1.0": + "integrity" "sha512-+5A1e/WJpLLXZEDlgz4G//WYSHyQBD32qa4Jd3Lw06qQlv3fJHnp3YIHjTQSGzHMgzmVKz2ZP3rBxTHkPw/lxA==" + "resolved" "https://registry.npmjs.org/is-lower-case/-/is-lower-case-1.1.3.tgz" + "version" "1.1.3" + dependencies: + "lower-case" "^1.1.0" + +"is-nan@^1.2.1": + "integrity" "sha512-E+zBKpQ2t6MEo1VsonYmluk9NxGrbzpeeLC2xIViuO2EjU2xsXsBPwTr3Ykv9l08UYEVEdWeRZNouaZqF6RN0w==" + "resolved" "https://registry.npmjs.org/is-nan/-/is-nan-1.3.2.tgz" + "version" "1.3.2" + dependencies: + "call-bind" "^1.0.0" + "define-properties" "^1.1.3" + +"is-natural-number@^4.0.1": + "integrity" "sha512-Y4LTamMe0DDQIIAlaer9eKebAlDSV6huy+TWhJVPlzZh2o4tRP5SQWFlLn5N0To4mDD22/qdOq+veo1cSISLgQ==" + "resolved" "https://registry.npmjs.org/is-natural-number/-/is-natural-number-4.0.1.tgz" + "version" "4.0.1" + +"is-negative-zero@^2.0.2": + "integrity" "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==" + "resolved" "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz" + "version" "2.0.2" + +"is-number-object@^1.0.4": + "integrity" "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==" + "resolved" "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz" + "version" "1.0.7" + dependencies: + "has-tostringtag" "^1.0.0" + +"is-number@^3.0.0": + "integrity" "sha512-4cboCqIpliH+mAvFNegjZQ4kgKc3ZUhQVr3HvWbSh5q3WH2v82ct+T2Y1hdU5Gdtorx/cLifQjqCbL7bpznLTg==" + "resolved" "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz" + "version" "3.0.0" + dependencies: + "kind-of" "^3.0.2" + +"is-number@^7.0.0": + "integrity" "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==" + "resolved" "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz" + "version" "7.0.0" + +"is-obj@^2.0.0": + "integrity" "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==" + "resolved" "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz" + "version" "2.0.0" + +"is-object@^1.0.1": + "integrity" "sha512-2rRIahhZr2UWb45fIOuvZGpFtz0TyOZLf32KxBbSoUCeZR495zCKlWUKKUByk3geS2eAs7ZAABt0Y/Rx0GiQGA==" + "resolved" "https://registry.npmjs.org/is-object/-/is-object-1.0.2.tgz" + "version" "1.0.2" + +"is-plain-obj@^1.1.0": + "integrity" "sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==" + "resolved" "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz" + "version" "1.1.0" + +"is-plain-obj@^2.1.0": + "integrity" "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==" + "resolved" "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz" + "version" "2.1.0" + +"is-plain-object@^2.0.3", "is-plain-object@^2.0.4": + "integrity" "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==" + "resolved" "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz" + "version" "2.0.4" + dependencies: + "isobject" "^3.0.1" + +"is-potential-custom-element-name@^1.0.1": + "integrity" "sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==" + "resolved" "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz" + "version" "1.0.1" + +"is-regex@^1.1.4": + "integrity" "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==" + "resolved" "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz" + "version" "1.1.4" + dependencies: + "call-bind" "^1.0.2" + "has-tostringtag" "^1.0.0" + +"is-retry-allowed@^1.0.0": + "integrity" "sha512-RUbUeKwvm3XG2VYamhJL1xFktgjvPzL0Hq8C+6yrWIswDy3BIXGqCxhxkc30N9jqK311gVU137K8Ei55/zVJRg==" + "resolved" "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-1.2.0.tgz" + "version" "1.2.0" + +"is-shared-array-buffer@^1.0.2": + "integrity" "sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==" + "resolved" "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz" + "version" "1.0.2" + dependencies: + "call-bind" "^1.0.2" + +"is-stream@^1.0.0", "is-stream@^1.1.0": + "integrity" "sha512-uQPm8kcs47jx38atAcWTVxyltQYoPT68y9aWYdV6yWXSyW8mzSat0TL6CiWdZeCdF3KrAvpVtnHbTv4RN+rqdQ==" + "resolved" "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz" + "version" "1.1.0" + +"is-stream@^2.0.0": + "integrity" "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==" + "resolved" "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz" + "version" "2.0.1" + +"is-stream@^2.0.1": + "integrity" "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==" + "resolved" "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz" + "version" "2.0.1" + +"is-string@^1.0.5", "is-string@^1.0.7": + "integrity" "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==" + "resolved" "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz" + "version" "1.0.7" + dependencies: + "has-tostringtag" "^1.0.0" + +"is-symbol@^1.0.2", "is-symbol@^1.0.3": + "integrity" "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==" + "resolved" "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz" + "version" "1.0.4" + dependencies: + "has-symbols" "^1.0.2" + +"is-typed-array@^1.1.10", "is-typed-array@^1.1.3", "is-typed-array@^1.1.9": + "integrity" "sha512-PJqgEHiWZvMpaFZ3uTc8kHPM4+4ADTlDniuQL7cU/UDA0Ql7F70yGfHph3cLNe+c9toaigv+DFzTJKhc2CtO6A==" + "resolved" "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.10.tgz" + "version" "1.1.10" + dependencies: + "available-typed-arrays" "^1.0.5" + "call-bind" "^1.0.2" + "for-each" "^0.3.3" + "gopd" "^1.0.1" + "has-tostringtag" "^1.0.0" + +"is-typedarray@^1.0.0", "is-typedarray@~1.0.0": + "integrity" "sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA==" + "resolved" "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz" + "version" "1.0.0" + +"is-unicode-supported@^0.1.0": + "integrity" "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==" + "resolved" "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz" + "version" "0.1.0" + +"is-upper-case@^1.1.0": + "integrity" "sha512-GQYSJMgfeAmVwh9ixyk888l7OIhNAGKtY6QA+IrWlu9MDTCaXmeozOZ2S9Knj7bQwBO/H6J2kb+pbyTUiMNbsw==" + "resolved" "https://registry.npmjs.org/is-upper-case/-/is-upper-case-1.1.2.tgz" + "version" "1.1.2" + dependencies: + "upper-case" "^1.1.0" + +"is-weakref@^1.0.2": + "integrity" "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==" + "resolved" "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz" + "version" "1.0.2" + dependencies: + "call-bind" "^1.0.2" + +"is-windows@^1.0.2": + "integrity" "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==" + "resolved" "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz" + "version" "1.0.2" + +"isarray@^2.0.1": + "integrity" "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==" + "resolved" "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz" + "version" "2.0.5" + +"isarray@~1.0.0": + "integrity" "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==" + "resolved" "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz" + "version" "1.0.0" + +"isarray@0.0.1": + "integrity" "sha512-D2S+3GLxWH+uhrNEcoh/fnmYeP8E8/zHl644d/jdA0g2uyXvy3sb0qxotE+ne0LtccHknQzWwZEzhak7oJ0COQ==" + "resolved" "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz" + "version" "0.0.1" + +"isarray@1.0.0": + "integrity" "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==" + "resolved" "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz" + "version" "1.0.0" + +"isexe@^2.0.0": + "integrity" "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==" + "resolved" "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz" + "version" "2.0.0" + +"isnumber@~1.0.0": + "integrity" "sha512-JLiSz/zsZcGFXPrB4I/AGBvtStkt+8QmksyZBZnVXnnK9XdTEyz0tX8CRYljtwYDuIuZzih6DpHQdi+3Q6zHPw==" + "resolved" "https://registry.npmjs.org/isnumber/-/isnumber-1.0.0.tgz" + "version" "1.0.0" + +"isobject@^2.0.0": + "integrity" "sha512-+OUdGJlgjOBZDfxnDjYYG6zp487z0JGNQq3cYQYg5f5hKR+syHMsaztzGeml/4kGG55CSpKSpWTY+jYGgsHLgA==" + "resolved" "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz" + "version" "2.1.0" + dependencies: + "isarray" "1.0.0" + +"isobject@^3.0.0", "isobject@^3.0.1": + "integrity" "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==" + "resolved" "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz" + "version" "3.0.1" + +"isomorphic-unfetch@^3.1.0": + "integrity" "sha512-geDJjpoZ8N0kWexiwkX8F9NkTsXhetLPVbZFQ+JTW239QNOwvB0gniuR1Wc6f0AMTn7/mFGyXvHTifrCp/GH8Q==" + "resolved" "https://registry.npmjs.org/isomorphic-unfetch/-/isomorphic-unfetch-3.1.0.tgz" + "version" "3.1.0" + dependencies: + "node-fetch" "^2.6.1" + "unfetch" "^4.2.0" + +"isomorphic-ws@^4.0.1": + "integrity" "sha512-BhBvN2MBpWTaSHdWRb/bwdZJ1WaehQ2L1KngkCkfLUGF0mAWAT1sQUQacEmQ0jXkFw/czDXPNQSL5u2/Krsz1w==" + "resolved" "https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-4.0.1.tgz" + "version" "4.0.1" + +"isomorphic-ws@5.0.0": + "integrity" "sha512-muId7Zzn9ywDsyXgTIafTry2sV3nySZeUDe6YedVd1Hvuuep5AsIlqK+XefWpYTyJG5e503F2xIuT2lcU6rCSw==" + "resolved" "https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-5.0.0.tgz" + "version" "5.0.0" + +"isstream@~0.1.2": + "integrity" "sha512-Yljz7ffyPbrLpLngrMtZ7NduUgVvi6wG9RJ9IUcyCd59YQ911PBJphODUcbOVbqYfxe1wuYf/LJ8PauMRwsM/g==" + "resolved" "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz" + "version" "0.1.2" + +"istanbul-lib-coverage@^3.0.0", "istanbul-lib-coverage@^3.2.0": + "integrity" "sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw==" + "resolved" "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz" + "version" "3.2.0" + +"istanbul-lib-instrument@^5.0.4", "istanbul-lib-instrument@^5.1.0": + "integrity" "sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==" + "resolved" "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz" + "version" "5.2.1" dependencies: "@babel/core" "^7.12.3" "@babel/parser" "^7.14.7" "@istanbuljs/schema" "^0.1.2" - istanbul-lib-coverage "^3.2.0" - semver "^6.3.0" + "istanbul-lib-coverage" "^3.2.0" + "semver" "^6.3.0" -istanbul-lib-report@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz#7518fe52ea44de372f460a76b5ecda9ffb73d8a6" - integrity sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw== +"istanbul-lib-report@^3.0.0": + "integrity" "sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw==" + "resolved" "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz" + "version" "3.0.0" dependencies: - istanbul-lib-coverage "^3.0.0" - make-dir "^3.0.0" - supports-color "^7.1.0" + "istanbul-lib-coverage" "^3.0.0" + "make-dir" "^3.0.0" + "supports-color" "^7.1.0" -istanbul-lib-source-maps@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz#895f3a709fcfba34c6de5a42939022f3e4358551" - integrity sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw== +"istanbul-lib-source-maps@^4.0.0": + "integrity" "sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==" + "resolved" "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz" + "version" "4.0.1" dependencies: - debug "^4.1.1" - istanbul-lib-coverage "^3.0.0" - source-map "^0.6.1" + "debug" "^4.1.1" + "istanbul-lib-coverage" "^3.0.0" + "source-map" "^0.6.1" -istanbul-reports@^3.1.3: - version "3.1.5" - resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-3.1.5.tgz#cc9a6ab25cb25659810e4785ed9d9fb742578bae" - integrity sha512-nUsEMa9pBt/NOHqbcbeJEgqIlY/K7rVWUX6Lql2orY5e9roQOthbR3vtY4zzf2orPELg80fnxxk9zUyPlgwD1w== +"istanbul-reports@^3.1.3": + "integrity" "sha512-nUsEMa9pBt/NOHqbcbeJEgqIlY/K7rVWUX6Lql2orY5e9roQOthbR3vtY4zzf2orPELg80fnxxk9zUyPlgwD1w==" + "resolved" "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.5.tgz" + "version" "3.1.5" dependencies: - html-escaper "^2.0.0" - istanbul-lib-report "^3.0.0" + "html-escaper" "^2.0.0" + "istanbul-lib-report" "^3.0.0" -isurl@^1.0.0-alpha5: - version "1.0.0" - resolved "https://registry.yarnpkg.com/isurl/-/isurl-1.0.0.tgz#b27f4f49f3cdaa3ea44a0a5b7f3462e6edc39d67" - integrity sha512-1P/yWsxPlDtn7QeRD+ULKQPaIaN6yF368GZ2vDfv0AL0NwpStafjWCDDdn0k8wgFMWpVAqG7oJhxHnlud42i9w== +"isurl@^1.0.0-alpha5": + "integrity" "sha512-1P/yWsxPlDtn7QeRD+ULKQPaIaN6yF368GZ2vDfv0AL0NwpStafjWCDDdn0k8wgFMWpVAqG7oJhxHnlud42i9w==" + "resolved" "https://registry.npmjs.org/isurl/-/isurl-1.0.0.tgz" + "version" "1.0.0" dependencies: - has-to-string-tag-x "^1.2.0" - is-object "^1.0.1" + "has-to-string-tag-x" "^1.2.0" + "is-object" "^1.0.1" -jacoco-parse@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/jacoco-parse/-/jacoco-parse-2.0.1.tgz#a1fab49df2c8a11fd9204b615677bc58ab784b65" - integrity sha512-YGhIb2iXuQ4/zNh2zgHd6Z6dqlYwLYH1wfsxtTNQ+jnHH9PhhuMwqOFihXymSI41trxok48LdKkSeDIWs28tYg== +"jacoco-parse@^2.0.1": + "integrity" "sha512-YGhIb2iXuQ4/zNh2zgHd6Z6dqlYwLYH1wfsxtTNQ+jnHH9PhhuMwqOFihXymSI41trxok48LdKkSeDIWs28tYg==" + "resolved" "https://registry.npmjs.org/jacoco-parse/-/jacoco-parse-2.0.1.tgz" + "version" "2.0.1" dependencies: - mocha "^5.2.0" - xml2js "^0.4.9" + "mocha" "^5.2.0" + "xml2js" "^0.4.9" -javascript-natural-sort@^0.7.1: - version "0.7.1" - resolved "https://registry.yarnpkg.com/javascript-natural-sort/-/javascript-natural-sort-0.7.1.tgz#f9e2303d4507f6d74355a73664d1440fb5a0ef59" - integrity sha512-nO6jcEfZWQXDhOiBtG2KvKyEptz7RVbpGP4vTD2hLBdmNQSsCiicO2Ioinv6UI4y9ukqnBpy+XZ9H6uLNgJTlw== +"javascript-natural-sort@^0.7.1": + "integrity" "sha512-nO6jcEfZWQXDhOiBtG2KvKyEptz7RVbpGP4vTD2hLBdmNQSsCiicO2Ioinv6UI4y9ukqnBpy+XZ9H6uLNgJTlw==" + "resolved" "https://registry.npmjs.org/javascript-natural-sort/-/javascript-natural-sort-0.7.1.tgz" + "version" "0.7.1" -jayson@^3.4.4: - version "3.7.0" - resolved "https://registry.yarnpkg.com/jayson/-/jayson-3.7.0.tgz#b735b12d06d348639ae8230d7a1e2916cb078f25" - integrity sha512-tfy39KJMrrXJ+mFcMpxwBvFDetS8LAID93+rycFglIQM4kl3uNR3W4lBLE/FFhsoUCEox5Dt2adVpDm/XtebbQ== +"jayson@^3.4.4": + "integrity" "sha512-tfy39KJMrrXJ+mFcMpxwBvFDetS8LAID93+rycFglIQM4kl3uNR3W4lBLE/FFhsoUCEox5Dt2adVpDm/XtebbQ==" + "resolved" "https://registry.npmjs.org/jayson/-/jayson-3.7.0.tgz" + "version" "3.7.0" dependencies: "@types/connect" "^3.4.33" "@types/node" "^12.12.54" "@types/ws" "^7.4.4" - JSONStream "^1.3.5" - commander "^2.20.3" - delay "^5.0.0" - es6-promisify "^5.0.0" - eyes "^0.1.8" - isomorphic-ws "^4.0.1" - json-stringify-safe "^5.0.1" - lodash "^4.17.20" - uuid "^8.3.2" - ws "^7.4.5" - -jest-changed-files@^27.5.1: - version "27.5.1" - resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-27.5.1.tgz#a348aed00ec9bf671cc58a66fcbe7c3dfd6a68f5" - integrity sha512-buBLMiByfWGCoMsLLzGUUSpAmIAGnbR2KJoMN10ziLhOLvP4e0SlypHnAel8iqQXTrcbmfEY9sSqae5sgUsTvw== + "commander" "^2.20.3" + "delay" "^5.0.0" + "es6-promisify" "^5.0.0" + "eyes" "^0.1.8" + "isomorphic-ws" "^4.0.1" + "json-stringify-safe" "^5.0.1" + "JSONStream" "^1.3.5" + "lodash" "^4.17.20" + "uuid" "^8.3.2" + "ws" "^7.4.5" + +"jest-changed-files@^27.5.1": + "integrity" "sha512-buBLMiByfWGCoMsLLzGUUSpAmIAGnbR2KJoMN10ziLhOLvP4e0SlypHnAel8iqQXTrcbmfEY9sSqae5sgUsTvw==" + "resolved" "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-27.5.1.tgz" + "version" "27.5.1" dependencies: "@jest/types" "^27.5.1" - execa "^5.0.0" - throat "^6.0.1" + "execa" "^5.0.0" + "throat" "^6.0.1" -jest-circus@^27.5.1: - version "27.5.1" - resolved "https://registry.yarnpkg.com/jest-circus/-/jest-circus-27.5.1.tgz#37a5a4459b7bf4406e53d637b49d22c65d125ecc" - integrity sha512-D95R7x5UtlMA5iBYsOHFFbMD/GVA4R/Kdq15f7xYWUfWHBto9NYRsOvnSauTgdF+ogCpJ4tyKOXhUifxS65gdw== +"jest-circus@^27.5.1": + "integrity" "sha512-D95R7x5UtlMA5iBYsOHFFbMD/GVA4R/Kdq15f7xYWUfWHBto9NYRsOvnSauTgdF+ogCpJ4tyKOXhUifxS65gdw==" + "resolved" "https://registry.npmjs.org/jest-circus/-/jest-circus-27.5.1.tgz" + "version" "27.5.1" dependencies: "@jest/environment" "^27.5.1" "@jest/test-result" "^27.5.1" "@jest/types" "^27.5.1" "@types/node" "*" - chalk "^4.0.0" - co "^4.6.0" - dedent "^0.7.0" - expect "^27.5.1" - is-generator-fn "^2.0.0" - jest-each "^27.5.1" - jest-matcher-utils "^27.5.1" - jest-message-util "^27.5.1" - jest-runtime "^27.5.1" - jest-snapshot "^27.5.1" - jest-util "^27.5.1" - pretty-format "^27.5.1" - slash "^3.0.0" - stack-utils "^2.0.3" - throat "^6.0.1" - -jest-cli@^27.5.1: - version "27.5.1" - resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-27.5.1.tgz#278794a6e6458ea8029547e6c6cbf673bd30b145" - integrity sha512-Hc6HOOwYq4/74/c62dEE3r5elx8wjYqxY0r0G/nFrLDPMFRu6RA/u8qINOIkvhxG7mMQ5EJsOGfRpI8L6eFUVw== + "chalk" "^4.0.0" + "co" "^4.6.0" + "dedent" "^0.7.0" + "expect" "^27.5.1" + "is-generator-fn" "^2.0.0" + "jest-each" "^27.5.1" + "jest-matcher-utils" "^27.5.1" + "jest-message-util" "^27.5.1" + "jest-runtime" "^27.5.1" + "jest-snapshot" "^27.5.1" + "jest-util" "^27.5.1" + "pretty-format" "^27.5.1" + "slash" "^3.0.0" + "stack-utils" "^2.0.3" + "throat" "^6.0.1" + +"jest-cli@^27.5.1": + "integrity" "sha512-Hc6HOOwYq4/74/c62dEE3r5elx8wjYqxY0r0G/nFrLDPMFRu6RA/u8qINOIkvhxG7mMQ5EJsOGfRpI8L6eFUVw==" + "resolved" "https://registry.npmjs.org/jest-cli/-/jest-cli-27.5.1.tgz" + "version" "27.5.1" dependencies: "@jest/core" "^27.5.1" "@jest/test-result" "^27.5.1" "@jest/types" "^27.5.1" - chalk "^4.0.0" - exit "^0.1.2" - graceful-fs "^4.2.9" - import-local "^3.0.2" - jest-config "^27.5.1" - jest-util "^27.5.1" - jest-validate "^27.5.1" - prompts "^2.0.1" - yargs "^16.2.0" - -jest-config@^27.5.1: - version "27.5.1" - resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-27.5.1.tgz#5c387de33dca3f99ad6357ddeccd91bf3a0e4a41" - integrity sha512-5sAsjm6tGdsVbW9ahcChPAFCk4IlkQUknH5AvKjuLTSlcO/wCZKyFdn7Rg0EkC+OGgWODEy2hDpWB1PgzH0JNA== + "chalk" "^4.0.0" + "exit" "^0.1.2" + "graceful-fs" "^4.2.9" + "import-local" "^3.0.2" + "jest-config" "^27.5.1" + "jest-util" "^27.5.1" + "jest-validate" "^27.5.1" + "prompts" "^2.0.1" + "yargs" "^16.2.0" + +"jest-config@^27.5.1": + "integrity" "sha512-5sAsjm6tGdsVbW9ahcChPAFCk4IlkQUknH5AvKjuLTSlcO/wCZKyFdn7Rg0EkC+OGgWODEy2hDpWB1PgzH0JNA==" + "resolved" "https://registry.npmjs.org/jest-config/-/jest-config-27.5.1.tgz" + "version" "27.5.1" dependencies: "@babel/core" "^7.8.0" "@jest/test-sequencer" "^27.5.1" "@jest/types" "^27.5.1" - babel-jest "^27.5.1" - chalk "^4.0.0" - ci-info "^3.2.0" - deepmerge "^4.2.2" - glob "^7.1.1" - graceful-fs "^4.2.9" - jest-circus "^27.5.1" - jest-environment-jsdom "^27.5.1" - jest-environment-node "^27.5.1" - jest-get-type "^27.5.1" - jest-jasmine2 "^27.5.1" - jest-regex-util "^27.5.1" - jest-resolve "^27.5.1" - jest-runner "^27.5.1" - jest-util "^27.5.1" - jest-validate "^27.5.1" - micromatch "^4.0.4" - parse-json "^5.2.0" - pretty-format "^27.5.1" - slash "^3.0.0" - strip-json-comments "^3.1.1" - -jest-diff@^24.9.0: - version "24.9.0" - resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-24.9.0.tgz#931b7d0d5778a1baf7452cb816e325e3724055da" - integrity sha512-qMfrTs8AdJE2iqrTp0hzh7kTd2PQWrsFyj9tORoKmu32xjPjeE4NyjVRDz8ybYwqS2ik8N4hsIpiVTyFeo2lBQ== - dependencies: - chalk "^2.0.1" - diff-sequences "^24.9.0" - jest-get-type "^24.9.0" - pretty-format "^24.9.0" - -jest-diff@^27.5.1: - version "27.5.1" - resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-27.5.1.tgz#a07f5011ac9e6643cf8a95a462b7b1ecf6680def" - integrity sha512-m0NvkX55LDt9T4mctTEgnZk3fmEg3NRYutvMPWM/0iPnkFj2wIeF45O1718cMSOFO1vINkqmxqD8vE37uTEbqw== - dependencies: - chalk "^4.0.0" - diff-sequences "^27.5.1" - jest-get-type "^27.5.1" - pretty-format "^27.5.1" - -jest-docblock@^27.5.1: - version "27.5.1" - resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-27.5.1.tgz#14092f364a42c6108d42c33c8cf30e058e25f6c0" - integrity sha512-rl7hlABeTsRYxKiUfpHrQrG4e2obOiTQWfMEH3PxPjOtdsfLQO4ReWSZaQ7DETm4xu07rl4q/h4zcKXyU0/OzQ== - dependencies: - detect-newline "^3.0.0" - -jest-each@^27.5.1: - version "27.5.1" - resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-27.5.1.tgz#5bc87016f45ed9507fed6e4702a5b468a5b2c44e" - integrity sha512-1Ff6p+FbhT/bXQnEouYy00bkNSY7OUpfIcmdl8vZ31A1UUaurOLPA8a8BbJOF2RDUElwJhmeaV7LnagI+5UwNQ== + "babel-jest" "^27.5.1" + "chalk" "^4.0.0" + "ci-info" "^3.2.0" + "deepmerge" "^4.2.2" + "glob" "^7.1.1" + "graceful-fs" "^4.2.9" + "jest-circus" "^27.5.1" + "jest-environment-jsdom" "^27.5.1" + "jest-environment-node" "^27.5.1" + "jest-get-type" "^27.5.1" + "jest-jasmine2" "^27.5.1" + "jest-regex-util" "^27.5.1" + "jest-resolve" "^27.5.1" + "jest-runner" "^27.5.1" + "jest-util" "^27.5.1" + "jest-validate" "^27.5.1" + "micromatch" "^4.0.4" + "parse-json" "^5.2.0" + "pretty-format" "^27.5.1" + "slash" "^3.0.0" + "strip-json-comments" "^3.1.1" + +"jest-diff@^24.9.0": + "integrity" "sha512-qMfrTs8AdJE2iqrTp0hzh7kTd2PQWrsFyj9tORoKmu32xjPjeE4NyjVRDz8ybYwqS2ik8N4hsIpiVTyFeo2lBQ==" + "resolved" "https://registry.npmjs.org/jest-diff/-/jest-diff-24.9.0.tgz" + "version" "24.9.0" + dependencies: + "chalk" "^2.0.1" + "diff-sequences" "^24.9.0" + "jest-get-type" "^24.9.0" + "pretty-format" "^24.9.0" + +"jest-diff@^27.5.1": + "integrity" "sha512-m0NvkX55LDt9T4mctTEgnZk3fmEg3NRYutvMPWM/0iPnkFj2wIeF45O1718cMSOFO1vINkqmxqD8vE37uTEbqw==" + "resolved" "https://registry.npmjs.org/jest-diff/-/jest-diff-27.5.1.tgz" + "version" "27.5.1" + dependencies: + "chalk" "^4.0.0" + "diff-sequences" "^27.5.1" + "jest-get-type" "^27.5.1" + "pretty-format" "^27.5.1" + +"jest-docblock@^27.5.1": + "integrity" "sha512-rl7hlABeTsRYxKiUfpHrQrG4e2obOiTQWfMEH3PxPjOtdsfLQO4ReWSZaQ7DETm4xu07rl4q/h4zcKXyU0/OzQ==" + "resolved" "https://registry.npmjs.org/jest-docblock/-/jest-docblock-27.5.1.tgz" + "version" "27.5.1" + dependencies: + "detect-newline" "^3.0.0" + +"jest-each@^27.5.1": + "integrity" "sha512-1Ff6p+FbhT/bXQnEouYy00bkNSY7OUpfIcmdl8vZ31A1UUaurOLPA8a8BbJOF2RDUElwJhmeaV7LnagI+5UwNQ==" + "resolved" "https://registry.npmjs.org/jest-each/-/jest-each-27.5.1.tgz" + "version" "27.5.1" dependencies: "@jest/types" "^27.5.1" - chalk "^4.0.0" - jest-get-type "^27.5.1" - jest-util "^27.5.1" - pretty-format "^27.5.1" + "chalk" "^4.0.0" + "jest-get-type" "^27.5.1" + "jest-util" "^27.5.1" + "pretty-format" "^27.5.1" -jest-environment-jsdom@^27.5.1: - version "27.5.1" - resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-27.5.1.tgz#ea9ccd1fc610209655a77898f86b2b559516a546" - integrity sha512-TFBvkTC1Hnnnrka/fUb56atfDtJ9VMZ94JkjTbggl1PEpwrYtUBKMezB3inLmWqQsXYLcMwNoDQwoBTAvFfsfw== +"jest-environment-jsdom@^27.5.1": + "integrity" "sha512-TFBvkTC1Hnnnrka/fUb56atfDtJ9VMZ94JkjTbggl1PEpwrYtUBKMezB3inLmWqQsXYLcMwNoDQwoBTAvFfsfw==" + "resolved" "https://registry.npmjs.org/jest-environment-jsdom/-/jest-environment-jsdom-27.5.1.tgz" + "version" "27.5.1" dependencies: "@jest/environment" "^27.5.1" "@jest/fake-timers" "^27.5.1" "@jest/types" "^27.5.1" "@types/node" "*" - jest-mock "^27.5.1" - jest-util "^27.5.1" - jsdom "^16.6.0" + "jest-mock" "^27.5.1" + "jest-util" "^27.5.1" + "jsdom" "^16.6.0" -jest-environment-node@^27.5.1: - version "27.5.1" - resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-27.5.1.tgz#dedc2cfe52fab6b8f5714b4808aefa85357a365e" - integrity sha512-Jt4ZUnxdOsTGwSRAfKEnE6BcwsSPNOijjwifq5sDFSA2kesnXTvNqKHYgM0hDq3549Uf/KzdXNYn4wMZJPlFLw== +"jest-environment-node@^27.5.1": + "integrity" "sha512-Jt4ZUnxdOsTGwSRAfKEnE6BcwsSPNOijjwifq5sDFSA2kesnXTvNqKHYgM0hDq3549Uf/KzdXNYn4wMZJPlFLw==" + "resolved" "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-27.5.1.tgz" + "version" "27.5.1" dependencies: "@jest/environment" "^27.5.1" "@jest/fake-timers" "^27.5.1" "@jest/types" "^27.5.1" "@types/node" "*" - jest-mock "^27.5.1" - jest-util "^27.5.1" - -jest-extended@^0.11.5: - version "0.11.5" - resolved "https://registry.yarnpkg.com/jest-extended/-/jest-extended-0.11.5.tgz#f063b3f1eaadad8d7c13a01f0dfe0f538d498ccf" - integrity sha512-3RsdFpLWKScpsLD6hJuyr/tV5iFOrw7v6YjA3tPdda9sJwoHwcMROws5gwiIZfcwhHlJRwFJB2OUvGmF3evV/Q== - dependencies: - expect "^24.1.0" - jest-get-type "^22.4.3" - jest-matcher-utils "^22.0.0" - -jest-get-type@^22.4.3: - version "22.4.3" - resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-22.4.3.tgz#e3a8504d8479342dd4420236b322869f18900ce4" - integrity sha512-/jsz0Y+V29w1chdXVygEKSz2nBoHoYqNShPe+QgxSNjAuP1i8+k4LbQNrfoliKej0P45sivkSCh7yiD6ubHS3w== - -jest-get-type@^24.9.0: - version "24.9.0" - resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-24.9.0.tgz#1684a0c8a50f2e4901b6644ae861f579eed2ef0e" - integrity sha512-lUseMzAley4LhIcpSP9Jf+fTrQ4a1yHQwLNeeVa2cEmbCGeoZAtYPOIv8JaxLD/sUpKxetKGP+gsHl8f8TSj8Q== - -jest-get-type@^27.5.1: - version "27.5.1" - resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-27.5.1.tgz#3cd613c507b0f7ace013df407a1c1cd578bcb4f1" - integrity sha512-2KY95ksYSaK7DMBWQn6dQz3kqAf3BB64y2udeG+hv4KfSOb9qwcYQstTJc1KCbsix+wLZWZYN8t7nwX3GOBLRw== - -jest-haste-map@^27.5.1: - version "27.5.1" - resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-27.5.1.tgz#9fd8bd7e7b4fa502d9c6164c5640512b4e811e7f" - integrity sha512-7GgkZ4Fw4NFbMSDSpZwXeBiIbx+t/46nJ2QitkOjvwPYyZmqttu2TDSimMHP1EkPOi4xUZAN1doE5Vd25H4Jng== + "jest-mock" "^27.5.1" + "jest-util" "^27.5.1" + +"jest-extended@^0.11.5": + "integrity" "sha512-3RsdFpLWKScpsLD6hJuyr/tV5iFOrw7v6YjA3tPdda9sJwoHwcMROws5gwiIZfcwhHlJRwFJB2OUvGmF3evV/Q==" + "resolved" "https://registry.npmjs.org/jest-extended/-/jest-extended-0.11.5.tgz" + "version" "0.11.5" + dependencies: + "expect" "^24.1.0" + "jest-get-type" "^22.4.3" + "jest-matcher-utils" "^22.0.0" + +"jest-get-type@^22.4.3": + "integrity" "sha512-/jsz0Y+V29w1chdXVygEKSz2nBoHoYqNShPe+QgxSNjAuP1i8+k4LbQNrfoliKej0P45sivkSCh7yiD6ubHS3w==" + "resolved" "https://registry.npmjs.org/jest-get-type/-/jest-get-type-22.4.3.tgz" + "version" "22.4.3" + +"jest-get-type@^24.9.0": + "integrity" "sha512-lUseMzAley4LhIcpSP9Jf+fTrQ4a1yHQwLNeeVa2cEmbCGeoZAtYPOIv8JaxLD/sUpKxetKGP+gsHl8f8TSj8Q==" + "resolved" "https://registry.npmjs.org/jest-get-type/-/jest-get-type-24.9.0.tgz" + "version" "24.9.0" + +"jest-get-type@^27.5.1": + "integrity" "sha512-2KY95ksYSaK7DMBWQn6dQz3kqAf3BB64y2udeG+hv4KfSOb9qwcYQstTJc1KCbsix+wLZWZYN8t7nwX3GOBLRw==" + "resolved" "https://registry.npmjs.org/jest-get-type/-/jest-get-type-27.5.1.tgz" + "version" "27.5.1" + +"jest-haste-map@^27.5.1": + "integrity" "sha512-7GgkZ4Fw4NFbMSDSpZwXeBiIbx+t/46nJ2QitkOjvwPYyZmqttu2TDSimMHP1EkPOi4xUZAN1doE5Vd25H4Jng==" + "resolved" "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-27.5.1.tgz" + "version" "27.5.1" dependencies: "@jest/types" "^27.5.1" "@types/graceful-fs" "^4.1.2" "@types/node" "*" - anymatch "^3.0.3" - fb-watchman "^2.0.0" - graceful-fs "^4.2.9" - jest-regex-util "^27.5.1" - jest-serializer "^27.5.1" - jest-util "^27.5.1" - jest-worker "^27.5.1" - micromatch "^4.0.4" - walker "^1.0.7" + "anymatch" "^3.0.3" + "fb-watchman" "^2.0.0" + "graceful-fs" "^4.2.9" + "jest-regex-util" "^27.5.1" + "jest-serializer" "^27.5.1" + "jest-util" "^27.5.1" + "jest-worker" "^27.5.1" + "micromatch" "^4.0.4" + "walker" "^1.0.7" optionalDependencies: - fsevents "^2.3.2" + "fsevents" "^2.3.2" -jest-jasmine2@^27.5.1: - version "27.5.1" - resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-27.5.1.tgz#a037b0034ef49a9f3d71c4375a796f3b230d1ac4" - integrity sha512-jtq7VVyG8SqAorDpApwiJJImd0V2wv1xzdheGHRGyuT7gZm6gG47QEskOlzsN1PG/6WNaCo5pmwMHDf3AkG2pQ== +"jest-jasmine2@^27.5.1": + "integrity" "sha512-jtq7VVyG8SqAorDpApwiJJImd0V2wv1xzdheGHRGyuT7gZm6gG47QEskOlzsN1PG/6WNaCo5pmwMHDf3AkG2pQ==" + "resolved" "https://registry.npmjs.org/jest-jasmine2/-/jest-jasmine2-27.5.1.tgz" + "version" "27.5.1" dependencies: "@jest/environment" "^27.5.1" "@jest/source-map" "^27.5.1" "@jest/test-result" "^27.5.1" "@jest/types" "^27.5.1" "@types/node" "*" - chalk "^4.0.0" - co "^4.6.0" - expect "^27.5.1" - is-generator-fn "^2.0.0" - jest-each "^27.5.1" - jest-matcher-utils "^27.5.1" - jest-message-util "^27.5.1" - jest-runtime "^27.5.1" - jest-snapshot "^27.5.1" - jest-util "^27.5.1" - pretty-format "^27.5.1" - throat "^6.0.1" - -jest-leak-detector@^27.5.1: - version "27.5.1" - resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-27.5.1.tgz#6ec9d54c3579dd6e3e66d70e3498adf80fde3fb8" - integrity sha512-POXfWAMvfU6WMUXftV4HolnJfnPOGEu10fscNCA76KBpRRhcMN2c8d3iT2pxQS3HLbA+5X4sOUPzYO2NUyIlHQ== - dependencies: - jest-get-type "^27.5.1" - pretty-format "^27.5.1" - -jest-matcher-utils@^22.0.0: - version "22.4.3" - resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-22.4.3.tgz#4632fe428ebc73ebc194d3c7b65d37b161f710ff" - integrity sha512-lsEHVaTnKzdAPR5t4B6OcxXo9Vy4K+kRRbG5gtddY8lBEC+Mlpvm1CJcsMESRjzUhzkz568exMV1hTB76nAKbA== - dependencies: - chalk "^2.0.1" - jest-get-type "^22.4.3" - pretty-format "^22.4.3" - -jest-matcher-utils@^24.9.0: - version "24.9.0" - resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-24.9.0.tgz#f5b3661d5e628dffe6dd65251dfdae0e87c3a073" - integrity sha512-OZz2IXsu6eaiMAwe67c1T+5tUAtQyQx27/EMEkbFAGiw52tB9em+uGbzpcgYVpA8wl0hlxKPZxrly4CXU/GjHA== - dependencies: - chalk "^2.0.1" - jest-diff "^24.9.0" - jest-get-type "^24.9.0" - pretty-format "^24.9.0" - -jest-matcher-utils@^27.0.0, jest-matcher-utils@^27.5.1: - version "27.5.1" - resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-27.5.1.tgz#9c0cdbda8245bc22d2331729d1091308b40cf8ab" - integrity sha512-z2uTx/T6LBaCoNWNFWwChLBKYxTMcGBRjAt+2SbP929/Fflb9aa5LGma654Rz8z9HLxsrUaYzxE9T/EFIL/PAw== - dependencies: - chalk "^4.0.0" - jest-diff "^27.5.1" - jest-get-type "^27.5.1" - pretty-format "^27.5.1" - -jest-message-util@^24.9.0: - version "24.9.0" - resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-24.9.0.tgz#527f54a1e380f5e202a8d1149b0ec872f43119e3" - integrity sha512-oCj8FiZ3U0hTP4aSui87P4L4jC37BtQwUMqk+zk/b11FR19BJDeZsZAvIHutWnmtw7r85UmR3CEWZ0HWU2mAlw== + "chalk" "^4.0.0" + "co" "^4.6.0" + "expect" "^27.5.1" + "is-generator-fn" "^2.0.0" + "jest-each" "^27.5.1" + "jest-matcher-utils" "^27.5.1" + "jest-message-util" "^27.5.1" + "jest-runtime" "^27.5.1" + "jest-snapshot" "^27.5.1" + "jest-util" "^27.5.1" + "pretty-format" "^27.5.1" + "throat" "^6.0.1" + +"jest-leak-detector@^27.5.1": + "integrity" "sha512-POXfWAMvfU6WMUXftV4HolnJfnPOGEu10fscNCA76KBpRRhcMN2c8d3iT2pxQS3HLbA+5X4sOUPzYO2NUyIlHQ==" + "resolved" "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-27.5.1.tgz" + "version" "27.5.1" + dependencies: + "jest-get-type" "^27.5.1" + "pretty-format" "^27.5.1" + +"jest-matcher-utils@^22.0.0": + "integrity" "sha512-lsEHVaTnKzdAPR5t4B6OcxXo9Vy4K+kRRbG5gtddY8lBEC+Mlpvm1CJcsMESRjzUhzkz568exMV1hTB76nAKbA==" + "resolved" "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-22.4.3.tgz" + "version" "22.4.3" + dependencies: + "chalk" "^2.0.1" + "jest-get-type" "^22.4.3" + "pretty-format" "^22.4.3" + +"jest-matcher-utils@^24.9.0": + "integrity" "sha512-OZz2IXsu6eaiMAwe67c1T+5tUAtQyQx27/EMEkbFAGiw52tB9em+uGbzpcgYVpA8wl0hlxKPZxrly4CXU/GjHA==" + "resolved" "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-24.9.0.tgz" + "version" "24.9.0" + dependencies: + "chalk" "^2.0.1" + "jest-diff" "^24.9.0" + "jest-get-type" "^24.9.0" + "pretty-format" "^24.9.0" + +"jest-matcher-utils@^27.0.0", "jest-matcher-utils@^27.5.1": + "integrity" "sha512-z2uTx/T6LBaCoNWNFWwChLBKYxTMcGBRjAt+2SbP929/Fflb9aa5LGma654Rz8z9HLxsrUaYzxE9T/EFIL/PAw==" + "resolved" "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-27.5.1.tgz" + "version" "27.5.1" + dependencies: + "chalk" "^4.0.0" + "jest-diff" "^27.5.1" + "jest-get-type" "^27.5.1" + "pretty-format" "^27.5.1" + +"jest-message-util@^24.9.0": + "integrity" "sha512-oCj8FiZ3U0hTP4aSui87P4L4jC37BtQwUMqk+zk/b11FR19BJDeZsZAvIHutWnmtw7r85UmR3CEWZ0HWU2mAlw==" + "resolved" "https://registry.npmjs.org/jest-message-util/-/jest-message-util-24.9.0.tgz" + "version" "24.9.0" dependencies: "@babel/code-frame" "^7.0.0" "@jest/test-result" "^24.9.0" "@jest/types" "^24.9.0" "@types/stack-utils" "^1.0.1" - chalk "^2.0.1" - micromatch "^3.1.10" - slash "^2.0.0" - stack-utils "^1.0.1" + "chalk" "^2.0.1" + "micromatch" "^3.1.10" + "slash" "^2.0.0" + "stack-utils" "^1.0.1" -jest-message-util@^27.5.1: - version "27.5.1" - resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-27.5.1.tgz#bdda72806da10d9ed6425e12afff38cd1458b6cf" - integrity sha512-rMyFe1+jnyAAf+NHwTclDz0eAaLkVDdKVHHBFWsBWHnnh5YeJMNWWsv7AbFYXfK3oTqvL7VTWkhNLu1jX24D+g== +"jest-message-util@^27.5.1": + "integrity" "sha512-rMyFe1+jnyAAf+NHwTclDz0eAaLkVDdKVHHBFWsBWHnnh5YeJMNWWsv7AbFYXfK3oTqvL7VTWkhNLu1jX24D+g==" + "resolved" "https://registry.npmjs.org/jest-message-util/-/jest-message-util-27.5.1.tgz" + "version" "27.5.1" dependencies: "@babel/code-frame" "^7.12.13" "@jest/types" "^27.5.1" "@types/stack-utils" "^2.0.0" - chalk "^4.0.0" - graceful-fs "^4.2.9" - micromatch "^4.0.4" - pretty-format "^27.5.1" - slash "^3.0.0" - stack-utils "^2.0.3" - -jest-mock@^27.5.1: - version "27.5.1" - resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-27.5.1.tgz#19948336d49ef4d9c52021d34ac7b5f36ff967d6" - integrity sha512-K4jKbY1d4ENhbrG2zuPWaQBvDly+iZ2yAW+T1fATN78hc0sInwn7wZB8XtlNnvHug5RMwV897Xm4LqmPM4e2Og== + "chalk" "^4.0.0" + "graceful-fs" "^4.2.9" + "micromatch" "^4.0.4" + "pretty-format" "^27.5.1" + "slash" "^3.0.0" + "stack-utils" "^2.0.3" + +"jest-mock@^27.5.1": + "integrity" "sha512-K4jKbY1d4ENhbrG2zuPWaQBvDly+iZ2yAW+T1fATN78hc0sInwn7wZB8XtlNnvHug5RMwV897Xm4LqmPM4e2Og==" + "resolved" "https://registry.npmjs.org/jest-mock/-/jest-mock-27.5.1.tgz" + "version" "27.5.1" dependencies: "@jest/types" "^27.5.1" "@types/node" "*" -jest-pnp-resolver@^1.2.2: - version "1.2.3" - resolved "https://registry.yarnpkg.com/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz#930b1546164d4ad5937d5540e711d4d38d4cad2e" - integrity sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w== +"jest-pnp-resolver@^1.2.2": + "integrity" "sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==" + "resolved" "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz" + "version" "1.2.3" -jest-regex-util@^24.9.0: - version "24.9.0" - resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-24.9.0.tgz#c13fb3380bde22bf6575432c493ea8fe37965636" - integrity sha512-05Cmb6CuxaA+Ys6fjr3PhvV3bGQmO+2p2La4hFbU+W5uOc479f7FdLXUWXw4pYMAhhSZIuKHwSXSu6CsSBAXQA== +"jest-regex-util@^24.9.0": + "integrity" "sha512-05Cmb6CuxaA+Ys6fjr3PhvV3bGQmO+2p2La4hFbU+W5uOc479f7FdLXUWXw4pYMAhhSZIuKHwSXSu6CsSBAXQA==" + "resolved" "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-24.9.0.tgz" + "version" "24.9.0" -jest-regex-util@^27.5.1: - version "27.5.1" - resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-27.5.1.tgz#4da143f7e9fd1e542d4aa69617b38e4a78365b95" - integrity sha512-4bfKq2zie+x16okqDXjXn9ql2B0dScQu+vcwe4TvFVhkVyuWLqpZrZtXxLLWoXYgn0E87I6r6GRYHF7wFZBUvg== +"jest-regex-util@^27.5.1": + "integrity" "sha512-4bfKq2zie+x16okqDXjXn9ql2B0dScQu+vcwe4TvFVhkVyuWLqpZrZtXxLLWoXYgn0E87I6r6GRYHF7wFZBUvg==" + "resolved" "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-27.5.1.tgz" + "version" "27.5.1" -jest-resolve-dependencies@^27.5.1: - version "27.5.1" - resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-27.5.1.tgz#d811ecc8305e731cc86dd79741ee98fed06f1da8" - integrity sha512-QQOOdY4PE39iawDn5rzbIePNigfe5B9Z91GDD1ae/xNDlu9kaat8QQ5EKnNmVWPV54hUdxCVwwj6YMgR2O7IOg== +"jest-resolve-dependencies@^27.5.1": + "integrity" "sha512-QQOOdY4PE39iawDn5rzbIePNigfe5B9Z91GDD1ae/xNDlu9kaat8QQ5EKnNmVWPV54hUdxCVwwj6YMgR2O7IOg==" + "resolved" "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-27.5.1.tgz" + "version" "27.5.1" dependencies: "@jest/types" "^27.5.1" - jest-regex-util "^27.5.1" - jest-snapshot "^27.5.1" + "jest-regex-util" "^27.5.1" + "jest-snapshot" "^27.5.1" -jest-resolve@^27.5.1: - version "27.5.1" - resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-27.5.1.tgz#a2f1c5a0796ec18fe9eb1536ac3814c23617b384" - integrity sha512-FFDy8/9E6CV83IMbDpcjOhumAQPDyETnU2KZ1O98DwTnz8AOBsW/Xv3GySr1mOZdItLR+zDZ7I/UdTFbgSOVCw== +"jest-resolve@^27.5.1": + "integrity" "sha512-FFDy8/9E6CV83IMbDpcjOhumAQPDyETnU2KZ1O98DwTnz8AOBsW/Xv3GySr1mOZdItLR+zDZ7I/UdTFbgSOVCw==" + "resolved" "https://registry.npmjs.org/jest-resolve/-/jest-resolve-27.5.1.tgz" + "version" "27.5.1" dependencies: "@jest/types" "^27.5.1" - chalk "^4.0.0" - graceful-fs "^4.2.9" - jest-haste-map "^27.5.1" - jest-pnp-resolver "^1.2.2" - jest-util "^27.5.1" - jest-validate "^27.5.1" - resolve "^1.20.0" - resolve.exports "^1.1.0" - slash "^3.0.0" - -jest-runner@^27.5.1: - version "27.5.1" - resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-27.5.1.tgz#071b27c1fa30d90540805c5645a0ec167c7b62e5" - integrity sha512-g4NPsM4mFCOwFKXO4p/H/kWGdJp9V8kURY2lX8Me2drgXqG7rrZAx5kv+5H7wtt/cdFIjhqYx1HrlqWHaOvDaQ== + "chalk" "^4.0.0" + "graceful-fs" "^4.2.9" + "jest-haste-map" "^27.5.1" + "jest-pnp-resolver" "^1.2.2" + "jest-util" "^27.5.1" + "jest-validate" "^27.5.1" + "resolve" "^1.20.0" + "resolve.exports" "^1.1.0" + "slash" "^3.0.0" + +"jest-runner@^27.5.1": + "integrity" "sha512-g4NPsM4mFCOwFKXO4p/H/kWGdJp9V8kURY2lX8Me2drgXqG7rrZAx5kv+5H7wtt/cdFIjhqYx1HrlqWHaOvDaQ==" + "resolved" "https://registry.npmjs.org/jest-runner/-/jest-runner-27.5.1.tgz" + "version" "27.5.1" dependencies: "@jest/console" "^27.5.1" "@jest/environment" "^27.5.1" @@ -11294,26 +11730,26 @@ jest-runner@^27.5.1: "@jest/transform" "^27.5.1" "@jest/types" "^27.5.1" "@types/node" "*" - chalk "^4.0.0" - emittery "^0.8.1" - graceful-fs "^4.2.9" - jest-docblock "^27.5.1" - jest-environment-jsdom "^27.5.1" - jest-environment-node "^27.5.1" - jest-haste-map "^27.5.1" - jest-leak-detector "^27.5.1" - jest-message-util "^27.5.1" - jest-resolve "^27.5.1" - jest-runtime "^27.5.1" - jest-util "^27.5.1" - jest-worker "^27.5.1" - source-map-support "^0.5.6" - throat "^6.0.1" - -jest-runtime@^27.5.1: - version "27.5.1" - resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-27.5.1.tgz#4896003d7a334f7e8e4a53ba93fb9bcd3db0a1af" - integrity sha512-o7gxw3Gf+H2IGt8fv0RiyE1+r83FJBRruoA+FXrlHw6xEyBsU8ugA6IPfTdVyA0w8HClpbK+DGJxH59UrNMx8A== + "chalk" "^4.0.0" + "emittery" "^0.8.1" + "graceful-fs" "^4.2.9" + "jest-docblock" "^27.5.1" + "jest-environment-jsdom" "^27.5.1" + "jest-environment-node" "^27.5.1" + "jest-haste-map" "^27.5.1" + "jest-leak-detector" "^27.5.1" + "jest-message-util" "^27.5.1" + "jest-resolve" "^27.5.1" + "jest-runtime" "^27.5.1" + "jest-util" "^27.5.1" + "jest-worker" "^27.5.1" + "source-map-support" "^0.5.6" + "throat" "^6.0.1" + +"jest-runtime@^27.5.1": + "integrity" "sha512-o7gxw3Gf+H2IGt8fv0RiyE1+r83FJBRruoA+FXrlHw6xEyBsU8ugA6IPfTdVyA0w8HClpbK+DGJxH59UrNMx8A==" + "resolved" "https://registry.npmjs.org/jest-runtime/-/jest-runtime-27.5.1.tgz" + "version" "27.5.1" dependencies: "@jest/environment" "^27.5.1" "@jest/fake-timers" "^27.5.1" @@ -11322,34 +11758,34 @@ jest-runtime@^27.5.1: "@jest/test-result" "^27.5.1" "@jest/transform" "^27.5.1" "@jest/types" "^27.5.1" - chalk "^4.0.0" - cjs-module-lexer "^1.0.0" - collect-v8-coverage "^1.0.0" - execa "^5.0.0" - glob "^7.1.3" - graceful-fs "^4.2.9" - jest-haste-map "^27.5.1" - jest-message-util "^27.5.1" - jest-mock "^27.5.1" - jest-regex-util "^27.5.1" - jest-resolve "^27.5.1" - jest-snapshot "^27.5.1" - jest-util "^27.5.1" - slash "^3.0.0" - strip-bom "^4.0.0" - -jest-serializer@^27.5.1: - version "27.5.1" - resolved "https://registry.yarnpkg.com/jest-serializer/-/jest-serializer-27.5.1.tgz#81438410a30ea66fd57ff730835123dea1fb1f64" - integrity sha512-jZCyo6iIxO1aqUxpuBlwTDMkzOAJS4a3eYz3YzgxxVQFwLeSA7Jfq5cbqCY+JLvTDrWirgusI/0KwxKMgrdf7w== + "chalk" "^4.0.0" + "cjs-module-lexer" "^1.0.0" + "collect-v8-coverage" "^1.0.0" + "execa" "^5.0.0" + "glob" "^7.1.3" + "graceful-fs" "^4.2.9" + "jest-haste-map" "^27.5.1" + "jest-message-util" "^27.5.1" + "jest-mock" "^27.5.1" + "jest-regex-util" "^27.5.1" + "jest-resolve" "^27.5.1" + "jest-snapshot" "^27.5.1" + "jest-util" "^27.5.1" + "slash" "^3.0.0" + "strip-bom" "^4.0.0" + +"jest-serializer@^27.5.1": + "integrity" "sha512-jZCyo6iIxO1aqUxpuBlwTDMkzOAJS4a3eYz3YzgxxVQFwLeSA7Jfq5cbqCY+JLvTDrWirgusI/0KwxKMgrdf7w==" + "resolved" "https://registry.npmjs.org/jest-serializer/-/jest-serializer-27.5.1.tgz" + "version" "27.5.1" dependencies: "@types/node" "*" - graceful-fs "^4.2.9" + "graceful-fs" "^4.2.9" -jest-snapshot@^27.5.1: - version "27.5.1" - resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-27.5.1.tgz#b668d50d23d38054a51b42c4039cab59ae6eb6a1" - integrity sha512-yYykXI5a0I31xX67mgeLw1DZ0bJB+gpq5IpSuCAoyDi0+BhgU/RIrL+RTzDmkNTchvDFWKP8lp+w/42Z3us5sA== +"jest-snapshot@^27.5.1": + "integrity" "sha512-yYykXI5a0I31xX67mgeLw1DZ0bJB+gpq5IpSuCAoyDi0+BhgU/RIrL+RTzDmkNTchvDFWKP8lp+w/42Z3us5sA==" + "resolved" "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-27.5.1.tgz" + "version" "27.5.1" dependencies: "@babel/core" "^7.7.2" "@babel/generator" "^7.7.2" @@ -11360,400 +11796,418 @@ jest-snapshot@^27.5.1: "@jest/types" "^27.5.1" "@types/babel__traverse" "^7.0.4" "@types/prettier" "^2.1.5" - babel-preset-current-node-syntax "^1.0.0" - chalk "^4.0.0" - expect "^27.5.1" - graceful-fs "^4.2.9" - jest-diff "^27.5.1" - jest-get-type "^27.5.1" - jest-haste-map "^27.5.1" - jest-matcher-utils "^27.5.1" - jest-message-util "^27.5.1" - jest-util "^27.5.1" - natural-compare "^1.4.0" - pretty-format "^27.5.1" - semver "^7.3.2" - -jest-util@^27.0.0, jest-util@^27.5.1: - version "27.5.1" - resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-27.5.1.tgz#3ba9771e8e31a0b85da48fe0b0891fb86c01c2f9" - integrity sha512-Kv2o/8jNvX1MQ0KGtw480E/w4fBCDOnH6+6DmeKi6LZUIlKA5kwY0YNdlzaWTiVgxqAqik11QyxDOKk543aKXw== + "babel-preset-current-node-syntax" "^1.0.0" + "chalk" "^4.0.0" + "expect" "^27.5.1" + "graceful-fs" "^4.2.9" + "jest-diff" "^27.5.1" + "jest-get-type" "^27.5.1" + "jest-haste-map" "^27.5.1" + "jest-matcher-utils" "^27.5.1" + "jest-message-util" "^27.5.1" + "jest-util" "^27.5.1" + "natural-compare" "^1.4.0" + "pretty-format" "^27.5.1" + "semver" "^7.3.2" + +"jest-util@^27.0.0", "jest-util@^27.5.1": + "integrity" "sha512-Kv2o/8jNvX1MQ0KGtw480E/w4fBCDOnH6+6DmeKi6LZUIlKA5kwY0YNdlzaWTiVgxqAqik11QyxDOKk543aKXw==" + "resolved" "https://registry.npmjs.org/jest-util/-/jest-util-27.5.1.tgz" + "version" "27.5.1" dependencies: "@jest/types" "^27.5.1" "@types/node" "*" - chalk "^4.0.0" - ci-info "^3.2.0" - graceful-fs "^4.2.9" - picomatch "^2.2.3" + "chalk" "^4.0.0" + "ci-info" "^3.2.0" + "graceful-fs" "^4.2.9" + "picomatch" "^2.2.3" -jest-validate@^27.5.1: - version "27.5.1" - resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-27.5.1.tgz#9197d54dc0bdb52260b8db40b46ae668e04df067" - integrity sha512-thkNli0LYTmOI1tDB3FI1S1RTp/Bqyd9pTarJwL87OIBFuqEb5Apv5EaApEudYg4g86e3CT6kM0RowkhtEnCBQ== +"jest-validate@^27.5.1": + "integrity" "sha512-thkNli0LYTmOI1tDB3FI1S1RTp/Bqyd9pTarJwL87OIBFuqEb5Apv5EaApEudYg4g86e3CT6kM0RowkhtEnCBQ==" + "resolved" "https://registry.npmjs.org/jest-validate/-/jest-validate-27.5.1.tgz" + "version" "27.5.1" dependencies: "@jest/types" "^27.5.1" - camelcase "^6.2.0" - chalk "^4.0.0" - jest-get-type "^27.5.1" - leven "^3.1.0" - pretty-format "^27.5.1" + "camelcase" "^6.2.0" + "chalk" "^4.0.0" + "jest-get-type" "^27.5.1" + "leven" "^3.1.0" + "pretty-format" "^27.5.1" -jest-watcher@^27.5.1: - version "27.5.1" - resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-27.5.1.tgz#71bd85fb9bde3a2c2ec4dc353437971c43c642a2" - integrity sha512-z676SuD6Z8o8qbmEGhoEUFOM1+jfEiL3DXHK/xgEiG2EyNYfFG60jluWcupY6dATjfEsKQuibReS1djInQnoVw== +"jest-watcher@^27.5.1": + "integrity" "sha512-z676SuD6Z8o8qbmEGhoEUFOM1+jfEiL3DXHK/xgEiG2EyNYfFG60jluWcupY6dATjfEsKQuibReS1djInQnoVw==" + "resolved" "https://registry.npmjs.org/jest-watcher/-/jest-watcher-27.5.1.tgz" + "version" "27.5.1" dependencies: "@jest/test-result" "^27.5.1" "@jest/types" "^27.5.1" "@types/node" "*" - ansi-escapes "^4.2.1" - chalk "^4.0.0" - jest-util "^27.5.1" - string-length "^4.0.1" + "ansi-escapes" "^4.2.1" + "chalk" "^4.0.0" + "jest-util" "^27.5.1" + "string-length" "^4.0.1" -jest-worker@^27.5.1: - version "27.5.1" - resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-27.5.1.tgz#8d146f0900e8973b106b6f73cc1e9a8cb86f8db0" - integrity sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg== +"jest-worker@^27.5.1": + "integrity" "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==" + "resolved" "https://registry.npmjs.org/jest-worker/-/jest-worker-27.5.1.tgz" + "version" "27.5.1" dependencies: "@types/node" "*" - merge-stream "^2.0.0" - supports-color "^8.0.0" + "merge-stream" "^2.0.0" + "supports-color" "^8.0.0" -jest@^27.3.1: - version "27.5.1" - resolved "https://registry.yarnpkg.com/jest/-/jest-27.5.1.tgz#dadf33ba70a779be7a6fc33015843b51494f63fc" - integrity sha512-Yn0mADZB89zTtjkPJEXwrac3LHudkQMR+Paqa8uxJHCBr9agxztUifWCyiYrjhMPBoUVBjyny0I7XH6ozDr7QQ== +"jest@^27.3.1": + "integrity" "sha512-Yn0mADZB89zTtjkPJEXwrac3LHudkQMR+Paqa8uxJHCBr9agxztUifWCyiYrjhMPBoUVBjyny0I7XH6ozDr7QQ==" + "resolved" "https://registry.npmjs.org/jest/-/jest-27.5.1.tgz" + "version" "27.5.1" dependencies: "@jest/core" "^27.5.1" - import-local "^3.0.2" - jest-cli "^27.5.1" - -js-sha256@^0.9.0: - version "0.9.0" - resolved "https://registry.yarnpkg.com/js-sha256/-/js-sha256-0.9.0.tgz#0b89ac166583e91ef9123644bd3c5334ce9d0966" - integrity sha512-sga3MHh9sgQN2+pJ9VYZ+1LPwXOxuBJBA5nrR5/ofPfuiJBE2hnjsaN8se8JznOmGLN2p49Pe5U/ttafcs/apA== - -js-sha3@0.5.7, js-sha3@^0.5.7: - version "0.5.7" - resolved "https://registry.yarnpkg.com/js-sha3/-/js-sha3-0.5.7.tgz#0d4ffd8002d5333aabaf4a23eed2f6374c9f28e7" - integrity sha512-GII20kjaPX0zJ8wzkTbNDYMY7msuZcTWk8S5UOh6806Jq/wz1J8/bnr8uGU0DAUmYDjj2Mr4X1cW8v/GLYnR+g== - -js-sha3@0.8.0, js-sha3@^0.8.0: - version "0.8.0" - resolved "https://registry.yarnpkg.com/js-sha3/-/js-sha3-0.8.0.tgz#b9b7a5da73afad7dedd0f8c463954cbde6818840" - integrity sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q== - -js-sha512@^0.8.0: - version "0.8.0" - resolved "https://registry.yarnpkg.com/js-sha512/-/js-sha512-0.8.0.tgz#dd22db8d02756faccf19f218e3ed61ec8249f7d4" - integrity sha512-PWsmefG6Jkodqt+ePTvBZCSMFgN7Clckjd0O7su3I0+BW2QWUTJNzjktHsztGLhncP2h8mcF9V9Y2Ha59pAViQ== - -"js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" - integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== - -js-yaml@4.1.0, js-yaml@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.0.tgz#c1fb65f8f5017901cdd2c951864ba18458a10602" - integrity sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA== - dependencies: - argparse "^2.0.1" - -js-yaml@^3.13.1: - version "3.14.1" - resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.14.1.tgz#dae812fdb3825fa306609a8717383c50c36a0537" - integrity sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g== - dependencies: - argparse "^1.0.7" - esprima "^4.0.0" - -jsbi@^3.1.1, jsbi@^3.1.4, jsbi@^3.1.5, jsbi@^3.2.0: - version "3.2.5" - resolved "https://registry.yarnpkg.com/jsbi/-/jsbi-3.2.5.tgz#b37bb90e0e5c2814c1c2a1bcd8c729888a2e37d6" - integrity sha512-aBE4n43IPvjaddScbvWRA2YlTzKEynHzu7MqOyTipdHucf/VxS63ViCjxYRg86M8Rxwbt/GfzHl1kKERkt45fQ== - -jsbi@^4.1.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/jsbi/-/jsbi-4.3.0.tgz#b54ee074fb6fcbc00619559305c8f7e912b04741" - integrity sha512-SnZNcinB4RIcnEyZqFPdGPVgrg2AcnykiBy0sHVJQKHYeaLUvi3Exj+iaPpLnFVkDPZIV4U0yvgC9/R4uEAZ9g== - -jsbn@~0.1.0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" - integrity sha512-UVU9dibq2JcFWxQPA6KCqj5O42VOmAY3zQUfEKxU0KpTGXwNoCjkX1e13eHNvw/xPynt6pU0rZ1htjWTNTSXsg== - -jscrypto@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/jscrypto/-/jscrypto-1.0.3.tgz#598febca2a939d6f679c54f56e1fe364cef30cc9" - integrity sha512-lryZl0flhodv4SZHOqyb1bx5sKcJxj0VBo0Kzb4QMAg3L021IC9uGpl0RCZa+9KJwlRGSK2C80ITcwbe19OKLQ== - -jsdom@^16.6.0: - version "16.7.0" - resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-16.7.0.tgz#918ae71965424b197c819f8183a754e18977b710" - integrity sha512-u9Smc2G1USStM+s/x1ru5Sxrl6mPYCbByG1U/hUmqaVsm4tbNyS7CicOSRyuGQYZhTu0h84qkZZQ/I+dzizSVw== - dependencies: - abab "^2.0.5" - acorn "^8.2.4" - acorn-globals "^6.0.0" - cssom "^0.4.4" - cssstyle "^2.3.0" - data-urls "^2.0.0" - decimal.js "^10.2.1" - domexception "^2.0.1" - escodegen "^2.0.0" - form-data "^3.0.0" - html-encoding-sniffer "^2.0.1" - http-proxy-agent "^4.0.1" - https-proxy-agent "^5.0.0" - is-potential-custom-element-name "^1.0.1" - nwsapi "^2.2.0" - parse5 "6.0.1" - saxes "^5.0.1" - symbol-tree "^3.2.4" - tough-cookie "^4.0.0" - w3c-hr-time "^1.0.2" - w3c-xmlserializer "^2.0.0" - webidl-conversions "^6.1.0" - whatwg-encoding "^1.0.5" - whatwg-mimetype "^2.3.0" - whatwg-url "^8.5.0" - ws "^7.4.6" - xml-name-validator "^3.0.0" - -jsesc@^2.5.1: - version "2.5.2" - resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4" - integrity sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA== - -json-bigint@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/json-bigint/-/json-bigint-1.0.0.tgz#ae547823ac0cad8398667f8cd9ef4730f5b01ff1" - integrity sha512-SiPv/8VpZuWbvLSMtTDU8hEfrZWg/mH/nV/b4o0CYbSxu1UIQPLdwKOCIyLQX+VIPO5vrLX3i8qtqFyhdPSUSQ== - dependencies: - bignumber.js "^9.0.0" - -json-buffer@3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/json-buffer/-/json-buffer-3.0.0.tgz#5b1f397afc75d677bde8bcfc0e47e1f9a3d9a898" - integrity sha512-CuUqjv0FUZIdXkHPI8MezCnFCdaTAacej1TZYulLoAg1h/PhwkdXFN4V/gzY4g+fMBCOV2xF+rp7t2XD2ns/NQ== - -json-buffer@3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/json-buffer/-/json-buffer-3.0.1.tgz#9338802a30d3b6605fbe0613e094008ca8c05a13" - integrity sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ== - -json-parse-even-better-errors@^2.3.0: - version "2.3.1" - resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" - integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== - -json-pointer@^0.6.1: - version "0.6.2" - resolved "https://registry.yarnpkg.com/json-pointer/-/json-pointer-0.6.2.tgz#f97bd7550be5e9ea901f8c9264c9d436a22a93cd" - integrity sha512-vLWcKbOaXlO+jvRy4qNd+TI1QUPZzfJj1tpJ3vAXDych5XJf93ftpUKe5pKCrzyIIwgBJcOcCVRUfqQP25afBw== - dependencies: - foreach "^2.0.4" - -json-rpc-random-id@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/json-rpc-random-id/-/json-rpc-random-id-1.0.1.tgz#ba49d96aded1444dbb8da3d203748acbbcdec8c8" - integrity sha512-RJ9YYNCkhVDBuP4zN5BBtYAzEl03yq/jIIsyif0JY9qyJuQQZNeDK7anAPKKlyEtLSj2s8h6hNh2F8zO5q7ScA== - -json-schema-traverse@^0.4.1: - version "0.4.1" - resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" - integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg== - -json-schema-traverse@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz#ae7bcb3656ab77a73ba5c49bf654f38e6b6860e2" - integrity sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug== - -json-schema-typed@^7.0.3: - version "7.0.3" - resolved "https://registry.yarnpkg.com/json-schema-typed/-/json-schema-typed-7.0.3.tgz#23ff481b8b4eebcd2ca123b4fa0409e66469a2d9" - integrity sha512-7DE8mpG+/fVw+dTpjbxnx47TaMnDfOI1jwft9g1VybltZCduyRQPJPvc+zzKY9WPHxhPWczyFuYa6I8Mw4iU5A== - -json-schema@0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.4.0.tgz#f7de4cf6efab838ebaeb3236474cbba5a1930ab5" - integrity sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA== - -json-stable-stringify-without-jsonify@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651" - integrity sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw== - -json-stable-stringify@^1.0.1, json-stable-stringify@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/json-stable-stringify/-/json-stable-stringify-1.0.2.tgz#e06f23128e0bbe342dc996ed5a19e28b57b580e0" - integrity sha512-eunSSaEnxV12z+Z73y/j5N37/In40GK4GmsSy+tEHJMxknvqnA7/djeYtAgW0GsWHUfg+847WJjKaEylk2y09g== - dependencies: - jsonify "^0.0.1" - -json-stringify-safe@^5.0.1, json-stringify-safe@~5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" - integrity sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA== - -json5@2.x, json5@^2.2.2: - version "2.2.3" - resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" - integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== - -json5@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/json5/-/json5-1.0.2.tgz#63d98d60f21b313b77c4d6da18bfa69d80e1d593" - integrity sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA== - dependencies: - minimist "^1.2.0" - -jsonfile@^2.1.0: - version "2.4.0" - resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-2.4.0.tgz#3736a2b428b87bbda0cc83b53fa3d633a35c2ae8" - integrity sha512-PKllAqbgLgxHaj8TElYymKCAgrASebJrWpTnEkOaTowt23VKXXN0sUeriJ+eh7y6ufb/CC5ap11pz71/cM0hUw== + "import-local" "^3.0.2" + "jest-cli" "^27.5.1" + +"js-sha256@^0.9.0": + "integrity" "sha512-sga3MHh9sgQN2+pJ9VYZ+1LPwXOxuBJBA5nrR5/ofPfuiJBE2hnjsaN8se8JznOmGLN2p49Pe5U/ttafcs/apA==" + "resolved" "https://registry.npmjs.org/js-sha256/-/js-sha256-0.9.0.tgz" + "version" "0.9.0" + +"js-sha3@^0.5.7": + "integrity" "sha512-GII20kjaPX0zJ8wzkTbNDYMY7msuZcTWk8S5UOh6806Jq/wz1J8/bnr8uGU0DAUmYDjj2Mr4X1cW8v/GLYnR+g==" + "resolved" "https://registry.npmjs.org/js-sha3/-/js-sha3-0.5.7.tgz" + "version" "0.5.7" + +"js-sha3@^0.8.0", "js-sha3@0.8.0": + "integrity" "sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==" + "resolved" "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz" + "version" "0.8.0" + +"js-sha3@0.5.7": + "integrity" "sha512-GII20kjaPX0zJ8wzkTbNDYMY7msuZcTWk8S5UOh6806Jq/wz1J8/bnr8uGU0DAUmYDjj2Mr4X1cW8v/GLYnR+g==" + "resolved" "https://registry.npmjs.org/js-sha3/-/js-sha3-0.5.7.tgz" + "version" "0.5.7" + +"js-sha512@^0.8.0": + "integrity" "sha512-PWsmefG6Jkodqt+ePTvBZCSMFgN7Clckjd0O7su3I0+BW2QWUTJNzjktHsztGLhncP2h8mcF9V9Y2Ha59pAViQ==" + "resolved" "https://registry.npmjs.org/js-sha512/-/js-sha512-0.8.0.tgz" + "version" "0.8.0" + +"js-tokens@^3.0.0 || ^4.0.0", "js-tokens@^4.0.0": + "integrity" "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" + "resolved" "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz" + "version" "4.0.0" + +"js-yaml@^3.13.1": + "integrity" "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==" + "resolved" "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz" + "version" "3.14.1" + dependencies: + "argparse" "^1.0.7" + "esprima" "^4.0.0" + +"js-yaml@^4.1.0", "js-yaml@4.1.0": + "integrity" "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==" + "resolved" "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz" + "version" "4.1.0" + dependencies: + "argparse" "^2.0.1" + +"jsbi@^3.1.1", "jsbi@^3.1.4", "jsbi@^3.1.5", "jsbi@^3.2.0": + "integrity" "sha512-aBE4n43IPvjaddScbvWRA2YlTzKEynHzu7MqOyTipdHucf/VxS63ViCjxYRg86M8Rxwbt/GfzHl1kKERkt45fQ==" + "resolved" "https://registry.npmjs.org/jsbi/-/jsbi-3.2.5.tgz" + "version" "3.2.5" + +"jsbi@^4.1.0": + "integrity" "sha512-SnZNcinB4RIcnEyZqFPdGPVgrg2AcnykiBy0sHVJQKHYeaLUvi3Exj+iaPpLnFVkDPZIV4U0yvgC9/R4uEAZ9g==" + "resolved" "https://registry.npmjs.org/jsbi/-/jsbi-4.3.0.tgz" + "version" "4.3.0" + +"jsbn@~0.1.0": + "integrity" "sha512-UVU9dibq2JcFWxQPA6KCqj5O42VOmAY3zQUfEKxU0KpTGXwNoCjkX1e13eHNvw/xPynt6pU0rZ1htjWTNTSXsg==" + "resolved" "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz" + "version" "0.1.1" + +"jscrypto@^1.0.3": + "integrity" "sha512-lryZl0flhodv4SZHOqyb1bx5sKcJxj0VBo0Kzb4QMAg3L021IC9uGpl0RCZa+9KJwlRGSK2C80ITcwbe19OKLQ==" + "resolved" "https://registry.npmjs.org/jscrypto/-/jscrypto-1.0.3.tgz" + "version" "1.0.3" + +"jsdom@^16.6.0": + "integrity" "sha512-u9Smc2G1USStM+s/x1ru5Sxrl6mPYCbByG1U/hUmqaVsm4tbNyS7CicOSRyuGQYZhTu0h84qkZZQ/I+dzizSVw==" + "resolved" "https://registry.npmjs.org/jsdom/-/jsdom-16.7.0.tgz" + "version" "16.7.0" + dependencies: + "abab" "^2.0.5" + "acorn" "^8.2.4" + "acorn-globals" "^6.0.0" + "cssom" "^0.4.4" + "cssstyle" "^2.3.0" + "data-urls" "^2.0.0" + "decimal.js" "^10.2.1" + "domexception" "^2.0.1" + "escodegen" "^2.0.0" + "form-data" "^3.0.0" + "html-encoding-sniffer" "^2.0.1" + "http-proxy-agent" "^4.0.1" + "https-proxy-agent" "^5.0.0" + "is-potential-custom-element-name" "^1.0.1" + "nwsapi" "^2.2.0" + "parse5" "6.0.1" + "saxes" "^5.0.1" + "symbol-tree" "^3.2.4" + "tough-cookie" "^4.0.0" + "w3c-hr-time" "^1.0.2" + "w3c-xmlserializer" "^2.0.0" + "webidl-conversions" "^6.1.0" + "whatwg-encoding" "^1.0.5" + "whatwg-mimetype" "^2.3.0" + "whatwg-url" "^8.5.0" + "ws" "^7.4.6" + "xml-name-validator" "^3.0.0" + +"jsesc@^2.5.1": + "integrity" "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==" + "resolved" "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz" + "version" "2.5.2" + +"json-bigint@^1.0.0": + "integrity" "sha512-SiPv/8VpZuWbvLSMtTDU8hEfrZWg/mH/nV/b4o0CYbSxu1UIQPLdwKOCIyLQX+VIPO5vrLX3i8qtqFyhdPSUSQ==" + "resolved" "https://registry.npmjs.org/json-bigint/-/json-bigint-1.0.0.tgz" + "version" "1.0.0" + dependencies: + "bignumber.js" "^9.0.0" + +"json-buffer@3.0.0": + "integrity" "sha512-CuUqjv0FUZIdXkHPI8MezCnFCdaTAacej1TZYulLoAg1h/PhwkdXFN4V/gzY4g+fMBCOV2xF+rp7t2XD2ns/NQ==" + "resolved" "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.0.tgz" + "version" "3.0.0" + +"json-buffer@3.0.1": + "integrity" "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==" + "resolved" "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz" + "version" "3.0.1" + +"json-parse-even-better-errors@^2.3.0": + "integrity" "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==" + "resolved" "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz" + "version" "2.3.1" + +"json-pointer@^0.6.1": + "integrity" "sha512-vLWcKbOaXlO+jvRy4qNd+TI1QUPZzfJj1tpJ3vAXDych5XJf93ftpUKe5pKCrzyIIwgBJcOcCVRUfqQP25afBw==" + "resolved" "https://registry.npmjs.org/json-pointer/-/json-pointer-0.6.2.tgz" + "version" "0.6.2" + dependencies: + "foreach" "^2.0.4" + +"json-rpc-random-id@^1.0.1": + "integrity" "sha512-RJ9YYNCkhVDBuP4zN5BBtYAzEl03yq/jIIsyif0JY9qyJuQQZNeDK7anAPKKlyEtLSj2s8h6hNh2F8zO5q7ScA==" + "resolved" "https://registry.npmjs.org/json-rpc-random-id/-/json-rpc-random-id-1.0.1.tgz" + "version" "1.0.1" + +"json-schema-traverse@^0.4.1": + "integrity" "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" + "resolved" "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz" + "version" "0.4.1" + +"json-schema-traverse@^1.0.0": + "integrity" "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" + "resolved" "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz" + "version" "1.0.0" + +"json-schema-typed@^7.0.3": + "integrity" "sha512-7DE8mpG+/fVw+dTpjbxnx47TaMnDfOI1jwft9g1VybltZCduyRQPJPvc+zzKY9WPHxhPWczyFuYa6I8Mw4iU5A==" + "resolved" "https://registry.npmjs.org/json-schema-typed/-/json-schema-typed-7.0.3.tgz" + "version" "7.0.3" + +"json-schema@0.4.0": + "integrity" "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==" + "resolved" "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz" + "version" "0.4.0" + +"json-stable-stringify-without-jsonify@^1.0.1": + "integrity" "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==" + "resolved" "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz" + "version" "1.0.1" + +"json-stable-stringify@^1.0.1", "json-stable-stringify@^1.0.2": + "integrity" "sha512-eunSSaEnxV12z+Z73y/j5N37/In40GK4GmsSy+tEHJMxknvqnA7/djeYtAgW0GsWHUfg+847WJjKaEylk2y09g==" + "resolved" "https://registry.npmjs.org/json-stable-stringify/-/json-stable-stringify-1.0.2.tgz" + "version" "1.0.2" + dependencies: + "jsonify" "^0.0.1" + +"json-stringify-safe@^5.0.1", "json-stringify-safe@~5.0.1": + "integrity" "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==" + "resolved" "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz" + "version" "5.0.1" + +"json5@^1.0.2": + "integrity" "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==" + "resolved" "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz" + "version" "1.0.2" + dependencies: + "minimist" "^1.2.0" + +"json5@^2.2.2", "json5@2.x": + "integrity" "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==" + "resolved" "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz" + "version" "2.2.3" + +"jsonfile@^2.1.0": + "integrity" "sha512-PKllAqbgLgxHaj8TElYymKCAgrASebJrWpTnEkOaTowt23VKXXN0sUeriJ+eh7y6ufb/CC5ap11pz71/cM0hUw==" + "resolved" "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz" + "version" "2.4.0" optionalDependencies: - graceful-fs "^4.1.6" + "graceful-fs" "^4.1.6" -jsonfile@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-4.0.0.tgz#8771aae0799b64076b76640fca058f9c10e33ecb" - integrity sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg== +"jsonfile@^4.0.0": + "integrity" "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==" + "resolved" "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz" + "version" "4.0.0" optionalDependencies: - graceful-fs "^4.1.6" + "graceful-fs" "^4.1.6" -jsonfile@^6.0.1: - version "6.1.0" - resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-6.1.0.tgz#bc55b2634793c679ec6403094eb13698a6ec0aae" - integrity sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ== +"jsonfile@^6.0.1": + "integrity" "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==" + "resolved" "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz" + "version" "6.1.0" dependencies: - universalify "^2.0.0" + "universalify" "^2.0.0" optionalDependencies: - graceful-fs "^4.1.6" - -jsonify@^0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/jsonify/-/jsonify-0.0.1.tgz#2aa3111dae3d34a0f151c63f3a45d995d9420978" - integrity sha512-2/Ki0GcmuqSrgFyelQq9M05y7PS0mEwuIzrf3f1fPqkVDVRvZrPZtVSMHxdgo8Aq0sxAOb/cr2aqqA3LeWHVPg== - -jsonparse@^1.2.0: - version "1.3.1" - resolved "https://registry.yarnpkg.com/jsonparse/-/jsonparse-1.3.1.tgz#3f4dae4a91fac315f71062f8521cc239f1366280" - integrity sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg== - -jsonschema@1.2.2: - version "1.2.2" - resolved "https://registry.yarnpkg.com/jsonschema/-/jsonschema-1.2.2.tgz#83ab9c63d65bf4d596f91d81195e78772f6452bc" - integrity sha512-iX5OFQ6yx9NgbHCwse51ohhKgLuLL7Z5cNOeZOPIlDUtAMrxlruHLzVZxbltdHE5mEDXN+75oFOwq6Gn0MZwsA== - -jsonschema@^1.4.0: - version "1.4.1" - resolved "https://registry.yarnpkg.com/jsonschema/-/jsonschema-1.4.1.tgz#cc4c3f0077fb4542982973d8a083b6b34f482dab" - integrity sha512-S6cATIPVv1z0IlxdN+zUk5EPjkGCdnhN4wVSBlvoUO1tOLJootbo9CquNJmbIh4yikWHiUedhRYrNPn1arpEmQ== - -jsprim@^1.2.2: - version "1.4.2" - resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.2.tgz#712c65533a15c878ba59e9ed5f0e26d5b77c5feb" - integrity sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw== - dependencies: - assert-plus "1.0.0" - extsprintf "1.3.0" - json-schema "0.4.0" - verror "1.10.0" - -jsqr@^1.2.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/jsqr/-/jsqr-1.4.0.tgz#8efb8d0a7cc6863cb6d95116b9069123ce9eb2d1" - integrity sha512-dxLob7q65Xg2DvstYkRpkYtmKm2sPJ9oFhrhmudT1dZvNFFTlroai3AWSpLey/w5vMcLBXRgOJsbXpdN9HzU/A== - -keccak256@^1.0.6: - version "1.0.6" - resolved "https://registry.yarnpkg.com/keccak256/-/keccak256-1.0.6.tgz#dd32fb771558fed51ce4e45a035ae7515573da58" - integrity sha512-8GLiM01PkdJVGUhR1e6M/AvWnSqYS0HaERI+K/QtStGDGlSTx2B1zTqZk4Zlqu5TxHJNTxWAdP9Y+WI50OApUw== - dependencies: - bn.js "^5.2.0" - buffer "^6.0.3" - keccak "^3.0.2" - -keccak@3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/keccak/-/keccak-3.0.2.tgz#4c2c6e8c54e04f2670ee49fa734eb9da152206e0" - integrity sha512-PyKKjkH53wDMLGrvmRGSNWgmSxZOUqbnXwKL9tmgbFYA1iAYqW21kfR7mZXV0MlESiefxQQE9X9fTa3X+2MPDQ== - dependencies: - node-addon-api "^2.0.0" - node-gyp-build "^4.2.0" - readable-stream "^3.6.0" - -keccak@^3.0.0, keccak@^3.0.1, keccak@^3.0.2, keccak@^3.0.3: - version "3.0.3" - resolved "https://registry.yarnpkg.com/keccak/-/keccak-3.0.3.tgz#4bc35ad917be1ef54ff246f904c2bbbf9ac61276" - integrity sha512-JZrLIAJWuZxKbCilMpNz5Vj7Vtb4scDG3dMXLOsbzBmQGyjwE61BbW7bJkfKKCShXiQZt3T6sBgALRtmd+nZaQ== - dependencies: - node-addon-api "^2.0.0" - node-gyp-build "^4.2.0" - readable-stream "^3.6.0" - -keyv@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/keyv/-/keyv-3.1.0.tgz#ecc228486f69991e49e9476485a5be1e8fc5c4d9" - integrity sha512-9ykJ/46SN/9KPM/sichzQ7OvXyGDYKGTaDlKMGCAlg2UK8KRy4jb0d8sFc+0Tt0YYnThq8X2RZgCg74RPxgcVA== - dependencies: - json-buffer "3.0.0" - -keyv@^4.0.0: - version "4.5.2" - resolved "https://registry.yarnpkg.com/keyv/-/keyv-4.5.2.tgz#0e310ce73bf7851ec702f2eaf46ec4e3805cce56" - integrity sha512-5MHbFaKn8cNSmVW7BYnijeAVlE4cYA/SVkifVgrh7yotnfhKmjuXpDKjrABLnT0SfHWV21P8ow07OGfRrNDg8g== - dependencies: - json-buffer "3.0.1" - -keyvaluestorage-interface@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/keyvaluestorage-interface/-/keyvaluestorage-interface-1.0.0.tgz#13ebdf71f5284ad54be94bd1ad9ed79adad515ff" - integrity sha512-8t6Q3TclQ4uZynJY9IGr2+SsIGwK9JHcO6ootkHCGA0CrQCRy+VkouYNO2xicET6b9al7QKzpebNow+gkpCL8g== - -kind-of@^3.0.2, kind-of@^3.0.3, kind-of@^3.2.0: - version "3.2.2" - resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.2.2.tgz#31ea21a734bab9bbb0f32466d893aea51e4a3c64" - integrity sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ== - dependencies: - is-buffer "^1.1.5" - -kind-of@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-4.0.0.tgz#20813df3d712928b207378691a45066fae72dd57" - integrity sha512-24XsCxmEbRwEDbz/qz3stgin8TTzZ1ESR56OMCN0ujYg+vRutNSiOj9bHH9u85DKgXguraugV5sFuvbD4FW/hw== - dependencies: - is-buffer "^1.1.5" - -kind-of@^5.0.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-5.1.0.tgz#729c91e2d857b7a419a1f9aa65685c4c33f5845d" - integrity sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw== - -kind-of@^6.0.0, kind-of@^6.0.2: - version "6.0.3" - resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd" - integrity sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw== - -klaw@^1.0.0: - version "1.3.1" - resolved "https://registry.yarnpkg.com/klaw/-/klaw-1.3.1.tgz#4088433b46b3b1ba259d78785d8e96f73ba02439" - integrity sha512-TED5xi9gGQjGpNnvRWknrwAB1eL5GciPfVFOt3Vk1OJCVDQbzuSfrF3hkUQKlsgKrG1F+0t5W0m+Fje1jIt8rw== + "graceful-fs" "^4.1.6" + +"jsonify@^0.0.1": + "integrity" "sha512-2/Ki0GcmuqSrgFyelQq9M05y7PS0mEwuIzrf3f1fPqkVDVRvZrPZtVSMHxdgo8Aq0sxAOb/cr2aqqA3LeWHVPg==" + "resolved" "https://registry.npmjs.org/jsonify/-/jsonify-0.0.1.tgz" + "version" "0.0.1" + +"jsonparse@^1.2.0": + "integrity" "sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==" + "resolved" "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz" + "version" "1.3.1" + +"jsonschema@^1.4.0": + "integrity" "sha512-S6cATIPVv1z0IlxdN+zUk5EPjkGCdnhN4wVSBlvoUO1tOLJootbo9CquNJmbIh4yikWHiUedhRYrNPn1arpEmQ==" + "resolved" "https://registry.npmjs.org/jsonschema/-/jsonschema-1.4.1.tgz" + "version" "1.4.1" + +"jsonschema@1.2.2": + "integrity" "sha512-iX5OFQ6yx9NgbHCwse51ohhKgLuLL7Z5cNOeZOPIlDUtAMrxlruHLzVZxbltdHE5mEDXN+75oFOwq6Gn0MZwsA==" + "resolved" "https://registry.npmjs.org/jsonschema/-/jsonschema-1.2.2.tgz" + "version" "1.2.2" + +"JSONStream@^1.3.5": + "integrity" "sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==" + "resolved" "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz" + "version" "1.3.5" + dependencies: + "jsonparse" "^1.2.0" + "through" ">=2.2.7 <3" + +"jsprim@^1.2.2": + "integrity" "sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw==" + "resolved" "https://registry.npmjs.org/jsprim/-/jsprim-1.4.2.tgz" + "version" "1.4.2" + dependencies: + "assert-plus" "1.0.0" + "extsprintf" "1.3.0" + "json-schema" "0.4.0" + "verror" "1.10.0" + +"jsqr@^1.2.0": + "integrity" "sha512-dxLob7q65Xg2DvstYkRpkYtmKm2sPJ9oFhrhmudT1dZvNFFTlroai3AWSpLey/w5vMcLBXRgOJsbXpdN9HzU/A==" + "resolved" "https://registry.npmjs.org/jsqr/-/jsqr-1.4.0.tgz" + "version" "1.4.0" + +"keccak@^3.0.0", "keccak@^3.0.1", "keccak@^3.0.2", "keccak@^3.0.3": + "integrity" "sha512-JZrLIAJWuZxKbCilMpNz5Vj7Vtb4scDG3dMXLOsbzBmQGyjwE61BbW7bJkfKKCShXiQZt3T6sBgALRtmd+nZaQ==" + "resolved" "https://registry.npmjs.org/keccak/-/keccak-3.0.3.tgz" + "version" "3.0.3" + dependencies: + "node-addon-api" "^2.0.0" + "node-gyp-build" "^4.2.0" + "readable-stream" "^3.6.0" + +"keccak@3.0.2": + "integrity" "sha512-PyKKjkH53wDMLGrvmRGSNWgmSxZOUqbnXwKL9tmgbFYA1iAYqW21kfR7mZXV0MlESiefxQQE9X9fTa3X+2MPDQ==" + "resolved" "https://registry.npmjs.org/keccak/-/keccak-3.0.2.tgz" + "version" "3.0.2" + dependencies: + "node-addon-api" "^2.0.0" + "node-gyp-build" "^4.2.0" + "readable-stream" "^3.6.0" + +"keccak256@^1.0.6": + "integrity" "sha512-8GLiM01PkdJVGUhR1e6M/AvWnSqYS0HaERI+K/QtStGDGlSTx2B1zTqZk4Zlqu5TxHJNTxWAdP9Y+WI50OApUw==" + "resolved" "https://registry.npmjs.org/keccak256/-/keccak256-1.0.6.tgz" + "version" "1.0.6" + dependencies: + "bn.js" "^5.2.0" + "buffer" "^6.0.3" + "keccak" "^3.0.2" + +"keyv@^3.0.0": + "integrity" "sha512-9ykJ/46SN/9KPM/sichzQ7OvXyGDYKGTaDlKMGCAlg2UK8KRy4jb0d8sFc+0Tt0YYnThq8X2RZgCg74RPxgcVA==" + "resolved" "https://registry.npmjs.org/keyv/-/keyv-3.1.0.tgz" + "version" "3.1.0" + dependencies: + "json-buffer" "3.0.0" + +"keyv@^4.0.0": + "integrity" "sha512-5MHbFaKn8cNSmVW7BYnijeAVlE4cYA/SVkifVgrh7yotnfhKmjuXpDKjrABLnT0SfHWV21P8ow07OGfRrNDg8g==" + "resolved" "https://registry.npmjs.org/keyv/-/keyv-4.5.2.tgz" + "version" "4.5.2" + dependencies: + "json-buffer" "3.0.1" + +"keyvaluestorage-interface@^1.0.0": + "integrity" "sha512-8t6Q3TclQ4uZynJY9IGr2+SsIGwK9JHcO6ootkHCGA0CrQCRy+VkouYNO2xicET6b9al7QKzpebNow+gkpCL8g==" + "resolved" "https://registry.npmjs.org/keyvaluestorage-interface/-/keyvaluestorage-interface-1.0.0.tgz" + "version" "1.0.0" + +"kind-of@^3.0.2", "kind-of@^3.0.3", "kind-of@^3.2.0": + "integrity" "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==" + "resolved" "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz" + "version" "3.2.2" + dependencies: + "is-buffer" "^1.1.5" + +"kind-of@^4.0.0": + "integrity" "sha512-24XsCxmEbRwEDbz/qz3stgin8TTzZ1ESR56OMCN0ujYg+vRutNSiOj9bHH9u85DKgXguraugV5sFuvbD4FW/hw==" + "resolved" "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz" + "version" "4.0.0" + dependencies: + "is-buffer" "^1.1.5" + +"kind-of@^5.0.0": + "integrity" "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==" + "resolved" "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz" + "version" "5.1.0" + +"kind-of@^6.0.0": + "integrity" "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==" + "resolved" "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz" + "version" "6.0.3" + +"kind-of@^6.0.2": + "integrity" "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==" + "resolved" "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz" + "version" "6.0.3" + +"klaw@^1.0.0": + "integrity" "sha512-TED5xi9gGQjGpNnvRWknrwAB1eL5GciPfVFOt3Vk1OJCVDQbzuSfrF3hkUQKlsgKrG1F+0t5W0m+Fje1jIt8rw==" + "resolved" "https://registry.npmjs.org/klaw/-/klaw-1.3.1.tgz" + "version" "1.3.1" optionalDependencies: - graceful-fs "^4.1.9" + "graceful-fs" "^4.1.9" -kleur@^3.0.3: - version "3.0.3" - resolved "https://registry.yarnpkg.com/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e" - integrity sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w== +"kleur@^3.0.3": + "integrity" "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==" + "resolved" "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz" + "version" "3.0.3" -kujira.js@^0.8.145: - version "0.8.145" - resolved "https://registry.yarnpkg.com/kujira.js/-/kujira.js-0.8.145.tgz#4267015c3d2e566e139fbbdfab9334cd93a6c9c6" - integrity sha512-hU9AzgwZQ6LYsnqYg1u7MaIfFW17jX9QLWq/A+gh/77K6uTPkI+fEoj6lEn10/nFEXkdGPdCACjghtdSJ4aD+w== +"kujira.js@^0.8.145": + "integrity" "sha512-hU9AzgwZQ6LYsnqYg1u7MaIfFW17jX9QLWq/A+gh/77K6uTPkI+fEoj6lEn10/nFEXkdGPdCACjghtdSJ4aD+w==" + "resolved" "https://registry.npmjs.org/kujira.js/-/kujira.js-0.8.145.tgz" + "version" "0.8.145" dependencies: "@cosmjs/cosmwasm-stargate" "^0.30.1" "@cosmjs/launchpad" "^0.27.1" @@ -11763,2099 +12217,2163 @@ kujira.js@^0.8.145: "@injectivelabs/core-proto-ts" "^0.0.18" "@keplr-wallet/types" "^0.11.12" "@types/google-protobuf" "^3.15.6" - chain-registry "^1.15.0" - cosmjs-types "^0.8.0" - long "^4.0.0" - text-encoding "^0.7.0" - yarn "^1.22.19" - -kuler@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/kuler/-/kuler-2.0.0.tgz#e2c570a3800388fb44407e851531c1d670b061b3" - integrity sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A== - -lcid@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/lcid/-/lcid-2.0.0.tgz#6ef5d2df60e52f82eb228a4c373e8d1f397253cf" - integrity sha512-avPEb8P8EGnwXKClwsNUgryVjllcRqtMYa49NTsbQagYuT1DcXnl1915oxWjoyGrXR6zH/Y0Zc96xWsPcoDKeA== - dependencies: - invert-kv "^2.0.0" - -lcov-parse@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/lcov-parse/-/lcov-parse-1.0.0.tgz#eb0d46b54111ebc561acb4c408ef9363bdc8f7e0" - integrity sha512-aprLII/vPzuQvYZnDRU78Fns9I2Ag3gi4Ipga/hxnVMCZC8DnR2nI7XBqrPoywGfxqIx/DgarGvDJZAD3YBTgQ== - -level-codec@9.0.2, level-codec@^9.0.0: - version "9.0.2" - resolved "https://registry.yarnpkg.com/level-codec/-/level-codec-9.0.2.tgz#fd60df8c64786a80d44e63423096ffead63d8cbc" - integrity sha512-UyIwNb1lJBChJnGfjmO0OR+ezh2iVu1Kas3nvBS/BzGnx79dv6g7unpKIDNPMhfdTEGoc7mC8uAu51XEtX+FHQ== - dependencies: - buffer "^5.6.0" - -level-concat-iterator@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/level-concat-iterator/-/level-concat-iterator-3.1.0.tgz#5235b1f744bc34847ed65a50548aa88d22e881cf" - integrity sha512-BWRCMHBxbIqPxJ8vHOvKUsaO0v1sLYZtjN3K2iZJsRBYtp+ONsY6Jfi6hy9K3+zolgQRryhIn2NRZjZnWJ9NmQ== - dependencies: - catering "^2.1.0" - -level-concat-iterator@~2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/level-concat-iterator/-/level-concat-iterator-2.0.1.tgz#1d1009cf108340252cb38c51f9727311193e6263" - integrity sha512-OTKKOqeav2QWcERMJR7IS9CUo1sHnke2C0gkSmcR7QuEtFNLLzHQAvnMw8ykvEcv0Qtkg0p7FOwP1v9e5Smdcw== - -level-errors@^2.0.0, level-errors@~2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/level-errors/-/level-errors-2.0.1.tgz#2132a677bf4e679ce029f517c2f17432800c05c8" - integrity sha512-UVprBJXite4gPS+3VznfgDSU8PTRuVX0NXwoWW50KLxd2yw4Y1t2JUR5In1itQnudZqRMT9DlAM3Q//9NCjCFw== - dependencies: - errno "~0.1.1" - -level-iterator-stream@~4.0.0: - version "4.0.2" - resolved "https://registry.yarnpkg.com/level-iterator-stream/-/level-iterator-stream-4.0.2.tgz#7ceba69b713b0d7e22fcc0d1f128ccdc8a24f79c" - integrity sha512-ZSthfEqzGSOMWoUGhTXdX9jv26d32XJuHz/5YnuHZzH6wldfWMOVwI9TBtKcya4BKTyTt3XVA0A3cF3q5CY30Q== - dependencies: - inherits "^2.0.4" - readable-stream "^3.4.0" - xtend "^4.0.2" - -level-js@^5.0.0: - version "5.0.2" - resolved "https://registry.yarnpkg.com/level-js/-/level-js-5.0.2.tgz#5e280b8f93abd9ef3a305b13faf0b5397c969b55" - integrity sha512-SnBIDo2pdO5VXh02ZmtAyPP6/+6YTJg2ibLtl9C34pWvmtMEmRTWpra+qO/hifkUtBTOtfx6S9vLDjBsBK4gRg== - dependencies: - abstract-leveldown "~6.2.3" - buffer "^5.5.0" - inherits "^2.0.3" - ltgt "^2.1.2" - -level-packager@^5.1.0: - version "5.1.1" - resolved "https://registry.yarnpkg.com/level-packager/-/level-packager-5.1.1.tgz#323ec842d6babe7336f70299c14df2e329c18939" - integrity sha512-HMwMaQPlTC1IlcwT3+swhqf/NUO+ZhXVz6TY1zZIIZlIR0YSn8GtAAWmIvKjNY16ZkEg/JcpAuQskxsXqC0yOQ== - dependencies: - encoding-down "^6.3.0" - levelup "^4.3.2" - -level-supports@^2.0.1: - version "2.1.0" - resolved "https://registry.yarnpkg.com/level-supports/-/level-supports-2.1.0.tgz#9af908d853597ecd592293b2fad124375be79c5f" - integrity sha512-E486g1NCjW5cF78KGPrMDRBYzPuueMZ6VBXHT6gC7A8UYWGiM14fGgp+s/L1oFfDWSPV/+SFkYCmZ0SiESkRKA== - -level-supports@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/level-supports/-/level-supports-4.0.1.tgz#431546f9d81f10ff0fea0e74533a0e875c08c66a" - integrity sha512-PbXpve8rKeNcZ9C1mUicC9auIYFyGpkV9/i6g76tLgANwWhtG2v7I4xNBUlkn3lE2/dZF3Pi0ygYGtLc4RXXdA== - -level-supports@~1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/level-supports/-/level-supports-1.0.1.tgz#2f530a596834c7301622521988e2c36bb77d122d" - integrity sha512-rXM7GYnW8gsl1vedTJIbzOrRv85c/2uCMpiiCzO2fndd06U/kUXEEU9evYn4zFggBOg36IsBW8LzqIpETwwQzg== - dependencies: - xtend "^4.0.2" - -level-transcoder@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/level-transcoder/-/level-transcoder-1.0.1.tgz#f8cef5990c4f1283d4c86d949e73631b0bc8ba9c" - integrity sha512-t7bFwFtsQeD8cl8NIoQ2iwxA0CL/9IFw7/9gAjOonH0PWTTiRfY7Hq+Ejbsxh86tXobDQ6IOiddjNYIfOBs06w== - dependencies: - buffer "^6.0.3" - module-error "^1.0.1" - -level-write-stream@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/level-write-stream/-/level-write-stream-1.0.0.tgz#3f7fbb679a55137c0feb303dee766e12ee13c1dc" - integrity sha512-bBNKOEOMl8msO+uIM9YX/gUO6ckokZ/4pCwTm/lwvs46x6Xs8Zy0sn3Vh37eDqse4mhy4fOMIb/JsSM2nyQFtw== - dependencies: - end-stream "~0.1.0" - -level@6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/level/-/level-6.0.1.tgz#dc34c5edb81846a6de5079eac15706334b0d7cd6" - integrity sha512-psRSqJZCsC/irNhfHzrVZbmPYXDcEYhA5TVNwr+V92jF44rbf86hqGp8fiT702FyiArScYIlPSBTDUASCVNSpw== - dependencies: - level-js "^5.0.0" - level-packager "^5.1.0" - leveldown "^5.4.0" - -level@^8.0.0: - version "8.0.0" - resolved "https://registry.yarnpkg.com/level/-/level-8.0.0.tgz#41b4c515dabe28212a3e881b61c161ffead14394" - integrity sha512-ypf0jjAk2BWI33yzEaaotpq7fkOPALKAgDBxggO6Q9HGX2MRXn0wbP1Jn/tJv1gtL867+YOjOB49WaUF3UoJNQ== - dependencies: - browser-level "^1.0.1" - classic-level "^1.2.0" - -leveldown@5.6.0, leveldown@^5.4.0: - version "5.6.0" - resolved "https://registry.yarnpkg.com/leveldown/-/leveldown-5.6.0.tgz#16ba937bb2991c6094e13ac5a6898ee66d3eee98" - integrity sha512-iB8O/7Db9lPaITU1aA2txU/cBEXAt4vWwKQRrrWuS6XDgbP4QZGj9BL2aNbwb002atoQ/lIotJkfyzz+ygQnUQ== - dependencies: - abstract-leveldown "~6.2.1" - napi-macros "~2.0.0" - node-gyp-build "~4.1.0" - -leveldown@6.1.0: - version "6.1.0" - resolved "https://registry.yarnpkg.com/leveldown/-/leveldown-6.1.0.tgz#7ab1297706f70c657d1a72b31b40323aa612b9ee" - integrity sha512-8C7oJDT44JXxh04aSSsfcMI8YiaGRhOFI9/pMEL7nWJLVsWajDPTRxsSHTM2WcTVY5nXM+SuRHzPPi0GbnDX+w== - dependencies: - abstract-leveldown "^7.2.0" - napi-macros "~2.0.0" - node-gyp-build "^4.3.0" - -levelup@4.4.0, levelup@^4.3.2: - version "4.4.0" - resolved "https://registry.yarnpkg.com/levelup/-/levelup-4.4.0.tgz#f89da3a228c38deb49c48f88a70fb71f01cafed6" - integrity sha512-94++VFO3qN95cM/d6eBXvd894oJE0w3cInq9USsyQzzoJxmiYzPAocNcuGCPGGjoXqDVJcr3C1jzt1TSjyaiLQ== - dependencies: - deferred-leveldown "~5.3.0" - level-errors "~2.0.0" - level-iterator-stream "~4.0.0" - level-supports "~1.0.0" - xtend "~4.0.0" - -leven@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/leven/-/leven-3.1.0.tgz#77891de834064cccba82ae7842bb6b14a13ed7f2" - integrity sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A== - -levn@^0.4.1: - version "0.4.1" - resolved "https://registry.yarnpkg.com/levn/-/levn-0.4.1.tgz#ae4562c007473b932a6200d403268dd2fffc6ade" - integrity sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ== - dependencies: - prelude-ls "^1.2.1" - type-check "~0.4.0" - -levn@~0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/levn/-/levn-0.3.0.tgz#3b09924edf9f083c0490fdd4c0bc4421e04764ee" - integrity sha512-0OO4y2iOHix2W6ujICbKIaEQXvFQHue65vUG3pb5EUomzPI90z9hsA1VsO/dbIIpC53J8gxM9Q4Oho0jrCM/yA== - dependencies: - prelude-ls "~1.1.2" - type-check "~0.3.2" - -libsodium-wrappers@^0.7.6: - version "0.7.11" - resolved "https://registry.yarnpkg.com/libsodium-wrappers/-/libsodium-wrappers-0.7.11.tgz#53bd20606dffcc54ea2122133c7da38218f575f7" - integrity sha512-SrcLtXj7BM19vUKtQuyQKiQCRJPgbpauzl3s0rSwD+60wtHqSUuqcoawlMDheCJga85nKOQwxNYQxf/CKAvs6Q== - dependencies: - libsodium "^0.7.11" - -libsodium@^0.7.11: - version "0.7.11" - resolved "https://registry.yarnpkg.com/libsodium/-/libsodium-0.7.11.tgz#cd10aae7bcc34a300cc6ad0ac88fcca674cfbc2e" - integrity sha512-WPfJ7sS53I2s4iM58QxY3Inb83/6mjlYgcmZs7DJsvDlnmVUwNinBCi5vBT43P6bHRy01O4zsMU2CoVR6xJ40A== - -lines-and-columns@^1.1.6: - version "1.2.4" - resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" - integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== - -link-module-alias@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/link-module-alias/-/link-module-alias-1.2.0.tgz#6a3b7b014cfe18b2759a1222fffce6a40fc120e4" - integrity sha512-ahPjXepbSVKbahTB6LxR//VHm8HPfI+QQygCH+E82spBY4HR5VPJTvlhKBc9F7muVxnS6C1rRfoPOXAbWO/fyw== - dependencies: - chalk "^2.4.1" - -locate-path@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-2.0.0.tgz#2b568b265eec944c6d9c0de9c3dbbbca0354cd8e" - integrity sha512-NCI2kiDkyR7VeEKm27Kda/iQHyKJe1Bu0FlTbYp3CqJu+9IFe9bLyAjMxf5ZDDbEg+iMPzB5zYyUTSm8wVTKmA== - dependencies: - p-locate "^2.0.0" - path-exists "^3.0.0" - -locate-path@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-3.0.0.tgz#dbec3b3ab759758071b58fe59fc41871af21400e" - integrity sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A== - dependencies: - p-locate "^3.0.0" - path-exists "^3.0.0" - -locate-path@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-5.0.0.tgz#1afba396afd676a6d42504d0a67a3a7eb9f62aa0" - integrity sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g== - dependencies: - p-locate "^4.1.0" - -locate-path@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-6.0.0.tgz#55321eb309febbc59c4801d931a72452a681d286" - integrity sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw== - dependencies: - p-locate "^5.0.0" - -lodash-es@^4.17.21, lodash-es@^4.2.1: - version "4.17.21" - resolved "https://registry.yarnpkg.com/lodash-es/-/lodash-es-4.17.21.tgz#43e626c46e6591b7750beb2b50117390c609e3ee" - integrity sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw== - -lodash.flatmap@^4.5.0: - version "4.5.0" - resolved "https://registry.yarnpkg.com/lodash.flatmap/-/lodash.flatmap-4.5.0.tgz#ef8cbf408f6e48268663345305c6acc0b778702e" - integrity sha512-/OcpcAGWlrZyoHGeHh3cAoa6nGdX6QYtmzNP84Jqol6UEQQ2gIaU3H+0eICcjcKGl0/XF8LWOujNn9lffsnaOg== - -lodash.isequal@4.5.0: - version "4.5.0" - resolved "https://registry.yarnpkg.com/lodash.isequal/-/lodash.isequal-4.5.0.tgz#415c4478f2bcc30120c22ce10ed3226f7d3e18e0" - integrity sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ== - -lodash.memoize@4.x: - version "4.1.2" - resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe" - integrity sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag== - -lodash.merge@^4.6.2: - version "4.6.2" - resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a" - integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ== - -lodash.sortby@^4.7.0: - version "4.7.0" - resolved "https://registry.yarnpkg.com/lodash.sortby/-/lodash.sortby-4.7.0.tgz#edd14c824e2cc9c1e0b0a1b42bb5210516a42438" - integrity sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA== - -lodash.truncate@^4.4.2: - version "4.4.2" - resolved "https://registry.yarnpkg.com/lodash.truncate/-/lodash.truncate-4.4.2.tgz#5a350da0b1113b837ecfffd5812cbe58d6eae193" - integrity sha512-jttmRe7bRse52OsWIMDLaXxWqRAmtIUccAQ3garviCqJjafXOfNMO0yMfNpdD6zbGaTU0P5Nz7e7gAT6cKmJRw== - -lodash.values@^4.3.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/lodash.values/-/lodash.values-4.3.0.tgz#a3a6c2b0ebecc5c2cba1c17e6e620fe81b53d347" - integrity sha512-r0RwvdCv8id9TUblb/O7rYPwVy6lerCbcawrfdo9iC/1t1wsNMJknO79WNBgwkH0hIeJ08jmvvESbFpNb4jH0Q== - -lodash@^4.17.11, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.20, lodash@^4.17.21, lodash@^4.17.4, lodash@^4.2.1, lodash@^4.7.0: - version "4.17.21" - resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" - integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== - -log-symbols@4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-4.1.0.tgz#3fbdbb95b4683ac9fc785111e792e558d4abd503" - integrity sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg== - dependencies: - chalk "^4.1.0" - is-unicode-supported "^0.1.0" - -logform@^2.3.2, logform@^2.4.0: - version "2.5.1" - resolved "https://registry.yarnpkg.com/logform/-/logform-2.5.1.tgz#44c77c34becd71b3a42a3970c77929e52c6ed48b" - integrity sha512-9FyqAm9o9NKKfiAKfZoYo9bGXXuwMkxQiQttkT4YjjVtQVIQtK6LmVtlxmCaFswo6N4AfEkHqZTV0taDtPotNg== + "chain-registry" "^1.15.0" + "cosmjs-types" "^0.8.0" + "long" "^4.0.0" + "text-encoding" "^0.7.0" + "yarn" "^1.22.19" + +"kuler@^2.0.0": + "integrity" "sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A==" + "resolved" "https://registry.npmjs.org/kuler/-/kuler-2.0.0.tgz" + "version" "2.0.0" + +"lcid@^2.0.0": + "integrity" "sha512-avPEb8P8EGnwXKClwsNUgryVjllcRqtMYa49NTsbQagYuT1DcXnl1915oxWjoyGrXR6zH/Y0Zc96xWsPcoDKeA==" + "resolved" "https://registry.npmjs.org/lcid/-/lcid-2.0.0.tgz" + "version" "2.0.0" + dependencies: + "invert-kv" "^2.0.0" + +"lcov-parse@^1.0.0": + "integrity" "sha512-aprLII/vPzuQvYZnDRU78Fns9I2Ag3gi4Ipga/hxnVMCZC8DnR2nI7XBqrPoywGfxqIx/DgarGvDJZAD3YBTgQ==" + "resolved" "https://registry.npmjs.org/lcov-parse/-/lcov-parse-1.0.0.tgz" + "version" "1.0.0" + +"level-codec@^9.0.0", "level-codec@9.0.2": + "integrity" "sha512-UyIwNb1lJBChJnGfjmO0OR+ezh2iVu1Kas3nvBS/BzGnx79dv6g7unpKIDNPMhfdTEGoc7mC8uAu51XEtX+FHQ==" + "resolved" "https://registry.npmjs.org/level-codec/-/level-codec-9.0.2.tgz" + "version" "9.0.2" + dependencies: + "buffer" "^5.6.0" + +"level-concat-iterator@^3.0.0": + "integrity" "sha512-BWRCMHBxbIqPxJ8vHOvKUsaO0v1sLYZtjN3K2iZJsRBYtp+ONsY6Jfi6hy9K3+zolgQRryhIn2NRZjZnWJ9NmQ==" + "resolved" "https://registry.npmjs.org/level-concat-iterator/-/level-concat-iterator-3.1.0.tgz" + "version" "3.1.0" + dependencies: + "catering" "^2.1.0" + +"level-concat-iterator@~2.0.0": + "integrity" "sha512-OTKKOqeav2QWcERMJR7IS9CUo1sHnke2C0gkSmcR7QuEtFNLLzHQAvnMw8ykvEcv0Qtkg0p7FOwP1v9e5Smdcw==" + "resolved" "https://registry.npmjs.org/level-concat-iterator/-/level-concat-iterator-2.0.1.tgz" + "version" "2.0.1" + +"level-errors@^2.0.0", "level-errors@~2.0.0": + "integrity" "sha512-UVprBJXite4gPS+3VznfgDSU8PTRuVX0NXwoWW50KLxd2yw4Y1t2JUR5In1itQnudZqRMT9DlAM3Q//9NCjCFw==" + "resolved" "https://registry.npmjs.org/level-errors/-/level-errors-2.0.1.tgz" + "version" "2.0.1" + dependencies: + "errno" "~0.1.1" + +"level-iterator-stream@~4.0.0": + "integrity" "sha512-ZSthfEqzGSOMWoUGhTXdX9jv26d32XJuHz/5YnuHZzH6wldfWMOVwI9TBtKcya4BKTyTt3XVA0A3cF3q5CY30Q==" + "resolved" "https://registry.npmjs.org/level-iterator-stream/-/level-iterator-stream-4.0.2.tgz" + "version" "4.0.2" + dependencies: + "inherits" "^2.0.4" + "readable-stream" "^3.4.0" + "xtend" "^4.0.2" + +"level-js@^5.0.0": + "integrity" "sha512-SnBIDo2pdO5VXh02ZmtAyPP6/+6YTJg2ibLtl9C34pWvmtMEmRTWpra+qO/hifkUtBTOtfx6S9vLDjBsBK4gRg==" + "resolved" "https://registry.npmjs.org/level-js/-/level-js-5.0.2.tgz" + "version" "5.0.2" + dependencies: + "abstract-leveldown" "~6.2.3" + "buffer" "^5.5.0" + "inherits" "^2.0.3" + "ltgt" "^2.1.2" + +"level-packager@^5.1.0": + "integrity" "sha512-HMwMaQPlTC1IlcwT3+swhqf/NUO+ZhXVz6TY1zZIIZlIR0YSn8GtAAWmIvKjNY16ZkEg/JcpAuQskxsXqC0yOQ==" + "resolved" "https://registry.npmjs.org/level-packager/-/level-packager-5.1.1.tgz" + "version" "5.1.1" + dependencies: + "encoding-down" "^6.3.0" + "levelup" "^4.3.2" + +"level-supports@^2.0.1": + "integrity" "sha512-E486g1NCjW5cF78KGPrMDRBYzPuueMZ6VBXHT6gC7A8UYWGiM14fGgp+s/L1oFfDWSPV/+SFkYCmZ0SiESkRKA==" + "resolved" "https://registry.npmjs.org/level-supports/-/level-supports-2.1.0.tgz" + "version" "2.1.0" + +"level-supports@^4.0.0": + "integrity" "sha512-PbXpve8rKeNcZ9C1mUicC9auIYFyGpkV9/i6g76tLgANwWhtG2v7I4xNBUlkn3lE2/dZF3Pi0ygYGtLc4RXXdA==" + "resolved" "https://registry.npmjs.org/level-supports/-/level-supports-4.0.1.tgz" + "version" "4.0.1" + +"level-supports@~1.0.0": + "integrity" "sha512-rXM7GYnW8gsl1vedTJIbzOrRv85c/2uCMpiiCzO2fndd06U/kUXEEU9evYn4zFggBOg36IsBW8LzqIpETwwQzg==" + "resolved" "https://registry.npmjs.org/level-supports/-/level-supports-1.0.1.tgz" + "version" "1.0.1" + dependencies: + "xtend" "^4.0.2" + +"level-transcoder@^1.0.1": + "integrity" "sha512-t7bFwFtsQeD8cl8NIoQ2iwxA0CL/9IFw7/9gAjOonH0PWTTiRfY7Hq+Ejbsxh86tXobDQ6IOiddjNYIfOBs06w==" + "resolved" "https://registry.npmjs.org/level-transcoder/-/level-transcoder-1.0.1.tgz" + "version" "1.0.1" + dependencies: + "buffer" "^6.0.3" + "module-error" "^1.0.1" + +"level-write-stream@1.0.0": + "integrity" "sha512-bBNKOEOMl8msO+uIM9YX/gUO6ckokZ/4pCwTm/lwvs46x6Xs8Zy0sn3Vh37eDqse4mhy4fOMIb/JsSM2nyQFtw==" + "resolved" "https://registry.npmjs.org/level-write-stream/-/level-write-stream-1.0.0.tgz" + "version" "1.0.0" + dependencies: + "end-stream" "~0.1.0" + +"level@^8.0.0": + "integrity" "sha512-ypf0jjAk2BWI33yzEaaotpq7fkOPALKAgDBxggO6Q9HGX2MRXn0wbP1Jn/tJv1gtL867+YOjOB49WaUF3UoJNQ==" + "resolved" "https://registry.npmjs.org/level/-/level-8.0.0.tgz" + "version" "8.0.0" + dependencies: + "browser-level" "^1.0.1" + "classic-level" "^1.2.0" + +"level@6.0.1": + "integrity" "sha512-psRSqJZCsC/irNhfHzrVZbmPYXDcEYhA5TVNwr+V92jF44rbf86hqGp8fiT702FyiArScYIlPSBTDUASCVNSpw==" + "resolved" "https://registry.npmjs.org/level/-/level-6.0.1.tgz" + "version" "6.0.1" + dependencies: + "level-js" "^5.0.0" + "level-packager" "^5.1.0" + "leveldown" "^5.4.0" + +"leveldown@^5.4.0", "leveldown@5.6.0": + "integrity" "sha512-iB8O/7Db9lPaITU1aA2txU/cBEXAt4vWwKQRrrWuS6XDgbP4QZGj9BL2aNbwb002atoQ/lIotJkfyzz+ygQnUQ==" + "resolved" "https://registry.npmjs.org/leveldown/-/leveldown-5.6.0.tgz" + "version" "5.6.0" + dependencies: + "abstract-leveldown" "~6.2.1" + "napi-macros" "~2.0.0" + "node-gyp-build" "~4.1.0" + +"leveldown@6.1.0": + "integrity" "sha512-8C7oJDT44JXxh04aSSsfcMI8YiaGRhOFI9/pMEL7nWJLVsWajDPTRxsSHTM2WcTVY5nXM+SuRHzPPi0GbnDX+w==" + "resolved" "https://registry.npmjs.org/leveldown/-/leveldown-6.1.0.tgz" + "version" "6.1.0" + dependencies: + "abstract-leveldown" "^7.2.0" + "napi-macros" "~2.0.0" + "node-gyp-build" "^4.3.0" + +"levelup@^4.3.2", "levelup@4.4.0": + "integrity" "sha512-94++VFO3qN95cM/d6eBXvd894oJE0w3cInq9USsyQzzoJxmiYzPAocNcuGCPGGjoXqDVJcr3C1jzt1TSjyaiLQ==" + "resolved" "https://registry.npmjs.org/levelup/-/levelup-4.4.0.tgz" + "version" "4.4.0" + dependencies: + "deferred-leveldown" "~5.3.0" + "level-errors" "~2.0.0" + "level-iterator-stream" "~4.0.0" + "level-supports" "~1.0.0" + "xtend" "~4.0.0" + +"leven@^3.1.0": + "integrity" "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==" + "resolved" "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz" + "version" "3.1.0" + +"levn@^0.4.1": + "integrity" "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==" + "resolved" "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz" + "version" "0.4.1" + dependencies: + "prelude-ls" "^1.2.1" + "type-check" "~0.4.0" + +"levn@~0.3.0": + "integrity" "sha512-0OO4y2iOHix2W6ujICbKIaEQXvFQHue65vUG3pb5EUomzPI90z9hsA1VsO/dbIIpC53J8gxM9Q4Oho0jrCM/yA==" + "resolved" "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz" + "version" "0.3.0" + dependencies: + "prelude-ls" "~1.1.2" + "type-check" "~0.3.2" + +"libsodium-wrappers@^0.7.6": + "integrity" "sha512-SrcLtXj7BM19vUKtQuyQKiQCRJPgbpauzl3s0rSwD+60wtHqSUuqcoawlMDheCJga85nKOQwxNYQxf/CKAvs6Q==" + "resolved" "https://registry.npmjs.org/libsodium-wrappers/-/libsodium-wrappers-0.7.11.tgz" + "version" "0.7.11" + dependencies: + "libsodium" "^0.7.11" + +"libsodium@^0.7.11": + "integrity" "sha512-WPfJ7sS53I2s4iM58QxY3Inb83/6mjlYgcmZs7DJsvDlnmVUwNinBCi5vBT43P6bHRy01O4zsMU2CoVR6xJ40A==" + "resolved" "https://registry.npmjs.org/libsodium/-/libsodium-0.7.11.tgz" + "version" "0.7.11" + +"lines-and-columns@^1.1.6": + "integrity" "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==" + "resolved" "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz" + "version" "1.2.4" + +"link-module-alias@^1.2.0": + "integrity" "sha512-ahPjXepbSVKbahTB6LxR//VHm8HPfI+QQygCH+E82spBY4HR5VPJTvlhKBc9F7muVxnS6C1rRfoPOXAbWO/fyw==" + "resolved" "https://registry.npmjs.org/link-module-alias/-/link-module-alias-1.2.0.tgz" + "version" "1.2.0" + dependencies: + "chalk" "^2.4.1" + +"locate-path@^2.0.0": + "integrity" "sha512-NCI2kiDkyR7VeEKm27Kda/iQHyKJe1Bu0FlTbYp3CqJu+9IFe9bLyAjMxf5ZDDbEg+iMPzB5zYyUTSm8wVTKmA==" + "resolved" "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz" + "version" "2.0.0" + dependencies: + "p-locate" "^2.0.0" + "path-exists" "^3.0.0" + +"locate-path@^3.0.0": + "integrity" "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==" + "resolved" "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz" + "version" "3.0.0" + dependencies: + "p-locate" "^3.0.0" + "path-exists" "^3.0.0" + +"locate-path@^5.0.0": + "integrity" "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==" + "resolved" "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz" + "version" "5.0.0" + dependencies: + "p-locate" "^4.1.0" + +"locate-path@^6.0.0": + "integrity" "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==" + "resolved" "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz" + "version" "6.0.0" + dependencies: + "p-locate" "^5.0.0" + +"lodash-es@^4.17.21", "lodash-es@^4.2.1": + "integrity" "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==" + "resolved" "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz" + "version" "4.17.21" + +"lodash.camelcase@^4.3.0": + "integrity" "sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==" + "resolved" "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz" + "version" "4.3.0" + +"lodash.flatmap@^4.5.0": + "integrity" "sha512-/OcpcAGWlrZyoHGeHh3cAoa6nGdX6QYtmzNP84Jqol6UEQQ2gIaU3H+0eICcjcKGl0/XF8LWOujNn9lffsnaOg==" + "resolved" "https://registry.npmjs.org/lodash.flatmap/-/lodash.flatmap-4.5.0.tgz" + "version" "4.5.0" + +"lodash.isequal@4.5.0": + "integrity" "sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ==" + "resolved" "https://registry.npmjs.org/lodash.isequal/-/lodash.isequal-4.5.0.tgz" + "version" "4.5.0" + +"lodash.memoize@4.x": + "integrity" "sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==" + "resolved" "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz" + "version" "4.1.2" + +"lodash.merge@^4.6.2": + "integrity" "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==" + "resolved" "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz" + "version" "4.6.2" + +"lodash.sortby@^4.7.0": + "integrity" "sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA==" + "resolved" "https://registry.npmjs.org/lodash.sortby/-/lodash.sortby-4.7.0.tgz" + "version" "4.7.0" + +"lodash.truncate@^4.4.2": + "integrity" "sha512-jttmRe7bRse52OsWIMDLaXxWqRAmtIUccAQ3garviCqJjafXOfNMO0yMfNpdD6zbGaTU0P5Nz7e7gAT6cKmJRw==" + "resolved" "https://registry.npmjs.org/lodash.truncate/-/lodash.truncate-4.4.2.tgz" + "version" "4.4.2" + +"lodash.values@^4.3.0": + "integrity" "sha512-r0RwvdCv8id9TUblb/O7rYPwVy6lerCbcawrfdo9iC/1t1wsNMJknO79WNBgwkH0hIeJ08jmvvESbFpNb4jH0Q==" + "resolved" "https://registry.npmjs.org/lodash.values/-/lodash.values-4.3.0.tgz" + "version" "4.3.0" + +"lodash@^4.17.11", "lodash@^4.17.14", "lodash@^4.17.15", "lodash@^4.17.20", "lodash@^4.17.21", "lodash@^4.17.4", "lodash@^4.2.1", "lodash@^4.7.0": + "integrity" "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + "resolved" "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz" + "version" "4.17.21" + +"log-symbols@4.1.0": + "integrity" "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==" + "resolved" "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz" + "version" "4.1.0" + dependencies: + "chalk" "^4.1.0" + "is-unicode-supported" "^0.1.0" + +"logform@^2.3.2", "logform@^2.4.0": + "integrity" "sha512-9FyqAm9o9NKKfiAKfZoYo9bGXXuwMkxQiQttkT4YjjVtQVIQtK6LmVtlxmCaFswo6N4AfEkHqZTV0taDtPotNg==" + "resolved" "https://registry.npmjs.org/logform/-/logform-2.5.1.tgz" + "version" "2.5.1" dependencies: "@colors/colors" "1.5.0" "@types/triple-beam" "^1.3.2" - fecha "^4.2.0" - ms "^2.1.1" - safe-stable-stringify "^2.3.1" - triple-beam "^1.3.0" - -loglevel@^1.6.8, loglevel@^1.8.1: - version "1.8.1" - resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.8.1.tgz#5c621f83d5b48c54ae93b6156353f555963377b4" - integrity sha512-tCRIJM51SHjAayKwC+QAg8hT8vg6z7GSgLJKGvzuPb1Wc+hLzqtuVLxp6/HzSPOozuK+8ErAhy7U/sVzw8Dgfg== - -long@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/long/-/long-4.0.0.tgz#9a7b71cfb7d361a194ea555241c92f7468d5bf28" - integrity sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA== - -long@^5.0.0: - version "5.2.1" - resolved "https://registry.yarnpkg.com/long/-/long-5.2.1.tgz#e27595d0083d103d2fa2c20c7699f8e0c92b897f" - integrity sha512-GKSNGeNAtw8IryjjkhZxuKB3JzlcLTwjtiQCHKvqQet81I93kXslhDQruGI/QsddO83mcDToBVy7GqGS/zYf/A== - -long@^5.2.1: - version "5.2.3" - resolved "https://registry.yarnpkg.com/long/-/long-5.2.3.tgz#a3ba97f3877cf1d778eccbcb048525ebb77499e1" - integrity sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q== - -long@~3: - version "3.2.0" - resolved "https://registry.yarnpkg.com/long/-/long-3.2.0.tgz#d821b7138ca1cb581c172990ef14db200b5c474b" - integrity sha512-ZYvPPOMqUwPoDsbJaR10iQJYnMuZhRTvHYl62ErLIEX7RgFlziSBUUvrt3OVfc47QlHHpzPZYP17g3Fv7oeJkg== - -loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" - integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q== - dependencies: - js-tokens "^3.0.0 || ^4.0.0" - -loupe@^2.3.1: - version "2.3.6" - resolved "https://registry.yarnpkg.com/loupe/-/loupe-2.3.6.tgz#76e4af498103c532d1ecc9be102036a21f787b53" - integrity sha512-RaPMZKiMy8/JruncMU5Bt6na1eftNoo++R4Y+N2FrxkDVTrGvcyzFTsaGif4QTeKESheMGegbhw6iUAq+5A8zA== - dependencies: - get-func-name "^2.0.0" - -lower-case-first@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/lower-case-first/-/lower-case-first-1.0.2.tgz#e5da7c26f29a7073be02d52bac9980e5922adfa1" - integrity sha512-UuxaYakO7XeONbKrZf5FEgkantPf5DUqDayzP5VXZrtRPdH86s4kN47I8B3TW10S4QKiE3ziHNf3kRN//okHjA== - dependencies: - lower-case "^1.1.2" - -lower-case@^1.1.0, lower-case@^1.1.1, lower-case@^1.1.2: - version "1.1.4" - resolved "https://registry.yarnpkg.com/lower-case/-/lower-case-1.1.4.tgz#9a2cabd1b9e8e0ae993a4bf7d5875c39c42e8eac" - integrity sha512-2Fgx1Ycm599x+WGpIYwJOvsjmXFzTSc34IwDWALRA/8AopUKAVPwfJ+h5+f85BCp0PWmmJcWzEpxOpoXycMpdA== - -lower-case@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/lower-case/-/lower-case-2.0.2.tgz#6fa237c63dbdc4a82ca0fd882e4722dc5e634e28" - integrity sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg== - dependencies: - tslib "^2.0.3" - -lowercase-keys@^1.0.0, lowercase-keys@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-1.0.1.tgz#6f9e30b47084d971a7c820ff15a6c5167b74c26f" - integrity sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA== - -lowercase-keys@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-2.0.0.tgz#2603e78b7b4b0006cbca2fbcc8a3202558ac9479" - integrity sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA== - -lowercase-keys@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-3.0.0.tgz#c5e7d442e37ead247ae9db117a9d0a467c89d4f2" - integrity sha512-ozCC6gdQ+glXOQsveKD0YsDy8DSQFjDTz4zyzEHNV5+JP5D62LmfDZ6o1cycFx9ouG940M5dE8C8CTewdj2YWQ== + "fecha" "^4.2.0" + "ms" "^2.1.1" + "safe-stable-stringify" "^2.3.1" + "triple-beam" "^1.3.0" + +"loglevel@^1.6.8", "loglevel@^1.8.1": + "integrity" "sha512-tCRIJM51SHjAayKwC+QAg8hT8vg6z7GSgLJKGvzuPb1Wc+hLzqtuVLxp6/HzSPOozuK+8ErAhy7U/sVzw8Dgfg==" + "resolved" "https://registry.npmjs.org/loglevel/-/loglevel-1.8.1.tgz" + "version" "1.8.1" + +"long@^4.0.0": + "integrity" "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" + "resolved" "https://registry.npmjs.org/long/-/long-4.0.0.tgz" + "version" "4.0.0" + +"long@^5.0.0": + "integrity" "sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==" + "resolved" "https://registry.npmjs.org/long/-/long-5.2.3.tgz" + "version" "5.2.3" + +"long@^5.2.1": + "integrity" "sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==" + "resolved" "https://registry.npmjs.org/long/-/long-5.2.3.tgz" + "version" "5.2.3" + +"long@~3": + "integrity" "sha512-ZYvPPOMqUwPoDsbJaR10iQJYnMuZhRTvHYl62ErLIEX7RgFlziSBUUvrt3OVfc47QlHHpzPZYP17g3Fv7oeJkg==" + "resolved" "https://registry.npmjs.org/long/-/long-3.2.0.tgz" + "version" "3.2.0" + +"loose-envify@^1.0.0", "loose-envify@^1.1.0", "loose-envify@^1.4.0": + "integrity" "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==" + "resolved" "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz" + "version" "1.4.0" + dependencies: + "js-tokens" "^3.0.0 || ^4.0.0" + +"loupe@^2.3.1": + "integrity" "sha512-RaPMZKiMy8/JruncMU5Bt6na1eftNoo++R4Y+N2FrxkDVTrGvcyzFTsaGif4QTeKESheMGegbhw6iUAq+5A8zA==" + "resolved" "https://registry.npmjs.org/loupe/-/loupe-2.3.6.tgz" + "version" "2.3.6" + dependencies: + "get-func-name" "^2.0.0" + +"lower-case-first@^1.0.0": + "integrity" "sha512-UuxaYakO7XeONbKrZf5FEgkantPf5DUqDayzP5VXZrtRPdH86s4kN47I8B3TW10S4QKiE3ziHNf3kRN//okHjA==" + "resolved" "https://registry.npmjs.org/lower-case-first/-/lower-case-first-1.0.2.tgz" + "version" "1.0.2" + dependencies: + "lower-case" "^1.1.2" + +"lower-case@^1.1.0", "lower-case@^1.1.1", "lower-case@^1.1.2": + "integrity" "sha512-2Fgx1Ycm599x+WGpIYwJOvsjmXFzTSc34IwDWALRA/8AopUKAVPwfJ+h5+f85BCp0PWmmJcWzEpxOpoXycMpdA==" + "resolved" "https://registry.npmjs.org/lower-case/-/lower-case-1.1.4.tgz" + "version" "1.1.4" + +"lower-case@^2.0.2": + "integrity" "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==" + "resolved" "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz" + "version" "2.0.2" + dependencies: + "tslib" "^2.0.3" + +"lowercase-keys@^1.0.0", "lowercase-keys@^1.0.1": + "integrity" "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==" + "resolved" "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz" + "version" "1.0.1" + +"lowercase-keys@^2.0.0": + "integrity" "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==" + "resolved" "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz" + "version" "2.0.0" + +"lowercase-keys@^3.0.0": + "integrity" "sha512-ozCC6gdQ+glXOQsveKD0YsDy8DSQFjDTz4zyzEHNV5+JP5D62LmfDZ6o1cycFx9ouG940M5dE8C8CTewdj2YWQ==" + "resolved" "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-3.0.0.tgz" + "version" "3.0.0" + +"lru_map@^0.3.3": + "integrity" "sha512-Pn9cox5CsMYngeDbmChANltQl+5pi6XmTrraMSzhPmMBbmgcxmqWry0U3PGapCU1yB4/LqCcom7qhHZiF/jGfQ==" + "resolved" "https://registry.npmjs.org/lru_map/-/lru_map-0.3.3.tgz" + "version" "0.3.3" + +"lru-cache@^5.1.1": + "integrity" "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==" + "resolved" "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz" + "version" "5.1.1" + dependencies: + "yallist" "^3.0.2" + +"lru-cache@^6.0.0": + "integrity" "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==" + "resolved" "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz" + "version" "6.0.0" + dependencies: + "yallist" "^4.0.0" + +"lru-cache@^7.14.1": + "integrity" "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==" + "resolved" "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz" + "version" "7.18.3" "lru-cache@7.10.1 - 7.13.1": - version "7.13.1" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-7.13.1.tgz#267a81fbd0881327c46a81c5922606a2cfe336c4" - integrity sha512-CHqbAq7NFlW3RSnoWXLJBxCWaZVBrfa9UEHId2M3AW8iEBurbqduNexEUCGc3SHc6iCYXNJCDi903LajSVAEPQ== - -lru-cache@^5.1.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920" - integrity sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w== - dependencies: - yallist "^3.0.2" - -lru-cache@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" - integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA== - dependencies: - yallist "^4.0.0" - -lru-cache@^7.14.1: - version "7.18.3" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-7.18.3.tgz#f793896e0fd0e954a59dfdd82f0773808df6aa89" - integrity sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA== - -lru_map@^0.3.3: - version "0.3.3" - resolved "https://registry.yarnpkg.com/lru_map/-/lru_map-0.3.3.tgz#b5c8351b9464cbd750335a79650a0ec0e56118dd" - integrity sha512-Pn9cox5CsMYngeDbmChANltQl+5pi6XmTrraMSzhPmMBbmgcxmqWry0U3PGapCU1yB4/LqCcom7qhHZiF/jGfQ== + "integrity" "sha512-CHqbAq7NFlW3RSnoWXLJBxCWaZVBrfa9UEHId2M3AW8iEBurbqduNexEUCGc3SHc6iCYXNJCDi903LajSVAEPQ==" + "resolved" "https://registry.npmjs.org/lru-cache/-/lru-cache-7.13.1.tgz" + "version" "7.13.1" -ltgt@2.2.1, ltgt@^2.1.2, ltgt@~2.2.0: - version "2.2.1" - resolved "https://registry.yarnpkg.com/ltgt/-/ltgt-2.2.1.tgz#f35ca91c493f7b73da0e07495304f17b31f87ee5" - integrity sha512-AI2r85+4MquTw9ZYqabu4nMwy9Oftlfa/e/52t9IjtfG+mGBbTNdAoZ3RQKLHR6r0wQnwZnPIEh/Ya6XTWAKNA== +"ltgt@^2.1.2", "ltgt@~2.2.0", "ltgt@2.2.1": + "integrity" "sha512-AI2r85+4MquTw9ZYqabu4nMwy9Oftlfa/e/52t9IjtfG+mGBbTNdAoZ3RQKLHR6r0wQnwZnPIEh/Ya6XTWAKNA==" + "resolved" "https://registry.npmjs.org/ltgt/-/ltgt-2.2.1.tgz" + "version" "2.2.1" -make-dir@^1.0.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-1.3.0.tgz#79c1033b80515bd6d24ec9933e860ca75ee27f0c" - integrity sha512-2w31R7SJtieJJnQtGc7RVL2StM2vGYVfqUOvUDxH6bC6aJTxPxTF0GnIgCyu7tjockiUWAYQRbxa7vKn34s5sQ== +"make-dir@^1.0.0": + "integrity" "sha512-2w31R7SJtieJJnQtGc7RVL2StM2vGYVfqUOvUDxH6bC6aJTxPxTF0GnIgCyu7tjockiUWAYQRbxa7vKn34s5sQ==" + "resolved" "https://registry.npmjs.org/make-dir/-/make-dir-1.3.0.tgz" + "version" "1.3.0" dependencies: - pify "^3.0.0" + "pify" "^3.0.0" -make-dir@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-3.1.0.tgz#415e967046b3a7f1d185277d84aa58203726a13f" - integrity sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw== +"make-dir@^3.0.0", "make-dir@^3.1.0": + "integrity" "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==" + "resolved" "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz" + "version" "3.1.0" dependencies: - semver "^6.0.0" + "semver" "^6.0.0" -make-error@1.x, make-error@^1.1.1: - version "1.3.6" - resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.6.tgz#2eb2e37ea9b67c4891f684a1394799af484cf7a2" - integrity sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw== +"make-error@^1.1.1", "make-error@1.x": + "integrity" "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==" + "resolved" "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz" + "version" "1.3.6" -makeerror@1.0.12: - version "1.0.12" - resolved "https://registry.yarnpkg.com/makeerror/-/makeerror-1.0.12.tgz#3e5dd2079a82e812e983cc6610c4a2cb0eaa801a" - integrity sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg== +"makeerror@1.0.12": + "integrity" "sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==" + "resolved" "https://registry.npmjs.org/makeerror/-/makeerror-1.0.12.tgz" + "version" "1.0.12" dependencies: - tmpl "1.0.5" + "tmpl" "1.0.5" -map-age-cleaner@^0.1.1: - version "0.1.3" - resolved "https://registry.yarnpkg.com/map-age-cleaner/-/map-age-cleaner-0.1.3.tgz#7d583a7306434c055fe474b0f45078e6e1b4b92a" - integrity sha512-bJzx6nMoP6PDLPBFmg7+xRKeFZvFboMrGlxmNj9ClvX53KrmvM5bXFXEWjbz4cz1AFn+jWJ9z/DJSz7hrs0w3w== +"map-age-cleaner@^0.1.1": + "integrity" "sha512-bJzx6nMoP6PDLPBFmg7+xRKeFZvFboMrGlxmNj9ClvX53KrmvM5bXFXEWjbz4cz1AFn+jWJ9z/DJSz7hrs0w3w==" + "resolved" "https://registry.npmjs.org/map-age-cleaner/-/map-age-cleaner-0.1.3.tgz" + "version" "0.1.3" dependencies: - p-defer "^1.0.0" + "p-defer" "^1.0.0" -map-cache@^0.2.2: - version "0.2.2" - resolved "https://registry.yarnpkg.com/map-cache/-/map-cache-0.2.2.tgz#c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf" - integrity sha512-8y/eV9QQZCiyn1SprXSrCmqJN0yNRATe+PO8ztwqrvrbdRLA3eYJF0yaR0YayLWkMbsQSKWS9N2gPcGEc4UsZg== +"map-cache@^0.2.2": + "integrity" "sha512-8y/eV9QQZCiyn1SprXSrCmqJN0yNRATe+PO8ztwqrvrbdRLA3eYJF0yaR0YayLWkMbsQSKWS9N2gPcGEc4UsZg==" + "resolved" "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz" + "version" "0.2.2" -map-obj@^4.1.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-4.3.0.tgz#9304f906e93faae70880da102a9f1df0ea8bb05a" - integrity sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ== +"map-obj@^4.1.0": + "integrity" "sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==" + "resolved" "https://registry.npmjs.org/map-obj/-/map-obj-4.3.0.tgz" + "version" "4.3.0" -map-visit@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/map-visit/-/map-visit-1.0.0.tgz#ecdca8f13144e660f1b5bd41f12f3479d98dfb8f" - integrity sha512-4y7uGv8bd2WdM9vpQsiQNo41Ln1NvhvDRuVt0k2JZQ+ezN2uaQes7lZeZ+QQUHOLQAtDaBJ+7wCbi+ab/KFs+w== +"map-visit@^1.0.0": + "integrity" "sha512-4y7uGv8bd2WdM9vpQsiQNo41Ln1NvhvDRuVt0k2JZQ+ezN2uaQes7lZeZ+QQUHOLQAtDaBJ+7wCbi+ab/KFs+w==" + "resolved" "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz" + "version" "1.0.0" dependencies: - object-visit "^1.0.0" + "object-visit" "^1.0.0" -mathjs@*: - version "11.7.0" - resolved "https://registry.yarnpkg.com/mathjs/-/mathjs-11.7.0.tgz#a197e82c760c57744b20324a8c4eed677bddf179" - integrity sha512-RCXtrP5xGIbl9PUc5+7QL81rBCUjzoIZ0ugNqKsarOUxg+x7deY0BzfNai+bGfUL/T+1uYq1xs5w2xVdL3lp0g== +"mathjs@*": + "integrity" "sha512-RCXtrP5xGIbl9PUc5+7QL81rBCUjzoIZ0ugNqKsarOUxg+x7deY0BzfNai+bGfUL/T+1uYq1xs5w2xVdL3lp0g==" + "resolved" "https://registry.npmjs.org/mathjs/-/mathjs-11.7.0.tgz" + "version" "11.7.0" dependencies: "@babel/runtime" "^7.21.0" - complex.js "^2.1.1" - decimal.js "^10.4.3" - escape-latex "^1.2.0" - fraction.js "^4.2.0" - javascript-natural-sort "^0.7.1" - seedrandom "^3.0.5" - tiny-emitter "^2.1.0" - typed-function "^4.1.0" - -mathjs@^10.5.0: - version "10.6.4" - resolved "https://registry.yarnpkg.com/mathjs/-/mathjs-10.6.4.tgz#1b87a1268781d64f0c8b4e5e1b36cf7ecf58bb05" - integrity sha512-omQyvRE1jIy+3k2qsqkWASOcd45aZguXZDckr3HtnTYyXk5+2xpVfC3kATgbO2Srjxlqww3TVdhD0oUdZ/hiFA== + "complex.js" "^2.1.1" + "decimal.js" "^10.4.3" + "escape-latex" "^1.2.0" + "fraction.js" "^4.2.0" + "javascript-natural-sort" "^0.7.1" + "seedrandom" "^3.0.5" + "tiny-emitter" "^2.1.0" + "typed-function" "^4.1.0" + +"mathjs@^10.5.0": + "integrity" "sha512-omQyvRE1jIy+3k2qsqkWASOcd45aZguXZDckr3HtnTYyXk5+2xpVfC3kATgbO2Srjxlqww3TVdhD0oUdZ/hiFA==" + "resolved" "https://registry.npmjs.org/mathjs/-/mathjs-10.6.4.tgz" + "version" "10.6.4" dependencies: "@babel/runtime" "^7.18.6" - complex.js "^2.1.1" - decimal.js "^10.3.1" - escape-latex "^1.2.0" - fraction.js "^4.2.0" - javascript-natural-sort "^0.7.1" - seedrandom "^3.0.5" - tiny-emitter "^2.1.0" - typed-function "^2.1.0" - -mathjs@^9.3.0: - version "9.5.2" - resolved "https://registry.yarnpkg.com/mathjs/-/mathjs-9.5.2.tgz#e0f3279320dc6f49e45d99c4fcdd8b52231f0462" - integrity sha512-c0erTq0GP503/Ch2OtDOAn50GIOsuxTMjmE00NI/vKJFSWrDaQHRjx6ai+16xYv70yBSnnpUgHZGNf9FR9IwmA== + "complex.js" "^2.1.1" + "decimal.js" "^10.3.1" + "escape-latex" "^1.2.0" + "fraction.js" "^4.2.0" + "javascript-natural-sort" "^0.7.1" + "seedrandom" "^3.0.5" + "tiny-emitter" "^2.1.0" + "typed-function" "^2.1.0" + +"mathjs@^9.3.0": + "integrity" "sha512-c0erTq0GP503/Ch2OtDOAn50GIOsuxTMjmE00NI/vKJFSWrDaQHRjx6ai+16xYv70yBSnnpUgHZGNf9FR9IwmA==" + "resolved" "https://registry.npmjs.org/mathjs/-/mathjs-9.5.2.tgz" + "version" "9.5.2" dependencies: "@babel/runtime" "^7.15.4" - complex.js "^2.0.15" - decimal.js "^10.3.1" - escape-latex "^1.2.0" - fraction.js "^4.1.1" - javascript-natural-sort "^0.7.1" - seedrandom "^3.0.5" - tiny-emitter "^2.1.0" - typed-function "^2.0.0" - -mcl-wasm@^0.7.1: - version "0.7.9" - resolved "https://registry.yarnpkg.com/mcl-wasm/-/mcl-wasm-0.7.9.tgz#c1588ce90042a8700c3b60e40efb339fc07ab87f" - integrity sha512-iJIUcQWA88IJB/5L15GnJVnSQJmf/YaxxV6zRavv83HILHaJQb6y0iFyDMdDO0gN8X37tdxmAOrH/P8B6RB8sQ== - -md5.js@^1.3.4: - version "1.3.5" - resolved "https://registry.yarnpkg.com/md5.js/-/md5.js-1.3.5.tgz#b5d07b8e3216e3e27cd728d72f70d1e6a342005f" - integrity sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg== - dependencies: - hash-base "^3.0.0" - inherits "^2.0.1" - safe-buffer "^5.1.2" - -media-typer@0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748" - integrity sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ== - -mem@^4.0.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/mem/-/mem-4.3.0.tgz#461af497bc4ae09608cdb2e60eefb69bff744178" - integrity sha512-qX2bG48pTqYRVmDB37rn/6PT7LcR8T7oAX3bf99u1Tt1nzxYfxkgqDwUwolPlXweM0XzBOBFzSx4kfp7KP1s/w== - dependencies: - map-age-cleaner "^0.1.1" - mimic-fn "^2.0.0" - p-is-promise "^2.0.0" - -memdown@1.4.1: - version "1.4.1" - resolved "https://registry.yarnpkg.com/memdown/-/memdown-1.4.1.tgz#b4e4e192174664ffbae41361aa500f3119efe215" - integrity sha512-iVrGHZB8i4OQfM155xx8akvG9FIj+ht14DX5CQkCTG4EHzZ3d3sgckIf/Lm9ivZalEsFuEVnWv2B2WZvbrro2w== - dependencies: - abstract-leveldown "~2.7.1" - functional-red-black-tree "^1.0.1" - immediate "^3.2.3" - inherits "~2.0.1" - ltgt "~2.2.0" - safe-buffer "~5.1.1" - -memory-level@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/memory-level/-/memory-level-1.0.0.tgz#7323c3fd368f9af2f71c3cd76ba403a17ac41692" - integrity sha512-UXzwewuWeHBz5krr7EvehKcmLFNoXxGcvuYhC41tRnkrTbJohtS7kVn9akmgirtRygg+f7Yjsfi8Uu5SGSQ4Og== - dependencies: - abstract-level "^1.0.0" - functional-red-black-tree "^1.0.1" - module-error "^1.0.1" - -memorystream@^0.3.1: - version "0.3.1" - resolved "https://registry.yarnpkg.com/memorystream/-/memorystream-0.3.1.tgz#86d7090b30ce455d63fbae12dda51a47ddcaf9b2" - integrity sha512-S3UwM3yj5mtUSEfP41UZmt/0SCoVYUcU1rkXv+BQ5Ig8ndL4sPoJNBUJERafdPb5jjHJGuMgytgKvKIf58XNBw== - -merge-descriptors@1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/merge-descriptors/-/merge-descriptors-1.0.1.tgz#b00aaa556dd8b44568150ec9d1b953f3f90cbb61" - integrity sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w== - -merge-stream@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60" - integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w== - -merge2@^1.2.3, merge2@^1.3.0, merge2@^1.4.1: - version "1.4.1" - resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae" - integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== - -methods@^1.1.2, methods@~1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee" - integrity sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w== - -micro-ftch@^0.3.1: - version "0.3.1" - resolved "https://registry.yarnpkg.com/micro-ftch/-/micro-ftch-0.3.1.tgz#6cb83388de4c1f279a034fb0cf96dfc050853c5f" - integrity sha512-/0LLxhzP0tfiR5hcQebtudP56gUurs2CLkGarnCiB/OqEyUFQ6U3paQi/tgLv0hBJYt2rnr9MNpxz4fiiugstg== - -micromatch@^3.1.10: - version "3.1.10" - resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23" - integrity sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg== - dependencies: - arr-diff "^4.0.0" - array-unique "^0.3.2" - braces "^2.3.1" - define-property "^2.0.2" - extend-shallow "^3.0.2" - extglob "^2.0.4" - fragment-cache "^0.2.1" - kind-of "^6.0.2" - nanomatch "^1.2.9" - object.pick "^1.3.0" - regex-not "^1.0.0" - snapdragon "^0.8.1" - to-regex "^3.0.2" - -micromatch@^4.0.4: - version "4.0.5" - resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.5.tgz#bc8999a7cbbf77cdc89f132f6e467051b49090c6" - integrity sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA== - dependencies: - braces "^3.0.2" - picomatch "^2.3.1" - -miller-rabin@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/miller-rabin/-/miller-rabin-4.0.1.tgz#f080351c865b0dc562a8462966daa53543c78a4d" - integrity sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA== - dependencies: - bn.js "^4.0.0" - brorand "^1.0.1" - -mime-db@1.52.0: - version "1.52.0" - resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" - integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== - -mime-types@^2.1.12, mime-types@^2.1.16, mime-types@~2.1.19, mime-types@~2.1.24, mime-types@~2.1.34: - version "2.1.35" - resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a" - integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== - dependencies: - mime-db "1.52.0" - -mime@1.6.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1" - integrity sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg== - -mime@2.6.0: - version "2.6.0" - resolved "https://registry.yarnpkg.com/mime/-/mime-2.6.0.tgz#a2a682a95cd4d0cb1d6257e28f83da7e35800367" - integrity sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg== - -mimic-fn@^2.0.0, mimic-fn@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" - integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== - -mimic-fn@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-3.1.0.tgz#65755145bbf3e36954b949c16450427451d5ca74" - integrity sha512-Ysbi9uYW9hFyfrThdDEQuykN4Ey6BuwPD2kpI5ES/nFTDn/98yxYNLZJcgUAKPT/mcrLLKaGzJR9YVxJrIdASQ== - -mimic-response@^1.0.0, mimic-response@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-1.0.1.tgz#4923538878eef42063cb8a3e3b0798781487ab1b" - integrity sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ== - -mimic-response@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-3.1.0.tgz#2d1d59af9c1b129815accc2c46a022a5ce1fa3c9" - integrity sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ== - -min-document@^2.19.0: - version "2.19.0" - resolved "https://registry.yarnpkg.com/min-document/-/min-document-2.19.0.tgz#7bd282e3f5842ed295bb748cdd9f1ffa2c824685" - integrity sha512-9Wy1B3m3f66bPPmU5hdA4DR4PB2OfDU/+GS3yAB7IQozE3tqXaVv2zOjgla7MEGSRv95+ILmOuvhLkOK6wJtCQ== - dependencies: - dom-walk "^0.1.0" - -minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" - integrity sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A== - -minimalistic-crypto-utils@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" - integrity sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg== - -"minimatch@2 || 3", minimatch@^3.0.3, minimatch@^3.0.4, minimatch@^3.1.1, minimatch@^3.1.2: - version "3.1.2" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" - integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== - dependencies: - brace-expansion "^1.1.7" - -minimatch@3.0.4: - version "3.0.4" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" - integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA== - dependencies: - brace-expansion "^1.1.7" - -minimatch@5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-5.0.1.tgz#fb9022f7528125187c92bd9e9b6366be1cf3415b" - integrity sha512-nLDxIFRyhDblz3qMuq+SoRZED4+miJ/G+tdDrjkkkRnjAsBexeGpgjLEQ0blJy7rHhR2b93rhQY4SvyWu9v03g== - dependencies: - brace-expansion "^2.0.1" - -minimist@0.0.8: - version "0.0.8" - resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" - integrity sha512-miQKw5Hv4NS1Psg2517mV4e4dYNaO3++hjAvLOAzKqZ61rH8NS1SK+vbfBWZ5PY/Me/bEWhUwqMghEW5Fb9T7Q== - -minimist@^1.2.0, minimist@^1.2.3, minimist@^1.2.6: - version "1.2.8" - resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" - integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA== - -minipass@^2.6.0, minipass@^2.9.0: - version "2.9.0" - resolved "https://registry.yarnpkg.com/minipass/-/minipass-2.9.0.tgz#e713762e7d3e32fed803115cf93e04bca9fcc9a6" - integrity sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg== - dependencies: - safe-buffer "^5.1.2" - yallist "^3.0.0" - -minizlib@^1.3.3: - version "1.3.3" - resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-1.3.3.tgz#2290de96818a34c29551c8a8d301216bd65a861d" - integrity sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q== - dependencies: - minipass "^2.9.0" - -mitt@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/mitt/-/mitt-1.2.0.tgz#cb24e6569c806e31bd4e3995787fe38a04fdf90d" - integrity sha512-r6lj77KlwqLhIUku9UWYes7KJtsczvolZkzp8hbaDPPaE24OmWl5s539Mytlj22siEQKosZ26qCBgda2PKwoJw== - -mixin-deep@^1.2.0: - version "1.3.2" - resolved "https://registry.yarnpkg.com/mixin-deep/-/mixin-deep-1.3.2.tgz#1120b43dc359a785dce65b55b82e257ccf479566" - integrity sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA== - dependencies: - for-in "^1.0.2" - is-extendable "^1.0.1" - -mkdirp-promise@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/mkdirp-promise/-/mkdirp-promise-5.0.1.tgz#e9b8f68e552c68a9c1713b84883f7a1dd039b8a1" - integrity sha512-Hepn5kb1lJPtVW84RFT40YG1OddBNTOVUZR2bzQUHc+Z03en8/3uX0+060JDhcEzyO08HmipsN9DcnFMxhIL9w== - dependencies: - mkdirp "*" - -mkdirp@*: - version "2.1.5" - resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-2.1.5.tgz#78d7eaf15e069ba7b6b47d76dd94cfadf7a4062f" - integrity sha512-jbjfql+shJtAPrFoKxHOXip4xS+kul9W3OzfzzrqueWK2QMGon2bFH2opl6W9EagBThjEz+iysyi/swOoVfB/w== - -mkdirp@0.5.1: - version "0.5.1" - resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" - integrity sha512-SknJC52obPfGQPnjIkXbmA6+5H15E+fR+E4iR2oQ3zzCLbd7/ONua69R/Gw7AgkTLsRG+r5fzksYwWe1AgTyWA== - dependencies: - minimist "0.0.8" - -mkdirp@^0.5.5, mkdirp@~0.5.1: - version "0.5.6" - resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.6.tgz#7def03d2432dcae4ba1d611445c48396062255f6" - integrity sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw== - dependencies: - minimist "^1.2.6" - -mkdirp@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" - integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== - -mnemonist@^0.38.0, mnemonist@^0.38.3: - version "0.38.5" - resolved "https://registry.yarnpkg.com/mnemonist/-/mnemonist-0.38.5.tgz#4adc7f4200491237fe0fa689ac0b86539685cade" - integrity sha512-bZTFT5rrPKtPJxj8KSV0WkPyNxl72vQepqqVUAW2ARUpUSF2qXMB6jZj7hW5/k7C1rtpzqbD/IIbJwLXUjCHeg== - dependencies: - obliterator "^2.0.0" - -mocha@10.1.0: - version "10.1.0" - resolved "https://registry.yarnpkg.com/mocha/-/mocha-10.1.0.tgz#dbf1114b7c3f9d0ca5de3133906aea3dfc89ef7a" - integrity sha512-vUF7IYxEoN7XhQpFLxQAEMtE4W91acW4B6En9l97MwE9stL1A9gusXfoHZCLVHDUJ/7V5+lbCM6yMqzo5vNymg== - dependencies: - ansi-colors "4.1.1" - browser-stdout "1.3.1" - chokidar "3.5.3" - debug "4.3.4" - diff "5.0.0" - escape-string-regexp "4.0.0" - find-up "5.0.0" - glob "7.2.0" - he "1.2.0" - js-yaml "4.1.0" - log-symbols "4.1.0" - minimatch "5.0.1" - ms "2.1.3" - nanoid "3.3.3" - serialize-javascript "6.0.0" - strip-json-comments "3.1.1" - supports-color "8.1.1" - workerpool "6.2.1" - yargs "16.2.0" - yargs-parser "20.2.4" - yargs-unparser "2.0.0" - -mocha@5.0.5: - version "5.0.5" - resolved "https://registry.yarnpkg.com/mocha/-/mocha-5.0.5.tgz#e228e3386b9387a4710007a641f127b00be44b52" - integrity sha512-3MM3UjZ5p8EJrYpG7s+29HAI9G7sTzKEe4+w37Dg0QP7qL4XGsV+Q2xet2cE37AqdgN1OtYQB6Vl98YiPV3PgA== - dependencies: - browser-stdout "1.3.1" - commander "2.11.0" - debug "3.1.0" - diff "3.5.0" - escape-string-regexp "1.0.5" - glob "7.1.2" - growl "1.10.3" - he "1.1.1" - mkdirp "0.5.1" - supports-color "4.4.0" - -mocha@^10.0.0, mocha@^10.2.0: - version "10.2.0" - resolved "https://registry.yarnpkg.com/mocha/-/mocha-10.2.0.tgz#1fd4a7c32ba5ac372e03a17eef435bd00e5c68b8" - integrity sha512-IDY7fl/BecMwFHzoqF2sg/SHHANeBoMMXFlS9r0OXKDssYE1M5O43wUY/9BVPeIvfH2zmEbBfseqN9gBQZzXkg== - dependencies: - ansi-colors "4.1.1" - browser-stdout "1.3.1" - chokidar "3.5.3" - debug "4.3.4" - diff "5.0.0" - escape-string-regexp "4.0.0" - find-up "5.0.0" - glob "7.2.0" - he "1.2.0" - js-yaml "4.1.0" - log-symbols "4.1.0" - minimatch "5.0.1" - ms "2.1.3" - nanoid "3.3.3" - serialize-javascript "6.0.0" - strip-json-comments "3.1.1" - supports-color "8.1.1" - workerpool "6.2.1" - yargs "16.2.0" - yargs-parser "20.2.4" - yargs-unparser "2.0.0" - -mocha@^5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/mocha/-/mocha-5.2.0.tgz#6d8ae508f59167f940f2b5b3c4a612ae50c90ae6" - integrity sha512-2IUgKDhc3J7Uug+FxMXuqIyYzH7gJjXECKe/w43IGgQHTSj3InJi+yAA7T24L9bQMRKiUEHxEX37G5JpVUGLcQ== - dependencies: - browser-stdout "1.3.1" - commander "2.15.1" - debug "3.1.0" - diff "3.5.0" - escape-string-regexp "1.0.5" - glob "7.1.2" - growl "1.10.5" - he "1.1.1" - minimatch "3.0.4" - mkdirp "0.5.1" - supports-color "5.4.0" - -mock-ethers-provider@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/mock-ethers-provider/-/mock-ethers-provider-1.0.2.tgz#e63966d9c3f088987c9f47b52b2c7e9a5157de68" - integrity sha512-bxNEAGoHpjOi8Used1GUfT/rT42UekmbsByxyEdcZRlr7zZwxoL0ONIS9pgWkpWcSzqzzQvlElNblyUK/FqcXg== - dependencies: - ethers "^5.0.19" - -mock-fs@^4.1.0: - version "4.14.0" - resolved "https://registry.yarnpkg.com/mock-fs/-/mock-fs-4.14.0.tgz#ce5124d2c601421255985e6e94da80a7357b1b18" - integrity sha512-qYvlv/exQ4+svI3UOvPUpLDF0OMX5euvUH0Ny4N5QyRyhNdgAgUrVH3iUINSzEPLvx0kbo/Bp28GJKIqvE7URw== - -module-error@^1.0.1, module-error@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/module-error/-/module-error-1.0.2.tgz#8d1a48897ca883f47a45816d4fb3e3c6ba404d86" - integrity sha512-0yuvsqSCv8LbaOKhnsQ/T5JhyFlCYLPXK3U2sgV10zoKQwzs/MyfuQUOZQ1V/6OCOJsK/TRgNVrPuPDqtdMFtA== - -moment@^2.19.3, moment@^2.29.1: - version "2.29.4" - resolved "https://registry.yarnpkg.com/moment/-/moment-2.29.4.tgz#3dbe052889fe7c1b2ed966fcb3a77328964ef108" - integrity sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w== - -morgan@^1.10.0: - version "1.10.0" - resolved "https://registry.yarnpkg.com/morgan/-/morgan-1.10.0.tgz#091778abc1fc47cd3509824653dae1faab6b17d7" - integrity sha512-AbegBVI4sh6El+1gNwvD5YIck7nSA36weD7xvIxG4in80j/UoK8AEGaWnnz8v1GxonMCltmlNs5ZKbGvl9b1XQ== - dependencies: - basic-auth "~2.0.1" - debug "2.6.9" - depd "~2.0.0" - on-finished "~2.3.0" - on-headers "~1.0.2" - -ms@2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" - integrity sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A== - -ms@2.1.2: - version "2.1.2" - resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" - integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== - -ms@2.1.3, ms@^2.0.0, ms@^2.1.1: - version "2.1.3" - resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" - integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== - -multibase@^0.7.0: - version "0.7.0" - resolved "https://registry.yarnpkg.com/multibase/-/multibase-0.7.0.tgz#1adfc1c50abe05eefeb5091ac0c2728d6b84581b" - integrity sha512-TW8q03O0f6PNFTQDvh3xxH03c8CjGaaYrjkl9UQPG6rz53TQzzxJVCIWVjzcbN/Q5Y53Zd0IBQBMVktVgNx4Fg== - dependencies: - base-x "^3.0.8" - buffer "^5.5.0" - -multibase@~0.6.0: - version "0.6.1" - resolved "https://registry.yarnpkg.com/multibase/-/multibase-0.6.1.tgz#b76df6298536cc17b9f6a6db53ec88f85f8cc12b" - integrity sha512-pFfAwyTjbbQgNc3G7D48JkJxWtoJoBMaR4xQUOuB8RnCgRqaYmWNFeJTTvrJ2w51bjLq2zTby6Rqj9TQ9elSUw== - dependencies: - base-x "^3.0.8" - buffer "^5.5.0" - -multicodec@^0.5.5: - version "0.5.7" - resolved "https://registry.yarnpkg.com/multicodec/-/multicodec-0.5.7.tgz#1fb3f9dd866a10a55d226e194abba2dcc1ee9ffd" - integrity sha512-PscoRxm3f+88fAtELwUnZxGDkduE2HD9Q6GHUOywQLjOGT/HAdhjLDYNZ1e7VR0s0TP0EwZ16LNUTFpoBGivOA== - dependencies: - varint "^5.0.0" - -multicodec@^1.0.0: - version "1.0.4" - resolved "https://registry.yarnpkg.com/multicodec/-/multicodec-1.0.4.tgz#46ac064657c40380c28367c90304d8ed175a714f" - integrity sha512-NDd7FeS3QamVtbgfvu5h7fd1IlbaC4EQ0/pgU4zqE2vdHCmBGsUa0TiM8/TdSeG6BMPC92OOCf8F1ocE/Wkrrg== - dependencies: - buffer "^5.6.0" - varint "^5.0.0" - -multiformats@^9.4.2: - version "9.9.0" - resolved "https://registry.yarnpkg.com/multiformats/-/multiformats-9.9.0.tgz#c68354e7d21037a8f1f8833c8ccd68618e8f1d37" - integrity sha512-HoMUjhH9T8DDBNT+6xzkrd9ga/XiBI4xLr58LJACwK6G3HTOPeMz4nB4KJs33L2BelrIJa7P0VuNaVF3hMYfjg== - -multihashes@^0.4.15, multihashes@~0.4.15: - version "0.4.21" - resolved "https://registry.yarnpkg.com/multihashes/-/multihashes-0.4.21.tgz#dc02d525579f334a7909ade8a122dabb58ccfcb5" - integrity sha512-uVSvmeCWf36pU2nB4/1kzYZjsXD9vofZKpgudqkceYY5g2aZZXJ5r9lxuzoRLl1OAp28XljXsEJ/X/85ZsKmKw== - dependencies: - buffer "^5.5.0" - multibase "^0.7.0" - varint "^5.0.0" - -mustache@^4.0.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/mustache/-/mustache-4.2.0.tgz#e5892324d60a12ec9c2a73359edca52972bf6f64" - integrity sha512-71ippSywq5Yb7/tVYyGbkBggbU8H3u5Rz56fH60jGFgr8uHwxs+aSKeqmluIVzM0m0kB7xQjKS6qPfd0b2ZoqQ== - -mv@~2: - version "2.1.1" - resolved "https://registry.yarnpkg.com/mv/-/mv-2.1.1.tgz#ae6ce0d6f6d5e0a4f7d893798d03c1ea9559b6a2" - integrity sha512-at/ZndSy3xEGJ8i0ygALh8ru9qy7gWW1cmkaqBN29JmMlIvM//MEO9y1sk/avxuwnPcfhkejkLsuPxH81BrkSg== - dependencies: - mkdirp "~0.5.1" - ncp "~2.0.0" - rimraf "~2.4.0" - -nan@2.14.0: - version "2.14.0" - resolved "https://registry.yarnpkg.com/nan/-/nan-2.14.0.tgz#7818f722027b2459a86f0295d434d1fc2336c52c" - integrity sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg== - -nan@^2.13.2, nan@^2.14.0: - version "2.17.0" - resolved "https://registry.yarnpkg.com/nan/-/nan-2.17.0.tgz#c0150a2368a182f033e9aa5195ec76ea41a199cb" - integrity sha512-2ZTgtl0nJsO0KQCjEpxcIr5D+Yv90plTitZt9JBfQvVJDS5seMl3FOvsh3+9CoYWXf/1l5OaZzzF6nDm4cagaQ== - -nano-json-stream-parser@^0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/nano-json-stream-parser/-/nano-json-stream-parser-0.1.2.tgz#0cc8f6d0e2b622b479c40d499c46d64b755c6f5f" - integrity sha512-9MqxMH/BSJC7dnLsEMPyfN5Dvoo49IsPFYMcHw3Bcfc2kN0lpHRBSzlMSVx4HGyJ7s9B31CyBTVehWJoQ8Ctew== - -nanoid@3.3.3: - version "3.3.3" - resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.3.tgz#fd8e8b7aa761fe807dba2d1b98fb7241bb724a25" - integrity sha512-p1sjXuopFs0xg+fPASzQ28agW1oHD7xDsd9Xkf3T15H3c/cifrFHVwrh74PdoklAPi+i7MdRsE47vm2r6JoB+w== - -nanomatch@^1.2.9: - version "1.2.13" - resolved "https://registry.yarnpkg.com/nanomatch/-/nanomatch-1.2.13.tgz#b87a8aa4fc0de8fe6be88895b38983ff265bd119" - integrity sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA== - dependencies: - arr-diff "^4.0.0" - array-unique "^0.3.2" - define-property "^2.0.2" - extend-shallow "^3.0.2" - fragment-cache "^0.2.1" - is-windows "^1.0.2" - kind-of "^6.0.2" - object.pick "^1.3.0" - regex-not "^1.0.0" - snapdragon "^0.8.1" - to-regex "^3.0.1" - -napi-macros@~2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/napi-macros/-/napi-macros-2.0.0.tgz#2b6bae421e7b96eb687aa6c77a7858640670001b" - integrity sha512-A0xLykHtARfueITVDernsAWdtIMbOJgKgcluwENp3AlsKN/PloyO10HtmoqnFAQAcxPkgZN7wdfPfEd0zNGxbg== - -natural-compare@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" - integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw== - -ncp@~2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/ncp/-/ncp-2.0.0.tgz#195a21d6c46e361d2fb1281ba38b91e9df7bdbb3" - integrity sha512-zIdGUrPRFTUELUvr3Gmc7KZ2Sw/h1PiVM0Af/oHB6zgnV1ikqSfRk+TOufi79aHYCW3NiOXmr1BP5nWbzojLaA== - -near-api-js@0.44.2: - version "0.44.2" - resolved "https://registry.yarnpkg.com/near-api-js/-/near-api-js-0.44.2.tgz#e451f68f2c56bd885c7b918db5818a3e6e9423d0" - integrity sha512-eMnc4V+geggapEUa3nU2p8HSHn/njtloI4P2mceHQWO8vDE1NGpnAw8FuTBrLmXSgIv9m6oocgFc9t3VNf5zwg== - dependencies: - bn.js "5.2.0" - borsh "^0.6.0" - bs58 "^4.0.0" - depd "^2.0.0" - error-polyfill "^0.1.3" - http-errors "^1.7.2" - js-sha256 "^0.9.0" - mustache "^4.0.0" - node-fetch "^2.6.1" - text-encoding-utf-8 "^1.0.2" - tweetnacl "^1.0.1" - -near-api-js@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/near-api-js/-/near-api-js-1.0.0.tgz#7aebc8e538071114ed242e6cce3b8fa956267691" - integrity sha512-OYItaQIYlKK27FG5PrqqtkTI8Vv9TEOCi7gXePYigS4o6WofXciAXNjr4sihDJ8Vzi6s7+eEkf3zTNP3042FBw== - dependencies: - bn.js "5.2.1" - borsh "^0.7.0" - bs58 "^4.0.0" - depd "^2.0.0" - error-polyfill "^0.1.3" - http-errors "^1.7.2" - js-sha256 "^0.9.0" - mustache "^4.0.0" - node-fetch "^2.6.1" - text-encoding-utf-8 "^1.0.2" - tweetnacl "^1.0.1" - -negotiator@0.6.3: - version "0.6.3" - resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.3.tgz#58e323a72fedc0d6f9cd4d31fe49f51479590ccd" - integrity sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg== - -next-tick@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/next-tick/-/next-tick-1.1.0.tgz#1836ee30ad56d67ef281b22bd199f709449b35eb" - integrity sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ== - -nice-try@^1.0.4: - version "1.0.5" - resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366" - integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ== - -no-case@^2.2.0, no-case@^2.3.2: - version "2.3.2" - resolved "https://registry.yarnpkg.com/no-case/-/no-case-2.3.2.tgz#60b813396be39b3f1288a4c1ed5d1e7d28b464ac" - integrity sha512-rmTZ9kz+f3rCvK2TD1Ue/oZlns7OGoIWP4fc3llxxRXlOkHKoWPPWJOfFYpITabSow43QJbRIoHQXtt10VldyQ== - dependencies: - lower-case "^1.1.1" - -no-case@^3.0.4: - version "3.0.4" - resolved "https://registry.yarnpkg.com/no-case/-/no-case-3.0.4.tgz#d361fd5c9800f558551a8369fc0dcd4662b6124d" - integrity sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg== - dependencies: - lower-case "^2.0.2" - tslib "^2.0.3" - -node-abort-controller@^3.0.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/node-abort-controller/-/node-abort-controller-3.1.1.tgz#a94377e964a9a37ac3976d848cb5c765833b8548" - integrity sha512-AGK2yQKIjRuqnc6VkX2Xj5d+QW8xZ87pa1UK6yA6ouUyuxfHuMP6umE5QK7UmTeOAymo+Zx1Fxiuw9rVx8taHQ== - -node-addon-api@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-2.0.2.tgz#432cfa82962ce494b132e9d72a15b29f71ff5d32" - integrity sha512-Ntyt4AIXyaLIuMHF6IOoTakB3K+RWxwtsHNRxllEoA6vPwP9o4866g6YWDLUdnucilZhmkxiHwHr11gAENw+QA== - -node-addon-api@^3.0.0: - version "3.2.1" - resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-3.2.1.tgz#81325e0a2117789c0128dab65e7e38f07ceba161" - integrity sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A== - -node-addon-api@^5.0.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-5.1.0.tgz#49da1ca055e109a23d537e9de43c09cca21eb762" - integrity sha512-eh0GgfEkpnoWDq+VY8OyvYhFEzBk6jIYbRKdIlyTiAXIVJ8PyBaKb0rp7oDtoddbdoHWhq8wwr+XZ81F1rpNdA== - -node-cache@5.1.2, node-cache@^5.1.2: - version "5.1.2" - resolved "https://registry.yarnpkg.com/node-cache/-/node-cache-5.1.2.tgz#f264dc2ccad0a780e76253a694e9fd0ed19c398d" - integrity sha512-t1QzWwnk4sjLWaQAS8CHgOJ+RAfmHpxFWmc36IWTiWHQfs0w5JDMBS1b1ZxQteo0vVVuWJvIUKHDkkeK7vIGCg== - dependencies: - clone "2.x" - -node-fetch@2.6.7: - version "2.6.7" - resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.7.tgz#24de9fba827e3b4ae44dc8b20256a379160052ad" - integrity sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ== - dependencies: - whatwg-url "^5.0.0" - -node-fetch@^2.6.1, node-fetch@^2.6.7: - version "2.6.9" - resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.9.tgz#7c7f744b5cc6eb5fd404e0c7a9fec630a55657e6" - integrity sha512-DJm/CJkZkRjKKj4Zi4BsKVZh3ValV5IR5s7LVZnW+6YMh0W1BfNA8XSs6DLMGYlId5F3KnA70uu2qepcR08Qqg== - dependencies: - whatwg-url "^5.0.0" - -node-gyp-build@4.4.0: - version "4.4.0" - resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.4.0.tgz#42e99687ce87ddeaf3a10b99dc06abc11021f3f4" - integrity sha512-amJnQCcgtRVw9SvoebO3BKGESClrfXGCUTX9hSn1OuGQTQBOZmVd0Z0OlecpuRksKvbsUqALE8jls/ErClAPuQ== - -node-gyp-build@^4.2.0, node-gyp-build@^4.2.2, node-gyp-build@^4.3.0: - version "4.6.0" - resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.6.0.tgz#0c52e4cbf54bbd28b709820ef7b6a3c2d6209055" - integrity sha512-NTZVKn9IylLwUzaKjkas1e4u2DLNcV4rdYagA4PWdPwW87Bi7z+BznyKSRwS/761tV/lzCGXplWsiaMjLqP2zQ== - -node-gyp-build@~4.1.0: - version "4.1.1" - resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.1.1.tgz#d7270b5d86717068d114cc57fff352f96d745feb" - integrity sha512-dSq1xmcPDKPZ2EED2S6zw/b9NKsqzXRE6dVr8TVQnI3FJOTteUMuqF3Qqs6LZg+mLGYJWqQzMbIjMtJqTv87nQ== - -node-int64@^0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b" - integrity sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw== - -node-interval-tree@^1.3.3: - version "1.3.3" - resolved "https://registry.yarnpkg.com/node-interval-tree/-/node-interval-tree-1.3.3.tgz#15ffb904cde08270214acace8dc7653e89ae32b7" - integrity sha512-K9vk96HdTK5fEipJwxSvIIqwTqr4e3HRJeJrNxBSeVMNSC/JWARRaX7etOLOuTmrRMeOI/K5TCJu3aWIwZiNTw== - dependencies: - shallowequal "^1.0.2" - -node-releases@^2.0.8: - version "2.0.10" - resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.10.tgz#c311ebae3b6a148c89b1813fd7c4d3c024ef537f" - integrity sha512-5GFldHPXVG/YZmFzJvKK2zDSzPKhEp0+ZR5SVaoSag9fsL5YgHbUHDfnG5494ISANDcK4KwPXAx2xqVEydmd7w== - -nodemon@^2.0.16: - version "2.0.21" - resolved "https://registry.yarnpkg.com/nodemon/-/nodemon-2.0.21.tgz#267edff25578da91075d6aa54346ef77ecb7b302" - integrity sha512-djN/n2549DUtY33S7o1djRCd7dEm0kBnj9c7S9XVXqRUbuggN1MZH/Nqa+5RFQr63Fbefq37nFXAE9VU86yL1A== - dependencies: - chokidar "^3.5.2" - debug "^3.2.7" - ignore-by-default "^1.0.1" - minimatch "^3.1.2" - pstree.remy "^1.1.8" - semver "^5.7.1" - simple-update-notifier "^1.0.7" - supports-color "^5.5.0" - touch "^3.1.0" - undefsafe "^2.0.5" - -nofilter@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/nofilter/-/nofilter-1.0.4.tgz#78d6f4b6a613e7ced8b015cec534625f7667006e" - integrity sha512-N8lidFp+fCz+TD51+haYdbDGrcBWwuHX40F5+z0qkUjMJ5Tp+rdSuAkMJ9N9eoolDlEVTf6u5icM+cNKkKW2mA== - -noms@0.0.0: - version "0.0.0" - resolved "https://registry.yarnpkg.com/noms/-/noms-0.0.0.tgz#da8ebd9f3af9d6760919b27d9cdc8092a7332859" - integrity sha512-lNDU9VJaOPxUmXcLb+HQFeUgQQPtMI24Gt6hgfuMHRJgMRHMF/qZ4HJD3GDru4sSw9IQl2jPjAYnQrdIeLbwow== - dependencies: - inherits "^2.0.1" - readable-stream "~1.0.31" - -nopt@~1.0.10: - version "1.0.10" - resolved "https://registry.yarnpkg.com/nopt/-/nopt-1.0.10.tgz#6ddd21bd2a31417b92727dd585f8a6f37608ebee" - integrity sha512-NWmpvLSqUrgrAC9HCuxEvb+PSloHpqVu+FqcO4eeF2h5qYRhA7ev6KvelyQAKtegUbC6RypJnlEOhd8vloNKYg== - dependencies: - abbrev "1" - -normalize-path@^3.0.0, normalize-path@~3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" - integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== - -normalize-url@^4.1.0: - version "4.5.1" - resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-4.5.1.tgz#0dd90cf1288ee1d1313b87081c9a5932ee48518a" - integrity sha512-9UZCFRHQdNrfTpGg8+1INIg93B6zE0aXMVFkw1WFwvO4SlZywU6aLg5Of0Ap/PgcbSw4LNxvMWXMeugwMCX0AA== - -normalize-url@^6.0.1: - version "6.1.0" - resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-6.1.0.tgz#40d0885b535deffe3f3147bec877d05fe4c5668a" - integrity sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A== - -npm-run-path@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-2.0.2.tgz#35a9232dfa35d7067b4cb2ddf2357b1871536c5f" - integrity sha512-lJxZYlT4DW/bRUtFh1MQIWqmLwQfAxnqWG4HhEdjMlkrJYnJn0Jrr2u3mgxqaWsdiBc76TYkTG/mhrnYTuzfHw== - dependencies: - path-key "^2.0.0" - -npm-run-path@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-4.0.1.tgz#b7ecd1e5ed53da8e37a55e1c2269e0b97ed748ea" - integrity sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw== - dependencies: - path-key "^3.0.0" - -number-is-nan@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" - integrity sha512-4jbtZXNAsfZbAHiiqjLPBiCl16dES1zI4Hpzzxw61Tk+loF+sBDBKx1ICKKKwIqQ7M0mFn1TmkN7euSncWgHiQ== - -number-to-bn@1.7.0: - version "1.7.0" - resolved "https://registry.yarnpkg.com/number-to-bn/-/number-to-bn-1.7.0.tgz#bb3623592f7e5f9e0030b1977bd41a0c53fe1ea0" - integrity sha512-wsJ9gfSz1/s4ZsJN01lyonwuxA1tml6X1yBDnfpMglypcBRFZZkus26EdPSlqS5GJfYddVZa22p3VNb3z5m5Ig== - dependencies: - bn.js "4.11.6" - strip-hex-prefix "1.0.0" - -nwsapi@^2.2.0: - version "2.2.2" - resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.2.tgz#e5418863e7905df67d51ec95938d67bf801f0bb0" - integrity sha512-90yv+6538zuvUMnN+zCr8LuV6bPFdq50304114vJYJ8RDyK8D5O9Phpbd6SZWgI7PwzmmfN1upeOJlvybDSgCw== - -o3@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/o3/-/o3-1.0.3.tgz#192ce877a882dfa6751f0412a865fafb2da1dac0" - integrity sha512-f+4n+vC6s4ysy7YO7O2gslWZBUu8Qj2i2OUJOvjRxQva7jVjYjB29jrr9NCjmxZQR0gzrOcv1RnqoYOeMs5VRQ== - dependencies: - capability "^0.2.5" - -oauth-sign@~0.9.0: - version "0.9.0" - resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.9.0.tgz#47a7b016baa68b5fa0ecf3dee08a85c679ac6455" - integrity sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ== - -object-assign@^4, object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" - integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg== - -object-copy@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/object-copy/-/object-copy-0.1.0.tgz#7e7d858b781bd7c991a41ba975ed3812754e998c" - integrity sha512-79LYn6VAb63zgtmAteVOWo9Vdj71ZVBy3Pbse+VqxDpEP83XuujMrGqHIwAXJ5I/aM0zU7dIyIAhifVTPrNItQ== - dependencies: - copy-descriptor "^0.1.0" - define-property "^0.2.5" - kind-of "^3.0.3" - -object-hash@^2.0.1: - version "2.2.0" - resolved "https://registry.yarnpkg.com/object-hash/-/object-hash-2.2.0.tgz#5ad518581eefc443bd763472b8ff2e9c2c0d54a5" - integrity sha512-gScRMn0bS5fH+IuwyIFgnh9zBdo4DV+6GhygmWM9HyNJSgS0hScp1f5vjtm7oIIOiT9trXrShAkLFSc2IqKNgw== - -object-inspect@^1.12.3, object-inspect@^1.9.0: - version "1.12.3" - resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.12.3.tgz#ba62dffd67ee256c8c086dfae69e016cd1f198b9" - integrity sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g== - -object-is@^1.0.1: - version "1.1.5" - resolved "https://registry.yarnpkg.com/object-is/-/object-is-1.1.5.tgz#b9deeaa5fc7f1846a0faecdceec138e5778f53ac" - integrity sha512-3cyDsyHgtmi7I7DfSSI2LDp6SK2lwvtbg0p0R1e0RvTqF5ceGx+K2dfSjm1bKDMVCFEDAQvy+o8c6a7VujOddw== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" - -object-keys@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e" - integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA== - -object-visit@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/object-visit/-/object-visit-1.0.1.tgz#f79c4493af0c5377b59fe39d395e41042dd045bb" - integrity sha512-GBaMwwAVK9qbQN3Scdo0OyvgPW7l3lnaVMj84uTOZlswkX0KpF6fyDBJhtTthf7pymztoN36/KEr1DyhF96zEA== - dependencies: - isobject "^3.0.0" - -object.assign@^4.1.4: - version "4.1.4" - resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.1.4.tgz#9673c7c7c351ab8c4d0b516f4343ebf4dfb7799f" - integrity sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.4" - has-symbols "^1.0.3" - object-keys "^1.1.1" + "complex.js" "^2.0.15" + "decimal.js" "^10.3.1" + "escape-latex" "^1.2.0" + "fraction.js" "^4.1.1" + "javascript-natural-sort" "^0.7.1" + "seedrandom" "^3.0.5" + "tiny-emitter" "^2.1.0" + "typed-function" "^2.0.0" + +"mcl-wasm@^0.7.1": + "integrity" "sha512-iJIUcQWA88IJB/5L15GnJVnSQJmf/YaxxV6zRavv83HILHaJQb6y0iFyDMdDO0gN8X37tdxmAOrH/P8B6RB8sQ==" + "resolved" "https://registry.npmjs.org/mcl-wasm/-/mcl-wasm-0.7.9.tgz" + "version" "0.7.9" + +"md5.js@^1.3.4": + "integrity" "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==" + "resolved" "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz" + "version" "1.3.5" + dependencies: + "hash-base" "^3.0.0" + "inherits" "^2.0.1" + "safe-buffer" "^5.1.2" + +"media-typer@0.3.0": + "integrity" "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==" + "resolved" "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz" + "version" "0.3.0" + +"mem@^4.0.0": + "integrity" "sha512-qX2bG48pTqYRVmDB37rn/6PT7LcR8T7oAX3bf99u1Tt1nzxYfxkgqDwUwolPlXweM0XzBOBFzSx4kfp7KP1s/w==" + "resolved" "https://registry.npmjs.org/mem/-/mem-4.3.0.tgz" + "version" "4.3.0" + dependencies: + "map-age-cleaner" "^0.1.1" + "mimic-fn" "^2.0.0" + "p-is-promise" "^2.0.0" + +"memdown@1.4.1": + "integrity" "sha512-iVrGHZB8i4OQfM155xx8akvG9FIj+ht14DX5CQkCTG4EHzZ3d3sgckIf/Lm9ivZalEsFuEVnWv2B2WZvbrro2w==" + "resolved" "https://registry.npmjs.org/memdown/-/memdown-1.4.1.tgz" + "version" "1.4.1" + dependencies: + "abstract-leveldown" "~2.7.1" + "functional-red-black-tree" "^1.0.1" + "immediate" "^3.2.3" + "inherits" "~2.0.1" + "ltgt" "~2.2.0" + "safe-buffer" "~5.1.1" + +"memory-level@^1.0.0": + "integrity" "sha512-UXzwewuWeHBz5krr7EvehKcmLFNoXxGcvuYhC41tRnkrTbJohtS7kVn9akmgirtRygg+f7Yjsfi8Uu5SGSQ4Og==" + "resolved" "https://registry.npmjs.org/memory-level/-/memory-level-1.0.0.tgz" + "version" "1.0.0" + dependencies: + "abstract-level" "^1.0.0" + "functional-red-black-tree" "^1.0.1" + "module-error" "^1.0.1" + +"memorystream@^0.3.1": + "integrity" "sha512-S3UwM3yj5mtUSEfP41UZmt/0SCoVYUcU1rkXv+BQ5Ig8ndL4sPoJNBUJERafdPb5jjHJGuMgytgKvKIf58XNBw==" + "resolved" "https://registry.npmjs.org/memorystream/-/memorystream-0.3.1.tgz" + "version" "0.3.1" + +"merge-descriptors@1.0.1": + "integrity" "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==" + "resolved" "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz" + "version" "1.0.1" + +"merge-stream@^2.0.0": + "integrity" "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==" + "resolved" "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz" + "version" "2.0.0" + +"merge2@^1.2.3", "merge2@^1.3.0", "merge2@^1.4.1": + "integrity" "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==" + "resolved" "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz" + "version" "1.4.1" + +"methods@^1.1.2", "methods@~1.1.2": + "integrity" "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==" + "resolved" "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz" + "version" "1.1.2" + +"micro-ftch@^0.3.1": + "integrity" "sha512-/0LLxhzP0tfiR5hcQebtudP56gUurs2CLkGarnCiB/OqEyUFQ6U3paQi/tgLv0hBJYt2rnr9MNpxz4fiiugstg==" + "resolved" "https://registry.npmjs.org/micro-ftch/-/micro-ftch-0.3.1.tgz" + "version" "0.3.1" + +"micromatch@^3.1.10": + "integrity" "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==" + "resolved" "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz" + "version" "3.1.10" + dependencies: + "arr-diff" "^4.0.0" + "array-unique" "^0.3.2" + "braces" "^2.3.1" + "define-property" "^2.0.2" + "extend-shallow" "^3.0.2" + "extglob" "^2.0.4" + "fragment-cache" "^0.2.1" + "kind-of" "^6.0.2" + "nanomatch" "^1.2.9" + "object.pick" "^1.3.0" + "regex-not" "^1.0.0" + "snapdragon" "^0.8.1" + "to-regex" "^3.0.2" + +"micromatch@^4.0.4": + "integrity" "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==" + "resolved" "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz" + "version" "4.0.5" + dependencies: + "braces" "^3.0.2" + "picomatch" "^2.3.1" + +"miller-rabin@^4.0.0": + "integrity" "sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==" + "resolved" "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz" + "version" "4.0.1" + dependencies: + "bn.js" "^4.0.0" + "brorand" "^1.0.1" + +"mime-db@1.52.0": + "integrity" "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==" + "resolved" "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz" + "version" "1.52.0" + +"mime-types@^2.1.12", "mime-types@^2.1.16", "mime-types@~2.1.19", "mime-types@~2.1.24", "mime-types@~2.1.34": + "integrity" "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==" + "resolved" "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz" + "version" "2.1.35" + dependencies: + "mime-db" "1.52.0" + +"mime@1.6.0": + "integrity" "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==" + "resolved" "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz" + "version" "1.6.0" + +"mime@2.6.0": + "integrity" "sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg==" + "resolved" "https://registry.npmjs.org/mime/-/mime-2.6.0.tgz" + "version" "2.6.0" + +"mimic-fn@^2.0.0", "mimic-fn@^2.1.0": + "integrity" "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==" + "resolved" "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz" + "version" "2.1.0" + +"mimic-fn@^3.0.0": + "integrity" "sha512-Ysbi9uYW9hFyfrThdDEQuykN4Ey6BuwPD2kpI5ES/nFTDn/98yxYNLZJcgUAKPT/mcrLLKaGzJR9YVxJrIdASQ==" + "resolved" "https://registry.npmjs.org/mimic-fn/-/mimic-fn-3.1.0.tgz" + "version" "3.1.0" + +"mimic-response@^1.0.0", "mimic-response@^1.0.1": + "integrity" "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==" + "resolved" "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz" + "version" "1.0.1" + +"mimic-response@^3.1.0": + "integrity" "sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==" + "resolved" "https://registry.npmjs.org/mimic-response/-/mimic-response-3.1.0.tgz" + "version" "3.1.0" + +"min-document@^2.19.0": + "integrity" "sha512-9Wy1B3m3f66bPPmU5hdA4DR4PB2OfDU/+GS3yAB7IQozE3tqXaVv2zOjgla7MEGSRv95+ILmOuvhLkOK6wJtCQ==" + "resolved" "https://registry.npmjs.org/min-document/-/min-document-2.19.0.tgz" + "version" "2.19.0" + dependencies: + "dom-walk" "^0.1.0" + +"minimalistic-assert@^1.0.0", "minimalistic-assert@^1.0.1": + "integrity" "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==" + "resolved" "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz" + "version" "1.0.1" + +"minimalistic-crypto-utils@^1.0.1": + "integrity" "sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg==" + "resolved" "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz" + "version" "1.0.1" + +"minimatch@^3.0.3", "minimatch@^3.0.4", "minimatch@^3.1.1", "minimatch@^3.1.2", "minimatch@2 || 3": + "integrity" "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==" + "resolved" "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz" + "version" "3.1.2" + dependencies: + "brace-expansion" "^1.1.7" + +"minimatch@3.0.4": + "integrity" "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==" + "resolved" "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz" + "version" "3.0.4" + dependencies: + "brace-expansion" "^1.1.7" + +"minimatch@5.0.1": + "integrity" "sha512-nLDxIFRyhDblz3qMuq+SoRZED4+miJ/G+tdDrjkkkRnjAsBexeGpgjLEQ0blJy7rHhR2b93rhQY4SvyWu9v03g==" + "resolved" "https://registry.npmjs.org/minimatch/-/minimatch-5.0.1.tgz" + "version" "5.0.1" + dependencies: + "brace-expansion" "^2.0.1" + +"minimist@^1.2.0", "minimist@^1.2.3", "minimist@^1.2.5", "minimist@^1.2.6": + "integrity" "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==" + "resolved" "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz" + "version" "1.2.8" + +"minimist@0.0.8": + "integrity" "sha512-miQKw5Hv4NS1Psg2517mV4e4dYNaO3++hjAvLOAzKqZ61rH8NS1SK+vbfBWZ5PY/Me/bEWhUwqMghEW5Fb9T7Q==" + "resolved" "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz" + "version" "0.0.8" + +"minipass@^2.6.0", "minipass@^2.9.0": + "integrity" "sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg==" + "resolved" "https://registry.npmjs.org/minipass/-/minipass-2.9.0.tgz" + "version" "2.9.0" + dependencies: + "safe-buffer" "^5.1.2" + "yallist" "^3.0.0" + +"minipass@^3.0.0": + "integrity" "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==" + "resolved" "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz" + "version" "3.3.6" + dependencies: + "yallist" "^4.0.0" + +"minipass@^5.0.0": + "integrity" "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==" + "resolved" "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz" + "version" "5.0.0" + +"minizlib@^1.3.3": + "integrity" "sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q==" + "resolved" "https://registry.npmjs.org/minizlib/-/minizlib-1.3.3.tgz" + "version" "1.3.3" + dependencies: + "minipass" "^2.9.0" + +"minizlib@^2.1.1": + "integrity" "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==" + "resolved" "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz" + "version" "2.1.2" + dependencies: + "minipass" "^3.0.0" + "yallist" "^4.0.0" + +"mitt@^1.2.0": + "integrity" "sha512-r6lj77KlwqLhIUku9UWYes7KJtsczvolZkzp8hbaDPPaE24OmWl5s539Mytlj22siEQKosZ26qCBgda2PKwoJw==" + "resolved" "https://registry.npmjs.org/mitt/-/mitt-1.2.0.tgz" + "version" "1.2.0" + +"mixin-deep@^1.2.0": + "integrity" "sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==" + "resolved" "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz" + "version" "1.3.2" + dependencies: + "for-in" "^1.0.2" + "is-extendable" "^1.0.1" + +"mkdirp-promise@^5.0.1": + "integrity" "sha512-Hepn5kb1lJPtVW84RFT40YG1OddBNTOVUZR2bzQUHc+Z03en8/3uX0+060JDhcEzyO08HmipsN9DcnFMxhIL9w==" + "resolved" "https://registry.npmjs.org/mkdirp-promise/-/mkdirp-promise-5.0.1.tgz" + "version" "5.0.1" + dependencies: + "mkdirp" "*" + +"mkdirp@*": + "integrity" "sha512-jbjfql+shJtAPrFoKxHOXip4xS+kul9W3OzfzzrqueWK2QMGon2bFH2opl6W9EagBThjEz+iysyi/swOoVfB/w==" + "resolved" "https://registry.npmjs.org/mkdirp/-/mkdirp-2.1.5.tgz" + "version" "2.1.5" + +"mkdirp@^0.5.5": + "integrity" "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==" + "resolved" "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz" + "version" "0.5.6" + dependencies: + "minimist" "^1.2.6" + +"mkdirp@^1.0.3": + "integrity" "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==" + "resolved" "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz" + "version" "1.0.4" + +"mkdirp@^1.0.4": + "integrity" "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==" + "resolved" "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz" + "version" "1.0.4" + +"mkdirp@~0.5.1": + "integrity" "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==" + "resolved" "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz" + "version" "0.5.6" + dependencies: + "minimist" "^1.2.6" + +"mkdirp@0.5.1": + "integrity" "sha512-SknJC52obPfGQPnjIkXbmA6+5H15E+fR+E4iR2oQ3zzCLbd7/ONua69R/Gw7AgkTLsRG+r5fzksYwWe1AgTyWA==" + "resolved" "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz" + "version" "0.5.1" + dependencies: + "minimist" "0.0.8" + +"mnemonist@^0.38.0", "mnemonist@^0.38.3": + "integrity" "sha512-bZTFT5rrPKtPJxj8KSV0WkPyNxl72vQepqqVUAW2ARUpUSF2qXMB6jZj7hW5/k7C1rtpzqbD/IIbJwLXUjCHeg==" + "resolved" "https://registry.npmjs.org/mnemonist/-/mnemonist-0.38.5.tgz" + "version" "0.38.5" + dependencies: + "obliterator" "^2.0.0" + +"mocha@^10.0.0", "mocha@^10.2.0": + "integrity" "sha512-IDY7fl/BecMwFHzoqF2sg/SHHANeBoMMXFlS9r0OXKDssYE1M5O43wUY/9BVPeIvfH2zmEbBfseqN9gBQZzXkg==" + "resolved" "https://registry.npmjs.org/mocha/-/mocha-10.2.0.tgz" + "version" "10.2.0" + dependencies: + "ansi-colors" "4.1.1" + "browser-stdout" "1.3.1" + "chokidar" "3.5.3" + "debug" "4.3.4" + "diff" "5.0.0" + "escape-string-regexp" "4.0.0" + "find-up" "5.0.0" + "glob" "7.2.0" + "he" "1.2.0" + "js-yaml" "4.1.0" + "log-symbols" "4.1.0" + "minimatch" "5.0.1" + "ms" "2.1.3" + "nanoid" "3.3.3" + "serialize-javascript" "6.0.0" + "strip-json-comments" "3.1.1" + "supports-color" "8.1.1" + "workerpool" "6.2.1" + "yargs" "16.2.0" + "yargs-parser" "20.2.4" + "yargs-unparser" "2.0.0" + +"mocha@^5.2.0": + "integrity" "sha512-2IUgKDhc3J7Uug+FxMXuqIyYzH7gJjXECKe/w43IGgQHTSj3InJi+yAA7T24L9bQMRKiUEHxEX37G5JpVUGLcQ==" + "resolved" "https://registry.npmjs.org/mocha/-/mocha-5.2.0.tgz" + "version" "5.2.0" + dependencies: + "browser-stdout" "1.3.1" + "commander" "2.15.1" + "debug" "3.1.0" + "diff" "3.5.0" + "escape-string-regexp" "1.0.5" + "glob" "7.1.2" + "growl" "1.10.5" + "he" "1.1.1" + "minimatch" "3.0.4" + "mkdirp" "0.5.1" + "supports-color" "5.4.0" + +"mocha@10.1.0": + "integrity" "sha512-vUF7IYxEoN7XhQpFLxQAEMtE4W91acW4B6En9l97MwE9stL1A9gusXfoHZCLVHDUJ/7V5+lbCM6yMqzo5vNymg==" + "resolved" "https://registry.npmjs.org/mocha/-/mocha-10.1.0.tgz" + "version" "10.1.0" + dependencies: + "ansi-colors" "4.1.1" + "browser-stdout" "1.3.1" + "chokidar" "3.5.3" + "debug" "4.3.4" + "diff" "5.0.0" + "escape-string-regexp" "4.0.0" + "find-up" "5.0.0" + "glob" "7.2.0" + "he" "1.2.0" + "js-yaml" "4.1.0" + "log-symbols" "4.1.0" + "minimatch" "5.0.1" + "ms" "2.1.3" + "nanoid" "3.3.3" + "serialize-javascript" "6.0.0" + "strip-json-comments" "3.1.1" + "supports-color" "8.1.1" + "workerpool" "6.2.1" + "yargs" "16.2.0" + "yargs-parser" "20.2.4" + "yargs-unparser" "2.0.0" + +"mocha@5.0.5": + "integrity" "sha512-3MM3UjZ5p8EJrYpG7s+29HAI9G7sTzKEe4+w37Dg0QP7qL4XGsV+Q2xet2cE37AqdgN1OtYQB6Vl98YiPV3PgA==" + "resolved" "https://registry.npmjs.org/mocha/-/mocha-5.0.5.tgz" + "version" "5.0.5" + dependencies: + "browser-stdout" "1.3.1" + "commander" "2.11.0" + "debug" "3.1.0" + "diff" "3.5.0" + "escape-string-regexp" "1.0.5" + "glob" "7.1.2" + "growl" "1.10.3" + "he" "1.1.1" + "mkdirp" "0.5.1" + "supports-color" "4.4.0" + +"mock-ethers-provider@^1.0.2": + "integrity" "sha512-bxNEAGoHpjOi8Used1GUfT/rT42UekmbsByxyEdcZRlr7zZwxoL0ONIS9pgWkpWcSzqzzQvlElNblyUK/FqcXg==" + "resolved" "https://registry.npmjs.org/mock-ethers-provider/-/mock-ethers-provider-1.0.2.tgz" + "version" "1.0.2" + dependencies: + "ethers" "^5.0.19" + +"mock-fs@^4.1.0": + "integrity" "sha512-qYvlv/exQ4+svI3UOvPUpLDF0OMX5euvUH0Ny4N5QyRyhNdgAgUrVH3iUINSzEPLvx0kbo/Bp28GJKIqvE7URw==" + "resolved" "https://registry.npmjs.org/mock-fs/-/mock-fs-4.14.0.tgz" + "version" "4.14.0" + +"module-error@^1.0.1", "module-error@^1.0.2": + "integrity" "sha512-0yuvsqSCv8LbaOKhnsQ/T5JhyFlCYLPXK3U2sgV10zoKQwzs/MyfuQUOZQ1V/6OCOJsK/TRgNVrPuPDqtdMFtA==" + "resolved" "https://registry.npmjs.org/module-error/-/module-error-1.0.2.tgz" + "version" "1.0.2" + +"moment@^2.19.3", "moment@^2.29.1": + "integrity" "sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w==" + "resolved" "https://registry.npmjs.org/moment/-/moment-2.29.4.tgz" + "version" "2.29.4" + +"morgan@^1.10.0": + "integrity" "sha512-AbegBVI4sh6El+1gNwvD5YIck7nSA36weD7xvIxG4in80j/UoK8AEGaWnnz8v1GxonMCltmlNs5ZKbGvl9b1XQ==" + "resolved" "https://registry.npmjs.org/morgan/-/morgan-1.10.0.tgz" + "version" "1.10.0" + dependencies: + "basic-auth" "~2.0.1" + "debug" "2.6.9" + "depd" "~2.0.0" + "on-finished" "~2.3.0" + "on-headers" "~1.0.2" + +"ms@^2.0.0", "ms@^2.1.1", "ms@2.1.3": + "integrity" "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" + "resolved" "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz" + "version" "2.1.3" + +"ms@2.0.0": + "integrity" "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" + "resolved" "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz" + "version" "2.0.0" + +"ms@2.1.2": + "integrity" "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + "resolved" "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz" + "version" "2.1.2" + +"multibase@^0.7.0": + "integrity" "sha512-TW8q03O0f6PNFTQDvh3xxH03c8CjGaaYrjkl9UQPG6rz53TQzzxJVCIWVjzcbN/Q5Y53Zd0IBQBMVktVgNx4Fg==" + "resolved" "https://registry.npmjs.org/multibase/-/multibase-0.7.0.tgz" + "version" "0.7.0" + dependencies: + "base-x" "^3.0.8" + "buffer" "^5.5.0" + +"multibase@~0.6.0": + "integrity" "sha512-pFfAwyTjbbQgNc3G7D48JkJxWtoJoBMaR4xQUOuB8RnCgRqaYmWNFeJTTvrJ2w51bjLq2zTby6Rqj9TQ9elSUw==" + "resolved" "https://registry.npmjs.org/multibase/-/multibase-0.6.1.tgz" + "version" "0.6.1" + dependencies: + "base-x" "^3.0.8" + "buffer" "^5.5.0" + +"multicodec@^0.5.5": + "integrity" "sha512-PscoRxm3f+88fAtELwUnZxGDkduE2HD9Q6GHUOywQLjOGT/HAdhjLDYNZ1e7VR0s0TP0EwZ16LNUTFpoBGivOA==" + "resolved" "https://registry.npmjs.org/multicodec/-/multicodec-0.5.7.tgz" + "version" "0.5.7" + dependencies: + "varint" "^5.0.0" + +"multicodec@^1.0.0": + "integrity" "sha512-NDd7FeS3QamVtbgfvu5h7fd1IlbaC4EQ0/pgU4zqE2vdHCmBGsUa0TiM8/TdSeG6BMPC92OOCf8F1ocE/Wkrrg==" + "resolved" "https://registry.npmjs.org/multicodec/-/multicodec-1.0.4.tgz" + "version" "1.0.4" + dependencies: + "buffer" "^5.6.0" + "varint" "^5.0.0" + +"multiformats@^9.4.2": + "integrity" "sha512-HoMUjhH9T8DDBNT+6xzkrd9ga/XiBI4xLr58LJACwK6G3HTOPeMz4nB4KJs33L2BelrIJa7P0VuNaVF3hMYfjg==" + "resolved" "https://registry.npmjs.org/multiformats/-/multiformats-9.9.0.tgz" + "version" "9.9.0" + +"multihashes@^0.4.15", "multihashes@~0.4.15": + "integrity" "sha512-uVSvmeCWf36pU2nB4/1kzYZjsXD9vofZKpgudqkceYY5g2aZZXJ5r9lxuzoRLl1OAp28XljXsEJ/X/85ZsKmKw==" + "resolved" "https://registry.npmjs.org/multihashes/-/multihashes-0.4.21.tgz" + "version" "0.4.21" + dependencies: + "buffer" "^5.5.0" + "multibase" "^0.7.0" + "varint" "^5.0.0" + +"mustache@^4.0.0": + "integrity" "sha512-71ippSywq5Yb7/tVYyGbkBggbU8H3u5Rz56fH60jGFgr8uHwxs+aSKeqmluIVzM0m0kB7xQjKS6qPfd0b2ZoqQ==" + "resolved" "https://registry.npmjs.org/mustache/-/mustache-4.2.0.tgz" + "version" "4.2.0" + +"mv@~2": + "integrity" "sha512-at/ZndSy3xEGJ8i0ygALh8ru9qy7gWW1cmkaqBN29JmMlIvM//MEO9y1sk/avxuwnPcfhkejkLsuPxH81BrkSg==" + "resolved" "https://registry.npmjs.org/mv/-/mv-2.1.1.tgz" + "version" "2.1.1" + dependencies: + "mkdirp" "~0.5.1" + "ncp" "~2.0.0" + "rimraf" "~2.4.0" + +"nan@^2.13.2", "nan@^2.14.0": + "integrity" "sha512-2ZTgtl0nJsO0KQCjEpxcIr5D+Yv90plTitZt9JBfQvVJDS5seMl3FOvsh3+9CoYWXf/1l5OaZzzF6nDm4cagaQ==" + "resolved" "https://registry.npmjs.org/nan/-/nan-2.17.0.tgz" + "version" "2.17.0" + +"nan@2.14.0": + "integrity" "sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg==" + "resolved" "https://registry.npmjs.org/nan/-/nan-2.14.0.tgz" + "version" "2.14.0" + +"nano-json-stream-parser@^0.1.2": + "integrity" "sha512-9MqxMH/BSJC7dnLsEMPyfN5Dvoo49IsPFYMcHw3Bcfc2kN0lpHRBSzlMSVx4HGyJ7s9B31CyBTVehWJoQ8Ctew==" + "resolved" "https://registry.npmjs.org/nano-json-stream-parser/-/nano-json-stream-parser-0.1.2.tgz" + "version" "0.1.2" + +"nanoid@3.3.3": + "integrity" "sha512-p1sjXuopFs0xg+fPASzQ28agW1oHD7xDsd9Xkf3T15H3c/cifrFHVwrh74PdoklAPi+i7MdRsE47vm2r6JoB+w==" + "resolved" "https://registry.npmjs.org/nanoid/-/nanoid-3.3.3.tgz" + "version" "3.3.3" + +"nanomatch@^1.2.9": + "integrity" "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==" + "resolved" "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz" + "version" "1.2.13" + dependencies: + "arr-diff" "^4.0.0" + "array-unique" "^0.3.2" + "define-property" "^2.0.2" + "extend-shallow" "^3.0.2" + "fragment-cache" "^0.2.1" + "is-windows" "^1.0.2" + "kind-of" "^6.0.2" + "object.pick" "^1.3.0" + "regex-not" "^1.0.0" + "snapdragon" "^0.8.1" + "to-regex" "^3.0.1" + +"napi-macros@~2.0.0": + "integrity" "sha512-A0xLykHtARfueITVDernsAWdtIMbOJgKgcluwENp3AlsKN/PloyO10HtmoqnFAQAcxPkgZN7wdfPfEd0zNGxbg==" + "resolved" "https://registry.npmjs.org/napi-macros/-/napi-macros-2.0.0.tgz" + "version" "2.0.0" + +"natural-compare@^1.4.0": + "integrity" "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==" + "resolved" "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz" + "version" "1.4.0" + +"ncp@~2.0.0": + "integrity" "sha512-zIdGUrPRFTUELUvr3Gmc7KZ2Sw/h1PiVM0Af/oHB6zgnV1ikqSfRk+TOufi79aHYCW3NiOXmr1BP5nWbzojLaA==" + "resolved" "https://registry.npmjs.org/ncp/-/ncp-2.0.0.tgz" + "version" "2.0.0" + +"near-api-js@0.44.2": + "integrity" "sha512-eMnc4V+geggapEUa3nU2p8HSHn/njtloI4P2mceHQWO8vDE1NGpnAw8FuTBrLmXSgIv9m6oocgFc9t3VNf5zwg==" + "resolved" "https://registry.npmjs.org/near-api-js/-/near-api-js-0.44.2.tgz" + "version" "0.44.2" + dependencies: + "bn.js" "5.2.0" + "borsh" "^0.6.0" + "bs58" "^4.0.0" + "depd" "^2.0.0" + "error-polyfill" "^0.1.3" + "http-errors" "^1.7.2" + "js-sha256" "^0.9.0" + "mustache" "^4.0.0" + "node-fetch" "^2.6.1" + "text-encoding-utf-8" "^1.0.2" + "tweetnacl" "^1.0.1" + +"near-api-js@1.0.0": + "integrity" "sha512-OYItaQIYlKK27FG5PrqqtkTI8Vv9TEOCi7gXePYigS4o6WofXciAXNjr4sihDJ8Vzi6s7+eEkf3zTNP3042FBw==" + "resolved" "https://registry.npmjs.org/near-api-js/-/near-api-js-1.0.0.tgz" + "version" "1.0.0" + dependencies: + "bn.js" "5.2.1" + "borsh" "^0.7.0" + "bs58" "^4.0.0" + "depd" "^2.0.0" + "error-polyfill" "^0.1.3" + "http-errors" "^1.7.2" + "js-sha256" "^0.9.0" + "mustache" "^4.0.0" + "node-fetch" "^2.6.1" + "text-encoding-utf-8" "^1.0.2" + "tweetnacl" "^1.0.1" + +"negotiator@0.6.3": + "integrity" "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==" + "resolved" "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz" + "version" "0.6.3" + +"neo-async@^2.6.0": + "integrity" "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==" + "resolved" "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz" + "version" "2.6.2" + +"next-tick@^1.1.0": + "integrity" "sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==" + "resolved" "https://registry.npmjs.org/next-tick/-/next-tick-1.1.0.tgz" + "version" "1.1.0" + +"nice-try@^1.0.4": + "integrity" "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==" + "resolved" "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz" + "version" "1.0.5" + +"no-case@^2.2.0", "no-case@^2.3.2": + "integrity" "sha512-rmTZ9kz+f3rCvK2TD1Ue/oZlns7OGoIWP4fc3llxxRXlOkHKoWPPWJOfFYpITabSow43QJbRIoHQXtt10VldyQ==" + "resolved" "https://registry.npmjs.org/no-case/-/no-case-2.3.2.tgz" + "version" "2.3.2" + dependencies: + "lower-case" "^1.1.1" + +"no-case@^3.0.4": + "integrity" "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==" + "resolved" "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz" + "version" "3.0.4" + dependencies: + "lower-case" "^2.0.2" + "tslib" "^2.0.3" + +"node-abort-controller@^3.0.1": + "integrity" "sha512-AGK2yQKIjRuqnc6VkX2Xj5d+QW8xZ87pa1UK6yA6ouUyuxfHuMP6umE5QK7UmTeOAymo+Zx1Fxiuw9rVx8taHQ==" + "resolved" "https://registry.npmjs.org/node-abort-controller/-/node-abort-controller-3.1.1.tgz" + "version" "3.1.1" + +"node-addon-api@^2.0.0": + "integrity" "sha512-Ntyt4AIXyaLIuMHF6IOoTakB3K+RWxwtsHNRxllEoA6vPwP9o4866g6YWDLUdnucilZhmkxiHwHr11gAENw+QA==" + "resolved" "https://registry.npmjs.org/node-addon-api/-/node-addon-api-2.0.2.tgz" + "version" "2.0.2" + +"node-addon-api@^3.0.0": + "integrity" "sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A==" + "resolved" "https://registry.npmjs.org/node-addon-api/-/node-addon-api-3.2.1.tgz" + "version" "3.2.1" + +"node-addon-api@^5.0.0": + "integrity" "sha512-eh0GgfEkpnoWDq+VY8OyvYhFEzBk6jIYbRKdIlyTiAXIVJ8PyBaKb0rp7oDtoddbdoHWhq8wwr+XZ81F1rpNdA==" + "resolved" "https://registry.npmjs.org/node-addon-api/-/node-addon-api-5.1.0.tgz" + "version" "5.1.0" + +"node-cache@^5.1.2", "node-cache@5.1.2": + "integrity" "sha512-t1QzWwnk4sjLWaQAS8CHgOJ+RAfmHpxFWmc36IWTiWHQfs0w5JDMBS1b1ZxQteo0vVVuWJvIUKHDkkeK7vIGCg==" + "resolved" "https://registry.npmjs.org/node-cache/-/node-cache-5.1.2.tgz" + "version" "5.1.2" + dependencies: + "clone" "2.x" + +"node-fetch@^2.6.1", "node-fetch@^2.6.7": + "integrity" "sha512-DJm/CJkZkRjKKj4Zi4BsKVZh3ValV5IR5s7LVZnW+6YMh0W1BfNA8XSs6DLMGYlId5F3KnA70uu2qepcR08Qqg==" + "resolved" "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.9.tgz" + "version" "2.6.9" + dependencies: + "whatwg-url" "^5.0.0" + +"node-fetch@2.6.7": + "integrity" "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==" + "resolved" "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz" + "version" "2.6.7" + dependencies: + "whatwg-url" "^5.0.0" + +"node-gyp-build@^4.2.0", "node-gyp-build@^4.2.2", "node-gyp-build@^4.3.0": + "integrity" "sha512-NTZVKn9IylLwUzaKjkas1e4u2DLNcV4rdYagA4PWdPwW87Bi7z+BznyKSRwS/761tV/lzCGXplWsiaMjLqP2zQ==" + "resolved" "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.6.0.tgz" + "version" "4.6.0" + +"node-gyp-build@~4.1.0": + "integrity" "sha512-dSq1xmcPDKPZ2EED2S6zw/b9NKsqzXRE6dVr8TVQnI3FJOTteUMuqF3Qqs6LZg+mLGYJWqQzMbIjMtJqTv87nQ==" + "resolved" "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.1.1.tgz" + "version" "4.1.1" + +"node-gyp-build@4.4.0": + "integrity" "sha512-amJnQCcgtRVw9SvoebO3BKGESClrfXGCUTX9hSn1OuGQTQBOZmVd0Z0OlecpuRksKvbsUqALE8jls/ErClAPuQ==" + "resolved" "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.4.0.tgz" + "version" "4.4.0" + +"node-int64@^0.4.0": + "integrity" "sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==" + "resolved" "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz" + "version" "0.4.0" + +"node-interval-tree@^1.3.3": + "integrity" "sha512-K9vk96HdTK5fEipJwxSvIIqwTqr4e3HRJeJrNxBSeVMNSC/JWARRaX7etOLOuTmrRMeOI/K5TCJu3aWIwZiNTw==" + "resolved" "https://registry.npmjs.org/node-interval-tree/-/node-interval-tree-1.3.3.tgz" + "version" "1.3.3" + dependencies: + "shallowequal" "^1.0.2" + +"node-releases@^2.0.8": + "integrity" "sha512-5GFldHPXVG/YZmFzJvKK2zDSzPKhEp0+ZR5SVaoSag9fsL5YgHbUHDfnG5494ISANDcK4KwPXAx2xqVEydmd7w==" + "resolved" "https://registry.npmjs.org/node-releases/-/node-releases-2.0.10.tgz" + "version" "2.0.10" + +"nodemon@^2.0.16": + "integrity" "sha512-djN/n2549DUtY33S7o1djRCd7dEm0kBnj9c7S9XVXqRUbuggN1MZH/Nqa+5RFQr63Fbefq37nFXAE9VU86yL1A==" + "resolved" "https://registry.npmjs.org/nodemon/-/nodemon-2.0.21.tgz" + "version" "2.0.21" + dependencies: + "chokidar" "^3.5.2" + "debug" "^3.2.7" + "ignore-by-default" "^1.0.1" + "minimatch" "^3.1.2" + "pstree.remy" "^1.1.8" + "semver" "^5.7.1" + "simple-update-notifier" "^1.0.7" + "supports-color" "^5.5.0" + "touch" "^3.1.0" + "undefsafe" "^2.0.5" + +"nofilter@^1.0.4": + "integrity" "sha512-N8lidFp+fCz+TD51+haYdbDGrcBWwuHX40F5+z0qkUjMJ5Tp+rdSuAkMJ9N9eoolDlEVTf6u5icM+cNKkKW2mA==" + "resolved" "https://registry.npmjs.org/nofilter/-/nofilter-1.0.4.tgz" + "version" "1.0.4" + +"noms@0.0.0": + "integrity" "sha512-lNDU9VJaOPxUmXcLb+HQFeUgQQPtMI24Gt6hgfuMHRJgMRHMF/qZ4HJD3GDru4sSw9IQl2jPjAYnQrdIeLbwow==" + "resolved" "https://registry.npmjs.org/noms/-/noms-0.0.0.tgz" + "version" "0.0.0" + dependencies: + "inherits" "^2.0.1" + "readable-stream" "~1.0.31" + +"nopt@^5.0.0": + "integrity" "sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==" + "resolved" "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz" + "version" "5.0.0" + dependencies: + "abbrev" "1" + +"nopt@~1.0.10": + "integrity" "sha512-NWmpvLSqUrgrAC9HCuxEvb+PSloHpqVu+FqcO4eeF2h5qYRhA7ev6KvelyQAKtegUbC6RypJnlEOhd8vloNKYg==" + "resolved" "https://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz" + "version" "1.0.10" + dependencies: + "abbrev" "1" + +"normalize-path@^3.0.0", "normalize-path@~3.0.0": + "integrity" "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==" + "resolved" "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz" + "version" "3.0.0" + +"normalize-url@^4.1.0": + "integrity" "sha512-9UZCFRHQdNrfTpGg8+1INIg93B6zE0aXMVFkw1WFwvO4SlZywU6aLg5Of0Ap/PgcbSw4LNxvMWXMeugwMCX0AA==" + "resolved" "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.1.tgz" + "version" "4.5.1" + +"normalize-url@^6.0.1": + "integrity" "sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A==" + "resolved" "https://registry.npmjs.org/normalize-url/-/normalize-url-6.1.0.tgz" + "version" "6.1.0" + +"npm-run-path@^2.0.0": + "integrity" "sha512-lJxZYlT4DW/bRUtFh1MQIWqmLwQfAxnqWG4HhEdjMlkrJYnJn0Jrr2u3mgxqaWsdiBc76TYkTG/mhrnYTuzfHw==" + "resolved" "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz" + "version" "2.0.2" + dependencies: + "path-key" "^2.0.0" + +"npm-run-path@^4.0.1": + "integrity" "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==" + "resolved" "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz" + "version" "4.0.1" + dependencies: + "path-key" "^3.0.0" + +"npmlog@^5.0.1": + "integrity" "sha512-AqZtDUWOMKs1G/8lwylVjrdYgqA4d9nu8hc+0gzRxlDb1I10+FHBGMXs6aiQHFdCUUlqH99MUMuLfzWDNDtfxw==" + "resolved" "https://registry.npmjs.org/npmlog/-/npmlog-5.0.1.tgz" + "version" "5.0.1" + dependencies: + "are-we-there-yet" "^2.0.0" + "console-control-strings" "^1.1.0" + "gauge" "^3.0.0" + "set-blocking" "^2.0.0" + +"number-is-nan@^1.0.0": + "integrity" "sha512-4jbtZXNAsfZbAHiiqjLPBiCl16dES1zI4Hpzzxw61Tk+loF+sBDBKx1ICKKKwIqQ7M0mFn1TmkN7euSncWgHiQ==" + "resolved" "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz" + "version" "1.0.1" + +"number-to-bn@1.7.0": + "integrity" "sha512-wsJ9gfSz1/s4ZsJN01lyonwuxA1tml6X1yBDnfpMglypcBRFZZkus26EdPSlqS5GJfYddVZa22p3VNb3z5m5Ig==" + "resolved" "https://registry.npmjs.org/number-to-bn/-/number-to-bn-1.7.0.tgz" + "version" "1.7.0" + dependencies: + "bn.js" "4.11.6" + "strip-hex-prefix" "1.0.0" + +"nwsapi@^2.2.0": + "integrity" "sha512-90yv+6538zuvUMnN+zCr8LuV6bPFdq50304114vJYJ8RDyK8D5O9Phpbd6SZWgI7PwzmmfN1upeOJlvybDSgCw==" + "resolved" "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.2.tgz" + "version" "2.2.2" + +"o3@^1.0.3": + "integrity" "sha512-f+4n+vC6s4ysy7YO7O2gslWZBUu8Qj2i2OUJOvjRxQva7jVjYjB29jrr9NCjmxZQR0gzrOcv1RnqoYOeMs5VRQ==" + "resolved" "https://registry.npmjs.org/o3/-/o3-1.0.3.tgz" + "version" "1.0.3" + dependencies: + "capability" "^0.2.5" + +"oauth-sign@~0.9.0": + "integrity" "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==" + "resolved" "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz" + "version" "0.9.0" + +"object-assign@^4", "object-assign@^4.0.1", "object-assign@^4.1.0", "object-assign@^4.1.1": + "integrity" "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==" + "resolved" "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz" + "version" "4.1.1" + +"object-copy@^0.1.0": + "integrity" "sha512-79LYn6VAb63zgtmAteVOWo9Vdj71ZVBy3Pbse+VqxDpEP83XuujMrGqHIwAXJ5I/aM0zU7dIyIAhifVTPrNItQ==" + "resolved" "https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz" + "version" "0.1.0" + dependencies: + "copy-descriptor" "^0.1.0" + "define-property" "^0.2.5" + "kind-of" "^3.0.3" + +"object-hash@^2.0.1": + "integrity" "sha512-gScRMn0bS5fH+IuwyIFgnh9zBdo4DV+6GhygmWM9HyNJSgS0hScp1f5vjtm7oIIOiT9trXrShAkLFSc2IqKNgw==" + "resolved" "https://registry.npmjs.org/object-hash/-/object-hash-2.2.0.tgz" + "version" "2.2.0" + +"object-inspect@^1.12.3", "object-inspect@^1.9.0": + "integrity" "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==" + "resolved" "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz" + "version" "1.12.3" + +"object-is@^1.0.1": + "integrity" "sha512-3cyDsyHgtmi7I7DfSSI2LDp6SK2lwvtbg0p0R1e0RvTqF5ceGx+K2dfSjm1bKDMVCFEDAQvy+o8c6a7VujOddw==" + "resolved" "https://registry.npmjs.org/object-is/-/object-is-1.1.5.tgz" + "version" "1.1.5" + dependencies: + "call-bind" "^1.0.2" + "define-properties" "^1.1.3" + +"object-keys@^1.1.1": + "integrity" "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==" + "resolved" "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz" + "version" "1.1.1" + +"object-visit@^1.0.0": + "integrity" "sha512-GBaMwwAVK9qbQN3Scdo0OyvgPW7l3lnaVMj84uTOZlswkX0KpF6fyDBJhtTthf7pymztoN36/KEr1DyhF96zEA==" + "resolved" "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz" + "version" "1.0.1" + dependencies: + "isobject" "^3.0.0" + +"object.assign@^4.1.4": + "integrity" "sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==" + "resolved" "https://registry.npmjs.org/object.assign/-/object.assign-4.1.4.tgz" + "version" "4.1.4" + dependencies: + "call-bind" "^1.0.2" + "define-properties" "^1.1.4" + "has-symbols" "^1.0.3" + "object-keys" "^1.1.1" + +"object.pick@^1.3.0": + "integrity" "sha512-tqa/UMy/CCoYmj+H5qc07qvSL9dqcs/WZENZ1JbtWBlATP+iVOe778gE6MSijnyCnORzDuX6hU+LA4SZ09YjFQ==" + "resolved" "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz" + "version" "1.3.0" + dependencies: + "isobject" "^3.0.1" + +"object.values@^1.1.6": + "integrity" "sha512-FVVTkD1vENCsAcwNs9k6jea2uHC/X0+JcjG8YA60FN5CMaJmG95wT9jek/xX9nornqGRrBkKtzuAu2wuHpKqvw==" + "resolved" "https://registry.npmjs.org/object.values/-/object.values-1.1.6.tgz" + "version" "1.1.6" + dependencies: + "call-bind" "^1.0.2" + "define-properties" "^1.1.4" + "es-abstract" "^1.20.4" -object.pick@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/object.pick/-/object.pick-1.3.0.tgz#87a10ac4c1694bd2e1cbf53591a66141fb5dd747" - integrity sha512-tqa/UMy/CCoYmj+H5qc07qvSL9dqcs/WZENZ1JbtWBlATP+iVOe778gE6MSijnyCnORzDuX6hU+LA4SZ09YjFQ== - dependencies: - isobject "^3.0.1" +"obliterator@^2.0.0": + "integrity" "sha512-lgHwxlxV1qIg1Eap7LgIeoBWIMFibOjbrYPIPJZcI1mmGAI2m3lNYpK12Y+GBdPQ0U1hRwSord7GIaawz962qQ==" + "resolved" "https://registry.npmjs.org/obliterator/-/obliterator-2.0.4.tgz" + "version" "2.0.4" -object.values@^1.1.6: - version "1.1.6" - resolved "https://registry.yarnpkg.com/object.values/-/object.values-1.1.6.tgz#4abbaa71eba47d63589d402856f908243eea9b1d" - integrity sha512-FVVTkD1vENCsAcwNs9k6jea2uHC/X0+JcjG8YA60FN5CMaJmG95wT9jek/xX9nornqGRrBkKtzuAu2wuHpKqvw== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.4" - es-abstract "^1.20.4" +"oblivious-set@1.1.1": + "integrity" "sha512-Oh+8fK09mgGmAshFdH6hSVco6KZmd1tTwNFWj35OvzdmJTMZtAkbn05zar2iG3v6sDs1JLEtOiBGNb6BHwkb2w==" + "resolved" "https://registry.npmjs.org/oblivious-set/-/oblivious-set-1.1.1.tgz" + "version" "1.1.1" -obliterator@^2.0.0: - version "2.0.4" - resolved "https://registry.yarnpkg.com/obliterator/-/obliterator-2.0.4.tgz#fa650e019b2d075d745e44f1effeb13a2adbe816" - integrity sha512-lgHwxlxV1qIg1Eap7LgIeoBWIMFibOjbrYPIPJZcI1mmGAI2m3lNYpK12Y+GBdPQ0U1hRwSord7GIaawz962qQ== +"oboe@2.1.4": + "integrity" "sha512-ymBJ4xSC6GBXLT9Y7lirj+xbqBLa+jADGJldGEYG7u8sZbS9GyG+u1Xk9c5cbriKwSpCg41qUhPjvU5xOpvIyQ==" + "resolved" "https://registry.npmjs.org/oboe/-/oboe-2.1.4.tgz" + "version" "2.1.4" + dependencies: + "http-https" "^1.0.0" -oblivious-set@1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/oblivious-set/-/oblivious-set-1.1.1.tgz#d9d38e9491d51f27a5c3ec1681d2ba40aa81e98b" - integrity sha512-Oh+8fK09mgGmAshFdH6hSVco6KZmd1tTwNFWj35OvzdmJTMZtAkbn05zar2iG3v6sDs1JLEtOiBGNb6BHwkb2w== - -oboe@2.1.4: - version "2.1.4" - resolved "https://registry.yarnpkg.com/oboe/-/oboe-2.1.4.tgz#20c88cdb0c15371bb04119257d4fdd34b0aa49f6" - integrity sha512-ymBJ4xSC6GBXLT9Y7lirj+xbqBLa+jADGJldGEYG7u8sZbS9GyG+u1Xk9c5cbriKwSpCg41qUhPjvU5xOpvIyQ== - dependencies: - http-https "^1.0.0" - -oboe@2.1.5: - version "2.1.5" - resolved "https://registry.yarnpkg.com/oboe/-/oboe-2.1.5.tgz#5554284c543a2266d7a38f17e073821fbde393cd" - integrity sha512-zRFWiF+FoicxEs3jNI/WYUrVEgA7DeET/InK0XQuudGHRg8iIob3cNPrJTKaz4004uaA9Pbe+Dwa8iluhjLZWA== +"oboe@2.1.5": + "integrity" "sha512-zRFWiF+FoicxEs3jNI/WYUrVEgA7DeET/InK0XQuudGHRg8iIob3cNPrJTKaz4004uaA9Pbe+Dwa8iluhjLZWA==" + "resolved" "https://registry.npmjs.org/oboe/-/oboe-2.1.5.tgz" + "version" "2.1.5" dependencies: - http-https "^1.0.0" + "http-https" "^1.0.0" -on-exit-leak-free@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/on-exit-leak-free/-/on-exit-leak-free-0.2.0.tgz#b39c9e3bf7690d890f4861558b0d7b90a442d209" - integrity sha512-dqaz3u44QbRXQooZLTUKU41ZrzYrcvLISVgbrzbyCMxpmSLJvZ3ZamIJIZ29P6OhZIkNIQKosdeM6t1LYbA9hg== +"on-exit-leak-free@^0.2.0": + "integrity" "sha512-dqaz3u44QbRXQooZLTUKU41ZrzYrcvLISVgbrzbyCMxpmSLJvZ3ZamIJIZ29P6OhZIkNIQKosdeM6t1LYbA9hg==" + "resolved" "https://registry.npmjs.org/on-exit-leak-free/-/on-exit-leak-free-0.2.0.tgz" + "version" "0.2.0" -on-finished@2.4.1: - version "2.4.1" - resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.4.1.tgz#58c8c44116e54845ad57f14ab10b03533184ac3f" - integrity sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg== +"on-finished@~2.3.0": + "integrity" "sha512-ikqdkGAAyf/X/gPhXGvfgAytDZtDbr+bkNUJ0N9h5MI/dmdgCs3l6hoHrcUv41sRKew3jIwrp4qQDXiK99Utww==" + "resolved" "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz" + "version" "2.3.0" dependencies: - ee-first "1.1.1" + "ee-first" "1.1.1" -on-finished@~2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.3.0.tgz#20f1336481b083cd75337992a16971aa2d906947" - integrity sha512-ikqdkGAAyf/X/gPhXGvfgAytDZtDbr+bkNUJ0N9h5MI/dmdgCs3l6hoHrcUv41sRKew3jIwrp4qQDXiK99Utww== +"on-finished@2.4.1": + "integrity" "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==" + "resolved" "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz" + "version" "2.4.1" dependencies: - ee-first "1.1.1" + "ee-first" "1.1.1" -on-headers@~1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/on-headers/-/on-headers-1.0.2.tgz#772b0ae6aaa525c399e489adfad90c403eb3c28f" - integrity sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA== +"on-headers@~1.0.2": + "integrity" "sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==" + "resolved" "https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz" + "version" "1.0.2" -once@^1.3.0, once@^1.3.1, once@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" - integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w== +"once@^1.3.0", "once@^1.3.1", "once@^1.4.0": + "integrity" "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==" + "resolved" "https://registry.npmjs.org/once/-/once-1.4.0.tgz" + "version" "1.4.0" dependencies: - wrappy "1" + "wrappy" "1" -one-time@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/one-time/-/one-time-1.0.0.tgz#e06bc174aed214ed58edede573b433bbf827cb45" - integrity sha512-5DXOiRKwuSEcQ/l0kGCF6Q3jcADFv5tSmRaJck/OqkVFcOzutB134KRSfF0xDrL39MNnqxbHBbUUcjZIhTgb2g== +"one-time@^1.0.0": + "integrity" "sha512-5DXOiRKwuSEcQ/l0kGCF6Q3jcADFv5tSmRaJck/OqkVFcOzutB134KRSfF0xDrL39MNnqxbHBbUUcjZIhTgb2g==" + "resolved" "https://registry.npmjs.org/one-time/-/one-time-1.0.0.tgz" + "version" "1.0.0" dependencies: - fn.name "1.x.x" + "fn.name" "1.x.x" -onetime@^5.1.0, onetime@^5.1.2: - version "5.1.2" - resolved "https://registry.yarnpkg.com/onetime/-/onetime-5.1.2.tgz#d0e96ebb56b07476df1dd9c4806e5237985ca45e" - integrity sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg== +"onetime@^5.1.0", "onetime@^5.1.2": + "integrity" "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==" + "resolved" "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz" + "version" "5.1.2" dependencies: - mimic-fn "^2.1.0" + "mimic-fn" "^2.1.0" -optimism@^0.16.1: - version "0.16.2" - resolved "https://registry.yarnpkg.com/optimism/-/optimism-0.16.2.tgz#519b0c78b3b30954baed0defe5143de7776bf081" - integrity sha512-zWNbgWj+3vLEjZNIh/okkY2EUfX+vB9TJopzIZwT1xxaMqC5hRLLraePod4c5n4He08xuXNH+zhKFFCu390wiQ== +"optimism@^0.16.1": + "integrity" "sha512-zWNbgWj+3vLEjZNIh/okkY2EUfX+vB9TJopzIZwT1xxaMqC5hRLLraePod4c5n4He08xuXNH+zhKFFCu390wiQ==" + "resolved" "https://registry.npmjs.org/optimism/-/optimism-0.16.2.tgz" + "version" "0.16.2" dependencies: "@wry/context" "^0.7.0" "@wry/trie" "^0.3.0" -optionator@^0.8.1: - version "0.8.3" - resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.8.3.tgz#84fa1d036fe9d3c7e21d99884b601167ec8fb495" - integrity sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA== - dependencies: - deep-is "~0.1.3" - fast-levenshtein "~2.0.6" - levn "~0.3.0" - prelude-ls "~1.1.2" - type-check "~0.3.2" - word-wrap "~1.2.3" - -optionator@^0.9.1: - version "0.9.1" - resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.9.1.tgz#4f236a6373dae0566a6d43e1326674f50c291499" - integrity sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw== - dependencies: - deep-is "^0.1.3" - fast-levenshtein "^2.0.6" - levn "^0.4.1" - prelude-ls "^1.2.1" - type-check "^0.4.0" - word-wrap "^1.2.3" - -original-require@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/original-require/-/original-require-1.0.1.tgz#0f130471584cd33511c5ec38c8d59213f9ac5e20" - integrity sha512-5vdKMbE58WaE61uVD+PKyh8xdM398UnjPBLotW2sjG5MzHARwta/+NtMBCBA0t2WQblGYBvq5vsiZpWokwno+A== - -os-locale@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/os-locale/-/os-locale-3.1.0.tgz#a802a6ee17f24c10483ab9935719cef4ed16bf1a" - integrity sha512-Z8l3R4wYWM40/52Z+S265okfFj8Kt2cC2MKY+xNi3kFs+XGI7WXu/I309QQQYbRW4ijiZ+yxs9pqEhJh0DqW3Q== - dependencies: - execa "^1.0.0" - lcid "^2.0.0" - mem "^4.0.0" - -os-tmpdir@~1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" - integrity sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g== - -p-cancelable@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/p-cancelable/-/p-cancelable-0.3.0.tgz#b9e123800bcebb7ac13a479be195b507b98d30fa" - integrity sha512-RVbZPLso8+jFeq1MfNvgXtCRED2raz/dKpacfTNxsx6pLEpEomM7gah6VeHSYV3+vo0OAi4MkArtQcWWXuQoyw== - -p-cancelable@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/p-cancelable/-/p-cancelable-1.1.0.tgz#d078d15a3af409220c886f1d9a0ca2e441ab26cc" - integrity sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw== - -p-cancelable@^2.0.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/p-cancelable/-/p-cancelable-2.1.1.tgz#aab7fbd416582fa32a3db49859c122487c5ed2cf" - integrity sha512-BZOr3nRQHOntUjTrH8+Lh54smKHoHyur8We1V8DSMVrl5A2malOOwuJRnKRDjSnkoeBh4at6BwEnb5I7Jl31wg== - -p-cancelable@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/p-cancelable/-/p-cancelable-3.0.0.tgz#63826694b54d61ca1c20ebcb6d3ecf5e14cd8050" - integrity sha512-mlVgR3PGuzlo0MmTdk4cXqXWlwQDLnONTAg6sm62XkMJEiRxN3GL3SffkYvqwonbkJBcrI7Uvv5Zh9yjvn2iUw== - -p-defer@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/p-defer/-/p-defer-1.0.0.tgz#9f6eb182f6c9aa8cd743004a7d4f96b196b0fb0c" - integrity sha512-wB3wfAxZpk2AzOfUMJNL+d36xothRSyj8EXOa4f6GMqYDN9BJaaSISbsk+wS9abmnebVw95C2Kb5t85UmpCxuw== - -p-finally@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" - integrity sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow== - -p-is-promise@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/p-is-promise/-/p-is-promise-2.1.0.tgz#918cebaea248a62cf7ffab8e3bca8c5f882fc42e" - integrity sha512-Y3W0wlRPK8ZMRbNq97l4M5otioeA5lm1z7bkNkxCka8HSPjR0xRWmpCmc9utiaLP9Jb1eD8BgeIxTW4AIF45Pg== - -p-limit@^1.1.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-1.3.0.tgz#b86bd5f0c25690911c7590fcbfc2010d54b3ccb8" - integrity sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q== - dependencies: - p-try "^1.0.0" - -p-limit@^2.0.0, p-limit@^2.2.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.3.0.tgz#3dd33c647a214fdfffd835933eb086da0dc21db1" - integrity sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w== - dependencies: - p-try "^2.0.0" - -p-limit@^3.0.2: - version "3.1.0" - resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-3.1.0.tgz#e1daccbe78d0d1388ca18c64fea38e3e57e3706b" - integrity sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ== - dependencies: - yocto-queue "^0.1.0" - -p-locate@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-2.0.0.tgz#20a0103b222a70c8fd39cc2e580680f3dde5ec43" - integrity sha512-nQja7m7gSKuewoVRen45CtVfODR3crN3goVQ0DDZ9N3yHxgpkuBhZqsaiotSQRrADUrne346peY7kT3TSACykg== - dependencies: - p-limit "^1.1.0" - -p-locate@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-3.0.0.tgz#322d69a05c0264b25997d9f40cd8a891ab0064a4" - integrity sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ== - dependencies: - p-limit "^2.0.0" - -p-locate@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-4.1.0.tgz#a3428bb7088b3a60292f66919278b7c297ad4f07" - integrity sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A== - dependencies: - p-limit "^2.2.0" - -p-locate@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-5.0.0.tgz#83c8315c6785005e3bd021839411c9e110e6d834" - integrity sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw== - dependencies: - p-limit "^3.0.2" - -p-map@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/p-map/-/p-map-4.0.0.tgz#bb2f95a5eda2ec168ec9274e06a747c3e2904d2b" - integrity sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ== - dependencies: - aggregate-error "^3.0.0" +"optionator@^0.8.1": + "integrity" "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==" + "resolved" "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz" + "version" "0.8.3" + dependencies: + "deep-is" "~0.1.3" + "fast-levenshtein" "~2.0.6" + "levn" "~0.3.0" + "prelude-ls" "~1.1.2" + "type-check" "~0.3.2" + "word-wrap" "~1.2.3" + +"optionator@^0.9.1": + "integrity" "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==" + "resolved" "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz" + "version" "0.9.1" + dependencies: + "deep-is" "^0.1.3" + "fast-levenshtein" "^2.0.6" + "levn" "^0.4.1" + "prelude-ls" "^1.2.1" + "type-check" "^0.4.0" + "word-wrap" "^1.2.3" + +"original-require@^1.0.1": + "integrity" "sha512-5vdKMbE58WaE61uVD+PKyh8xdM398UnjPBLotW2sjG5MzHARwta/+NtMBCBA0t2WQblGYBvq5vsiZpWokwno+A==" + "resolved" "https://registry.npmjs.org/original-require/-/original-require-1.0.1.tgz" + "version" "1.0.1" + +"os-locale@^3.0.0": + "integrity" "sha512-Z8l3R4wYWM40/52Z+S265okfFj8Kt2cC2MKY+xNi3kFs+XGI7WXu/I309QQQYbRW4ijiZ+yxs9pqEhJh0DqW3Q==" + "resolved" "https://registry.npmjs.org/os-locale/-/os-locale-3.1.0.tgz" + "version" "3.1.0" + dependencies: + "execa" "^1.0.0" + "lcid" "^2.0.0" + "mem" "^4.0.0" + +"os-tmpdir@~1.0.2": + "integrity" "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==" + "resolved" "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz" + "version" "1.0.2" + +"p-cancelable@^0.3.0": + "integrity" "sha512-RVbZPLso8+jFeq1MfNvgXtCRED2raz/dKpacfTNxsx6pLEpEomM7gah6VeHSYV3+vo0OAi4MkArtQcWWXuQoyw==" + "resolved" "https://registry.npmjs.org/p-cancelable/-/p-cancelable-0.3.0.tgz" + "version" "0.3.0" + +"p-cancelable@^1.0.0": + "integrity" "sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw==" + "resolved" "https://registry.npmjs.org/p-cancelable/-/p-cancelable-1.1.0.tgz" + "version" "1.1.0" + +"p-cancelable@^2.0.0": + "integrity" "sha512-BZOr3nRQHOntUjTrH8+Lh54smKHoHyur8We1V8DSMVrl5A2malOOwuJRnKRDjSnkoeBh4at6BwEnb5I7Jl31wg==" + "resolved" "https://registry.npmjs.org/p-cancelable/-/p-cancelable-2.1.1.tgz" + "version" "2.1.1" + +"p-cancelable@^3.0.0": + "integrity" "sha512-mlVgR3PGuzlo0MmTdk4cXqXWlwQDLnONTAg6sm62XkMJEiRxN3GL3SffkYvqwonbkJBcrI7Uvv5Zh9yjvn2iUw==" + "resolved" "https://registry.npmjs.org/p-cancelable/-/p-cancelable-3.0.0.tgz" + "version" "3.0.0" + +"p-defer@^1.0.0": + "integrity" "sha512-wB3wfAxZpk2AzOfUMJNL+d36xothRSyj8EXOa4f6GMqYDN9BJaaSISbsk+wS9abmnebVw95C2Kb5t85UmpCxuw==" + "resolved" "https://registry.npmjs.org/p-defer/-/p-defer-1.0.0.tgz" + "version" "1.0.0" + +"p-finally@^1.0.0": + "integrity" "sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow==" + "resolved" "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz" + "version" "1.0.0" + +"p-is-promise@^2.0.0": + "integrity" "sha512-Y3W0wlRPK8ZMRbNq97l4M5otioeA5lm1z7bkNkxCka8HSPjR0xRWmpCmc9utiaLP9Jb1eD8BgeIxTW4AIF45Pg==" + "resolved" "https://registry.npmjs.org/p-is-promise/-/p-is-promise-2.1.0.tgz" + "version" "2.1.0" + +"p-limit@^1.1.0": + "integrity" "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==" + "resolved" "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz" + "version" "1.3.0" + dependencies: + "p-try" "^1.0.0" + +"p-limit@^2.0.0", "p-limit@^2.2.0": + "integrity" "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==" + "resolved" "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz" + "version" "2.3.0" + dependencies: + "p-try" "^2.0.0" + +"p-limit@^3.0.2": + "integrity" "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==" + "resolved" "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz" + "version" "3.1.0" + dependencies: + "yocto-queue" "^0.1.0" + +"p-locate@^2.0.0": + "integrity" "sha512-nQja7m7gSKuewoVRen45CtVfODR3crN3goVQ0DDZ9N3yHxgpkuBhZqsaiotSQRrADUrne346peY7kT3TSACykg==" + "resolved" "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz" + "version" "2.0.0" + dependencies: + "p-limit" "^1.1.0" + +"p-locate@^3.0.0": + "integrity" "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==" + "resolved" "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz" + "version" "3.0.0" + dependencies: + "p-limit" "^2.0.0" + +"p-locate@^4.1.0": + "integrity" "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==" + "resolved" "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz" + "version" "4.1.0" + dependencies: + "p-limit" "^2.2.0" + +"p-locate@^5.0.0": + "integrity" "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==" + "resolved" "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz" + "version" "5.0.0" + dependencies: + "p-limit" "^3.0.2" + +"p-map@^4.0.0": + "integrity" "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==" + "resolved" "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz" + "version" "4.0.0" + dependencies: + "aggregate-error" "^3.0.0" -p-timeout@^1.1.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/p-timeout/-/p-timeout-1.2.1.tgz#5eb3b353b7fce99f101a1038880bb054ebbea386" - integrity sha512-gb0ryzr+K2qFqFv6qi3khoeqMZF/+ajxQipEF6NteZVnvz9tzdsfAVj3lYtn1gAXvH5lfLwfxEII799gt/mRIA== - dependencies: - p-finally "^1.0.0" +"p-timeout@^1.1.1": + "integrity" "sha512-gb0ryzr+K2qFqFv6qi3khoeqMZF/+ajxQipEF6NteZVnvz9tzdsfAVj3lYtn1gAXvH5lfLwfxEII799gt/mRIA==" + "resolved" "https://registry.npmjs.org/p-timeout/-/p-timeout-1.2.1.tgz" + "version" "1.2.1" + dependencies: + "p-finally" "^1.0.0" -p-try@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/p-try/-/p-try-1.0.0.tgz#cbc79cdbaf8fd4228e13f621f2b1a237c1b207b3" - integrity sha512-U1etNYuMJoIz3ZXSrrySFjsXQTWOx2/jdi86L+2pRvph/qMKL6sbcCYdH23fqsbm8TH2Gn0OybpT4eSFlCVHww== +"p-try@^1.0.0": + "integrity" "sha512-U1etNYuMJoIz3ZXSrrySFjsXQTWOx2/jdi86L+2pRvph/qMKL6sbcCYdH23fqsbm8TH2Gn0OybpT4eSFlCVHww==" + "resolved" "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz" + "version" "1.0.0" -p-try@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" - integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ== +"p-try@^2.0.0": + "integrity" "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==" + "resolved" "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz" + "version" "2.2.0" -pako@^2.0.2: - version "2.1.0" - resolved "https://registry.yarnpkg.com/pako/-/pako-2.1.0.tgz#266cc37f98c7d883545d11335c00fbd4062c9a86" - integrity sha512-w+eufiZ1WuJYgPXbV/PO3NCMEc3xqylkKHzp8bxp1uW4qaSNQUkwmLLEc3kKsfz8lpV1F8Ht3U1Cm+9Srog2ug== +"pako@^2.0.2": + "integrity" "sha512-w+eufiZ1WuJYgPXbV/PO3NCMEc3xqylkKHzp8bxp1uW4qaSNQUkwmLLEc3kKsfz8lpV1F8Ht3U1Cm+9Srog2ug==" + "resolved" "https://registry.npmjs.org/pako/-/pako-2.1.0.tgz" + "version" "2.1.0" -param-case@^2.1.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/param-case/-/param-case-2.1.1.tgz#df94fd8cf6531ecf75e6bef9a0858fbc72be2247" - integrity sha512-eQE845L6ot89sk2N8liD8HAuH4ca6Vvr7VWAWwt7+kvvG5aBcPmmphQ68JsEG2qa9n1TykS2DLeMt363AAH8/w== +"param-case@^2.1.0": + "integrity" "sha512-eQE845L6ot89sk2N8liD8HAuH4ca6Vvr7VWAWwt7+kvvG5aBcPmmphQ68JsEG2qa9n1TykS2DLeMt363AAH8/w==" + "resolved" "https://registry.npmjs.org/param-case/-/param-case-2.1.1.tgz" + "version" "2.1.1" dependencies: - no-case "^2.2.0" + "no-case" "^2.2.0" -parent-module@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2" - integrity sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g== +"parent-module@^1.0.0": + "integrity" "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==" + "resolved" "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz" + "version" "1.0.1" dependencies: - callsites "^3.0.0" + "callsites" "^3.0.0" -parse-asn1@^5.0.0, parse-asn1@^5.1.5: - version "5.1.6" - resolved "https://registry.yarnpkg.com/parse-asn1/-/parse-asn1-5.1.6.tgz#385080a3ec13cb62a62d39409cb3e88844cdaed4" - integrity sha512-RnZRo1EPU6JBnra2vGHj0yhp6ebyjBZpmUCLHWiFhxlzvBCCpAuZ7elsBp1PVAbQN0/04VD/19rfzlBSwLstMw== +"parse-asn1@^5.0.0", "parse-asn1@^5.1.5": + "integrity" "sha512-RnZRo1EPU6JBnra2vGHj0yhp6ebyjBZpmUCLHWiFhxlzvBCCpAuZ7elsBp1PVAbQN0/04VD/19rfzlBSwLstMw==" + "resolved" "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.6.tgz" + "version" "5.1.6" dependencies: - asn1.js "^5.2.0" - browserify-aes "^1.0.0" - evp_bytestokey "^1.0.0" - pbkdf2 "^3.0.3" - safe-buffer "^5.1.1" + "asn1.js" "^5.2.0" + "browserify-aes" "^1.0.0" + "evp_bytestokey" "^1.0.0" + "pbkdf2" "^3.0.3" + "safe-buffer" "^5.1.1" -parse-headers@^2.0.0: - version "2.0.5" - resolved "https://registry.yarnpkg.com/parse-headers/-/parse-headers-2.0.5.tgz#069793f9356a54008571eb7f9761153e6c770da9" - integrity sha512-ft3iAoLOB/MlwbNXgzy43SWGP6sQki2jQvAyBg/zDFAgr9bfNWZIUj42Kw2eJIl8kEi4PbgE6U1Zau/HwI75HA== +"parse-headers@^2.0.0": + "integrity" "sha512-ft3iAoLOB/MlwbNXgzy43SWGP6sQki2jQvAyBg/zDFAgr9bfNWZIUj42Kw2eJIl8kEi4PbgE6U1Zau/HwI75HA==" + "resolved" "https://registry.npmjs.org/parse-headers/-/parse-headers-2.0.5.tgz" + "version" "2.0.5" -parse-json@^5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-5.2.0.tgz#c76fc66dee54231c962b22bcc8a72cf2f99753cd" - integrity sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg== +"parse-json@^5.2.0": + "integrity" "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==" + "resolved" "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz" + "version" "5.2.0" dependencies: "@babel/code-frame" "^7.0.0" - error-ex "^1.3.1" - json-parse-even-better-errors "^2.3.0" - lines-and-columns "^1.1.6" - -parse-uri@1.0.7: - version "1.0.7" - resolved "https://registry.yarnpkg.com/parse-uri/-/parse-uri-1.0.7.tgz#287629a09328a97e398468f21b8a00c4a2d9cc73" - integrity sha512-eWuZCMKNlVkXrEoANdXxbmqhu2SQO9jUMCSpdbJDObin0JxISn6e400EWsSRbr/czdKvWKkhZnMKEGUwf/Plmg== - -parse5@6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/parse5/-/parse5-6.0.1.tgz#e1a1c085c569b3dc08321184f19a39cc27f7c30b" - integrity sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw== - -parseurl@^1.3.3, parseurl@~1.3.3: - version "1.3.3" - resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.3.tgz#9da19e7bee8d12dff0513ed5b76957793bc2e8d4" - integrity sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ== - -pascal-case@^2.0.0, pascal-case@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/pascal-case/-/pascal-case-2.0.1.tgz#2d578d3455f660da65eca18ef95b4e0de912761e" - integrity sha512-qjS4s8rBOJa2Xm0jmxXiyh1+OFf6ekCWOvUaRgAQSktzlTbMotS0nmG9gyYAybCWBcuP4fsBeRCKNwGBnMe2OQ== - dependencies: - camel-case "^3.0.0" - upper-case-first "^1.1.0" - -pascalcase@^0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/pascalcase/-/pascalcase-0.1.1.tgz#b363e55e8006ca6fe21784d2db22bd15d7917f14" - integrity sha512-XHXfu/yOQRy9vYOtUDVMN60OEJjW013GoObG1o+xwQTpB9eYJX/BjXMsdW13ZDPruFhYYn0AG22w0xgQMwl3Nw== - -path-case@^2.1.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/path-case/-/path-case-2.1.1.tgz#94b8037c372d3fe2906e465bb45e25d226e8eea5" - integrity sha512-Ou0N05MioItesaLr9q8TtHVWmJ6fxWdqKB2RohFmNWVyJ+2zeKIeDNWAN6B/Pe7wpzWChhZX6nONYmOnMeJQ/Q== - dependencies: - no-case "^2.2.0" - -path-dirname@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/path-dirname/-/path-dirname-1.0.2.tgz#cc33d24d525e099a5388c0336c6e32b9160609e0" - integrity sha512-ALzNPpyNq9AqXMBjeymIjFDAkAFH06mHJH/cSBHAgU0s4vfpBn6b2nf8tiRLvagKD8RbTpq2FKTBg7cl9l3c7Q== - -path-exists@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" - integrity sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ== - -path-exists@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3" - integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w== - -path-is-absolute@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" - integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg== - -path-key@^2.0.0, path-key@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40" - integrity sha512-fEHGKCSmUSDPv4uoj8AlD+joPlq3peND+HRYyxFz4KPw4z926S/b8rIuFs2FYJg3BwsxJf6A9/3eIdLaYC+9Dw== - -path-key@^3.0.0, path-key@^3.1.0: - version "3.1.1" - resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" - integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== - -path-parse@^1.0.6, path-parse@^1.0.7: - version "1.0.7" - resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" - integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== - -path-to-regexp@0.1.7: - version "0.1.7" - resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.7.tgz#df604178005f522f15eb4490e7247a1bfaa67f8c" - integrity sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ== - -path-type@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" - integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== - -pathval@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/pathval/-/pathval-1.1.1.tgz#8534e77a77ce7ac5a2512ea21e0fdb8fcf6c3d8d" - integrity sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ== - -pbkdf2@^3.0.17, pbkdf2@^3.0.3, pbkdf2@^3.0.9, pbkdf2@^3.1.2: - version "3.1.2" - resolved "https://registry.yarnpkg.com/pbkdf2/-/pbkdf2-3.1.2.tgz#dd822aa0887580e52f1a039dc3eda108efae3075" - integrity sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA== - dependencies: - create-hash "^1.1.2" - create-hmac "^1.1.4" - ripemd160 "^2.0.1" - safe-buffer "^5.0.1" - sha.js "^2.4.8" - -pend@~1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/pend/-/pend-1.2.0.tgz#7a57eb550a6783f9115331fcf4663d5c8e007a50" - integrity sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg== - -performance-now@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" - integrity sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow== - -picocolors@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c" - integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ== - -picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.2.3, picomatch@^2.3.1: - version "2.3.1" - resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" - integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== - -pify@^2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" - integrity sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog== - -pify@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/pify/-/pify-3.0.0.tgz#e5a4acd2c101fdf3d9a4d07f0dbc4db49dd28176" - integrity sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg== - -pinkie-promise@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/pinkie-promise/-/pinkie-promise-2.0.1.tgz#2135d6dfa7a358c069ac9b178776288228450ffa" - integrity sha512-0Gni6D4UcLTbv9c57DfxDGdr41XfgUjqWZu492f0cIGr16zDU06BWP/RAEvOuo7CQ0CNjHaLlM59YJJFm3NWlw== - dependencies: - pinkie "^2.0.0" - -pinkie@^2.0.0: - version "2.0.4" - resolved "https://registry.yarnpkg.com/pinkie/-/pinkie-2.0.4.tgz#72556b80cfa0d48a974e80e77248e80ed4f7f870" - integrity sha512-MnUuEycAemtSaeFSjXKW/aroV7akBbY+Sv+RkyqFjgAe73F+MR0TBWKBRDkmfWq/HiFmdavfZ1G7h4SPZXaCSg== - -pino-abstract-transport@v0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/pino-abstract-transport/-/pino-abstract-transport-0.5.0.tgz#4b54348d8f73713bfd14e3dc44228739aa13d9c0" - integrity sha512-+KAgmVeqXYbTtU2FScx1XS3kNyfZ5TrXY07V96QnUSFqo2gAqlvmaxH67Lj7SWazqsMabf+58ctdTcBgnOLUOQ== - dependencies: - duplexify "^4.1.2" - split2 "^4.0.0" - -pino-std-serializers@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/pino-std-serializers/-/pino-std-serializers-4.0.0.tgz#1791ccd2539c091ae49ce9993205e2cd5dbba1e2" - integrity sha512-cK0pekc1Kjy5w9V2/n+8MkZwusa6EyyxfeQCB799CQRhRt/CqYKiWs5adeu8Shve2ZNffvfC/7J64A2PJo1W/Q== - -pino@7.11.0: - version "7.11.0" - resolved "https://registry.yarnpkg.com/pino/-/pino-7.11.0.tgz#0f0ea5c4683dc91388081d44bff10c83125066f6" - integrity sha512-dMACeu63HtRLmCG8VKdy4cShCPKaYDR4youZqoSWLxl5Gu99HUw8bw75thbPv9Nip+H+QYX8o3ZJbTdVZZ2TVg== - dependencies: - atomic-sleep "^1.0.0" - fast-redact "^3.0.0" - on-exit-leak-free "^0.2.0" - pino-abstract-transport v0.5.0 - pino-std-serializers "^4.0.0" - process-warning "^1.0.0" - quick-format-unescaped "^4.0.3" - real-require "^0.1.0" - safe-stable-stringify "^2.1.0" - sonic-boom "^2.2.1" - thread-stream "^0.15.1" - -pirates@^4.0.4: - version "4.0.5" - resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.5.tgz#feec352ea5c3268fb23a37c702ab1699f35a5f3b" - integrity sha512-8V9+HQPupnaXMA23c5hvl69zXvTwTzyAYasnkb0Tts4XvO4CliqONMOnvlq26rkhLC3nWDFBJf73LU1e1VZLaQ== - -pkg-dir@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-4.2.0.tgz#f099133df7ede422e81d1d8448270eeb3e4261f3" - integrity sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ== - dependencies: - find-up "^4.0.0" - -pkg-up@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/pkg-up/-/pkg-up-3.1.0.tgz#100ec235cc150e4fd42519412596a28512a0def5" - integrity sha512-nDywThFk1i4BQK4twPQ6TA4RT8bDY96yeuCVBWL3ePARCiEKDRSrNGbFIgUJpLp+XeIR65v8ra7WuJOFUBtkMA== - dependencies: - find-up "^3.0.0" - -pluralize@^8.0.0: - version "8.0.0" - resolved "https://registry.yarnpkg.com/pluralize/-/pluralize-8.0.0.tgz#1a6fa16a38d12a1901e0320fa017051c539ce3b1" - integrity sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA== - -pngjs@^3.3.0: - version "3.4.0" - resolved "https://registry.yarnpkg.com/pngjs/-/pngjs-3.4.0.tgz#99ca7d725965fb655814eaf65f38f12bbdbf555f" - integrity sha512-NCrCHhWmnQklfH4MtJMRjZ2a8c80qXeMlQMv2uVp9ISJMTt562SbGd6n2oq0PaPgKm7Z6pL9E2UlLIhC+SHL3w== - -posix-character-classes@^0.1.0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/posix-character-classes/-/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab" - integrity sha512-xTgYBc3fuo7Yt7JbiuFxSYGToMoz8fLoE6TC9Wx1P/u+LfeThMOAqmuyECnlBaaJb+u1m9hHiXUEtwW4OzfUJg== - -pouchdb-abstract-mapreduce@7.3.1: - version "7.3.1" - resolved "https://registry.yarnpkg.com/pouchdb-abstract-mapreduce/-/pouchdb-abstract-mapreduce-7.3.1.tgz#96ff4a0f41cbe273f3f52fde003b719005a2093c" - integrity sha512-0zKXVFBvrfc1KnN0ggrB762JDmZnUpePHywo9Bq3Jy+L1FnoG7fXM5luFfvv5/T0gEw+ZTIwoocZECMnESBI9w== - dependencies: - pouchdb-binary-utils "7.3.1" - pouchdb-collate "7.3.1" - pouchdb-collections "7.3.1" - pouchdb-errors "7.3.1" - pouchdb-fetch "7.3.1" - pouchdb-mapreduce-utils "7.3.1" - pouchdb-md5 "7.3.1" - pouchdb-utils "7.3.1" - -pouchdb-adapter-leveldb-core@7.3.1: - version "7.3.1" - resolved "https://registry.yarnpkg.com/pouchdb-adapter-leveldb-core/-/pouchdb-adapter-leveldb-core-7.3.1.tgz#3c71dce7ff06c2e483d873d7aabc1fded56372ca" - integrity sha512-mxShHlqLMPz2gChrgtA9okV1ogFmQrRAoM/O4EN0CrQWPLXqYtpL1f7sI2asIvFe7SmpnvbLx7kkZyFmLTfwjA== - dependencies: - argsarray "0.0.1" - buffer-from "1.1.2" - double-ended-queue "2.1.0-0" - levelup "4.4.0" - pouchdb-adapter-utils "7.3.1" - pouchdb-binary-utils "7.3.1" - pouchdb-collections "7.3.1" - pouchdb-errors "7.3.1" - pouchdb-json "7.3.1" - pouchdb-md5 "7.3.1" - pouchdb-merge "7.3.1" - pouchdb-utils "7.3.1" - sublevel-pouchdb "7.3.1" - through2 "3.0.2" - -pouchdb-adapter-memory@^7.1.1: - version "7.3.1" - resolved "https://registry.yarnpkg.com/pouchdb-adapter-memory/-/pouchdb-adapter-memory-7.3.1.tgz#7be4b0601326cb93eb1141ed910fdfdf40c36616" - integrity sha512-iHdWGJAHONqQv0we3Oi1MYen69ZS8McLW9wUyaAYcWTJnAIIAr2ZM0/TeTDVSHfMUwYqEYk7X8jRtJZEMwLnwg== - dependencies: - memdown "1.4.1" - pouchdb-adapter-leveldb-core "7.3.1" - pouchdb-utils "7.3.1" - -pouchdb-adapter-utils@7.3.1: - version "7.3.1" - resolved "https://registry.yarnpkg.com/pouchdb-adapter-utils/-/pouchdb-adapter-utils-7.3.1.tgz#7237cb597f8d337057df15d4859bfe3c881d8832" - integrity sha512-uKLG6dClwTs/sLIJ4WkLAi9wlnDBpOnfyhpeAgOjlOGN/XLz5nKHrA4UJRnURDyc+uv79S9r/Unc4hVpmbSPUw== - dependencies: - pouchdb-binary-utils "7.3.1" - pouchdb-collections "7.3.1" - pouchdb-errors "7.3.1" - pouchdb-md5 "7.3.1" - pouchdb-merge "7.3.1" - pouchdb-utils "7.3.1" - -pouchdb-binary-utils@7.3.1: - version "7.3.1" - resolved "https://registry.yarnpkg.com/pouchdb-binary-utils/-/pouchdb-binary-utils-7.3.1.tgz#eea22d9a5f880fcd95062476f4f5484cdf61496f" - integrity sha512-crZJNfAEOnUoRk977Qtmk4cxEv6sNKllQ6vDDKgQrQLFjMUXma35EHzNyIJr1s76J77Q4sqKQAmxz9Y40yHGtw== - dependencies: - buffer-from "1.1.2" - -pouchdb-collate@7.3.1: - version "7.3.1" - resolved "https://registry.yarnpkg.com/pouchdb-collate/-/pouchdb-collate-7.3.1.tgz#19d7b87dd173d1c765da8cc9987c5aa9eb24f11f" - integrity sha512-o4gyGqDMLMSNzf6EDTr3eHaH/JRMoqRhdc+eV+oA8u00nTBtr9wD+jypVe2LbgKLJ4NWqx2qVkXiTiQdUFtsLQ== - -pouchdb-collections@7.3.1: - version "7.3.1" - resolved "https://registry.yarnpkg.com/pouchdb-collections/-/pouchdb-collections-7.3.1.tgz#4f1819cf4dd6936a422c29f7fa26a9b5dca428f5" - integrity sha512-yUyDqR+OJmtwgExOSJegpBJXDLAEC84TWnbAYycyh+DZoA51Yw0+XVQF5Vh8Ii90/Ut2xo88fmrmp0t6kqom8w== - -pouchdb-debug@^7.1.1: - version "7.2.1" - resolved "https://registry.yarnpkg.com/pouchdb-debug/-/pouchdb-debug-7.2.1.tgz#f5f869f6113c12ccb97cddf5b0a32b6e0e67e961" - integrity sha512-eP3ht/AKavLF2RjTzBM6S9gaI2/apcW6xvaKRQhEdOfiANqerFuksFqHCal3aikVQuDO+cB/cw+a4RyJn/glBw== - dependencies: - debug "3.1.0" - -pouchdb-errors@7.3.1: - version "7.3.1" - resolved "https://registry.yarnpkg.com/pouchdb-errors/-/pouchdb-errors-7.3.1.tgz#78be36721e2edc446fac158a236a9218c7bcdb14" - integrity sha512-Zktz4gnXEUcZcty8FmyvtYUYsHskoST05m6H5/E2gg/0mCfEXq/XeyyLkZHaZmqD0ZPS9yNmASB1VaFWEKEaDw== - dependencies: - inherits "2.0.4" - -pouchdb-fetch@7.3.1: - version "7.3.1" - resolved "https://registry.yarnpkg.com/pouchdb-fetch/-/pouchdb-fetch-7.3.1.tgz#d54b1807be0f0a5d4b6d06e416c7d54952bbc348" - integrity sha512-205xAtvdHRPQ4fp1h9+RmT9oQabo9gafuPmWsS9aEl3ER54WbY8Vaj1JHZGbU4KtMTYvW7H5088zLS7Nrusuag== - dependencies: - abort-controller "3.0.0" - fetch-cookie "0.11.0" - node-fetch "2.6.7" - -pouchdb-find@^7.0.0: - version "7.3.1" - resolved "https://registry.yarnpkg.com/pouchdb-find/-/pouchdb-find-7.3.1.tgz#07a633d5ee2bd731dae9f991281cd25212088d29" - integrity sha512-AeqUfAVY1c7IFaY36BRT0vIz9r4VTKq/YOWTmiqndOZUQ/pDGxyO2fNFal6NN3PyYww0JijlD377cPvhnrhJVA== - dependencies: - pouchdb-abstract-mapreduce "7.3.1" - pouchdb-collate "7.3.1" - pouchdb-errors "7.3.1" - pouchdb-fetch "7.3.1" - pouchdb-md5 "7.3.1" - pouchdb-selector-core "7.3.1" - pouchdb-utils "7.3.1" - -pouchdb-json@7.3.1: - version "7.3.1" - resolved "https://registry.yarnpkg.com/pouchdb-json/-/pouchdb-json-7.3.1.tgz#a80a3060aa2914959e4dca7a4e2022ab20c7119a" - integrity sha512-AyOKsmc85/GtHjMZyEacqzja8qLVfycS1hh1oskR+Bm5PIITX52Fb8zyi0hEetV6VC0yuGbn0RqiLjJxQePeqQ== - dependencies: - vuvuzela "1.0.3" - -pouchdb-mapreduce-utils@7.3.1: - version "7.3.1" - resolved "https://registry.yarnpkg.com/pouchdb-mapreduce-utils/-/pouchdb-mapreduce-utils-7.3.1.tgz#f0ac2c8400fbedb705e9226082453ac7d3f2a066" - integrity sha512-oUMcq82+4pTGQ6dtrhgORHOVHZSr6w/5tFIUGlv7RABIDvJarL4snMawADjlpiEwPdiQ/ESG8Fqt8cxqvqsIgg== - dependencies: - argsarray "0.0.1" - inherits "2.0.4" - pouchdb-collections "7.3.1" - pouchdb-utils "7.3.1" - -pouchdb-md5@7.3.1: - version "7.3.1" - resolved "https://registry.yarnpkg.com/pouchdb-md5/-/pouchdb-md5-7.3.1.tgz#70fae44f9d27eb4c6a8e7106156b4593d31c1762" - integrity sha512-aDV8ui/mprnL3xmt0gT/81DFtTtJiKyn+OxIAbwKPMfz/rDFdPYvF0BmDC9QxMMzGfkV+JJUjU6at0PPs2mRLg== - dependencies: - pouchdb-binary-utils "7.3.1" - spark-md5 "3.0.2" - -pouchdb-merge@7.3.1: - version "7.3.1" - resolved "https://registry.yarnpkg.com/pouchdb-merge/-/pouchdb-merge-7.3.1.tgz#97aae682d7d8499b62b6ce234dcb9527c7bf6f02" - integrity sha512-FeK3r35mKimokf2PQ2tUI523QWyZ4lYZ0Yd75FfSch/SPY6wIokz5XBZZ6PHdu5aOJsEKzoLUxr8CpSg9DhcAw== - -pouchdb-selector-core@7.3.1: - version "7.3.1" - resolved "https://registry.yarnpkg.com/pouchdb-selector-core/-/pouchdb-selector-core-7.3.1.tgz#08245662de3d61f16ab8dae2b56ef622935b3fb3" - integrity sha512-HBX+nNGXcaL9z0uNpwSMRq2GNZd3EZXW+fe9rJHS0hvJohjZL7aRJLoaXfEdHPRTNW+CpjM3Rny60eGekQdI/w== - dependencies: - pouchdb-collate "7.3.1" - pouchdb-utils "7.3.1" - -pouchdb-utils@7.3.1: - version "7.3.1" - resolved "https://registry.yarnpkg.com/pouchdb-utils/-/pouchdb-utils-7.3.1.tgz#d25f0a034427f388ba5ae37d9ae3fbed210e8720" - integrity sha512-R3hHBo1zTdTu/NFs3iqkcaQAPwhIH0gMIdfVKd5lbDYlmP26rCG5pdS+v7NuoSSFLJ4xxnaGV+Gjf4duYsJ8wQ== - dependencies: - argsarray "0.0.1" - clone-buffer "1.0.0" - immediate "3.3.0" - inherits "2.0.4" - pouchdb-collections "7.3.1" - pouchdb-errors "7.3.1" - pouchdb-md5 "7.3.1" - uuid "8.3.2" - -pouchdb@7.3.0: - version "7.3.0" - resolved "https://registry.yarnpkg.com/pouchdb/-/pouchdb-7.3.0.tgz#440fbef12dfd8f9002320802528665e883a3b7f8" - integrity sha512-OwsIQGXsfx3TrU1pLruj6PGSwFH+h5k4hGNxFkZ76Um7/ZI8F5TzUHFrpldVVIhfXYi2vP31q0q7ot1FSLFYOw== - dependencies: - abort-controller "3.0.0" - argsarray "0.0.1" - buffer-from "1.1.2" - clone-buffer "1.0.0" - double-ended-queue "2.1.0-0" - fetch-cookie "0.11.0" - immediate "3.3.0" - inherits "2.0.4" - level "6.0.1" - level-codec "9.0.2" - level-write-stream "1.0.0" - leveldown "5.6.0" - levelup "4.4.0" - ltgt "2.2.1" - node-fetch "2.6.7" - readable-stream "1.1.14" - spark-md5 "3.0.2" - through2 "3.0.2" - uuid "8.3.2" - vuvuzela "1.0.3" - -preact@10.4.1: - version "10.4.1" - resolved "https://registry.yarnpkg.com/preact/-/preact-10.4.1.tgz#9b3ba020547673a231c6cf16f0fbaef0e8863431" - integrity sha512-WKrRpCSwL2t3tpOOGhf2WfTpcmbpxaWtDbdJdKdjd0aEiTkvOmS4NBkG6kzlaAHI9AkQ3iVqbFWM3Ei7mZ4o1Q== - -prelude-ls@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396" - integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g== - -prelude-ls@~1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" - integrity sha512-ESF23V4SKG6lVSGZgYNpbsiaAkdab6ZgOxe52p7+Kid3W3u3bxR4Vfd/o21dmN7jSt0IwgZ4v5MUd26FEtXE9w== - -prepend-http@^1.0.1: - version "1.0.4" - resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-1.0.4.tgz#d4f4562b0ce3696e41ac52d0e002e57a635dc6dc" - integrity sha512-PhmXi5XmoyKw1Un4E+opM2KcsJInDvKyuOumcjjw3waw86ZNjHwVUOOWLc4bCzLdcKNaWBH9e99sbWzDQsVaYg== - -prepend-http@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-2.0.0.tgz#e92434bfa5ea8c19f41cdfd401d741a3c819d897" - integrity sha512-ravE6m9Atw9Z/jjttRUZ+clIXogdghyZAuWJ3qEzjT+jI/dL1ifAqhZeC5VHzQp1MSt1+jxKkFNemj/iO7tVUA== - -prettier-linter-helpers@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz#d23d41fe1375646de2d0104d3454a3008802cf7b" - integrity sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w== - dependencies: - fast-diff "^1.1.2" - -prettier@2.8.4: - version "2.8.4" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.4.tgz#34dd2595629bfbb79d344ac4a91ff948694463c3" - integrity sha512-vIS4Rlc2FNh0BySk3Wkd6xmwxB0FpOndW5fisM5H8hsZSxU2VWVB5CWIkIjWvrHjIhxk2g3bfMKM87zNTrZddw== - -prettier@^2.3.0: - version "2.8.5" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.5.tgz#3dd8ae1ebddc4f6aa419c9b64d8c8319a7e0d982" - integrity sha512-3gzuxrHbKUePRBB4ZeU08VNkUcqEHaUaouNt0m7LGP4Hti/NuB07C7PPTM/LkWqXoJYJn2McEo5+kxPNrtQkLQ== - -pretty-format@^22.4.3: - version "22.4.3" - resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-22.4.3.tgz#f873d780839a9c02e9664c8a082e9ee79eaac16f" - integrity sha512-S4oT9/sT6MN7/3COoOy+ZJeA92VmOnveLHgrwBE3Z1W5N9S2A1QGNYiE1z75DAENbJrXXUb+OWXhpJcg05QKQQ== - dependencies: - ansi-regex "^3.0.0" - ansi-styles "^3.2.0" - -pretty-format@^24.9.0: - version "24.9.0" - resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-24.9.0.tgz#12fac31b37019a4eea3c11aa9a959eb7628aa7c9" - integrity sha512-00ZMZUiHaJrNfk33guavqgvfJS30sLYf0f8+Srklv0AMPodGGHcoHgksZ3OThYnIvOd+8yMCn0YiEOogjlgsnA== + "error-ex" "^1.3.1" + "json-parse-even-better-errors" "^2.3.0" + "lines-and-columns" "^1.1.6" + +"parse-uri@1.0.7": + "integrity" "sha512-eWuZCMKNlVkXrEoANdXxbmqhu2SQO9jUMCSpdbJDObin0JxISn6e400EWsSRbr/czdKvWKkhZnMKEGUwf/Plmg==" + "resolved" "https://registry.npmjs.org/parse-uri/-/parse-uri-1.0.7.tgz" + "version" "1.0.7" + +"parse5@6.0.1": + "integrity" "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==" + "resolved" "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz" + "version" "6.0.1" + +"parseurl@^1.3.3", "parseurl@~1.3.3": + "integrity" "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==" + "resolved" "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz" + "version" "1.3.3" + +"pascal-case@^2.0.0", "pascal-case@^2.0.1": + "integrity" "sha512-qjS4s8rBOJa2Xm0jmxXiyh1+OFf6ekCWOvUaRgAQSktzlTbMotS0nmG9gyYAybCWBcuP4fsBeRCKNwGBnMe2OQ==" + "resolved" "https://registry.npmjs.org/pascal-case/-/pascal-case-2.0.1.tgz" + "version" "2.0.1" + dependencies: + "camel-case" "^3.0.0" + "upper-case-first" "^1.1.0" + +"pascalcase@^0.1.1": + "integrity" "sha512-XHXfu/yOQRy9vYOtUDVMN60OEJjW013GoObG1o+xwQTpB9eYJX/BjXMsdW13ZDPruFhYYn0AG22w0xgQMwl3Nw==" + "resolved" "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz" + "version" "0.1.1" + +"path-case@^2.1.0": + "integrity" "sha512-Ou0N05MioItesaLr9q8TtHVWmJ6fxWdqKB2RohFmNWVyJ+2zeKIeDNWAN6B/Pe7wpzWChhZX6nONYmOnMeJQ/Q==" + "resolved" "https://registry.npmjs.org/path-case/-/path-case-2.1.1.tgz" + "version" "2.1.1" + dependencies: + "no-case" "^2.2.0" + +"path-dirname@^1.0.0": + "integrity" "sha512-ALzNPpyNq9AqXMBjeymIjFDAkAFH06mHJH/cSBHAgU0s4vfpBn6b2nf8tiRLvagKD8RbTpq2FKTBg7cl9l3c7Q==" + "resolved" "https://registry.npmjs.org/path-dirname/-/path-dirname-1.0.2.tgz" + "version" "1.0.2" + +"path-exists@^3.0.0": + "integrity" "sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==" + "resolved" "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz" + "version" "3.0.0" + +"path-exists@^4.0.0": + "integrity" "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==" + "resolved" "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz" + "version" "4.0.0" + +"path-is-absolute@^1.0.0": + "integrity" "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==" + "resolved" "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz" + "version" "1.0.1" + +"path-key@^2.0.0", "path-key@^2.0.1": + "integrity" "sha512-fEHGKCSmUSDPv4uoj8AlD+joPlq3peND+HRYyxFz4KPw4z926S/b8rIuFs2FYJg3BwsxJf6A9/3eIdLaYC+9Dw==" + "resolved" "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz" + "version" "2.0.1" + +"path-key@^3.0.0": + "integrity" "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==" + "resolved" "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz" + "version" "3.1.1" + +"path-key@^3.1.0": + "integrity" "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==" + "resolved" "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz" + "version" "3.1.1" + +"path-parse@^1.0.6", "path-parse@^1.0.7": + "integrity" "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" + "resolved" "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz" + "version" "1.0.7" + +"path-to-regexp@0.1.7": + "integrity" "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==" + "resolved" "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz" + "version" "0.1.7" + +"path-type@^4.0.0": + "integrity" "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==" + "resolved" "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz" + "version" "4.0.0" + +"pathval@^1.1.1": + "integrity" "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==" + "resolved" "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz" + "version" "1.1.1" + +"pbkdf2@^3.0.17", "pbkdf2@^3.0.3", "pbkdf2@^3.0.9", "pbkdf2@^3.1.2": + "integrity" "sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA==" + "resolved" "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.2.tgz" + "version" "3.1.2" + dependencies: + "create-hash" "^1.1.2" + "create-hmac" "^1.1.4" + "ripemd160" "^2.0.1" + "safe-buffer" "^5.0.1" + "sha.js" "^2.4.8" + +"pend@~1.2.0": + "integrity" "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==" + "resolved" "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz" + "version" "1.2.0" + +"performance-now@^2.1.0": + "integrity" "sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow==" + "resolved" "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz" + "version" "2.1.0" + +"picocolors@^1.0.0": + "integrity" "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==" + "resolved" "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz" + "version" "1.0.0" + +"picomatch@^2.0.4", "picomatch@^2.2.1", "picomatch@^2.2.3", "picomatch@^2.3.1": + "integrity" "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==" + "resolved" "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz" + "version" "2.3.1" + +"pify@^2.3.0": + "integrity" "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==" + "resolved" "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz" + "version" "2.3.0" + +"pify@^3.0.0": + "integrity" "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==" + "resolved" "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz" + "version" "3.0.0" + +"pinkie-promise@^2.0.0": + "integrity" "sha512-0Gni6D4UcLTbv9c57DfxDGdr41XfgUjqWZu492f0cIGr16zDU06BWP/RAEvOuo7CQ0CNjHaLlM59YJJFm3NWlw==" + "resolved" "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz" + "version" "2.0.1" + dependencies: + "pinkie" "^2.0.0" + +"pinkie@^2.0.0": + "integrity" "sha512-MnUuEycAemtSaeFSjXKW/aroV7akBbY+Sv+RkyqFjgAe73F+MR0TBWKBRDkmfWq/HiFmdavfZ1G7h4SPZXaCSg==" + "resolved" "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz" + "version" "2.0.4" + +"pino-abstract-transport@v0.5.0": + "integrity" "sha512-+KAgmVeqXYbTtU2FScx1XS3kNyfZ5TrXY07V96QnUSFqo2gAqlvmaxH67Lj7SWazqsMabf+58ctdTcBgnOLUOQ==" + "resolved" "https://registry.npmjs.org/pino-abstract-transport/-/pino-abstract-transport-0.5.0.tgz" + "version" "0.5.0" + dependencies: + "duplexify" "^4.1.2" + "split2" "^4.0.0" + +"pino-std-serializers@^4.0.0": + "integrity" "sha512-cK0pekc1Kjy5w9V2/n+8MkZwusa6EyyxfeQCB799CQRhRt/CqYKiWs5adeu8Shve2ZNffvfC/7J64A2PJo1W/Q==" + "resolved" "https://registry.npmjs.org/pino-std-serializers/-/pino-std-serializers-4.0.0.tgz" + "version" "4.0.0" + +"pino@7.11.0": + "integrity" "sha512-dMACeu63HtRLmCG8VKdy4cShCPKaYDR4youZqoSWLxl5Gu99HUw8bw75thbPv9Nip+H+QYX8o3ZJbTdVZZ2TVg==" + "resolved" "https://registry.npmjs.org/pino/-/pino-7.11.0.tgz" + "version" "7.11.0" + dependencies: + "atomic-sleep" "^1.0.0" + "fast-redact" "^3.0.0" + "on-exit-leak-free" "^0.2.0" + "pino-abstract-transport" "v0.5.0" + "pino-std-serializers" "^4.0.0" + "process-warning" "^1.0.0" + "quick-format-unescaped" "^4.0.3" + "real-require" "^0.1.0" + "safe-stable-stringify" "^2.1.0" + "sonic-boom" "^2.2.1" + "thread-stream" "^0.15.1" + +"pirates@^4.0.4": + "integrity" "sha512-8V9+HQPupnaXMA23c5hvl69zXvTwTzyAYasnkb0Tts4XvO4CliqONMOnvlq26rkhLC3nWDFBJf73LU1e1VZLaQ==" + "resolved" "https://registry.npmjs.org/pirates/-/pirates-4.0.5.tgz" + "version" "4.0.5" + +"pkg-dir@^4.2.0": + "integrity" "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==" + "resolved" "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz" + "version" "4.2.0" + dependencies: + "find-up" "^4.0.0" + +"pkg-up@^3.1.0": + "integrity" "sha512-nDywThFk1i4BQK4twPQ6TA4RT8bDY96yeuCVBWL3ePARCiEKDRSrNGbFIgUJpLp+XeIR65v8ra7WuJOFUBtkMA==" + "resolved" "https://registry.npmjs.org/pkg-up/-/pkg-up-3.1.0.tgz" + "version" "3.1.0" + dependencies: + "find-up" "^3.0.0" + +"pluralize@^8.0.0": + "integrity" "sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA==" + "resolved" "https://registry.npmjs.org/pluralize/-/pluralize-8.0.0.tgz" + "version" "8.0.0" + +"pngjs@^3.3.0": + "integrity" "sha512-NCrCHhWmnQklfH4MtJMRjZ2a8c80qXeMlQMv2uVp9ISJMTt562SbGd6n2oq0PaPgKm7Z6pL9E2UlLIhC+SHL3w==" + "resolved" "https://registry.npmjs.org/pngjs/-/pngjs-3.4.0.tgz" + "version" "3.4.0" + +"posix-character-classes@^0.1.0": + "integrity" "sha512-xTgYBc3fuo7Yt7JbiuFxSYGToMoz8fLoE6TC9Wx1P/u+LfeThMOAqmuyECnlBaaJb+u1m9hHiXUEtwW4OzfUJg==" + "resolved" "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz" + "version" "0.1.1" + +"pouchdb-abstract-mapreduce@7.3.1": + "integrity" "sha512-0zKXVFBvrfc1KnN0ggrB762JDmZnUpePHywo9Bq3Jy+L1FnoG7fXM5luFfvv5/T0gEw+ZTIwoocZECMnESBI9w==" + "resolved" "https://registry.npmjs.org/pouchdb-abstract-mapreduce/-/pouchdb-abstract-mapreduce-7.3.1.tgz" + "version" "7.3.1" + dependencies: + "pouchdb-binary-utils" "7.3.1" + "pouchdb-collate" "7.3.1" + "pouchdb-collections" "7.3.1" + "pouchdb-errors" "7.3.1" + "pouchdb-fetch" "7.3.1" + "pouchdb-mapreduce-utils" "7.3.1" + "pouchdb-md5" "7.3.1" + "pouchdb-utils" "7.3.1" + +"pouchdb-adapter-leveldb-core@7.3.1": + "integrity" "sha512-mxShHlqLMPz2gChrgtA9okV1ogFmQrRAoM/O4EN0CrQWPLXqYtpL1f7sI2asIvFe7SmpnvbLx7kkZyFmLTfwjA==" + "resolved" "https://registry.npmjs.org/pouchdb-adapter-leveldb-core/-/pouchdb-adapter-leveldb-core-7.3.1.tgz" + "version" "7.3.1" + dependencies: + "argsarray" "0.0.1" + "buffer-from" "1.1.2" + "double-ended-queue" "2.1.0-0" + "levelup" "4.4.0" + "pouchdb-adapter-utils" "7.3.1" + "pouchdb-binary-utils" "7.3.1" + "pouchdb-collections" "7.3.1" + "pouchdb-errors" "7.3.1" + "pouchdb-json" "7.3.1" + "pouchdb-md5" "7.3.1" + "pouchdb-merge" "7.3.1" + "pouchdb-utils" "7.3.1" + "sublevel-pouchdb" "7.3.1" + "through2" "3.0.2" + +"pouchdb-adapter-memory@^7.1.1": + "integrity" "sha512-iHdWGJAHONqQv0we3Oi1MYen69ZS8McLW9wUyaAYcWTJnAIIAr2ZM0/TeTDVSHfMUwYqEYk7X8jRtJZEMwLnwg==" + "resolved" "https://registry.npmjs.org/pouchdb-adapter-memory/-/pouchdb-adapter-memory-7.3.1.tgz" + "version" "7.3.1" + dependencies: + "memdown" "1.4.1" + "pouchdb-adapter-leveldb-core" "7.3.1" + "pouchdb-utils" "7.3.1" + +"pouchdb-adapter-utils@7.3.1": + "integrity" "sha512-uKLG6dClwTs/sLIJ4WkLAi9wlnDBpOnfyhpeAgOjlOGN/XLz5nKHrA4UJRnURDyc+uv79S9r/Unc4hVpmbSPUw==" + "resolved" "https://registry.npmjs.org/pouchdb-adapter-utils/-/pouchdb-adapter-utils-7.3.1.tgz" + "version" "7.3.1" + dependencies: + "pouchdb-binary-utils" "7.3.1" + "pouchdb-collections" "7.3.1" + "pouchdb-errors" "7.3.1" + "pouchdb-md5" "7.3.1" + "pouchdb-merge" "7.3.1" + "pouchdb-utils" "7.3.1" + +"pouchdb-binary-utils@7.3.1": + "integrity" "sha512-crZJNfAEOnUoRk977Qtmk4cxEv6sNKllQ6vDDKgQrQLFjMUXma35EHzNyIJr1s76J77Q4sqKQAmxz9Y40yHGtw==" + "resolved" "https://registry.npmjs.org/pouchdb-binary-utils/-/pouchdb-binary-utils-7.3.1.tgz" + "version" "7.3.1" + dependencies: + "buffer-from" "1.1.2" + +"pouchdb-collate@7.3.1": + "integrity" "sha512-o4gyGqDMLMSNzf6EDTr3eHaH/JRMoqRhdc+eV+oA8u00nTBtr9wD+jypVe2LbgKLJ4NWqx2qVkXiTiQdUFtsLQ==" + "resolved" "https://registry.npmjs.org/pouchdb-collate/-/pouchdb-collate-7.3.1.tgz" + "version" "7.3.1" + +"pouchdb-collections@7.3.1": + "integrity" "sha512-yUyDqR+OJmtwgExOSJegpBJXDLAEC84TWnbAYycyh+DZoA51Yw0+XVQF5Vh8Ii90/Ut2xo88fmrmp0t6kqom8w==" + "resolved" "https://registry.npmjs.org/pouchdb-collections/-/pouchdb-collections-7.3.1.tgz" + "version" "7.3.1" + +"pouchdb-debug@^7.1.1": + "integrity" "sha512-eP3ht/AKavLF2RjTzBM6S9gaI2/apcW6xvaKRQhEdOfiANqerFuksFqHCal3aikVQuDO+cB/cw+a4RyJn/glBw==" + "resolved" "https://registry.npmjs.org/pouchdb-debug/-/pouchdb-debug-7.2.1.tgz" + "version" "7.2.1" + dependencies: + "debug" "3.1.0" + +"pouchdb-errors@7.3.1": + "integrity" "sha512-Zktz4gnXEUcZcty8FmyvtYUYsHskoST05m6H5/E2gg/0mCfEXq/XeyyLkZHaZmqD0ZPS9yNmASB1VaFWEKEaDw==" + "resolved" "https://registry.npmjs.org/pouchdb-errors/-/pouchdb-errors-7.3.1.tgz" + "version" "7.3.1" + dependencies: + "inherits" "2.0.4" + +"pouchdb-fetch@7.3.1": + "integrity" "sha512-205xAtvdHRPQ4fp1h9+RmT9oQabo9gafuPmWsS9aEl3ER54WbY8Vaj1JHZGbU4KtMTYvW7H5088zLS7Nrusuag==" + "resolved" "https://registry.npmjs.org/pouchdb-fetch/-/pouchdb-fetch-7.3.1.tgz" + "version" "7.3.1" + dependencies: + "abort-controller" "3.0.0" + "fetch-cookie" "0.11.0" + "node-fetch" "2.6.7" + +"pouchdb-find@^7.0.0": + "integrity" "sha512-AeqUfAVY1c7IFaY36BRT0vIz9r4VTKq/YOWTmiqndOZUQ/pDGxyO2fNFal6NN3PyYww0JijlD377cPvhnrhJVA==" + "resolved" "https://registry.npmjs.org/pouchdb-find/-/pouchdb-find-7.3.1.tgz" + "version" "7.3.1" + dependencies: + "pouchdb-abstract-mapreduce" "7.3.1" + "pouchdb-collate" "7.3.1" + "pouchdb-errors" "7.3.1" + "pouchdb-fetch" "7.3.1" + "pouchdb-md5" "7.3.1" + "pouchdb-selector-core" "7.3.1" + "pouchdb-utils" "7.3.1" + +"pouchdb-json@7.3.1": + "integrity" "sha512-AyOKsmc85/GtHjMZyEacqzja8qLVfycS1hh1oskR+Bm5PIITX52Fb8zyi0hEetV6VC0yuGbn0RqiLjJxQePeqQ==" + "resolved" "https://registry.npmjs.org/pouchdb-json/-/pouchdb-json-7.3.1.tgz" + "version" "7.3.1" + dependencies: + "vuvuzela" "1.0.3" + +"pouchdb-mapreduce-utils@7.3.1": + "integrity" "sha512-oUMcq82+4pTGQ6dtrhgORHOVHZSr6w/5tFIUGlv7RABIDvJarL4snMawADjlpiEwPdiQ/ESG8Fqt8cxqvqsIgg==" + "resolved" "https://registry.npmjs.org/pouchdb-mapreduce-utils/-/pouchdb-mapreduce-utils-7.3.1.tgz" + "version" "7.3.1" + dependencies: + "argsarray" "0.0.1" + "inherits" "2.0.4" + "pouchdb-collections" "7.3.1" + "pouchdb-utils" "7.3.1" + +"pouchdb-md5@7.3.1": + "integrity" "sha512-aDV8ui/mprnL3xmt0gT/81DFtTtJiKyn+OxIAbwKPMfz/rDFdPYvF0BmDC9QxMMzGfkV+JJUjU6at0PPs2mRLg==" + "resolved" "https://registry.npmjs.org/pouchdb-md5/-/pouchdb-md5-7.3.1.tgz" + "version" "7.3.1" + dependencies: + "pouchdb-binary-utils" "7.3.1" + "spark-md5" "3.0.2" + +"pouchdb-merge@7.3.1": + "integrity" "sha512-FeK3r35mKimokf2PQ2tUI523QWyZ4lYZ0Yd75FfSch/SPY6wIokz5XBZZ6PHdu5aOJsEKzoLUxr8CpSg9DhcAw==" + "resolved" "https://registry.npmjs.org/pouchdb-merge/-/pouchdb-merge-7.3.1.tgz" + "version" "7.3.1" + +"pouchdb-selector-core@7.3.1": + "integrity" "sha512-HBX+nNGXcaL9z0uNpwSMRq2GNZd3EZXW+fe9rJHS0hvJohjZL7aRJLoaXfEdHPRTNW+CpjM3Rny60eGekQdI/w==" + "resolved" "https://registry.npmjs.org/pouchdb-selector-core/-/pouchdb-selector-core-7.3.1.tgz" + "version" "7.3.1" + dependencies: + "pouchdb-collate" "7.3.1" + "pouchdb-utils" "7.3.1" + +"pouchdb-utils@7.3.1": + "integrity" "sha512-R3hHBo1zTdTu/NFs3iqkcaQAPwhIH0gMIdfVKd5lbDYlmP26rCG5pdS+v7NuoSSFLJ4xxnaGV+Gjf4duYsJ8wQ==" + "resolved" "https://registry.npmjs.org/pouchdb-utils/-/pouchdb-utils-7.3.1.tgz" + "version" "7.3.1" + dependencies: + "argsarray" "0.0.1" + "clone-buffer" "1.0.0" + "immediate" "3.3.0" + "inherits" "2.0.4" + "pouchdb-collections" "7.3.1" + "pouchdb-errors" "7.3.1" + "pouchdb-md5" "7.3.1" + "uuid" "8.3.2" + +"pouchdb@7.3.0": + "integrity" "sha512-OwsIQGXsfx3TrU1pLruj6PGSwFH+h5k4hGNxFkZ76Um7/ZI8F5TzUHFrpldVVIhfXYi2vP31q0q7ot1FSLFYOw==" + "resolved" "https://registry.npmjs.org/pouchdb/-/pouchdb-7.3.0.tgz" + "version" "7.3.0" + dependencies: + "abort-controller" "3.0.0" + "argsarray" "0.0.1" + "buffer-from" "1.1.2" + "clone-buffer" "1.0.0" + "double-ended-queue" "2.1.0-0" + "fetch-cookie" "0.11.0" + "immediate" "3.3.0" + "inherits" "2.0.4" + "level" "6.0.1" + "level-codec" "9.0.2" + "level-write-stream" "1.0.0" + "leveldown" "5.6.0" + "levelup" "4.4.0" + "ltgt" "2.2.1" + "node-fetch" "2.6.7" + "readable-stream" "1.1.14" + "spark-md5" "3.0.2" + "through2" "3.0.2" + "uuid" "8.3.2" + "vuvuzela" "1.0.3" + +"preact@10.4.1": + "integrity" "sha512-WKrRpCSwL2t3tpOOGhf2WfTpcmbpxaWtDbdJdKdjd0aEiTkvOmS4NBkG6kzlaAHI9AkQ3iVqbFWM3Ei7mZ4o1Q==" + "resolved" "https://registry.npmjs.org/preact/-/preact-10.4.1.tgz" + "version" "10.4.1" + +"prelude-ls@^1.2.1": + "integrity" "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==" + "resolved" "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz" + "version" "1.2.1" + +"prelude-ls@~1.1.2": + "integrity" "sha512-ESF23V4SKG6lVSGZgYNpbsiaAkdab6ZgOxe52p7+Kid3W3u3bxR4Vfd/o21dmN7jSt0IwgZ4v5MUd26FEtXE9w==" + "resolved" "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz" + "version" "1.1.2" + +"prepend-http@^1.0.1": + "integrity" "sha512-PhmXi5XmoyKw1Un4E+opM2KcsJInDvKyuOumcjjw3waw86ZNjHwVUOOWLc4bCzLdcKNaWBH9e99sbWzDQsVaYg==" + "resolved" "https://registry.npmjs.org/prepend-http/-/prepend-http-1.0.4.tgz" + "version" "1.0.4" + +"prepend-http@^2.0.0": + "integrity" "sha512-ravE6m9Atw9Z/jjttRUZ+clIXogdghyZAuWJ3qEzjT+jI/dL1ifAqhZeC5VHzQp1MSt1+jxKkFNemj/iO7tVUA==" + "resolved" "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz" + "version" "2.0.0" + +"prettier-linter-helpers@^1.0.0": + "integrity" "sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==" + "resolved" "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz" + "version" "1.0.0" + dependencies: + "fast-diff" "^1.1.2" + +"prettier@^2.3.0": + "integrity" "sha512-3gzuxrHbKUePRBB4ZeU08VNkUcqEHaUaouNt0m7LGP4Hti/NuB07C7PPTM/LkWqXoJYJn2McEo5+kxPNrtQkLQ==" + "resolved" "https://registry.npmjs.org/prettier/-/prettier-2.8.5.tgz" + "version" "2.8.5" + +"prettier@2.8.4": + "integrity" "sha512-vIS4Rlc2FNh0BySk3Wkd6xmwxB0FpOndW5fisM5H8hsZSxU2VWVB5CWIkIjWvrHjIhxk2g3bfMKM87zNTrZddw==" + "resolved" "https://registry.npmjs.org/prettier/-/prettier-2.8.4.tgz" + "version" "2.8.4" + +"pretty-format@^22.4.3": + "integrity" "sha512-S4oT9/sT6MN7/3COoOy+ZJeA92VmOnveLHgrwBE3Z1W5N9S2A1QGNYiE1z75DAENbJrXXUb+OWXhpJcg05QKQQ==" + "resolved" "https://registry.npmjs.org/pretty-format/-/pretty-format-22.4.3.tgz" + "version" "22.4.3" + dependencies: + "ansi-regex" "^3.0.0" + "ansi-styles" "^3.2.0" + +"pretty-format@^24.9.0": + "integrity" "sha512-00ZMZUiHaJrNfk33guavqgvfJS30sLYf0f8+Srklv0AMPodGGHcoHgksZ3OThYnIvOd+8yMCn0YiEOogjlgsnA==" + "resolved" "https://registry.npmjs.org/pretty-format/-/pretty-format-24.9.0.tgz" + "version" "24.9.0" dependencies: "@jest/types" "^24.9.0" - ansi-regex "^4.0.0" - ansi-styles "^3.2.0" - react-is "^16.8.4" - -pretty-format@^27.0.0, pretty-format@^27.5.1: - version "27.5.1" - resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-27.5.1.tgz#2181879fdea51a7a5851fb39d920faa63f01d88e" - integrity sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ== - dependencies: - ansi-regex "^5.0.1" - ansi-styles "^5.0.0" - react-is "^17.0.1" - -process-nextick-args@~2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2" - integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag== - -process-warning@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/process-warning/-/process-warning-1.0.0.tgz#980a0b25dc38cd6034181be4b7726d89066b4616" - integrity sha512-du4wfLyj4yCZq1VupnVSZmRsPJsNuxoDQFdCFHLaYiEbFBD7QE0a+I4D7hOxrVnh78QE/YipFAj9lXHiXocV+Q== - -process@^0.11.10: - version "0.11.10" - resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182" - integrity sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A== - -progress@^2.0.0: - version "2.0.3" - resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8" - integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA== - -promise-retry@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/promise-retry/-/promise-retry-2.0.1.tgz#ff747a13620ab57ba688f5fc67855410c370da22" - integrity sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g== - dependencies: - err-code "^2.0.2" - retry "^0.12.0" - -prompts@^2.0.1: - version "2.4.2" - resolved "https://registry.yarnpkg.com/prompts/-/prompts-2.4.2.tgz#7b57e73b3a48029ad10ebd44f74b01722a4cb069" - integrity sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q== - dependencies: - kleur "^3.0.3" - sisteransi "^1.0.5" - -prop-types@^15.6.0, prop-types@^15.6.2, prop-types@^15.7.2: - version "15.8.1" - resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.8.1.tgz#67d87bf1a694f48435cf332c24af10214a3140b5" - integrity sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg== - dependencies: - loose-envify "^1.4.0" - object-assign "^4.1.1" - react-is "^16.13.1" - -protobufjs@^6.11.2, protobufjs@^6.11.3, protobufjs@^6.8.8, protobufjs@~6.11.2, protobufjs@~6.11.3: - version "6.11.4" - resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-6.11.4.tgz#29a412c38bf70d89e537b6d02d904a6f448173aa" - integrity sha512-5kQWPaJHi1WoCpjTGszzQ32PG2F4+wRY6BmAT4Vfw56Q2FZ4YZzK20xUYQH4YkfehY1e6QSICrJquM6xXZNcrw== + "ansi-regex" "^4.0.0" + "ansi-styles" "^3.2.0" + "react-is" "^16.8.4" + +"pretty-format@^27.0.0", "pretty-format@^27.5.1": + "integrity" "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==" + "resolved" "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz" + "version" "27.5.1" + dependencies: + "ansi-regex" "^5.0.1" + "ansi-styles" "^5.0.0" + "react-is" "^17.0.1" + +"process-nextick-args@~2.0.0": + "integrity" "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" + "resolved" "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz" + "version" "2.0.1" + +"process-warning@^1.0.0": + "integrity" "sha512-du4wfLyj4yCZq1VupnVSZmRsPJsNuxoDQFdCFHLaYiEbFBD7QE0a+I4D7hOxrVnh78QE/YipFAj9lXHiXocV+Q==" + "resolved" "https://registry.npmjs.org/process-warning/-/process-warning-1.0.0.tgz" + "version" "1.0.0" + +"process@^0.11.10": + "integrity" "sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==" + "resolved" "https://registry.npmjs.org/process/-/process-0.11.10.tgz" + "version" "0.11.10" + +"progress@^2.0.0": + "integrity" "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==" + "resolved" "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz" + "version" "2.0.3" + +"promise-retry@^2.0.1": + "integrity" "sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g==" + "resolved" "https://registry.npmjs.org/promise-retry/-/promise-retry-2.0.1.tgz" + "version" "2.0.1" + dependencies: + "err-code" "^2.0.2" + "retry" "^0.12.0" + +"prompts@^2.0.1": + "integrity" "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==" + "resolved" "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz" + "version" "2.4.2" + dependencies: + "kleur" "^3.0.3" + "sisteransi" "^1.0.5" + +"prop-types@^15.6.0", "prop-types@^15.6.2", "prop-types@^15.7.2": + "integrity" "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==" + "resolved" "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz" + "version" "15.8.1" + dependencies: + "loose-envify" "^1.4.0" + "object-assign" "^4.1.1" + "react-is" "^16.13.1" + +"protobufjs@^6.11.2", "protobufjs@^6.11.3", "protobufjs@^6.8.8", "protobufjs@~6.11.2", "protobufjs@~6.11.3": + "integrity" "sha512-5kQWPaJHi1WoCpjTGszzQ32PG2F4+wRY6BmAT4Vfw56Q2FZ4YZzK20xUYQH4YkfehY1e6QSICrJquM6xXZNcrw==" + "resolved" "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.4.tgz" + "version" "6.11.4" dependencies: "@protobufjs/aspromise" "^1.1.2" "@protobufjs/base64" "^1.1.2" @@ -13869,12 +14387,12 @@ protobufjs@^6.11.2, protobufjs@^6.11.3, protobufjs@^6.8.8, protobufjs@~6.11.2, p "@protobufjs/utf8" "^1.1.0" "@types/long" "^4.0.1" "@types/node" ">=13.7.0" - long "^4.0.0" + "long" "^4.0.0" -protobufjs@^7.0.0: - version "7.2.4" - resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-7.2.4.tgz#3fc1ec0cdc89dd91aef9ba6037ba07408485c3ae" - integrity sha512-AT+RJgD2sH8phPmCf7OUZR8xGdcJRga4+1cOaXJ64hvcSkVhNcRHOwIxUatPH15+nj59WAGTDv3LSGZPEQbJaQ== +"protobufjs@^7.0.0": + "integrity" "sha512-AT+RJgD2sH8phPmCf7OUZR8xGdcJRga4+1cOaXJ64hvcSkVhNcRHOwIxUatPH15+nj59WAGTDv3LSGZPEQbJaQ==" + "resolved" "https://registry.npmjs.org/protobufjs/-/protobufjs-7.2.4.tgz" + "version" "7.2.4" dependencies: "@protobufjs/aspromise" "^1.1.2" "@protobufjs/base64" "^1.1.2" @@ -13887,2591 +14405,2749 @@ protobufjs@^7.0.0: "@protobufjs/pool" "^1.1.0" "@protobufjs/utf8" "^1.1.0" "@types/node" ">=13.7.0" - long "^5.0.0" - -proxy-addr@~2.0.7: - version "2.0.7" - resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-2.0.7.tgz#f19fe69ceab311eeb94b42e70e8c2070f9ba1025" - integrity sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg== - dependencies: - forwarded "0.2.0" - ipaddr.js "1.9.1" - -proxy-from-env@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2" - integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg== - -prr@~1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/prr/-/prr-1.0.1.tgz#d3fc114ba06995a45ec6893f484ceb1d78f5f476" - integrity sha512-yPw4Sng1gWghHQWj0B3ZggWUm4qVbPwPFcRG8KyxiU7J2OHFSoEHKS+EZ3fv5l1t9CyCiop6l/ZYeWbrgoQejw== - -psl@^1.1.28, psl@^1.1.33: - version "1.9.0" - resolved "https://registry.yarnpkg.com/psl/-/psl-1.9.0.tgz#d0df2a137f00794565fcaf3b2c00cd09f8d5a5a7" - integrity sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag== - -pstree.remy@^1.1.8: - version "1.1.8" - resolved "https://registry.yarnpkg.com/pstree.remy/-/pstree.remy-1.1.8.tgz#c242224f4a67c21f686839bbdb4ac282b8373d3a" - integrity sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w== - -public-encrypt@^4.0.0: - version "4.0.3" - resolved "https://registry.yarnpkg.com/public-encrypt/-/public-encrypt-4.0.3.tgz#4fcc9d77a07e48ba7527e7cbe0de33d0701331e0" - integrity sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q== - dependencies: - bn.js "^4.1.0" - browserify-rsa "^4.0.0" - create-hash "^1.1.0" - parse-asn1 "^5.0.0" - randombytes "^2.0.1" - safe-buffer "^5.1.2" - -pump@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.0.tgz#b4a2116815bde2f4e1ea602354e8c75565107a64" - integrity sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww== - dependencies: - end-of-stream "^1.1.0" - once "^1.3.1" - -punycode@2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.0.tgz#5f863edc89b96db09074bad7947bf09056ca4e7d" - integrity sha512-Yxz2kRwT90aPiWEMHVYnEf4+rhwF1tBmmZ4KepCP+Wkium9JxtWnUm1nqGwpiAHr/tnTSeHqr3wb++jgSkXjhA== - -punycode@^2.1.0, punycode@^2.1.1: - version "2.3.0" - resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.3.0.tgz#f67fa67c94da8f4d0cfff981aee4118064199b8f" - integrity sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA== - -pure-rand@^5.0.1: - version "5.0.5" - resolved "https://registry.yarnpkg.com/pure-rand/-/pure-rand-5.0.5.tgz#bda2a7f6a1fc0f284d78d78ca5902f26f2ad35cf" - integrity sha512-BwQpbqxSCBJVpamI6ydzcKqyFmnd5msMWUGvzXLm1aXvusbbgkbOto/EUPM00hjveJEaJtdbhUjKSzWRhQVkaw== - -pushdata-bitcoin@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/pushdata-bitcoin/-/pushdata-bitcoin-1.0.1.tgz#15931d3cd967ade52206f523aa7331aef7d43af7" - integrity sha512-hw7rcYTJRAl4olM8Owe8x0fBuJJ+WGbMhQuLWOXEMN3PxPCKQHRkhfL+XG0+iXUmSHjkMmb3Ba55Mt21cZc9kQ== - dependencies: - bitcoin-ops "^1.3.0" - -qr.js@0.0.0: - version "0.0.0" - resolved "https://registry.yarnpkg.com/qr.js/-/qr.js-0.0.0.tgz#cace86386f59a0db8050fa90d9b6b0e88a1e364f" - integrity sha512-c4iYnWb+k2E+vYpRimHqSu575b1/wKl4XFeJGpFmrJQz5I88v9aY2czh7s0w36srfCM1sXgC/xpoJz5dJfq+OQ== - -qrcode.react@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/qrcode.react/-/qrcode.react-1.0.1.tgz#2834bb50e5e275ffe5af6906eff15391fe9e38a5" - integrity sha512-8d3Tackk8IRLXTo67Y+c1rpaiXjoz/Dd2HpcMdW//62/x8J1Nbho14Kh8x974t9prsLHN6XqVgcnRiBGFptQmg== - dependencies: - loose-envify "^1.4.0" - prop-types "^15.6.0" - qr.js "0.0.0" - -qrcode@1.4.4: - version "1.4.4" - resolved "https://registry.yarnpkg.com/qrcode/-/qrcode-1.4.4.tgz#f0c43568a7e7510a55efc3b88d9602f71963ea83" - integrity sha512-oLzEC5+NKFou9P0bMj5+v6Z40evexeE29Z9cummZXZ9QXyMr3lphkURzxjXgPJC5azpxcshoDWV1xE46z+/c3Q== - dependencies: - buffer "^5.4.3" - buffer-alloc "^1.2.0" - buffer-from "^1.1.1" - dijkstrajs "^1.0.1" - isarray "^2.0.1" - pngjs "^3.3.0" - yargs "^13.2.4" - -qs@6.11.0: - version "6.11.0" - resolved "https://registry.yarnpkg.com/qs/-/qs-6.11.0.tgz#fd0d963446f7a65e1367e01abd85429453f0c37a" - integrity sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q== - dependencies: - side-channel "^1.0.4" - -qs@^6.11.0, qs@^6.7.0: - version "6.11.1" - resolved "https://registry.yarnpkg.com/qs/-/qs-6.11.1.tgz#6c29dff97f0c0060765911ba65cbc9764186109f" - integrity sha512-0wsrzgTz/kAVIeuxSjnpGC56rzYtr6JT/2BwEvMaPhFIoYa1aGO8LbzuU1R0uUYQkLpWBTOj0l/CLAJB64J6nQ== - dependencies: - side-channel "^1.0.4" - -qs@~6.5.2: - version "6.5.3" - resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.3.tgz#3aeeffc91967ef6e35c0e488ef46fb296ab76aad" - integrity sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA== - -query-string@7.1.1: - version "7.1.1" - resolved "https://registry.yarnpkg.com/query-string/-/query-string-7.1.1.tgz#754620669db978625a90f635f12617c271a088e1" - integrity sha512-MplouLRDHBZSG9z7fpuAAcI7aAYjDLhtsiVZsevsfaHWDS2IDdORKbSd1kWUA+V4zyva/HZoSfpwnYMMQDhb0w== - dependencies: - decode-uri-component "^0.2.0" - filter-obj "^1.1.0" - split-on-first "^1.0.0" - strict-uri-encode "^2.0.0" - -query-string@^5.0.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/query-string/-/query-string-5.1.1.tgz#a78c012b71c17e05f2e3fa2319dd330682efb3cb" - integrity sha512-gjWOsm2SoGlgLEdAGt7a6slVOk9mGiXmPFMqrEhLQ68rhQuBnpfs3+EmlvqKyxnCo9/PPlF+9MtY02S1aFg+Jw== - dependencies: - decode-uri-component "^0.2.0" - object-assign "^4.1.0" - strict-uri-encode "^1.0.0" - -querystringify@^2.1.1: - version "2.2.0" - resolved "https://registry.yarnpkg.com/querystringify/-/querystringify-2.2.0.tgz#3345941b4153cb9d082d8eee4cda2016a9aef7f6" - integrity sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ== - -queue-microtask@^1.2.2, queue-microtask@^1.2.3: - version "1.2.3" - resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243" - integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A== - -quick-format-unescaped@^4.0.3: - version "4.0.4" - resolved "https://registry.yarnpkg.com/quick-format-unescaped/-/quick-format-unescaped-4.0.4.tgz#93ef6dd8d3453cbc7970dd614fad4c5954d6b5a7" - integrity sha512-tYC1Q1hgyRuHgloV/YXs2w15unPVh8qfu/qCTfhTYamaw7fyhumKa2yGpdSo87vY32rIclj+4fWYQXUMs9EHvg== - -quick-lru@^5.1.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-5.1.1.tgz#366493e6b3e42a3a6885e2e99d18f80fb7a8c932" - integrity sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA== - -quickswap-sdk@^3.0.8: - version "3.0.14" - resolved "https://registry.yarnpkg.com/quickswap-sdk/-/quickswap-sdk-3.0.14.tgz#820e26027c2a6d6fdd027d6bceeb2a7ab782cc06" - integrity sha512-/Hp1fo6iHjQOlCuinKNgY6YGNuLk0Brg+Ltg/rM+qjMFhdij54DIXJrerKbuB6dQ+7EMvyaT9DxyCwiE/d8GTg== + "long" "^5.0.0" + +"protobufjs@^7.2.4": + "integrity" "sha512-gGXRSXvxQ7UiPgfw8gevrfRWcTlSbOFg+p/N+JVJEK5VhueL2miT6qTymqAmjr1Q5WbOCyJbyrk6JfWKwlFn6A==" + "resolved" "https://registry.npmjs.org/protobufjs/-/protobufjs-7.2.5.tgz" + "version" "7.2.5" + dependencies: + "@protobufjs/aspromise" "^1.1.2" + "@protobufjs/base64" "^1.1.2" + "@protobufjs/codegen" "^2.0.4" + "@protobufjs/eventemitter" "^1.1.0" + "@protobufjs/fetch" "^1.1.0" + "@protobufjs/float" "^1.0.2" + "@protobufjs/inquire" "^1.1.0" + "@protobufjs/path" "^1.1.2" + "@protobufjs/pool" "^1.1.0" + "@protobufjs/utf8" "^1.1.0" + "@types/node" ">=13.7.0" + "long" "^5.0.0" + +"proxy-addr@~2.0.7": + "integrity" "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==" + "resolved" "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz" + "version" "2.0.7" + dependencies: + "forwarded" "0.2.0" + "ipaddr.js" "1.9.1" + +"proxy-from-env@^1.1.0": + "integrity" "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" + "resolved" "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz" + "version" "1.1.0" + +"prr@~1.0.1": + "integrity" "sha512-yPw4Sng1gWghHQWj0B3ZggWUm4qVbPwPFcRG8KyxiU7J2OHFSoEHKS+EZ3fv5l1t9CyCiop6l/ZYeWbrgoQejw==" + "resolved" "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz" + "version" "1.0.1" + +"psl@^1.1.28", "psl@^1.1.33": + "integrity" "sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==" + "resolved" "https://registry.npmjs.org/psl/-/psl-1.9.0.tgz" + "version" "1.9.0" + +"pstree.remy@^1.1.8": + "integrity" "sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w==" + "resolved" "https://registry.npmjs.org/pstree.remy/-/pstree.remy-1.1.8.tgz" + "version" "1.1.8" + +"public-encrypt@^4.0.0": + "integrity" "sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q==" + "resolved" "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.3.tgz" + "version" "4.0.3" + dependencies: + "bn.js" "^4.1.0" + "browserify-rsa" "^4.0.0" + "create-hash" "^1.1.0" + "parse-asn1" "^5.0.0" + "randombytes" "^2.0.1" + "safe-buffer" "^5.1.2" + +"pump@^3.0.0": + "integrity" "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==" + "resolved" "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz" + "version" "3.0.0" + dependencies: + "end-of-stream" "^1.1.0" + "once" "^1.3.1" + +"punycode@^2.1.0", "punycode@^2.1.1": + "integrity" "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==" + "resolved" "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz" + "version" "2.3.0" + +"punycode@2.1.0": + "integrity" "sha512-Yxz2kRwT90aPiWEMHVYnEf4+rhwF1tBmmZ4KepCP+Wkium9JxtWnUm1nqGwpiAHr/tnTSeHqr3wb++jgSkXjhA==" + "resolved" "https://registry.npmjs.org/punycode/-/punycode-2.1.0.tgz" + "version" "2.1.0" + +"pure-rand@^5.0.1": + "integrity" "sha512-BwQpbqxSCBJVpamI6ydzcKqyFmnd5msMWUGvzXLm1aXvusbbgkbOto/EUPM00hjveJEaJtdbhUjKSzWRhQVkaw==" + "resolved" "https://registry.npmjs.org/pure-rand/-/pure-rand-5.0.5.tgz" + "version" "5.0.5" + +"pushdata-bitcoin@^1.0.1": + "integrity" "sha512-hw7rcYTJRAl4olM8Owe8x0fBuJJ+WGbMhQuLWOXEMN3PxPCKQHRkhfL+XG0+iXUmSHjkMmb3Ba55Mt21cZc9kQ==" + "resolved" "https://registry.npmjs.org/pushdata-bitcoin/-/pushdata-bitcoin-1.0.1.tgz" + "version" "1.0.1" + dependencies: + "bitcoin-ops" "^1.3.0" + +"qr.js@0.0.0": + "integrity" "sha512-c4iYnWb+k2E+vYpRimHqSu575b1/wKl4XFeJGpFmrJQz5I88v9aY2czh7s0w36srfCM1sXgC/xpoJz5dJfq+OQ==" + "resolved" "https://registry.npmjs.org/qr.js/-/qr.js-0.0.0.tgz" + "version" "0.0.0" + +"qrcode.react@^1.0.1": + "integrity" "sha512-8d3Tackk8IRLXTo67Y+c1rpaiXjoz/Dd2HpcMdW//62/x8J1Nbho14Kh8x974t9prsLHN6XqVgcnRiBGFptQmg==" + "resolved" "https://registry.npmjs.org/qrcode.react/-/qrcode.react-1.0.1.tgz" + "version" "1.0.1" + dependencies: + "loose-envify" "^1.4.0" + "prop-types" "^15.6.0" + "qr.js" "0.0.0" + +"qrcode@1.4.4": + "integrity" "sha512-oLzEC5+NKFou9P0bMj5+v6Z40evexeE29Z9cummZXZ9QXyMr3lphkURzxjXgPJC5azpxcshoDWV1xE46z+/c3Q==" + "resolved" "https://registry.npmjs.org/qrcode/-/qrcode-1.4.4.tgz" + "version" "1.4.4" + dependencies: + "buffer" "^5.4.3" + "buffer-alloc" "^1.2.0" + "buffer-from" "^1.1.1" + "dijkstrajs" "^1.0.1" + "isarray" "^2.0.1" + "pngjs" "^3.3.0" + "yargs" "^13.2.4" + +"qs@^6.11.0": + "integrity" "sha512-0wsrzgTz/kAVIeuxSjnpGC56rzYtr6JT/2BwEvMaPhFIoYa1aGO8LbzuU1R0uUYQkLpWBTOj0l/CLAJB64J6nQ==" + "resolved" "https://registry.npmjs.org/qs/-/qs-6.11.1.tgz" + "version" "6.11.1" + dependencies: + "side-channel" "^1.0.4" + +"qs@^6.7.0": + "integrity" "sha512-0wsrzgTz/kAVIeuxSjnpGC56rzYtr6JT/2BwEvMaPhFIoYa1aGO8LbzuU1R0uUYQkLpWBTOj0l/CLAJB64J6nQ==" + "resolved" "https://registry.npmjs.org/qs/-/qs-6.11.1.tgz" + "version" "6.11.1" + dependencies: + "side-channel" "^1.0.4" + +"qs@~6.5.2": + "integrity" "sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA==" + "resolved" "https://registry.npmjs.org/qs/-/qs-6.5.3.tgz" + "version" "6.5.3" + +"qs@6.11.0": + "integrity" "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==" + "resolved" "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz" + "version" "6.11.0" + dependencies: + "side-channel" "^1.0.4" + +"query-string@^5.0.1": + "integrity" "sha512-gjWOsm2SoGlgLEdAGt7a6slVOk9mGiXmPFMqrEhLQ68rhQuBnpfs3+EmlvqKyxnCo9/PPlF+9MtY02S1aFg+Jw==" + "resolved" "https://registry.npmjs.org/query-string/-/query-string-5.1.1.tgz" + "version" "5.1.1" + dependencies: + "decode-uri-component" "^0.2.0" + "object-assign" "^4.1.0" + "strict-uri-encode" "^1.0.0" + +"query-string@7.1.1": + "integrity" "sha512-MplouLRDHBZSG9z7fpuAAcI7aAYjDLhtsiVZsevsfaHWDS2IDdORKbSd1kWUA+V4zyva/HZoSfpwnYMMQDhb0w==" + "resolved" "https://registry.npmjs.org/query-string/-/query-string-7.1.1.tgz" + "version" "7.1.1" + dependencies: + "decode-uri-component" "^0.2.0" + "filter-obj" "^1.1.0" + "split-on-first" "^1.0.0" + "strict-uri-encode" "^2.0.0" + +"querystringify@^2.1.1": + "integrity" "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==" + "resolved" "https://registry.npmjs.org/querystringify/-/querystringify-2.2.0.tgz" + "version" "2.2.0" + +"queue-microtask@^1.2.2", "queue-microtask@^1.2.3": + "integrity" "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==" + "resolved" "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz" + "version" "1.2.3" + +"queue-tick@^1.0.0": + "version" "1.0.0" + +"quick-format-unescaped@^4.0.3": + "integrity" "sha512-tYC1Q1hgyRuHgloV/YXs2w15unPVh8qfu/qCTfhTYamaw7fyhumKa2yGpdSo87vY32rIclj+4fWYQXUMs9EHvg==" + "resolved" "https://registry.npmjs.org/quick-format-unescaped/-/quick-format-unescaped-4.0.4.tgz" + "version" "4.0.4" + +"quick-lru@^5.1.1": + "integrity" "sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==" + "resolved" "https://registry.npmjs.org/quick-lru/-/quick-lru-5.1.1.tgz" + "version" "5.1.1" + +"quickswap-sdk@^3.0.8": + "integrity" "sha512-/Hp1fo6iHjQOlCuinKNgY6YGNuLk0Brg+Ltg/rM+qjMFhdij54DIXJrerKbuB6dQ+7EMvyaT9DxyCwiE/d8GTg==" + "resolved" "https://registry.npmjs.org/quickswap-sdk/-/quickswap-sdk-3.0.14.tgz" + "version" "3.0.14" dependencies: "@uniswap/v2-core" "^1.0.0" - big.js "^5.2.2" - decimal.js-light "^2.5.0" - jsbi "^3.1.1" - tiny-invariant "^1.1.0" - tiny-warning "^1.0.3" - toformat "^2.0.0" - -randombytes@2.1.0, randombytes@^2.0.0, randombytes@^2.0.1, randombytes@^2.0.5, randombytes@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" - integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ== - dependencies: - safe-buffer "^5.1.0" - -randomfill@^1.0.3: - version "1.0.4" - resolved "https://registry.yarnpkg.com/randomfill/-/randomfill-1.0.4.tgz#c92196fc86ab42be983f1bf31778224931d61458" - integrity sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw== - dependencies: - randombytes "^2.0.5" - safe-buffer "^5.1.0" - -range-parser@~1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.1.tgz#3cf37023d199e1c24d1a55b84800c2f3e6468031" - integrity sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg== - -raw-body@2.5.1: - version "2.5.1" - resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.5.1.tgz#fe1b1628b181b700215e5fd42389f98b71392857" - integrity sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig== - dependencies: - bytes "3.1.2" - http-errors "2.0.0" - iconv-lite "0.4.24" - unpipe "1.0.0" - -raw-body@2.5.2, raw-body@^2.4.1: - version "2.5.2" - resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.5.2.tgz#99febd83b90e08975087e8f1f9419a149366b68a" - integrity sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA== - dependencies: - bytes "3.1.2" - http-errors "2.0.0" - iconv-lite "0.4.24" - unpipe "1.0.0" - -react-dom@16.13.1: - version "16.13.1" - resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.13.1.tgz#c1bd37331a0486c078ee54c4740720993b2e0e7f" - integrity sha512-81PIMmVLnCNLO/fFOQxdQkvEq/+Hfpv24XNJfpyZhTRfO0QcmQIF/PgCa1zCOj2w1hrn12MFLyaJ/G0+Mxtfag== - dependencies: - loose-envify "^1.1.0" - object-assign "^4.1.1" - prop-types "^15.6.2" - scheduler "^0.19.1" - -react-dom@^18: - version "18.2.0" - resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-18.2.0.tgz#22aaf38708db2674ed9ada224ca4aa708d821e3d" - integrity sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g== - dependencies: - loose-envify "^1.1.0" - scheduler "^0.23.0" - -react-is@^16.13.1, react-is@^16.7.0, react-is@^16.8.4: - version "16.13.1" - resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4" - integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== - -react-is@^17.0.1: - version "17.0.2" - resolved "https://registry.yarnpkg.com/react-is/-/react-is-17.0.2.tgz#e691d4a8e9c789365655539ab372762b0efb54f0" - integrity sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w== - -react-lifecycles-compat@^3.0.0: - version "3.0.4" - resolved "https://registry.yarnpkg.com/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz#4f1a273afdfc8f3488a8c516bfda78f872352362" - integrity sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA== - -react-modal@^3.12.1: - version "3.16.1" - resolved "https://registry.yarnpkg.com/react-modal/-/react-modal-3.16.1.tgz#34018528fc206561b1a5467fc3beeaddafb39b2b" - integrity sha512-VStHgI3BVcGo7OXczvnJN7yT2TWHJPDXZWyI/a0ssFNhGZWsPmB8cF0z33ewDXq4VfYMO1vXgiv/g8Nj9NDyWg== - dependencies: - exenv "^1.2.0" - prop-types "^15.7.2" - react-lifecycles-compat "^3.0.0" - warning "^4.0.3" - -react-qr-reader@^2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/react-qr-reader/-/react-qr-reader-2.2.1.tgz#dc89046d1c1a1da837a683dd970de5926817d55b" - integrity sha512-EL5JEj53u2yAOgtpAKAVBzD/SiKWn0Bl7AZy6ZrSf1lub7xHwtaXe6XSx36Wbhl1VMGmvmrwYMRwO1aSCT2fwA== - dependencies: - jsqr "^1.2.0" - prop-types "^15.7.2" - webrtc-adapter "^7.2.1" - -react@16.13.1: - version "16.13.1" - resolved "https://registry.yarnpkg.com/react/-/react-16.13.1.tgz#2e818822f1a9743122c063d6410d85c1e3afe48e" - integrity sha512-YMZQQq32xHLX0bz5Mnibv1/LHb3Sqzngu7xstSM+vrkE5Kzr9xE0yMByK5kMoTK30YVJE61WfbxIFFvfeDKT1w== - dependencies: - loose-envify "^1.1.0" - object-assign "^4.1.1" - prop-types "^15.6.2" - -react@^18: - version "18.2.0" - resolved "https://registry.yarnpkg.com/react/-/react-18.2.0.tgz#555bd98592883255fa00de14f1151a917b5d77d5" - integrity sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ== - dependencies: - loose-envify "^1.1.0" - -readable-stream@1.1.14: - version "1.1.14" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.1.14.tgz#7cf4c54ef648e3813084c636dd2079e166c081d9" - integrity sha512-+MeVjFf4L44XUkhM1eYbD8fyEsxcV81pqMSR5gblfcLCHfZvbrqy4/qYHE+/R5HoBUT11WV5O08Cr1n3YXkWVQ== - dependencies: - core-util-is "~1.0.0" - inherits "~2.0.1" - isarray "0.0.1" - string_decoder "~0.10.x" - -"readable-stream@2 || 3", readable-stream@^3.1.1, readable-stream@^3.4.0, readable-stream@^3.5.0, readable-stream@^3.6.0, readable-stream@^3.6.2: - version "3.6.2" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.2.tgz#56a9b36ea965c00c5a93ef31eb111a0f11056967" - integrity sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA== - dependencies: - inherits "^2.0.3" - string_decoder "^1.1.1" - util-deprecate "^1.0.1" - -readable-stream@^2.3.0, readable-stream@^2.3.5, readable-stream@~2.3.6: - version "2.3.8" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.8.tgz#91125e8042bba1b9887f49345f6277027ce8be9b" - integrity sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA== - dependencies: - core-util-is "~1.0.0" - inherits "~2.0.3" - isarray "~1.0.0" - process-nextick-args "~2.0.0" - safe-buffer "~5.1.1" - string_decoder "~1.1.1" - util-deprecate "~1.0.1" - -readable-stream@~0.0.2: - version "0.0.4" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-0.0.4.tgz#f32d76e3fb863344a548d79923007173665b3b8d" - integrity sha512-azrivNydKRYt7zwLV5wWUK7YzKTWs3q87xSmY6DlHapPrCvaT6ZrukvM5erV+yCSSPmZT8zkSdttOHQpWWm9zw== - -readable-stream@~1.0.31: - version "1.0.34" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.0.34.tgz#125820e34bc842d2f2aaafafe4c2916ee32c157c" - integrity sha512-ok1qVCJuRkNmvebYikljxJA/UEsKwLl2nI1OmaqAu4/UE+h0wKCHok4XkL/gvi39OacXvw59RJUOFUkDib2rHg== - dependencies: - core-util-is "~1.0.0" - inherits "~2.0.1" - isarray "0.0.1" - string_decoder "~0.10.x" - -readdirp@~3.6.0: - version "3.6.0" - resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7" - integrity sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA== - dependencies: - picomatch "^2.2.1" - -readonly-date@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/readonly-date/-/readonly-date-1.0.0.tgz#5af785464d8c7d7c40b9d738cbde8c646f97dcd9" - integrity sha512-tMKIV7hlk0h4mO3JTmmVuIlJVXjKk3Sep9Bf5OH0O+758ruuVkUy2J9SttDLm91IEX/WHlXPSpxMGjPj4beMIQ== - -real-require@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/real-require/-/real-require-0.1.0.tgz#736ac214caa20632847b7ca8c1056a0767df9381" - integrity sha512-r/H9MzAWtrv8aSVjPCMFpDMl5q66GqtmmRkRjpHTsp4zBAa+snZyiQNlMONiUmEJcsnaw0wCauJ2GWODr/aFkg== - -rechoir@^0.6.2: - version "0.6.2" - resolved "https://registry.yarnpkg.com/rechoir/-/rechoir-0.6.2.tgz#85204b54dba82d5742e28c96756ef43af50e3384" - integrity sha512-HFM8rkZ+i3zrV+4LQjwQ0W+ez98pApMGM3HUrN04j3CqzPOzl9nmP15Y8YXNm8QHGv/eacOVEjqhmWpkRV0NAw== - dependencies: - resolve "^1.1.6" - -redux-saga@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/redux-saga/-/redux-saga-1.0.0.tgz#acb8b3ed9180fecbe75f342011d75af3ac11045b" - integrity sha512-GvJWs/SzMvEQgeaw6sRMXnS2FghlvEGsHiEtTLpJqc/FHF3I5EE/B+Hq5lyHZ8LSoT2r/X/46uWvkdCnK9WgHA== + "big.js" "^5.2.2" + "decimal.js-light" "^2.5.0" + "jsbi" "^3.1.1" + "tiny-invariant" "^1.1.0" + "tiny-warning" "^1.0.3" + "toformat" "^2.0.0" + +"randombytes@^2.0.0", "randombytes@^2.0.1", "randombytes@^2.0.5", "randombytes@^2.1.0", "randombytes@2.1.0": + "integrity" "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==" + "resolved" "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz" + "version" "2.1.0" + dependencies: + "safe-buffer" "^5.1.0" + +"randomfill@^1.0.3": + "integrity" "sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==" + "resolved" "https://registry.npmjs.org/randomfill/-/randomfill-1.0.4.tgz" + "version" "1.0.4" + dependencies: + "randombytes" "^2.0.5" + "safe-buffer" "^5.1.0" + +"randomhex@0.1.5": + "integrity" "sha512-2+Kkw7UiZGQWOz7rw8hPW44utkBYMEciQfziaZ71RcyDu+refQWzS/0DgfUSa5MwclrOD3sf3vI5vmrTYjwpjQ==" + "resolved" "https://registry.npmjs.org/randomhex/-/randomhex-0.1.5.tgz" + "version" "0.1.5" + +"range-parser@~1.2.1": + "integrity" "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==" + "resolved" "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz" + "version" "1.2.1" + +"raw-body@^2.4.1", "raw-body@2.5.2": + "integrity" "sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==" + "resolved" "https://registry.npmjs.org/raw-body/-/raw-body-2.5.2.tgz" + "version" "2.5.2" + dependencies: + "bytes" "3.1.2" + "http-errors" "2.0.0" + "iconv-lite" "0.4.24" + "unpipe" "1.0.0" + +"raw-body@2.5.1": + "integrity" "sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==" + "resolved" "https://registry.npmjs.org/raw-body/-/raw-body-2.5.1.tgz" + "version" "2.5.1" + dependencies: + "bytes" "3.1.2" + "http-errors" "2.0.0" + "iconv-lite" "0.4.24" + "unpipe" "1.0.0" + +"react-dom@^18": + "integrity" "sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==" + "resolved" "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz" + "version" "18.2.0" + dependencies: + "loose-envify" "^1.1.0" + "scheduler" "^0.23.0" + +"react-dom@16.13.1": + "integrity" "sha512-81PIMmVLnCNLO/fFOQxdQkvEq/+Hfpv24XNJfpyZhTRfO0QcmQIF/PgCa1zCOj2w1hrn12MFLyaJ/G0+Mxtfag==" + "resolved" "https://registry.npmjs.org/react-dom/-/react-dom-16.13.1.tgz" + "version" "16.13.1" + dependencies: + "loose-envify" "^1.1.0" + "object-assign" "^4.1.1" + "prop-types" "^15.6.2" + "scheduler" "^0.19.1" + +"react-is@^16.13.1", "react-is@^16.7.0", "react-is@^16.8.4": + "integrity" "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" + "resolved" "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz" + "version" "16.13.1" + +"react-is@^17.0.1": + "integrity" "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==" + "resolved" "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz" + "version" "17.0.2" + +"react-lifecycles-compat@^3.0.0": + "integrity" "sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA==" + "resolved" "https://registry.npmjs.org/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz" + "version" "3.0.4" + +"react-modal@^3.12.1": + "integrity" "sha512-VStHgI3BVcGo7OXczvnJN7yT2TWHJPDXZWyI/a0ssFNhGZWsPmB8cF0z33ewDXq4VfYMO1vXgiv/g8Nj9NDyWg==" + "resolved" "https://registry.npmjs.org/react-modal/-/react-modal-3.16.1.tgz" + "version" "3.16.1" + dependencies: + "exenv" "^1.2.0" + "prop-types" "^15.7.2" + "react-lifecycles-compat" "^3.0.0" + "warning" "^4.0.3" + +"react-qr-reader@^2.2.1": + "integrity" "sha512-EL5JEj53u2yAOgtpAKAVBzD/SiKWn0Bl7AZy6ZrSf1lub7xHwtaXe6XSx36Wbhl1VMGmvmrwYMRwO1aSCT2fwA==" + "resolved" "https://registry.npmjs.org/react-qr-reader/-/react-qr-reader-2.2.1.tgz" + "version" "2.2.1" + dependencies: + "jsqr" "^1.2.0" + "prop-types" "^15.7.2" + "webrtc-adapter" "^7.2.1" + +"react@^18": + "integrity" "sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==" + "resolved" "https://registry.npmjs.org/react/-/react-18.2.0.tgz" + "version" "18.2.0" + dependencies: + "loose-envify" "^1.1.0" + +"react@16.13.1": + "integrity" "sha512-YMZQQq32xHLX0bz5Mnibv1/LHb3Sqzngu7xstSM+vrkE5Kzr9xE0yMByK5kMoTK30YVJE61WfbxIFFvfeDKT1w==" + "resolved" "https://registry.npmjs.org/react/-/react-16.13.1.tgz" + "version" "16.13.1" + dependencies: + "loose-envify" "^1.1.0" + "object-assign" "^4.1.1" + "prop-types" "^15.6.2" + +"readable-stream@^2.3.0": + "integrity" "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==" + "resolved" "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz" + "version" "2.3.8" + dependencies: + "core-util-is" "~1.0.0" + "inherits" "~2.0.3" + "isarray" "~1.0.0" + "process-nextick-args" "~2.0.0" + "safe-buffer" "~5.1.1" + "string_decoder" "~1.1.1" + "util-deprecate" "~1.0.1" + +"readable-stream@^2.3.5": + "integrity" "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==" + "resolved" "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz" + "version" "2.3.8" + dependencies: + "core-util-is" "~1.0.0" + "inherits" "~2.0.3" + "isarray" "~1.0.0" + "process-nextick-args" "~2.0.0" + "safe-buffer" "~5.1.1" + "string_decoder" "~1.1.1" + "util-deprecate" "~1.0.1" + +"readable-stream@^3.1.1", "readable-stream@^3.4.0", "readable-stream@^3.5.0", "readable-stream@^3.6.0", "readable-stream@^3.6.2", "readable-stream@2 || 3": + "integrity" "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==" + "resolved" "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz" + "version" "3.6.2" + dependencies: + "inherits" "^2.0.3" + "string_decoder" "^1.1.1" + "util-deprecate" "^1.0.1" + +"readable-stream@~0.0.2": + "integrity" "sha512-azrivNydKRYt7zwLV5wWUK7YzKTWs3q87xSmY6DlHapPrCvaT6ZrukvM5erV+yCSSPmZT8zkSdttOHQpWWm9zw==" + "resolved" "https://registry.npmjs.org/readable-stream/-/readable-stream-0.0.4.tgz" + "version" "0.0.4" + +"readable-stream@~1.0.31": + "integrity" "sha512-ok1qVCJuRkNmvebYikljxJA/UEsKwLl2nI1OmaqAu4/UE+h0wKCHok4XkL/gvi39OacXvw59RJUOFUkDib2rHg==" + "resolved" "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz" + "version" "1.0.34" + dependencies: + "core-util-is" "~1.0.0" + "inherits" "~2.0.1" + "isarray" "0.0.1" + "string_decoder" "~0.10.x" + +"readable-stream@~2.3.6": + "integrity" "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==" + "resolved" "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz" + "version" "2.3.8" + dependencies: + "core-util-is" "~1.0.0" + "inherits" "~2.0.3" + "isarray" "~1.0.0" + "process-nextick-args" "~2.0.0" + "safe-buffer" "~5.1.1" + "string_decoder" "~1.1.1" + "util-deprecate" "~1.0.1" + +"readable-stream@1.1.14": + "integrity" "sha512-+MeVjFf4L44XUkhM1eYbD8fyEsxcV81pqMSR5gblfcLCHfZvbrqy4/qYHE+/R5HoBUT11WV5O08Cr1n3YXkWVQ==" + "resolved" "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz" + "version" "1.1.14" + dependencies: + "core-util-is" "~1.0.0" + "inherits" "~2.0.1" + "isarray" "0.0.1" + "string_decoder" "~0.10.x" + +"readdirp@~3.6.0": + "integrity" "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==" + "resolved" "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz" + "version" "3.6.0" + dependencies: + "picomatch" "^2.2.1" + +"readonly-date@^1.0.0": + "integrity" "sha512-tMKIV7hlk0h4mO3JTmmVuIlJVXjKk3Sep9Bf5OH0O+758ruuVkUy2J9SttDLm91IEX/WHlXPSpxMGjPj4beMIQ==" + "resolved" "https://registry.npmjs.org/readonly-date/-/readonly-date-1.0.0.tgz" + "version" "1.0.0" + +"real-require@^0.1.0": + "integrity" "sha512-r/H9MzAWtrv8aSVjPCMFpDMl5q66GqtmmRkRjpHTsp4zBAa+snZyiQNlMONiUmEJcsnaw0wCauJ2GWODr/aFkg==" + "resolved" "https://registry.npmjs.org/real-require/-/real-require-0.1.0.tgz" + "version" "0.1.0" + +"rechoir@^0.6.2": + "integrity" "sha512-HFM8rkZ+i3zrV+4LQjwQ0W+ez98pApMGM3HUrN04j3CqzPOzl9nmP15Y8YXNm8QHGv/eacOVEjqhmWpkRV0NAw==" + "resolved" "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz" + "version" "0.6.2" + dependencies: + "resolve" "^1.1.6" + +"redux-saga@1.0.0": + "integrity" "sha512-GvJWs/SzMvEQgeaw6sRMXnS2FghlvEGsHiEtTLpJqc/FHF3I5EE/B+Hq5lyHZ8LSoT2r/X/46uWvkdCnK9WgHA==" + "resolved" "https://registry.npmjs.org/redux-saga/-/redux-saga-1.0.0.tgz" + "version" "1.0.0" dependencies: "@redux-saga/core" "^1.0.0" -redux@^3.7.2: - version "3.7.2" - resolved "https://registry.yarnpkg.com/redux/-/redux-3.7.2.tgz#06b73123215901d25d065be342eb026bc1c8537b" - integrity sha512-pNqnf9q1hI5HHZRBkj3bAngGZW/JMCmexDlOxw4XagXY2o1327nHH54LoTjiPJ0gizoqPDRqWyX/00g0hD6w+A== +"redux@^3.7.2": + "integrity" "sha512-pNqnf9q1hI5HHZRBkj3bAngGZW/JMCmexDlOxw4XagXY2o1327nHH54LoTjiPJ0gizoqPDRqWyX/00g0hD6w+A==" + "resolved" "https://registry.npmjs.org/redux/-/redux-3.7.2.tgz" + "version" "3.7.2" dependencies: - lodash "^4.2.1" - lodash-es "^4.2.1" - loose-envify "^1.1.0" - symbol-observable "^1.0.3" + "lodash" "^4.2.1" + "lodash-es" "^4.2.1" + "loose-envify" "^1.1.0" + "symbol-observable" "^1.0.3" -redux@^4.0.4: - version "4.2.1" - resolved "https://registry.yarnpkg.com/redux/-/redux-4.2.1.tgz#c08f4306826c49b5e9dc901dee0452ea8fce6197" - integrity sha512-LAUYz4lc+Do8/g7aeRa8JkyDErK6ekstQaqWQrNRW//MY1TvCEpMtpTWvlQ+FPbWCx+Xixu/6SHt5N0HR+SB4w== +"redux@^4.0.4": + "integrity" "sha512-LAUYz4lc+Do8/g7aeRa8JkyDErK6ekstQaqWQrNRW//MY1TvCEpMtpTWvlQ+FPbWCx+Xixu/6SHt5N0HR+SB4w==" + "resolved" "https://registry.npmjs.org/redux/-/redux-4.2.1.tgz" + "version" "4.2.1" dependencies: "@babel/runtime" "^7.9.2" -ref-sdk@^0.1.4, ref-sdk@^0.1.5: - version "0.1.5" - resolved "https://registry.yarnpkg.com/ref-sdk/-/ref-sdk-0.1.5.tgz#d6e4cfca38a6f2a2433d97a930ed4eebb81de8c4" - integrity sha512-Gr40hYT+xY+rsj47s+HHejFENWkcBNELMbi67HZ8DmTyOq8VHUhXUY7gP5bMicw03jFAVU3+6jZ90iGM82IoXw== +"ref-sdk@^0.1.4", "ref-sdk@^0.1.5": + "integrity" "sha512-Gr40hYT+xY+rsj47s+HHejFENWkcBNELMbi67HZ8DmTyOq8VHUhXUY7gP5bMicw03jFAVU3+6jZ90iGM82IoXw==" + "resolved" "https://registry.npmjs.org/ref-sdk/-/ref-sdk-0.1.5.tgz" + "version" "0.1.5" dependencies: "@types/big.js" "^6.1.5" "@types/bn.js" "^5.1.1" "@types/lodash" "^4.14.182" - big.js "^6.2.1" - mathjs "^9.3.0" - near-api-js "0.44.2" - ref-sdk "^0.1.4" - -regenerator-runtime@^0.13.11: - version "0.13.11" - resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz#f6dca3e7ceec20590d07ada785636a90cdca17f9" - integrity sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg== - -regex-not@^1.0.0, regex-not@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/regex-not/-/regex-not-1.0.2.tgz#1f4ece27e00b0b65e0247a6810e6a85d83a5752c" - integrity sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A== - dependencies: - extend-shallow "^3.0.2" - safe-regex "^1.1.0" - -regexp.prototype.flags@^1.4.3: - version "1.4.3" - resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.4.3.tgz#87cab30f80f66660181a3bb7bf5981a872b367ac" - integrity sha512-fjggEOO3slI6Wvgjwflkc4NFRCTZAu5CnNfBd5qOMYhWdn67nJBBu34/TkD++eeFmd8C9r9jfXJ27+nSiRkSUA== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" - functions-have-names "^1.2.2" - -regexpp@^3.0.0, regexpp@^3.1.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-3.2.0.tgz#0425a2768d8f23bad70ca4b90461fa2f1213e1b2" - integrity sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg== - -repeat-element@^1.1.2: - version "1.1.4" - resolved "https://registry.yarnpkg.com/repeat-element/-/repeat-element-1.1.4.tgz#be681520847ab58c7568ac75fbfad28ed42d39e9" - integrity sha512-LFiNfRcSu7KK3evMyYOuCzv3L10TW7yC1G2/+StMjK8Y6Vqd2MG7r/Qjw4ghtuCOjFvlnms/iMmLqpvW/ES/WQ== - -repeat-string@^1.6.1: - version "1.6.1" - resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637" - integrity sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w== - -request@^2.79.0, request@^2.85.0: - version "2.88.2" - resolved "https://registry.yarnpkg.com/request/-/request-2.88.2.tgz#d73c918731cb5a87da047e207234146f664d12b3" - integrity sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw== - dependencies: - aws-sign2 "~0.7.0" - aws4 "^1.8.0" - caseless "~0.12.0" - combined-stream "~1.0.6" - extend "~3.0.2" - forever-agent "~0.6.1" - form-data "~2.3.2" - har-validator "~5.1.3" - http-signature "~1.2.0" - is-typedarray "~1.0.0" - isstream "~0.1.2" - json-stringify-safe "~5.0.1" - mime-types "~2.1.19" - oauth-sign "~0.9.0" - performance-now "^2.1.0" - qs "~6.5.2" - safe-buffer "^5.1.2" - tough-cookie "~2.5.0" - tunnel-agent "^0.6.0" - uuid "^3.3.2" - -require-directory@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" - integrity sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q== - -require-from-string@^2.0.0, require-from-string@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/require-from-string/-/require-from-string-2.0.2.tgz#89a7fdd938261267318eafe14f9c32e598c36909" - integrity sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw== - -require-main-filename@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-1.0.1.tgz#97f717b69d48784f5f526a6c5aa8ffdda055a4d1" - integrity sha512-IqSUtOVP4ksd1C/ej5zeEh/BIP2ajqpn8c5x+q99gvcIG/Qf0cud5raVnE/Dwd0ua9TXYDoDc0RE5hBSdz22Ug== - -require-main-filename@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-2.0.0.tgz#d0b329ecc7cc0f61649f62215be69af54aa8989b" - integrity sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg== - -requires-port@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff" - integrity sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ== - -reselect-tree@^1.3.7: - version "1.3.7" - resolved "https://registry.yarnpkg.com/reselect-tree/-/reselect-tree-1.3.7.tgz#c3eca58765d9df96bae0017f6ff3504c304cdea0" - integrity sha512-kZN+C1cVJ6fFN2smSb0l4UvYZlRzttgnu183svH4NrU22cBY++ikgr2QT75Uuk4MYpv5gXSVijw4c5U6cx6GKg== - dependencies: - debug "^3.1.0" - json-pointer "^0.6.1" - reselect "^4.0.0" - -reselect@^4.0.0: - version "4.1.7" - resolved "https://registry.yarnpkg.com/reselect/-/reselect-4.1.7.tgz#56480d9ff3d3188970ee2b76527bd94a95567a42" - integrity sha512-Zu1xbUt3/OPwsXL46hvOOoQrap2azE7ZQbokq61BQfiXvhewsKDwhMeZjTX9sX0nvw1t/U5Audyn1I9P/m9z0A== - -resolve-alpn@^1.0.0, resolve-alpn@^1.2.0: - version "1.2.1" - resolved "https://registry.yarnpkg.com/resolve-alpn/-/resolve-alpn-1.2.1.tgz#b7adbdac3546aaaec20b45e7d8265927072726f9" - integrity sha512-0a1F4l73/ZFZOakJnQ3FvkJ2+gSTQWz/r2KE5OdDY0TxPm5h4GkqkWWfM47T7HsbnOtcJVEF4epCVy6u7Q3K+g== - -resolve-cwd@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/resolve-cwd/-/resolve-cwd-3.0.0.tgz#0f0075f1bb2544766cf73ba6a6e2adfebcb13f2d" - integrity sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg== - dependencies: - resolve-from "^5.0.0" - -resolve-from@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6" - integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g== - -resolve-from@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-5.0.0.tgz#c35225843df8f776df21c57557bc087e9dfdfc69" - integrity sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw== - -resolve-url@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a" - integrity sha512-ZuF55hVUQaaczgOIwqWzkEcEidmlD/xl44x1UZnhOXcYuFN2S6+rcxpG+C1N3So0wvNI3DmJICUFfu2SxhBmvg== - -resolve.exports@^1.1.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/resolve.exports/-/resolve.exports-1.1.1.tgz#05cfd5b3edf641571fd46fa608b610dda9ead999" - integrity sha512-/NtpHNDN7jWhAaQ9BvBUYZ6YTXsRBgfqWFWP7BZBaoMJO/I3G5OFzvTuWNlZC3aPjins1F+TNrLKsGbH4rfsRQ== - -resolve@1.17.0: - version "1.17.0" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.17.0.tgz#b25941b54968231cc2d1bb76a79cb7f2c0bf8444" - integrity sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w== - dependencies: - path-parse "^1.0.6" - -resolve@^1.1.6, resolve@^1.10.1, resolve@^1.20.0, resolve@^1.22.1: - version "1.22.1" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.1.tgz#27cb2ebb53f91abb49470a928bba7558066ac177" - integrity sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw== - dependencies: - is-core-module "^2.9.0" - path-parse "^1.0.7" - supports-preserve-symlinks-flag "^1.0.0" - -response-iterator@^0.2.6: - version "0.2.6" - resolved "https://registry.yarnpkg.com/response-iterator/-/response-iterator-0.2.6.tgz#249005fb14d2e4eeb478a3f735a28fd8b4c9f3da" - integrity sha512-pVzEEzrsg23Sh053rmDUvLSkGXluZio0qu8VT6ukrYuvtjVfCbDZH9d6PGXb8HZfzdNZt8feXv/jvUzlhRgLnw== - -responselike@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/responselike/-/responselike-1.0.2.tgz#918720ef3b631c5642be068f15ade5a46f4ba1e7" - integrity sha512-/Fpe5guzJk1gPqdJLJR5u7eG/gNY4nImjbRDaVWVMRhne55TCmj2i9Q+54PBRfatRC8v/rIiv9BN0pMd9OV5EQ== - dependencies: - lowercase-keys "^1.0.0" - -responselike@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/responselike/-/responselike-2.0.1.tgz#9a0bc8fdc252f3fb1cca68b016591059ba1422bc" - integrity sha512-4gl03wn3hj1HP3yzgdI7d3lCkF95F21Pz4BPGvKHinyQzALR5CapwC8yIi0Rh58DEMQ/SguC03wFj2k0M/mHhw== - dependencies: - lowercase-keys "^2.0.0" - -restore-cursor@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-3.1.0.tgz#39f67c54b3a7a58cea5236d95cf0034239631f7e" - integrity sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA== - dependencies: - onetime "^5.1.0" - signal-exit "^3.0.2" - -ret@~0.1.10: - version "0.1.15" - resolved "https://registry.yarnpkg.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc" - integrity sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg== - -retry@0.13.1: - version "0.13.1" - resolved "https://registry.yarnpkg.com/retry/-/retry-0.13.1.tgz#185b1587acf67919d63b357349e03537b2484658" - integrity sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg== - -retry@^0.12.0: - version "0.12.0" - resolved "https://registry.yarnpkg.com/retry/-/retry-0.12.0.tgz#1b42a6266a21f07421d1b0b54b7dc167b01c013b" - integrity sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow== - -reusify@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76" - integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw== - -rimraf@^2.2.8: - version "2.7.1" - resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec" - integrity sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w== - dependencies: - glob "^7.1.3" - -rimraf@^3.0.0, rimraf@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" - integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== - dependencies: - glob "^7.1.3" - -rimraf@~2.4.0: - version "2.4.5" - resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.4.5.tgz#ee710ce5d93a8fdb856fb5ea8ff0e2d75934b2da" - integrity sha512-J5xnxTyqaiw06JjMftq7L9ouA448dw/E7dKghkP9WpKNuwmARNNg+Gk8/u5ryb9N/Yo2+z3MCwuqFK/+qPOPfQ== - dependencies: - glob "^6.0.1" - -ripemd160@^2.0.0, ripemd160@^2.0.1, ripemd160@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/ripemd160/-/ripemd160-2.0.2.tgz#a1c1a6f624751577ba5d07914cbc92850585890c" - integrity sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA== - dependencies: - hash-base "^3.0.0" - inherits "^2.0.1" - -ripple-address-codec@^4.1.1, ripple-address-codec@^4.2.5: - version "4.2.5" - resolved "https://registry.yarnpkg.com/ripple-address-codec/-/ripple-address-codec-4.2.5.tgz#9d31b2066abd4cf1a135cd865b4e8e63269701e7" - integrity sha512-SZ96zZH+0REeyEcYVFl0vqcsGRXiFXS2RUgHupHhtVkOEk6men53vngVjJwBrSnY+oa6Cri15q1zSni3DEoxNw== - dependencies: - base-x "^3.0.9" - create-hash "^1.1.2" - -ripple-binary-codec@^1.1.3: - version "1.4.3" - resolved "https://registry.yarnpkg.com/ripple-binary-codec/-/ripple-binary-codec-1.4.3.tgz#4737044f2aa5da496c1d57619339f26df01cd494" - integrity sha512-P4ALjAJWBJpRApTQO+dJCrHE6mZxm7ypZot9OS0a3RCKOWTReNw0pDWfdhCGh1qXh71TeQnAk4CHdMLwR/76oQ== - dependencies: - assert "^2.0.0" - big-integer "^1.6.48" - buffer "5.6.0" - create-hash "^1.2.0" - decimal.js "^10.2.0" - ripple-address-codec "^4.2.5" - -ripple-keypairs@^1.0.3: - version "1.1.5" - resolved "https://registry.yarnpkg.com/ripple-keypairs/-/ripple-keypairs-1.1.5.tgz#eabfc371f2ef293fdc462664e18cbba32c4f5c7e" - integrity sha512-wLJXIBsMVazn2Yp/7oP4PvgA4Gd1HtuZLftdEJFNOLgraf82phqa2AnNK3t9f3XeQnApW1jAe/FcFFOY6QUn5w== - dependencies: - bn.js "^5.1.1" - brorand "^1.0.5" - elliptic "^6.5.4" - hash.js "^1.0.3" - ripple-address-codec "^4.2.5" - -ripple-lib-transactionparser@0.8.2: - version "0.8.2" - resolved "https://registry.yarnpkg.com/ripple-lib-transactionparser/-/ripple-lib-transactionparser-0.8.2.tgz#7aaad3ba1e1aeee1d5bcff32334a7a838f834dce" - integrity sha512-1teosQLjYHLyOQrKUQfYyMjDR3MAq/Ga+MJuLUfpBMypl4LZB4bEoMcmG99/+WVTEiZOezJmH9iCSvm/MyxD+g== - dependencies: - bignumber.js "^9.0.0" - lodash "^4.17.15" - -ripple-lib@^1.10.1: - version "1.10.1" - resolved "https://registry.yarnpkg.com/ripple-lib/-/ripple-lib-1.10.1.tgz#9c353702792b25465cdb269265d6f5bb27b1471b" - integrity sha512-OQk+Syl2JfxKxV2KuF/kBMtnh012I5tNnziP3G4WDGCGSIAgeqkOgkR59IQ0YDNrs1YW8GbApxrdMSRi/QClcA== + "big.js" "^6.2.1" + "mathjs" "^9.3.0" + "near-api-js" "0.44.2" + "ref-sdk" "^0.1.4" + +"regenerator-runtime@^0.13.11": + "integrity" "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==" + "resolved" "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz" + "version" "0.13.11" + +"regex-not@^1.0.0", "regex-not@^1.0.2": + "integrity" "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==" + "resolved" "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz" + "version" "1.0.2" + dependencies: + "extend-shallow" "^3.0.2" + "safe-regex" "^1.1.0" + +"regexp.prototype.flags@^1.4.3": + "integrity" "sha512-fjggEOO3slI6Wvgjwflkc4NFRCTZAu5CnNfBd5qOMYhWdn67nJBBu34/TkD++eeFmd8C9r9jfXJ27+nSiRkSUA==" + "resolved" "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.4.3.tgz" + "version" "1.4.3" + dependencies: + "call-bind" "^1.0.2" + "define-properties" "^1.1.3" + "functions-have-names" "^1.2.2" + +"regexpp@^3.0.0", "regexpp@^3.1.0": + "integrity" "sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==" + "resolved" "https://registry.npmjs.org/regexpp/-/regexpp-3.2.0.tgz" + "version" "3.2.0" + +"repeat-element@^1.1.2": + "integrity" "sha512-LFiNfRcSu7KK3evMyYOuCzv3L10TW7yC1G2/+StMjK8Y6Vqd2MG7r/Qjw4ghtuCOjFvlnms/iMmLqpvW/ES/WQ==" + "resolved" "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.4.tgz" + "version" "1.1.4" + +"repeat-string@^1.6.1": + "integrity" "sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w==" + "resolved" "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz" + "version" "1.6.1" + +"request@^2.79.0", "request@^2.85.0": + "integrity" "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==" + "resolved" "https://registry.npmjs.org/request/-/request-2.88.2.tgz" + "version" "2.88.2" + dependencies: + "aws-sign2" "~0.7.0" + "aws4" "^1.8.0" + "caseless" "~0.12.0" + "combined-stream" "~1.0.6" + "extend" "~3.0.2" + "forever-agent" "~0.6.1" + "form-data" "~2.3.2" + "har-validator" "~5.1.3" + "http-signature" "~1.2.0" + "is-typedarray" "~1.0.0" + "isstream" "~0.1.2" + "json-stringify-safe" "~5.0.1" + "mime-types" "~2.1.19" + "oauth-sign" "~0.9.0" + "performance-now" "^2.1.0" + "qs" "~6.5.2" + "safe-buffer" "^5.1.2" + "tough-cookie" "~2.5.0" + "tunnel-agent" "^0.6.0" + "uuid" "^3.3.2" + +"require-directory@^2.1.1": + "integrity" "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==" + "resolved" "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz" + "version" "2.1.1" + +"require-from-string@^2.0.0", "require-from-string@^2.0.2": + "integrity" "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==" + "resolved" "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz" + "version" "2.0.2" + +"require-main-filename@^1.0.1": + "integrity" "sha512-IqSUtOVP4ksd1C/ej5zeEh/BIP2ajqpn8c5x+q99gvcIG/Qf0cud5raVnE/Dwd0ua9TXYDoDc0RE5hBSdz22Ug==" + "resolved" "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz" + "version" "1.0.1" + +"require-main-filename@^2.0.0": + "integrity" "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==" + "resolved" "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz" + "version" "2.0.0" + +"requires-port@^1.0.0": + "integrity" "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==" + "resolved" "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz" + "version" "1.0.0" + +"reselect-tree@^1.3.7": + "integrity" "sha512-kZN+C1cVJ6fFN2smSb0l4UvYZlRzttgnu183svH4NrU22cBY++ikgr2QT75Uuk4MYpv5gXSVijw4c5U6cx6GKg==" + "resolved" "https://registry.npmjs.org/reselect-tree/-/reselect-tree-1.3.7.tgz" + "version" "1.3.7" + dependencies: + "debug" "^3.1.0" + "json-pointer" "^0.6.1" + "reselect" "^4.0.0" + +"reselect@^4.0.0": + "integrity" "sha512-Zu1xbUt3/OPwsXL46hvOOoQrap2azE7ZQbokq61BQfiXvhewsKDwhMeZjTX9sX0nvw1t/U5Audyn1I9P/m9z0A==" + "resolved" "https://registry.npmjs.org/reselect/-/reselect-4.1.7.tgz" + "version" "4.1.7" + +"resolve-alpn@^1.0.0", "resolve-alpn@^1.2.0": + "integrity" "sha512-0a1F4l73/ZFZOakJnQ3FvkJ2+gSTQWz/r2KE5OdDY0TxPm5h4GkqkWWfM47T7HsbnOtcJVEF4epCVy6u7Q3K+g==" + "resolved" "https://registry.npmjs.org/resolve-alpn/-/resolve-alpn-1.2.1.tgz" + "version" "1.2.1" + +"resolve-cwd@^3.0.0": + "integrity" "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==" + "resolved" "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz" + "version" "3.0.0" + dependencies: + "resolve-from" "^5.0.0" + +"resolve-from@^4.0.0": + "integrity" "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==" + "resolved" "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz" + "version" "4.0.0" + +"resolve-from@^5.0.0": + "integrity" "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==" + "resolved" "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz" + "version" "5.0.0" + +"resolve-url@^0.2.1": + "integrity" "sha512-ZuF55hVUQaaczgOIwqWzkEcEidmlD/xl44x1UZnhOXcYuFN2S6+rcxpG+C1N3So0wvNI3DmJICUFfu2SxhBmvg==" + "resolved" "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz" + "version" "0.2.1" + +"resolve.exports@^1.1.0": + "integrity" "sha512-/NtpHNDN7jWhAaQ9BvBUYZ6YTXsRBgfqWFWP7BZBaoMJO/I3G5OFzvTuWNlZC3aPjins1F+TNrLKsGbH4rfsRQ==" + "resolved" "https://registry.npmjs.org/resolve.exports/-/resolve.exports-1.1.1.tgz" + "version" "1.1.1" + +"resolve@^1.1.6", "resolve@^1.10.1", "resolve@^1.20.0", "resolve@^1.22.1": + "integrity" "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==" + "resolved" "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz" + "version" "1.22.1" + dependencies: + "is-core-module" "^2.9.0" + "path-parse" "^1.0.7" + "supports-preserve-symlinks-flag" "^1.0.0" + +"resolve@1.17.0": + "integrity" "sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==" + "resolved" "https://registry.npmjs.org/resolve/-/resolve-1.17.0.tgz" + "version" "1.17.0" + dependencies: + "path-parse" "^1.0.6" + +"response-iterator@^0.2.6": + "integrity" "sha512-pVzEEzrsg23Sh053rmDUvLSkGXluZio0qu8VT6ukrYuvtjVfCbDZH9d6PGXb8HZfzdNZt8feXv/jvUzlhRgLnw==" + "resolved" "https://registry.npmjs.org/response-iterator/-/response-iterator-0.2.6.tgz" + "version" "0.2.6" + +"responselike@^1.0.2": + "integrity" "sha512-/Fpe5guzJk1gPqdJLJR5u7eG/gNY4nImjbRDaVWVMRhne55TCmj2i9Q+54PBRfatRC8v/rIiv9BN0pMd9OV5EQ==" + "resolved" "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz" + "version" "1.0.2" + dependencies: + "lowercase-keys" "^1.0.0" + +"responselike@^2.0.0": + "integrity" "sha512-4gl03wn3hj1HP3yzgdI7d3lCkF95F21Pz4BPGvKHinyQzALR5CapwC8yIi0Rh58DEMQ/SguC03wFj2k0M/mHhw==" + "resolved" "https://registry.npmjs.org/responselike/-/responselike-2.0.1.tgz" + "version" "2.0.1" + dependencies: + "lowercase-keys" "^2.0.0" + +"restore-cursor@^3.1.0": + "integrity" "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==" + "resolved" "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz" + "version" "3.1.0" + dependencies: + "onetime" "^5.1.0" + "signal-exit" "^3.0.2" + +"ret@~0.1.10": + "integrity" "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==" + "resolved" "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz" + "version" "0.1.15" + +"retry@^0.12.0": + "integrity" "sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==" + "resolved" "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz" + "version" "0.12.0" + +"retry@0.13.1": + "integrity" "sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg==" + "resolved" "https://registry.npmjs.org/retry/-/retry-0.13.1.tgz" + "version" "0.13.1" + +"reusify@^1.0.4": + "integrity" "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==" + "resolved" "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz" + "version" "1.0.4" + +"rimraf@^2.2.8": + "integrity" "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==" + "resolved" "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz" + "version" "2.7.1" + dependencies: + "glob" "^7.1.3" + +"rimraf@^3.0.0", "rimraf@^3.0.2": + "integrity" "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==" + "resolved" "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz" + "version" "3.0.2" + dependencies: + "glob" "^7.1.3" + +"rimraf@~2.4.0": + "integrity" "sha512-J5xnxTyqaiw06JjMftq7L9ouA448dw/E7dKghkP9WpKNuwmARNNg+Gk8/u5ryb9N/Yo2+z3MCwuqFK/+qPOPfQ==" + "resolved" "https://registry.npmjs.org/rimraf/-/rimraf-2.4.5.tgz" + "version" "2.4.5" + dependencies: + "glob" "^6.0.1" + +"ripemd160@^2.0.0", "ripemd160@^2.0.1", "ripemd160@^2.0.2": + "integrity" "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==" + "resolved" "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz" + "version" "2.0.2" + dependencies: + "hash-base" "^3.0.0" + "inherits" "^2.0.1" + +"ripple-address-codec@^4.1.1", "ripple-address-codec@^4.2.5": + "integrity" "sha512-SZ96zZH+0REeyEcYVFl0vqcsGRXiFXS2RUgHupHhtVkOEk6men53vngVjJwBrSnY+oa6Cri15q1zSni3DEoxNw==" + "resolved" "https://registry.npmjs.org/ripple-address-codec/-/ripple-address-codec-4.2.5.tgz" + "version" "4.2.5" + dependencies: + "base-x" "^3.0.9" + "create-hash" "^1.1.2" + +"ripple-binary-codec@^1.1.3": + "integrity" "sha512-P4ALjAJWBJpRApTQO+dJCrHE6mZxm7ypZot9OS0a3RCKOWTReNw0pDWfdhCGh1qXh71TeQnAk4CHdMLwR/76oQ==" + "resolved" "https://registry.npmjs.org/ripple-binary-codec/-/ripple-binary-codec-1.4.3.tgz" + "version" "1.4.3" + dependencies: + "assert" "^2.0.0" + "big-integer" "^1.6.48" + "buffer" "5.6.0" + "create-hash" "^1.2.0" + "decimal.js" "^10.2.0" + "ripple-address-codec" "^4.2.5" + +"ripple-keypairs@^1.0.3": + "integrity" "sha512-wLJXIBsMVazn2Yp/7oP4PvgA4Gd1HtuZLftdEJFNOLgraf82phqa2AnNK3t9f3XeQnApW1jAe/FcFFOY6QUn5w==" + "resolved" "https://registry.npmjs.org/ripple-keypairs/-/ripple-keypairs-1.1.5.tgz" + "version" "1.1.5" + dependencies: + "bn.js" "^5.1.1" + "brorand" "^1.0.5" + "elliptic" "^6.5.4" + "hash.js" "^1.0.3" + "ripple-address-codec" "^4.2.5" + +"ripple-lib-transactionparser@0.8.2": + "integrity" "sha512-1teosQLjYHLyOQrKUQfYyMjDR3MAq/Ga+MJuLUfpBMypl4LZB4bEoMcmG99/+WVTEiZOezJmH9iCSvm/MyxD+g==" + "resolved" "https://registry.npmjs.org/ripple-lib-transactionparser/-/ripple-lib-transactionparser-0.8.2.tgz" + "version" "0.8.2" + dependencies: + "bignumber.js" "^9.0.0" + "lodash" "^4.17.15" + +"ripple-lib@^1.10.1": + "integrity" "sha512-OQk+Syl2JfxKxV2KuF/kBMtnh012I5tNnziP3G4WDGCGSIAgeqkOgkR59IQ0YDNrs1YW8GbApxrdMSRi/QClcA==" + "resolved" "https://registry.npmjs.org/ripple-lib/-/ripple-lib-1.10.1.tgz" + "version" "1.10.1" dependencies: "@types/lodash" "^4.14.136" "@types/ws" "^7.2.0" - bignumber.js "^9.0.0" - https-proxy-agent "^5.0.0" - jsonschema "1.2.2" - lodash "^4.17.4" - ripple-address-codec "^4.1.1" - ripple-binary-codec "^1.1.3" - ripple-keypairs "^1.0.3" - ripple-lib-transactionparser "0.8.2" - ws "^7.2.0" - -rlp@^2.0.0, rlp@^2.2.3, rlp@^2.2.4: - version "2.2.7" - resolved "https://registry.yarnpkg.com/rlp/-/rlp-2.2.7.tgz#33f31c4afac81124ac4b283e2bd4d9720b30beaf" - integrity sha512-d5gdPmgQ0Z+AklL2NVXr/IoSjNZFfTVvQWzL/AM2AOcSzYP2xjlb0AC8YyCLc41MSNf6P6QVtjgPdmVtzb+4lQ== - dependencies: - bn.js "^5.2.0" - -rpc-websockets@^7.5.1: - version "7.5.1" - resolved "https://registry.yarnpkg.com/rpc-websockets/-/rpc-websockets-7.5.1.tgz#e0a05d525a97e7efc31a0617f093a13a2e10c401" - integrity sha512-kGFkeTsmd37pHPMaHIgN1LVKXMi0JD782v4Ds9ZKtLlwdTKjn+CxM9A9/gLT2LaOuEcEFGL98h1QWQtlOIdW0w== + "bignumber.js" "^9.0.0" + "https-proxy-agent" "^5.0.0" + "jsonschema" "1.2.2" + "lodash" "^4.17.4" + "ripple-address-codec" "^4.1.1" + "ripple-binary-codec" "^1.1.3" + "ripple-keypairs" "^1.0.3" + "ripple-lib-transactionparser" "0.8.2" + "ws" "^7.2.0" + +"rlp@^2.0.0", "rlp@^2.2.3", "rlp@^2.2.4": + "integrity" "sha512-d5gdPmgQ0Z+AklL2NVXr/IoSjNZFfTVvQWzL/AM2AOcSzYP2xjlb0AC8YyCLc41MSNf6P6QVtjgPdmVtzb+4lQ==" + "resolved" "https://registry.npmjs.org/rlp/-/rlp-2.2.7.tgz" + "version" "2.2.7" + dependencies: + "bn.js" "^5.2.0" + +"rpc-websockets@^7.5.1": + "integrity" "sha512-kGFkeTsmd37pHPMaHIgN1LVKXMi0JD782v4Ds9ZKtLlwdTKjn+CxM9A9/gLT2LaOuEcEFGL98h1QWQtlOIdW0w==" + "resolved" "https://registry.npmjs.org/rpc-websockets/-/rpc-websockets-7.5.1.tgz" + "version" "7.5.1" dependencies: "@babel/runtime" "^7.17.2" - eventemitter3 "^4.0.7" - uuid "^8.3.2" - ws "^8.5.0" + "eventemitter3" "^4.0.7" + "uuid" "^8.3.2" + "ws" "^8.5.0" optionalDependencies: - bufferutil "^4.0.1" - utf-8-validate "^5.0.2" + "bufferutil" "^4.0.1" + "utf-8-validate" "^5.0.2" -rtcpeerconnection-shim@^1.2.15: - version "1.2.15" - resolved "https://registry.yarnpkg.com/rtcpeerconnection-shim/-/rtcpeerconnection-shim-1.2.15.tgz#e7cc189a81b435324c4949aa3dfb51888684b243" - integrity sha512-C6DxhXt7bssQ1nHb154lqeL0SXz5Dx4RczXZu2Aa/L1NJFnEVDxFwCBo3fqtuljhHIGceg5JKBV4XJ0gW5JKyw== +"rtcpeerconnection-shim@^1.2.15": + "integrity" "sha512-C6DxhXt7bssQ1nHb154lqeL0SXz5Dx4RczXZu2Aa/L1NJFnEVDxFwCBo3fqtuljhHIGceg5JKBV4XJ0gW5JKyw==" + "resolved" "https://registry.npmjs.org/rtcpeerconnection-shim/-/rtcpeerconnection-shim-1.2.15.tgz" + "version" "1.2.15" dependencies: - sdp "^2.6.0" + "sdp" "^2.6.0" -run-parallel-limit@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/run-parallel-limit/-/run-parallel-limit-1.1.0.tgz#be80e936f5768623a38a963262d6bef8ff11e7ba" - integrity sha512-jJA7irRNM91jaKc3Hcl1npHsFLOXOoTkPCUL1JEa1R82O2miplXXRaGdjW/KM/98YQWDhJLiSs793CnXfblJUw== +"run-parallel-limit@^1.1.0": + "integrity" "sha512-jJA7irRNM91jaKc3Hcl1npHsFLOXOoTkPCUL1JEa1R82O2miplXXRaGdjW/KM/98YQWDhJLiSs793CnXfblJUw==" + "resolved" "https://registry.npmjs.org/run-parallel-limit/-/run-parallel-limit-1.1.0.tgz" + "version" "1.1.0" dependencies: - queue-microtask "^1.2.2" + "queue-microtask" "^1.2.2" -run-parallel@^1.1.9: - version "1.2.0" - resolved "https://registry.yarnpkg.com/run-parallel/-/run-parallel-1.2.0.tgz#66d1368da7bdf921eb9d95bd1a9229e7f21a43ee" - integrity sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA== +"run-parallel@^1.1.9": + "integrity" "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==" + "resolved" "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz" + "version" "1.2.0" dependencies: - queue-microtask "^1.2.2" + "queue-microtask" "^1.2.2" -rustbn.js@~0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/rustbn.js/-/rustbn.js-0.2.0.tgz#8082cb886e707155fd1cb6f23bd591ab8d55d0ca" - integrity sha512-4VlvkRUuCJvr2J6Y0ImW7NvTCriMi7ErOAqWk1y69vAdoNIzCF3yPmgeNzx+RQTLEDFq5sHfscn1MwHxP9hNfA== +"rustbn.js@~0.2.0": + "integrity" "sha512-4VlvkRUuCJvr2J6Y0ImW7NvTCriMi7ErOAqWk1y69vAdoNIzCF3yPmgeNzx+RQTLEDFq5sHfscn1MwHxP9hNfA==" + "resolved" "https://registry.npmjs.org/rustbn.js/-/rustbn.js-0.2.0.tgz" + "version" "0.2.0" -rxjs@6, rxjs@^6.6.3: - version "6.6.7" - resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.6.7.tgz#90ac018acabf491bf65044235d5863c4dab804c9" - integrity sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ== +"rxjs@^6.6.3": + "integrity" "sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ==" + "resolved" "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz" + "version" "6.6.7" dependencies: - tslib "^1.9.0" + "tslib" "^1.9.0" -rxjs@^7.4.0, rxjs@^7.8.0: - version "7.8.0" - resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-7.8.0.tgz#90a938862a82888ff4c7359811a595e14e1e09a4" - integrity sha512-F2+gxDshqmIub1KdvZkaEfGDwLNpPvk9Fs6LD/MyQxNgMds/WH9OdDDXOmxUZpME+iSK3rQCctkL0DYyytUqMg== +"rxjs@^7.4.0", "rxjs@^7.8.0": + "integrity" "sha512-F2+gxDshqmIub1KdvZkaEfGDwLNpPvk9Fs6LD/MyQxNgMds/WH9OdDDXOmxUZpME+iSK3rQCctkL0DYyytUqMg==" + "resolved" "https://registry.npmjs.org/rxjs/-/rxjs-7.8.0.tgz" + "version" "7.8.0" dependencies: - tslib "^2.1.0" + "tslib" "^2.1.0" -rxjs@^7.8.1: - version "7.8.1" - resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-7.8.1.tgz#6f6f3d99ea8044291efd92e7c7fcf562c4057543" - integrity sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg== +"rxjs@^7.8.1": + "integrity" "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==" + "resolved" "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz" + "version" "7.8.1" dependencies: - tslib "^2.1.0" + "tslib" "^2.1.0" -safe-buffer@5.1.2, safe-buffer@~5.1.0, safe-buffer@~5.1.1: - version "5.1.2" - resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" - integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== +"rxjs@6": + "integrity" "sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ==" + "resolved" "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz" + "version" "6.6.7" + dependencies: + "tslib" "^1.9.0" + +"safe-buffer@^5.0.1", "safe-buffer@^5.1.0", "safe-buffer@^5.1.1", "safe-buffer@^5.1.2", "safe-buffer@^5.2.0", "safe-buffer@^5.2.1", "safe-buffer@~5.2.0", "safe-buffer@5.2.1": + "integrity" "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" + "resolved" "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz" + "version" "5.2.1" -safe-buffer@5.2.1, safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@^5.2.1, safe-buffer@~5.2.0: - version "5.2.1" - resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" - integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== +"safe-buffer@~5.1.0", "safe-buffer@~5.1.1": + "integrity" "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + "resolved" "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz" + "version" "5.1.2" -safe-json-stringify@~1: - version "1.2.0" - resolved "https://registry.yarnpkg.com/safe-json-stringify/-/safe-json-stringify-1.2.0.tgz#356e44bc98f1f93ce45df14bcd7c01cda86e0afd" - integrity sha512-gH8eh2nZudPQO6TytOvbxnuhYBOvDBBLW52tz5q6X58lJcd/tkmqFR+5Z9adS8aJtURSXWThWy/xJtJwixErvg== +"safe-buffer@5.1.2": + "integrity" "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + "resolved" "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz" + "version" "5.1.2" -safe-json-utils@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/safe-json-utils/-/safe-json-utils-1.1.1.tgz#0e883874467d95ab914c3f511096b89bfb3e63b1" - integrity sha512-SAJWGKDs50tAbiDXLf89PDwt9XYkWyANFWVzn4dTXl5QyI8t2o/bW5/OJl3lvc2WVU4MEpTo9Yz5NVFNsp+OJQ== +"safe-json-stringify@~1": + "integrity" "sha512-gH8eh2nZudPQO6TytOvbxnuhYBOvDBBLW52tz5q6X58lJcd/tkmqFR+5Z9adS8aJtURSXWThWy/xJtJwixErvg==" + "resolved" "https://registry.npmjs.org/safe-json-stringify/-/safe-json-stringify-1.2.0.tgz" + "version" "1.2.0" -safe-regex-test@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/safe-regex-test/-/safe-regex-test-1.0.0.tgz#793b874d524eb3640d1873aad03596db2d4f2295" - integrity sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA== +"safe-json-utils@^1.1.1": + "integrity" "sha512-SAJWGKDs50tAbiDXLf89PDwt9XYkWyANFWVzn4dTXl5QyI8t2o/bW5/OJl3lvc2WVU4MEpTo9Yz5NVFNsp+OJQ==" + "resolved" "https://registry.npmjs.org/safe-json-utils/-/safe-json-utils-1.1.1.tgz" + "version" "1.1.1" + +"safe-regex-test@^1.0.0": + "integrity" "sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==" + "resolved" "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.0.tgz" + "version" "1.0.0" dependencies: - call-bind "^1.0.2" - get-intrinsic "^1.1.3" - is-regex "^1.1.4" + "call-bind" "^1.0.2" + "get-intrinsic" "^1.1.3" + "is-regex" "^1.1.4" -safe-regex@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/safe-regex/-/safe-regex-1.1.0.tgz#40a3669f3b077d1e943d44629e157dd48023bf2e" - integrity sha512-aJXcif4xnaNUzvUuC5gcb46oTS7zvg4jpMTnuqtrEPlR3vFr4pxtdTwaF1Qs3Enjn9HK+ZlwQui+a7z0SywIzg== +"safe-regex@^1.1.0": + "integrity" "sha512-aJXcif4xnaNUzvUuC5gcb46oTS7zvg4jpMTnuqtrEPlR3vFr4pxtdTwaF1Qs3Enjn9HK+ZlwQui+a7z0SywIzg==" + "resolved" "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz" + "version" "1.1.0" dependencies: - ret "~0.1.10" + "ret" "~0.1.10" -safe-stable-stringify@^2.1.0, safe-stable-stringify@^2.3.1: - version "2.4.3" - resolved "https://registry.yarnpkg.com/safe-stable-stringify/-/safe-stable-stringify-2.4.3.tgz#138c84b6f6edb3db5f8ef3ef7115b8f55ccbf886" - integrity sha512-e2bDA2WJT0wxseVd4lsDP4+3ONX6HpMXQa1ZhFQ7SU+GjvORCmShbCMltrtIDfkYhVHrOcPtj+KhmDBdPdZD1g== +"safe-stable-stringify@^2.1.0", "safe-stable-stringify@^2.3.1": + "integrity" "sha512-e2bDA2WJT0wxseVd4lsDP4+3ONX6HpMXQa1ZhFQ7SU+GjvORCmShbCMltrtIDfkYhVHrOcPtj+KhmDBdPdZD1g==" + "resolved" "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.4.3.tgz" + "version" "2.4.3" -"safer-buffer@>= 2.1.2 < 3", safer-buffer@^2.0.2, safer-buffer@^2.1.0, safer-buffer@~2.1.0: - version "2.1.2" - resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" - integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== +"safer-buffer@^2.0.2", "safer-buffer@^2.1.0", "safer-buffer@>= 2.1.2 < 3", "safer-buffer@~2.1.0": + "integrity" "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + "resolved" "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz" + "version" "2.1.2" -salmon-adapter-sdk@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/salmon-adapter-sdk/-/salmon-adapter-sdk-1.1.1.tgz#d5fdd2d27b1a6c58e38c188c977eeeeface8b20c" - integrity sha512-28ysSzmDjx2AbotxSggqdclh9MCwlPJUldKkCph48oS5Xtwu0QOg8T9ZRHS2Mben4Y8sTq6VvxXznKssCYFBJA== +"salmon-adapter-sdk@^1.1.1": + "integrity" "sha512-28ysSzmDjx2AbotxSggqdclh9MCwlPJUldKkCph48oS5Xtwu0QOg8T9ZRHS2Mben4Y8sTq6VvxXznKssCYFBJA==" + "resolved" "https://registry.npmjs.org/salmon-adapter-sdk/-/salmon-adapter-sdk-1.1.1.tgz" + "version" "1.1.1" dependencies: "@project-serum/sol-wallet-adapter" "^0.2.6" - eventemitter3 "^4.0.7" + "eventemitter3" "^4.0.7" -sax@>=0.6.0: - version "1.2.4" - resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9" - integrity sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw== +"sax@>=0.6.0": + "integrity" "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==" + "resolved" "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz" + "version" "1.2.4" -saxes@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/saxes/-/saxes-5.0.1.tgz#eebab953fa3b7608dbe94e5dadb15c888fa6696d" - integrity sha512-5LBh1Tls8c9xgGjw3QrMwETmTMVk0oFgvrFSvWx62llR2hcEInrKNZ2GZCCuuy2lvWrdl5jhbpeqc5hRYKFOcw== +"saxes@^5.0.1": + "integrity" "sha512-5LBh1Tls8c9xgGjw3QrMwETmTMVk0oFgvrFSvWx62llR2hcEInrKNZ2GZCCuuy2lvWrdl5jhbpeqc5hRYKFOcw==" + "resolved" "https://registry.npmjs.org/saxes/-/saxes-5.0.1.tgz" + "version" "5.0.1" dependencies: - xmlchars "^2.2.0" + "xmlchars" "^2.2.0" -scheduler@^0.19.1: - version "0.19.1" - resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.19.1.tgz#4f3e2ed2c1a7d65681f4c854fa8c5a1ccb40f196" - integrity sha512-n/zwRWRYSUj0/3g/otKDRPMh6qv2SYMWNq85IEa8iZyAv8od9zDYpGSnpBEjNgcMNq6Scbu5KfIPxNF72R/2EA== +"scheduler@^0.19.1": + "integrity" "sha512-n/zwRWRYSUj0/3g/otKDRPMh6qv2SYMWNq85IEa8iZyAv8od9zDYpGSnpBEjNgcMNq6Scbu5KfIPxNF72R/2EA==" + "resolved" "https://registry.npmjs.org/scheduler/-/scheduler-0.19.1.tgz" + "version" "0.19.1" dependencies: - loose-envify "^1.1.0" - object-assign "^4.1.1" + "loose-envify" "^1.1.0" + "object-assign" "^4.1.1" -scheduler@^0.23.0: - version "0.23.0" - resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.23.0.tgz#ba8041afc3d30eb206a487b6b384002e4e61fdfe" - integrity sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw== +"scheduler@^0.23.0": + "integrity" "sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==" + "resolved" "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz" + "version" "0.23.0" dependencies: - loose-envify "^1.1.0" + "loose-envify" "^1.1.0" -scrypt-js@2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/scrypt-js/-/scrypt-js-2.0.3.tgz#bb0040be03043da9a012a2cea9fc9f852cfc87d4" - integrity sha512-d8DzQxNivoNDogyYmb/9RD5mEQE/Q7vG2dLDUgvfPmKL9xCVzgqUntOdS0me9Cq9Sh9VxIZuoNEFcsfyXRnyUw== +"scrypt-js@^3.0.0", "scrypt-js@^3.0.1", "scrypt-js@3.0.1": + "integrity" "sha512-cdwTTnqPu0Hyvf5in5asVdZocVDTNRmR7XEcJuIzMjJeSHybHl7vpB66AzwTaIg6CLSbtjcxc8fqcySfnTkccA==" + "resolved" "https://registry.npmjs.org/scrypt-js/-/scrypt-js-3.0.1.tgz" + "version" "3.0.1" -scrypt-js@2.0.4: - version "2.0.4" - resolved "https://registry.yarnpkg.com/scrypt-js/-/scrypt-js-2.0.4.tgz#32f8c5149f0797672e551c07e230f834b6af5f16" - integrity sha512-4KsaGcPnuhtCZQCxFxN3GVYIhKFPTdLd8PLC552XwbMndtD0cjRFAhDuuydXQ0h08ZfPgzqe6EKHozpuH74iDw== +"scrypt-js@2.0.3": + "integrity" "sha512-d8DzQxNivoNDogyYmb/9RD5mEQE/Q7vG2dLDUgvfPmKL9xCVzgqUntOdS0me9Cq9Sh9VxIZuoNEFcsfyXRnyUw==" + "resolved" "https://registry.npmjs.org/scrypt-js/-/scrypt-js-2.0.3.tgz" + "version" "2.0.3" -scrypt-js@3.0.1, scrypt-js@^3.0.0, scrypt-js@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/scrypt-js/-/scrypt-js-3.0.1.tgz#d314a57c2aef69d1ad98a138a21fe9eafa9ee312" - integrity sha512-cdwTTnqPu0Hyvf5in5asVdZocVDTNRmR7XEcJuIzMjJeSHybHl7vpB66AzwTaIg6CLSbtjcxc8fqcySfnTkccA== +"scrypt-js@2.0.4": + "integrity" "sha512-4KsaGcPnuhtCZQCxFxN3GVYIhKFPTdLd8PLC552XwbMndtD0cjRFAhDuuydXQ0h08ZfPgzqe6EKHozpuH74iDw==" + "resolved" "https://registry.npmjs.org/scrypt-js/-/scrypt-js-2.0.4.tgz" + "version" "2.0.4" "scrypt-shim@github:web3-js/scrypt-shim": - version "0.1.0" - resolved "https://codeload.github.com/web3-js/scrypt-shim/tar.gz/aafdadda13e660e25e1c525d1f5b2443f5eb1ebb" - dependencies: - scryptsy "^2.1.0" - semver "^6.3.0" - -scryptsy@2.1.0, scryptsy@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/scryptsy/-/scryptsy-2.1.0.tgz#8d1e8d0c025b58fdd25b6fa9a0dc905ee8faa790" - integrity sha512-1CdSqHQowJBnMAFyPEBRfqag/YP9OF394FV+4YREIJX4ljD7OxvQRDayyoyyCk+senRjSkP6VnUNQmVQqB6g7w== - -sdp@^2.12.0, sdp@^2.6.0: - version "2.12.0" - resolved "https://registry.yarnpkg.com/sdp/-/sdp-2.12.0.tgz#338a106af7560c86e4523f858349680350d53b22" - integrity sha512-jhXqQAQVM+8Xj5EjJGVweuEzgtGWb3tmEEpl3CLP3cStInSbVHSg0QWOGQzNq8pSID4JkpeV2mPqlMDLrm0/Vw== - -secp256k1@3.7.1: - version "3.7.1" - resolved "https://registry.yarnpkg.com/secp256k1/-/secp256k1-3.7.1.tgz#12e473e0e9a7c2f2d4d4818e722ad0e14cc1e2f1" - integrity sha512-1cf8sbnRreXrQFdH6qsg2H71Xw91fCCS9Yp021GnUNJzWJS/py96fS4lHbnTnouLp08Xj6jBoBB6V78Tdbdu5g== - dependencies: - bindings "^1.5.0" - bip66 "^1.1.5" - bn.js "^4.11.8" - create-hash "^1.2.0" - drbg.js "^1.0.1" - elliptic "^6.4.1" - nan "^2.14.0" - safe-buffer "^5.1.2" - -secp256k1@4.0.3, secp256k1@^4.0.0, secp256k1@^4.0.1, secp256k1@^4.0.3: - version "4.0.3" - resolved "https://registry.yarnpkg.com/secp256k1/-/secp256k1-4.0.3.tgz#c4559ecd1b8d3c1827ed2d1b94190d69ce267303" - integrity sha512-NLZVf+ROMxwtEj3Xa562qgv2BK5e2WNmXPiOdVIPLgs6lyTzMvBq0aWTYMI5XCP9jZMVKOcqZLw/Wc4vDkuxhA== - dependencies: - elliptic "^6.5.4" - node-addon-api "^2.0.0" - node-gyp-build "^4.2.0" - -secp256k1@5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/secp256k1/-/secp256k1-5.0.0.tgz#be6f0c8c7722e2481e9773336d351de8cddd12f7" - integrity sha512-TKWX8xvoGHrxVdqbYeZM9w+izTF4b9z3NhSaDkdn81btvuh+ivbIMGT/zQvDtTFWhRlThpoz6LEYTr7n8A5GcA== - dependencies: - elliptic "^6.5.4" - node-addon-api "^5.0.0" - node-gyp-build "^4.2.0" - -secp256k1@^3.0.1: - version "3.8.0" - resolved "https://registry.yarnpkg.com/secp256k1/-/secp256k1-3.8.0.tgz#28f59f4b01dbee9575f56a47034b7d2e3b3b352d" - integrity sha512-k5ke5avRZbtl9Tqx/SA7CbY3NF6Ro+Sj9cZxezFzuBlLDmyqPiL8hJJ+EmzD8Ig4LUDByHJ3/iPOVoRixs/hmw== - dependencies: - bindings "^1.5.0" - bip66 "^1.1.5" - bn.js "^4.11.8" - create-hash "^1.2.0" - drbg.js "^1.0.1" - elliptic "^6.5.2" - nan "^2.14.0" - safe-buffer "^5.1.2" - -seedrandom@^3.0.5: - version "3.0.5" - resolved "https://registry.yarnpkg.com/seedrandom/-/seedrandom-3.0.5.tgz#54edc85c95222525b0c7a6f6b3543d8e0b3aa0a7" - integrity sha512-8OwmbklUNzwezjGInmZ+2clQmExQPvomqjL7LFqOYqtmuxRgQYqOD3mHaU+MvZn5FLUeVxVfQjwLZW/n/JFuqg== - -seek-bzip@^1.0.5: - version "1.0.6" - resolved "https://registry.yarnpkg.com/seek-bzip/-/seek-bzip-1.0.6.tgz#35c4171f55a680916b52a07859ecf3b5857f21c4" - integrity sha512-e1QtP3YL5tWww8uKaOCQ18UxIT2laNBXHjV/S2WYCiK4udiv8lkG89KRIoCjUagnAmCBurjF4zEVX2ByBbnCjQ== - dependencies: - commander "^2.8.1" - -semver@6.2.0: - version "6.2.0" - resolved "https://registry.yarnpkg.com/semver/-/semver-6.2.0.tgz#4d813d9590aaf8a9192693d6c85b9344de5901db" - integrity sha512-jdFC1VdUGT/2Scgbimf7FSx9iJLXoqfglSF+gJeuNWVpiE37OIbc1jywR/GJyFdz3mnkz2/id0L0J/cr0izR5A== - -semver@7.3.7: - version "7.3.7" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.7.tgz#12c5b649afdbf9049707796e22a4028814ce523f" - integrity sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g== - dependencies: - lru-cache "^6.0.0" - -semver@7.x, semver@^7.2.1, semver@^7.3.2, semver@^7.3.5, semver@^7.3.8: - version "7.3.8" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.8.tgz#07a78feafb3f7b32347d725e33de7e2a2df67798" - integrity sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A== - dependencies: - lru-cache "^6.0.0" - -semver@^5.5.0, semver@^5.7.1: - version "5.7.1" - resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" - integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== - -semver@^6.0.0, semver@^6.1.0, semver@^6.3.0: - version "6.3.0" - resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" - integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== - -semver@~7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.0.0.tgz#5f3ca35761e47e05b206c6daff2cf814f0316b8e" - integrity sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A== - -send@0.18.0: - version "0.18.0" - resolved "https://registry.yarnpkg.com/send/-/send-0.18.0.tgz#670167cc654b05f5aa4a767f9113bb371bc706be" - integrity sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg== - dependencies: - debug "2.6.9" - depd "2.0.0" - destroy "1.2.0" - encodeurl "~1.0.2" - escape-html "~1.0.3" - etag "~1.8.1" - fresh "0.5.2" - http-errors "2.0.0" - mime "1.6.0" - ms "2.1.3" - on-finished "2.4.1" - range-parser "~1.2.1" - statuses "2.0.1" - -sentence-case@^2.1.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/sentence-case/-/sentence-case-2.1.1.tgz#1f6e2dda39c168bf92d13f86d4a918933f667ed4" - integrity sha512-ENl7cYHaK/Ktwk5OTD+aDbQ3uC8IByu/6Bkg+HDv8Mm+XnBnppVNalcfJTNsp1ibstKh030/JKQQWglDvtKwEQ== - dependencies: - no-case "^2.2.0" - upper-case-first "^1.1.2" - -serialize-javascript@6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-6.0.0.tgz#efae5d88f45d7924141da8b5c3a7a7e663fefeb8" - integrity sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag== - dependencies: - randombytes "^2.1.0" - -serve-static@1.15.0: - version "1.15.0" - resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-1.15.0.tgz#faaef08cffe0a1a62f60cad0c4e513cff0ac9540" - integrity sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g== - dependencies: - encodeurl "~1.0.2" - escape-html "~1.0.3" - parseurl "~1.3.3" - send "0.18.0" - -servify@^0.1.12: - version "0.1.12" - resolved "https://registry.yarnpkg.com/servify/-/servify-0.1.12.tgz#142ab7bee1f1d033b66d0707086085b17c06db95" - integrity sha512-/xE6GvsKKqyo1BAY+KxOWXcLpPsUUyji7Qg3bVD7hh1eRze5bR1uYiuDA/k3Gof1s9BTzQZEJK8sNcNGFIzeWw== - dependencies: - body-parser "^1.16.0" - cors "^2.8.1" - express "^4.14.0" - request "^2.79.0" - xhr "^2.3.3" - -set-blocking@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" - integrity sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw== - -set-value@^2.0.0, set-value@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/set-value/-/set-value-2.0.1.tgz#a18d40530e6f07de4228c7defe4227af8cad005b" - integrity sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw== - dependencies: - extend-shallow "^2.0.1" - is-extendable "^0.1.1" - is-plain-object "^2.0.3" - split-string "^3.0.1" - -setimmediate@1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/setimmediate/-/setimmediate-1.0.4.tgz#20e81de622d4a02588ce0c8da8973cbcf1d3138f" - integrity sha512-/TjEmXQVEzdod/FFskf3o7oOAsGhHf2j1dZqRFbDzq4F3mvvxflIIi4Hd3bLQE9y/CpwqfSQam5JakI/mi3Pog== - -setimmediate@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/setimmediate/-/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285" - integrity sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA== - -setprototypeof@1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.2.0.tgz#66c9a24a73f9fc28cbe66b09fed3d33dcaf1b424" - integrity sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw== - -sha.js@^2.4.0, sha.js@^2.4.11, sha.js@^2.4.8: - version "2.4.11" - resolved "https://registry.yarnpkg.com/sha.js/-/sha.js-2.4.11.tgz#37a5cf0b81ecbc6943de109ba2960d1b26584ae7" - integrity sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ== - dependencies: - inherits "^2.0.1" - safe-buffer "^5.0.1" - -shallowequal@^1.0.2: - version "1.1.0" - resolved "https://registry.yarnpkg.com/shallowequal/-/shallowequal-1.1.0.tgz#188d521de95b9087404fd4dcb68b13df0ae4e7f8" - integrity sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ== - -shebang-command@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" - integrity sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg== - dependencies: - shebang-regex "^1.0.0" - -shebang-command@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea" - integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA== - dependencies: - shebang-regex "^3.0.0" - -shebang-regex@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3" - integrity sha512-wpoSFAxys6b2a2wHZ1XpDSgD7N9iVjg29Ph9uV/uaP9Ex/KXlkTZTeddxDPSYQpgvzKLGJke2UU0AzoGCjNIvQ== - -shebang-regex@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" - integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== - -shelljs@^0.8.5: - version "0.8.5" - resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.8.5.tgz#de055408d8361bed66c669d2f000538ced8ee20c" - integrity sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow== - dependencies: - glob "^7.0.0" - interpret "^1.0.0" - rechoir "^0.6.2" - -shx@^0.3.2, shx@^0.3.3: - version "0.3.4" - resolved "https://registry.yarnpkg.com/shx/-/shx-0.3.4.tgz#74289230b4b663979167f94e1935901406e40f02" - integrity sha512-N6A9MLVqjxZYcVn8hLmtneQWIJtp8IKzMP4eMnx+nqkvXoqinUPCbUFLp2UcWTEIUONhlk0ewxr/jaVGlc+J+g== - dependencies: - minimist "^1.2.3" - shelljs "^0.8.5" - -side-channel@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.4.tgz#efce5c8fdc104ee751b25c58d4290011fa5ea2cf" - integrity sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw== - dependencies: - call-bind "^1.0.0" - get-intrinsic "^1.0.2" - object-inspect "^1.9.0" - -signal-exit@^3.0.0, signal-exit@^3.0.2, signal-exit@^3.0.3: - version "3.0.7" - resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" - integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== - -simple-concat@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/simple-concat/-/simple-concat-1.0.1.tgz#f46976082ba35c2263f1c8ab5edfe26c41c9552f" - integrity sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q== - -simple-get@^2.7.0: - version "2.8.2" - resolved "https://registry.yarnpkg.com/simple-get/-/simple-get-2.8.2.tgz#5708fb0919d440657326cd5fe7d2599d07705019" - integrity sha512-Ijd/rV5o+mSBBs4F/x9oDPtTx9Zb6X9brmnXvMW4J7IR15ngi9q5xxqWBKU744jTZiaXtxaPL7uHG6vtN8kUkw== - dependencies: - decompress-response "^3.3.0" - once "^1.3.1" - simple-concat "^1.0.0" - -simple-swizzle@^0.2.2: - version "0.2.2" - resolved "https://registry.yarnpkg.com/simple-swizzle/-/simple-swizzle-0.2.2.tgz#a4da6b635ffcccca33f70d17cb92592de95e557a" - integrity sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg== - dependencies: - is-arrayish "^0.3.1" - -simple-update-notifier@^1.0.7: - version "1.1.0" - resolved "https://registry.yarnpkg.com/simple-update-notifier/-/simple-update-notifier-1.1.0.tgz#67694c121de354af592b347cdba798463ed49c82" - integrity sha512-VpsrsJSUcJEseSbMHkrsrAVSdvVS5I96Qo1QAQ4FxQ9wXFcB+pjj7FB7/us9+GcgfW4ziHtYMc1J0PLczb55mg== - dependencies: - semver "~7.0.0" - -sisteransi@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/sisteransi/-/sisteransi-1.0.5.tgz#134d681297756437cc05ca01370d3a7a571075ed" - integrity sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg== - -slash@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/slash/-/slash-2.0.0.tgz#de552851a1759df3a8f206535442f5ec4ddeab44" - integrity sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A== - -slash@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634" - integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== - -slice-ansi@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-4.0.0.tgz#500e8dd0fd55b05815086255b3195adf2a45fe6b" - integrity sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ== - dependencies: - ansi-styles "^4.0.0" - astral-regex "^2.0.0" - is-fullwidth-code-point "^3.0.0" - -smart-buffer@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/smart-buffer/-/smart-buffer-4.2.0.tgz#6e1d71fa4f18c05f7d0ff216dd16a481d0e8d9ae" - integrity sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg== - -snake-case@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/snake-case/-/snake-case-2.1.0.tgz#41bdb1b73f30ec66a04d4e2cad1b76387d4d6d9f" - integrity sha512-FMR5YoPFwOLuh4rRz92dywJjyKYZNLpMn1R5ujVpIYkbA9p01fq8RMg0FkO4M+Yobt4MjHeLTJVm5xFFBHSV2Q== - dependencies: - no-case "^2.2.0" - -snake-case@^3.0.4: - version "3.0.4" - resolved "https://registry.yarnpkg.com/snake-case/-/snake-case-3.0.4.tgz#4f2bbd568e9935abdfd593f34c691dadb49c452c" - integrity sha512-LAOh4z89bGQvl9pFfNF8V146i7o7/CqFPbqzYgP+yYzDIDeS9HaNFtXABamRW+AQzEVODcvE79ljJ+8a9YSdMg== - dependencies: - dot-case "^3.0.4" - tslib "^2.0.3" - -snakecase-keys@^5.1.2, snakecase-keys@^5.4.1: - version "5.4.5" - resolved "https://registry.yarnpkg.com/snakecase-keys/-/snakecase-keys-5.4.5.tgz#1d452c1557faf8d68f17f04a4991ccfd27afa239" - integrity sha512-qSQVcgcWk8mQUN1miVGnRMAUye1dbj9+F9PVkR7wZUXNCidQwrl/kOKmoYf+WbH2ju6c9pXnlmbS2he7pb2/9A== - dependencies: - map-obj "^4.1.0" - snake-case "^3.0.4" - type-fest "^2.5.2" - -snapdragon-node@^2.0.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/snapdragon-node/-/snapdragon-node-2.1.1.tgz#6c175f86ff14bdb0724563e8f3c1b021a286853b" - integrity sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw== - dependencies: - define-property "^1.0.0" - isobject "^3.0.0" - snapdragon-util "^3.0.1" - -snapdragon-util@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/snapdragon-util/-/snapdragon-util-3.0.1.tgz#f956479486f2acd79700693f6f7b805e45ab56e2" - integrity sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ== - dependencies: - kind-of "^3.2.0" - -snapdragon@^0.8.1: - version "0.8.2" - resolved "https://registry.yarnpkg.com/snapdragon/-/snapdragon-0.8.2.tgz#64922e7c565b0e14204ba1aa7d6964278d25182d" - integrity sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg== - dependencies: - base "^0.11.1" - debug "^2.2.0" - define-property "^0.2.5" - extend-shallow "^2.0.1" - map-cache "^0.2.2" - source-map "^0.5.6" - source-map-resolve "^0.5.0" - use "^3.1.0" - -socket.io-client@^4.6.1: - version "4.6.1" - resolved "https://registry.yarnpkg.com/socket.io-client/-/socket.io-client-4.6.1.tgz#80d97d5eb0feca448a0fb6d69a7b222d3d547eab" - integrity sha512-5UswCV6hpaRsNg5kkEHVcbBIXEYoVbMQaHJBXJCyEQ+CiFPV1NIOY0XOFWG4XR4GZcB8Kn6AsRs/9cy9TbqVMQ== + "resolved" "git+ssh://git@github.com/web3-js/scrypt-shim.git#aafdadda13e660e25e1c525d1f5b2443f5eb1ebb" + "version" "0.1.0" + dependencies: + "scryptsy" "^2.1.0" + "semver" "^6.3.0" + +"scryptsy@^2.1.0", "scryptsy@2.1.0": + "integrity" "sha512-1CdSqHQowJBnMAFyPEBRfqag/YP9OF394FV+4YREIJX4ljD7OxvQRDayyoyyCk+senRjSkP6VnUNQmVQqB6g7w==" + "resolved" "https://registry.npmjs.org/scryptsy/-/scryptsy-2.1.0.tgz" + "version" "2.1.0" + +"sdp@^2.12.0", "sdp@^2.6.0": + "integrity" "sha512-jhXqQAQVM+8Xj5EjJGVweuEzgtGWb3tmEEpl3CLP3cStInSbVHSg0QWOGQzNq8pSID4JkpeV2mPqlMDLrm0/Vw==" + "resolved" "https://registry.npmjs.org/sdp/-/sdp-2.12.0.tgz" + "version" "2.12.0" + +"secp256k1@^3.0.1": + "integrity" "sha512-k5ke5avRZbtl9Tqx/SA7CbY3NF6Ro+Sj9cZxezFzuBlLDmyqPiL8hJJ+EmzD8Ig4LUDByHJ3/iPOVoRixs/hmw==" + "resolved" "https://registry.npmjs.org/secp256k1/-/secp256k1-3.8.0.tgz" + "version" "3.8.0" + dependencies: + "bindings" "^1.5.0" + "bip66" "^1.1.5" + "bn.js" "^4.11.8" + "create-hash" "^1.2.0" + "drbg.js" "^1.0.1" + "elliptic" "^6.5.2" + "nan" "^2.14.0" + "safe-buffer" "^5.1.2" + +"secp256k1@^4.0.0", "secp256k1@^4.0.1", "secp256k1@^4.0.3": + "integrity" "sha512-NLZVf+ROMxwtEj3Xa562qgv2BK5e2WNmXPiOdVIPLgs6lyTzMvBq0aWTYMI5XCP9jZMVKOcqZLw/Wc4vDkuxhA==" + "resolved" "https://registry.npmjs.org/secp256k1/-/secp256k1-4.0.3.tgz" + "version" "4.0.3" + dependencies: + "elliptic" "^6.5.4" + "node-addon-api" "^2.0.0" + "node-gyp-build" "^4.2.0" + +"secp256k1@3.7.1": + "integrity" "sha512-1cf8sbnRreXrQFdH6qsg2H71Xw91fCCS9Yp021GnUNJzWJS/py96fS4lHbnTnouLp08Xj6jBoBB6V78Tdbdu5g==" + "resolved" "https://registry.npmjs.org/secp256k1/-/secp256k1-3.7.1.tgz" + "version" "3.7.1" + dependencies: + "bindings" "^1.5.0" + "bip66" "^1.1.5" + "bn.js" "^4.11.8" + "create-hash" "^1.2.0" + "drbg.js" "^1.0.1" + "elliptic" "^6.4.1" + "nan" "^2.14.0" + "safe-buffer" "^5.1.2" + +"secp256k1@4.0.3": + "integrity" "sha512-NLZVf+ROMxwtEj3Xa562qgv2BK5e2WNmXPiOdVIPLgs6lyTzMvBq0aWTYMI5XCP9jZMVKOcqZLw/Wc4vDkuxhA==" + "resolved" "https://registry.npmjs.org/secp256k1/-/secp256k1-4.0.3.tgz" + "version" "4.0.3" + dependencies: + "elliptic" "^6.5.4" + "node-addon-api" "^2.0.0" + "node-gyp-build" "^4.2.0" + +"secp256k1@5.0.0": + "integrity" "sha512-TKWX8xvoGHrxVdqbYeZM9w+izTF4b9z3NhSaDkdn81btvuh+ivbIMGT/zQvDtTFWhRlThpoz6LEYTr7n8A5GcA==" + "resolved" "https://registry.npmjs.org/secp256k1/-/secp256k1-5.0.0.tgz" + "version" "5.0.0" + dependencies: + "elliptic" "^6.5.4" + "node-addon-api" "^5.0.0" + "node-gyp-build" "^4.2.0" + +"seedrandom@^3.0.5": + "integrity" "sha512-8OwmbklUNzwezjGInmZ+2clQmExQPvomqjL7LFqOYqtmuxRgQYqOD3mHaU+MvZn5FLUeVxVfQjwLZW/n/JFuqg==" + "resolved" "https://registry.npmjs.org/seedrandom/-/seedrandom-3.0.5.tgz" + "version" "3.0.5" + +"seek-bzip@^1.0.5": + "integrity" "sha512-e1QtP3YL5tWww8uKaOCQ18UxIT2laNBXHjV/S2WYCiK4udiv8lkG89KRIoCjUagnAmCBurjF4zEVX2ByBbnCjQ==" + "resolved" "https://registry.npmjs.org/seek-bzip/-/seek-bzip-1.0.6.tgz" + "version" "1.0.6" + dependencies: + "commander" "^2.8.1" + +"semver@^5.5.0": + "integrity" "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" + "resolved" "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz" + "version" "5.7.1" + +"semver@^5.7.1": + "integrity" "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" + "resolved" "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz" + "version" "5.7.1" + +"semver@^6.0.0": + "integrity" "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" + "resolved" "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz" + "version" "6.3.0" + +"semver@^6.1.0": + "integrity" "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" + "resolved" "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz" + "version" "6.3.0" + +"semver@^6.3.0": + "integrity" "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" + "resolved" "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz" + "version" "6.3.0" + +"semver@^7.2.1", "semver@^7.3.2", "semver@^7.3.5", "semver@^7.3.8", "semver@7.x": + "integrity" "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==" + "resolved" "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz" + "version" "7.3.8" + dependencies: + "lru-cache" "^6.0.0" + +"semver@~7.0.0": + "integrity" "sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A==" + "resolved" "https://registry.npmjs.org/semver/-/semver-7.0.0.tgz" + "version" "7.0.0" + +"semver@6.2.0": + "integrity" "sha512-jdFC1VdUGT/2Scgbimf7FSx9iJLXoqfglSF+gJeuNWVpiE37OIbc1jywR/GJyFdz3mnkz2/id0L0J/cr0izR5A==" + "resolved" "https://registry.npmjs.org/semver/-/semver-6.2.0.tgz" + "version" "6.2.0" + +"semver@7.3.7": + "integrity" "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==" + "resolved" "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz" + "version" "7.3.7" + dependencies: + "lru-cache" "^6.0.0" + +"send@0.18.0": + "integrity" "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==" + "resolved" "https://registry.npmjs.org/send/-/send-0.18.0.tgz" + "version" "0.18.0" + dependencies: + "debug" "2.6.9" + "depd" "2.0.0" + "destroy" "1.2.0" + "encodeurl" "~1.0.2" + "escape-html" "~1.0.3" + "etag" "~1.8.1" + "fresh" "0.5.2" + "http-errors" "2.0.0" + "mime" "1.6.0" + "ms" "2.1.3" + "on-finished" "2.4.1" + "range-parser" "~1.2.1" + "statuses" "2.0.1" + +"sentence-case@^2.1.0": + "integrity" "sha512-ENl7cYHaK/Ktwk5OTD+aDbQ3uC8IByu/6Bkg+HDv8Mm+XnBnppVNalcfJTNsp1ibstKh030/JKQQWglDvtKwEQ==" + "resolved" "https://registry.npmjs.org/sentence-case/-/sentence-case-2.1.1.tgz" + "version" "2.1.1" + dependencies: + "no-case" "^2.2.0" + "upper-case-first" "^1.1.2" + +"serialize-javascript@6.0.0": + "integrity" "sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==" + "resolved" "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz" + "version" "6.0.0" + dependencies: + "randombytes" "^2.1.0" + +"serve-static@1.15.0": + "integrity" "sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==" + "resolved" "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz" + "version" "1.15.0" + dependencies: + "encodeurl" "~1.0.2" + "escape-html" "~1.0.3" + "parseurl" "~1.3.3" + "send" "0.18.0" + +"servify@^0.1.12": + "integrity" "sha512-/xE6GvsKKqyo1BAY+KxOWXcLpPsUUyji7Qg3bVD7hh1eRze5bR1uYiuDA/k3Gof1s9BTzQZEJK8sNcNGFIzeWw==" + "resolved" "https://registry.npmjs.org/servify/-/servify-0.1.12.tgz" + "version" "0.1.12" + dependencies: + "body-parser" "^1.16.0" + "cors" "^2.8.1" + "express" "^4.14.0" + "request" "^2.79.0" + "xhr" "^2.3.3" + +"set-blocking@^2.0.0": + "integrity" "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==" + "resolved" "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz" + "version" "2.0.0" + +"set-value@^2.0.0", "set-value@^2.0.1": + "integrity" "sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==" + "resolved" "https://registry.npmjs.org/set-value/-/set-value-2.0.1.tgz" + "version" "2.0.1" + dependencies: + "extend-shallow" "^2.0.1" + "is-extendable" "^0.1.1" + "is-plain-object" "^2.0.3" + "split-string" "^3.0.1" + +"setimmediate@^1.0.5": + "integrity" "sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==" + "resolved" "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz" + "version" "1.0.5" + +"setimmediate@1.0.4": + "integrity" "sha512-/TjEmXQVEzdod/FFskf3o7oOAsGhHf2j1dZqRFbDzq4F3mvvxflIIi4Hd3bLQE9y/CpwqfSQam5JakI/mi3Pog==" + "resolved" "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.4.tgz" + "version" "1.0.4" + +"setprototypeof@1.2.0": + "integrity" "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" + "resolved" "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz" + "version" "1.2.0" + +"sha.js@^2.4.0", "sha.js@^2.4.11", "sha.js@^2.4.8": + "integrity" "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==" + "resolved" "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz" + "version" "2.4.11" + dependencies: + "inherits" "^2.0.1" + "safe-buffer" "^5.0.1" + +"shallowequal@^1.0.2": + "integrity" "sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ==" + "resolved" "https://registry.npmjs.org/shallowequal/-/shallowequal-1.1.0.tgz" + "version" "1.1.0" + +"shebang-command@^1.2.0": + "integrity" "sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg==" + "resolved" "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz" + "version" "1.2.0" + dependencies: + "shebang-regex" "^1.0.0" + +"shebang-command@^2.0.0": + "integrity" "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==" + "resolved" "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz" + "version" "2.0.0" + dependencies: + "shebang-regex" "^3.0.0" + +"shebang-regex@^1.0.0": + "integrity" "sha512-wpoSFAxys6b2a2wHZ1XpDSgD7N9iVjg29Ph9uV/uaP9Ex/KXlkTZTeddxDPSYQpgvzKLGJke2UU0AzoGCjNIvQ==" + "resolved" "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz" + "version" "1.0.0" + +"shebang-regex@^3.0.0": + "integrity" "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==" + "resolved" "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz" + "version" "3.0.0" + +"shelljs@^0.8.5": + "integrity" "sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow==" + "resolved" "https://registry.npmjs.org/shelljs/-/shelljs-0.8.5.tgz" + "version" "0.8.5" + dependencies: + "glob" "^7.0.0" + "interpret" "^1.0.0" + "rechoir" "^0.6.2" + +"shx@^0.3.2", "shx@^0.3.3": + "integrity" "sha512-N6A9MLVqjxZYcVn8hLmtneQWIJtp8IKzMP4eMnx+nqkvXoqinUPCbUFLp2UcWTEIUONhlk0ewxr/jaVGlc+J+g==" + "resolved" "https://registry.npmjs.org/shx/-/shx-0.3.4.tgz" + "version" "0.3.4" + dependencies: + "minimist" "^1.2.3" + "shelljs" "^0.8.5" + +"side-channel@^1.0.4": + "integrity" "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==" + "resolved" "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz" + "version" "1.0.4" + dependencies: + "call-bind" "^1.0.0" + "get-intrinsic" "^1.0.2" + "object-inspect" "^1.9.0" + +"signal-exit@^3.0.0", "signal-exit@^3.0.2", "signal-exit@^3.0.3": + "integrity" "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==" + "resolved" "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz" + "version" "3.0.7" + +"simple-concat@^1.0.0": + "integrity" "sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==" + "resolved" "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.1.tgz" + "version" "1.0.1" + +"simple-get@^2.7.0": + "integrity" "sha512-Ijd/rV5o+mSBBs4F/x9oDPtTx9Zb6X9brmnXvMW4J7IR15ngi9q5xxqWBKU744jTZiaXtxaPL7uHG6vtN8kUkw==" + "resolved" "https://registry.npmjs.org/simple-get/-/simple-get-2.8.2.tgz" + "version" "2.8.2" + dependencies: + "decompress-response" "^3.3.0" + "once" "^1.3.1" + "simple-concat" "^1.0.0" + +"simple-swizzle@^0.2.2": + "integrity" "sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==" + "resolved" "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz" + "version" "0.2.2" + dependencies: + "is-arrayish" "^0.3.1" + +"simple-update-notifier@^1.0.7": + "integrity" "sha512-VpsrsJSUcJEseSbMHkrsrAVSdvVS5I96Qo1QAQ4FxQ9wXFcB+pjj7FB7/us9+GcgfW4ziHtYMc1J0PLczb55mg==" + "resolved" "https://registry.npmjs.org/simple-update-notifier/-/simple-update-notifier-1.1.0.tgz" + "version" "1.1.0" + dependencies: + "semver" "~7.0.0" + +"sisteransi@^1.0.5": + "integrity" "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==" + "resolved" "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz" + "version" "1.0.5" + +"slash@^2.0.0": + "integrity" "sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==" + "resolved" "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz" + "version" "2.0.0" + +"slash@^3.0.0": + "integrity" "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==" + "resolved" "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz" + "version" "3.0.0" + +"slice-ansi@^4.0.0": + "integrity" "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==" + "resolved" "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz" + "version" "4.0.0" + dependencies: + "ansi-styles" "^4.0.0" + "astral-regex" "^2.0.0" + "is-fullwidth-code-point" "^3.0.0" + +"smart-buffer@^4.2.0": + "integrity" "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==" + "resolved" "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz" + "version" "4.2.0" + +"snake-case@^2.1.0": + "integrity" "sha512-FMR5YoPFwOLuh4rRz92dywJjyKYZNLpMn1R5ujVpIYkbA9p01fq8RMg0FkO4M+Yobt4MjHeLTJVm5xFFBHSV2Q==" + "resolved" "https://registry.npmjs.org/snake-case/-/snake-case-2.1.0.tgz" + "version" "2.1.0" + dependencies: + "no-case" "^2.2.0" + +"snake-case@^3.0.4": + "integrity" "sha512-LAOh4z89bGQvl9pFfNF8V146i7o7/CqFPbqzYgP+yYzDIDeS9HaNFtXABamRW+AQzEVODcvE79ljJ+8a9YSdMg==" + "resolved" "https://registry.npmjs.org/snake-case/-/snake-case-3.0.4.tgz" + "version" "3.0.4" + dependencies: + "dot-case" "^3.0.4" + "tslib" "^2.0.3" + +"snakecase-keys@^5.1.2", "snakecase-keys@^5.4.1": + "integrity" "sha512-qSQVcgcWk8mQUN1miVGnRMAUye1dbj9+F9PVkR7wZUXNCidQwrl/kOKmoYf+WbH2ju6c9pXnlmbS2he7pb2/9A==" + "resolved" "https://registry.npmjs.org/snakecase-keys/-/snakecase-keys-5.4.5.tgz" + "version" "5.4.5" + dependencies: + "map-obj" "^4.1.0" + "snake-case" "^3.0.4" + "type-fest" "^2.5.2" + +"snapdragon-node@^2.0.1": + "integrity" "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==" + "resolved" "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz" + "version" "2.1.1" + dependencies: + "define-property" "^1.0.0" + "isobject" "^3.0.0" + "snapdragon-util" "^3.0.1" + +"snapdragon-util@^3.0.1": + "integrity" "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==" + "resolved" "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz" + "version" "3.0.1" + dependencies: + "kind-of" "^3.2.0" + +"snapdragon@^0.8.1": + "integrity" "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==" + "resolved" "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz" + "version" "0.8.2" + dependencies: + "base" "^0.11.1" + "debug" "^2.2.0" + "define-property" "^0.2.5" + "extend-shallow" "^2.0.1" + "map-cache" "^0.2.2" + "source-map" "^0.5.6" + "source-map-resolve" "^0.5.0" + "use" "^3.1.0" + +"socket.io-client@^4.6.1": + "integrity" "sha512-5UswCV6hpaRsNg5kkEHVcbBIXEYoVbMQaHJBXJCyEQ+CiFPV1NIOY0XOFWG4XR4GZcB8Kn6AsRs/9cy9TbqVMQ==" + "resolved" "https://registry.npmjs.org/socket.io-client/-/socket.io-client-4.6.1.tgz" + "version" "4.6.1" dependencies: "@socket.io/component-emitter" "~3.1.0" - debug "~4.3.2" - engine.io-client "~6.4.0" - socket.io-parser "~4.2.1" + "debug" "~4.3.2" + "engine.io-client" "~6.4.0" + "socket.io-parser" "~4.2.1" -socket.io-parser@~4.2.1: - version "4.2.2" - resolved "https://registry.yarnpkg.com/socket.io-parser/-/socket.io-parser-4.2.2.tgz#1dd384019e25b7a3d374877f492ab34f2ad0d206" - integrity sha512-DJtziuKypFkMMHCm2uIshOYC7QaylbtzQwiMYDuCKy3OPkjLzu4B2vAhTlqipRHHzrI0NJeBAizTK7X+6m1jVw== +"socket.io-parser@~4.2.1": + "integrity" "sha512-DJtziuKypFkMMHCm2uIshOYC7QaylbtzQwiMYDuCKy3OPkjLzu4B2vAhTlqipRHHzrI0NJeBAizTK7X+6m1jVw==" + "resolved" "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-4.2.2.tgz" + "version" "4.2.2" dependencies: "@socket.io/component-emitter" "~3.1.0" - debug "~4.3.1" - -socks-proxy-agent@6.1.1: - version "6.1.1" - resolved "https://registry.yarnpkg.com/socks-proxy-agent/-/socks-proxy-agent-6.1.1.tgz#e664e8f1aaf4e1fb3df945f09e3d94f911137f87" - integrity sha512-t8J0kG3csjA4g6FTbsMOWws+7R7vuRC8aQ/wy3/1OWmsgwA68zs/+cExQ0koSitUDXqhufF/YJr9wtNMZHw5Ew== - dependencies: - agent-base "^6.0.2" - debug "^4.3.1" - socks "^2.6.1" - -socks@^2.6.1: - version "2.7.1" - resolved "https://registry.yarnpkg.com/socks/-/socks-2.7.1.tgz#d8e651247178fde79c0663043e07240196857d55" - integrity sha512-7maUZy1N7uo6+WVEX6psASxtNlKaNVMlGQKkG/63nEDdLOWNbiUMoLK7X4uYoLhQstau72mLgfEWcXcwsaHbYQ== - dependencies: - ip "^2.0.0" - smart-buffer "^4.2.0" - -solc@0.7.3: - version "0.7.3" - resolved "https://registry.yarnpkg.com/solc/-/solc-0.7.3.tgz#04646961bd867a744f63d2b4e3c0701ffdc7d78a" - integrity sha512-GAsWNAjGzIDg7VxzP6mPjdurby3IkGCjQcM8GFYZT6RyaoUZKmMU6Y7YwG+tFGhv7dwZ8rmR4iwFDrrD99JwqA== - dependencies: - command-exists "^1.2.8" - commander "3.0.2" - follow-redirects "^1.12.1" - fs-extra "^0.30.0" - js-sha3 "0.8.0" - memorystream "^0.3.1" - require-from-string "^2.0.0" - semver "^5.5.0" - tmp "0.0.33" - -sonic-boom@^2.2.1: - version "2.8.0" - resolved "https://registry.yarnpkg.com/sonic-boom/-/sonic-boom-2.8.0.tgz#c1def62a77425090e6ad7516aad8eb402e047611" - integrity sha512-kuonw1YOYYNOve5iHdSahXPOK49GqwA+LZhI6Wz/l0rP57iKyXXIHaRagOBHAPmGwJC6od2Z9zgvZ5loSgMlVg== - dependencies: - atomic-sleep "^1.0.0" - -source-map-resolve@^0.5.0: - version "0.5.3" - resolved "https://registry.yarnpkg.com/source-map-resolve/-/source-map-resolve-0.5.3.tgz#190866bece7553e1f8f267a2ee82c606b5509a1a" - integrity sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw== - dependencies: - atob "^2.1.2" - decode-uri-component "^0.2.0" - resolve-url "^0.2.1" - source-map-url "^0.4.0" - urix "^0.1.0" - -source-map-support@^0.5.13, source-map-support@^0.5.6: - version "0.5.21" - resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.21.tgz#04fe7c7f9e1ed2d662233c28cb2b35b9f63f6e4f" - integrity sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w== - dependencies: - buffer-from "^1.0.0" - source-map "^0.6.0" - -source-map-url@^0.4.0: - version "0.4.1" - resolved "https://registry.yarnpkg.com/source-map-url/-/source-map-url-0.4.1.tgz#0af66605a745a5a2f91cf1bbf8a7afbc283dec56" - integrity sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw== - -source-map@^0.5.6: - version "0.5.7" - resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" - integrity sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ== - -source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.1: - version "0.6.1" - resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" - integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== - -source-map@^0.7.3: - version "0.7.4" - resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.4.tgz#a9bbe705c9d8846f4e08ff6765acf0f1b0898656" - integrity sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA== - -spark-md5@3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/spark-md5/-/spark-md5-3.0.2.tgz#7952c4a30784347abcee73268e473b9c0167e3fc" - integrity sha512-wcFzz9cDfbuqe0FZzfi2or1sgyIrsDwmPwfZC4hiNidPdPINjeUwNfv5kldczoEAcjl9Y1L3SM7Uz2PUEQzxQw== - -split-on-first@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/split-on-first/-/split-on-first-1.1.0.tgz#f610afeee3b12bce1d0c30425e76398b78249a5f" - integrity sha512-43ZssAJaMusuKWL8sKUBQXHWOpq8d6CfN/u1p4gUzfJkM05C8rxTmYrkIPTXapZpORA6LkkzcUulJ8FqA7Uudw== - -split-string@^3.0.1, split-string@^3.0.2: - version "3.1.0" - resolved "https://registry.yarnpkg.com/split-string/-/split-string-3.1.0.tgz#7cb09dda3a86585705c64b39a6466038682e8fe2" - integrity sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw== - dependencies: - extend-shallow "^3.0.0" - -split2@^4.0.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/split2/-/split2-4.1.0.tgz#101907a24370f85bb782f08adaabe4e281ecf809" - integrity sha512-VBiJxFkxiXRlUIeyMQi8s4hgvKCSjtknJv/LVYbrgALPwf5zSKmEwV9Lst25AkvMDnvxODugjdl6KZgwKM1WYQ== - -sprintf-js@~1.0.2: - version "1.0.3" - resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" - integrity sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g== - -sshpk@^1.7.0: - version "1.17.0" - resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.17.0.tgz#578082d92d4fe612b13007496e543fa0fbcbe4c5" - integrity sha512-/9HIEs1ZXGhSPE8X6Ccm7Nam1z8KcoCqPdI7ecm1N33EzAetWahvQWVqLZtaZQ+IDKX4IyA2o0gBzqIMkAagHQ== - dependencies: - asn1 "~0.2.3" - assert-plus "^1.0.0" - bcrypt-pbkdf "^1.0.0" - dashdash "^1.12.0" - ecc-jsbn "~0.1.1" - getpass "^0.1.1" - jsbn "~0.1.0" - safer-buffer "^2.0.2" - tweetnacl "~0.14.0" - -stack-trace@0.0.x: - version "0.0.10" - resolved "https://registry.yarnpkg.com/stack-trace/-/stack-trace-0.0.10.tgz#547c70b347e8d32b4e108ea1a2a159e5fdde19c0" - integrity sha512-KGzahc7puUKkzyMt+IqAep+TVNbKP+k2Lmwhub39m1AsTSkaDutx56aDCo+HLDzf/D26BIHTJWNiTG1KAJiQCg== - -stack-utils@^1.0.1: - version "1.0.5" - resolved "https://registry.yarnpkg.com/stack-utils/-/stack-utils-1.0.5.tgz#a19b0b01947e0029c8e451d5d61a498f5bb1471b" - integrity sha512-KZiTzuV3CnSnSvgMRrARVCj+Ht7rMbauGDK0LdVFRGyenwdylpajAp4Q0i6SX8rEmbTpMMf6ryq2gb8pPq2WgQ== - dependencies: - escape-string-regexp "^2.0.0" - -stack-utils@^2.0.3: - version "2.0.6" - resolved "https://registry.yarnpkg.com/stack-utils/-/stack-utils-2.0.6.tgz#aaf0748169c02fc33c8232abccf933f54a1cc34f" - integrity sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ== - dependencies: - escape-string-regexp "^2.0.0" - -stacktrace-parser@^0.1.10: - version "0.1.10" - resolved "https://registry.yarnpkg.com/stacktrace-parser/-/stacktrace-parser-0.1.10.tgz#29fb0cae4e0d0b85155879402857a1639eb6051a" - integrity sha512-KJP1OCML99+8fhOHxwwzyWrlUuVX5GQ0ZpJTd1DFXhdkrvg1szxfHhawXUZ3g9TkXORQd4/WG68jMlQZ2p8wlg== - dependencies: - type-fest "^0.7.1" - -static-extend@^0.1.1: - version "0.1.2" - resolved "https://registry.yarnpkg.com/static-extend/-/static-extend-0.1.2.tgz#60809c39cbff55337226fd5e0b520f341f1fb5c6" - integrity sha512-72E9+uLc27Mt718pMHt9VMNiAL4LMsmDbBva8mxWUCkT07fSzEGMYUCk0XWY6lp0j6RBAG4cJ3mWuZv2OE3s0g== - dependencies: - define-property "^0.2.5" - object-copy "^0.1.0" - -stats-lite@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/stats-lite/-/stats-lite-2.2.0.tgz#278a5571fa1d2e8b1691295dccc0235282393bbf" - integrity sha512-/Kz55rgUIv2KP2MKphwYT/NCuSfAlbbMRv2ZWw7wyXayu230zdtzhxxuXXcvsc6EmmhS8bSJl3uS1wmMHFumbA== - dependencies: - isnumber "~1.0.0" - -statuses@2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/statuses/-/statuses-2.0.1.tgz#55cb000ccf1d48728bd23c685a063998cf1a1b63" - integrity sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ== + "debug" "~4.3.1" + +"socks-proxy-agent@6.1.1": + "integrity" "sha512-t8J0kG3csjA4g6FTbsMOWws+7R7vuRC8aQ/wy3/1OWmsgwA68zs/+cExQ0koSitUDXqhufF/YJr9wtNMZHw5Ew==" + "resolved" "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-6.1.1.tgz" + "version" "6.1.1" + dependencies: + "agent-base" "^6.0.2" + "debug" "^4.3.1" + "socks" "^2.6.1" + +"socks@^2.6.1": + "integrity" "sha512-7maUZy1N7uo6+WVEX6psASxtNlKaNVMlGQKkG/63nEDdLOWNbiUMoLK7X4uYoLhQstau72mLgfEWcXcwsaHbYQ==" + "resolved" "https://registry.npmjs.org/socks/-/socks-2.7.1.tgz" + "version" "2.7.1" + dependencies: + "ip" "^2.0.0" + "smart-buffer" "^4.2.0" + +"solc@0.7.3": + "integrity" "sha512-GAsWNAjGzIDg7VxzP6mPjdurby3IkGCjQcM8GFYZT6RyaoUZKmMU6Y7YwG+tFGhv7dwZ8rmR4iwFDrrD99JwqA==" + "resolved" "https://registry.npmjs.org/solc/-/solc-0.7.3.tgz" + "version" "0.7.3" + dependencies: + "command-exists" "^1.2.8" + "commander" "3.0.2" + "follow-redirects" "^1.12.1" + "fs-extra" "^0.30.0" + "js-sha3" "0.8.0" + "memorystream" "^0.3.1" + "require-from-string" "^2.0.0" + "semver" "^5.5.0" + "tmp" "0.0.33" + +"sonic-boom@^2.2.1": + "integrity" "sha512-kuonw1YOYYNOve5iHdSahXPOK49GqwA+LZhI6Wz/l0rP57iKyXXIHaRagOBHAPmGwJC6od2Z9zgvZ5loSgMlVg==" + "resolved" "https://registry.npmjs.org/sonic-boom/-/sonic-boom-2.8.0.tgz" + "version" "2.8.0" + dependencies: + "atomic-sleep" "^1.0.0" + +"source-map-resolve@^0.5.0": + "integrity" "sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw==" + "resolved" "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.3.tgz" + "version" "0.5.3" + dependencies: + "atob" "^2.1.2" + "decode-uri-component" "^0.2.0" + "resolve-url" "^0.2.1" + "source-map-url" "^0.4.0" + "urix" "^0.1.0" + +"source-map-support@^0.5.13", "source-map-support@^0.5.6": + "integrity" "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==" + "resolved" "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz" + "version" "0.5.21" + dependencies: + "buffer-from" "^1.0.0" + "source-map" "^0.6.0" + +"source-map-url@^0.4.0": + "integrity" "sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw==" + "resolved" "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.1.tgz" + "version" "0.4.1" + +"source-map@^0.5.6": + "integrity" "sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==" + "resolved" "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz" + "version" "0.5.7" + +"source-map@^0.6.0", "source-map@^0.6.1", "source-map@~0.6.1": + "integrity" "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" + "resolved" "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz" + "version" "0.6.1" + +"source-map@^0.7.3": + "integrity" "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==" + "resolved" "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz" + "version" "0.7.4" + +"spark-md5@3.0.2": + "integrity" "sha512-wcFzz9cDfbuqe0FZzfi2or1sgyIrsDwmPwfZC4hiNidPdPINjeUwNfv5kldczoEAcjl9Y1L3SM7Uz2PUEQzxQw==" + "resolved" "https://registry.npmjs.org/spark-md5/-/spark-md5-3.0.2.tgz" + "version" "3.0.2" + +"split-on-first@^1.0.0": + "integrity" "sha512-43ZssAJaMusuKWL8sKUBQXHWOpq8d6CfN/u1p4gUzfJkM05C8rxTmYrkIPTXapZpORA6LkkzcUulJ8FqA7Uudw==" + "resolved" "https://registry.npmjs.org/split-on-first/-/split-on-first-1.1.0.tgz" + "version" "1.1.0" + +"split-string@^3.0.1", "split-string@^3.0.2": + "integrity" "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==" + "resolved" "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz" + "version" "3.1.0" + dependencies: + "extend-shallow" "^3.0.0" + +"split2@^4.0.0": + "integrity" "sha512-VBiJxFkxiXRlUIeyMQi8s4hgvKCSjtknJv/LVYbrgALPwf5zSKmEwV9Lst25AkvMDnvxODugjdl6KZgwKM1WYQ==" + "resolved" "https://registry.npmjs.org/split2/-/split2-4.1.0.tgz" + "version" "4.1.0" + +"sprintf-js@~1.0.2": + "integrity" "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==" + "resolved" "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz" + "version" "1.0.3" + +"sshpk@^1.7.0": + "integrity" "sha512-/9HIEs1ZXGhSPE8X6Ccm7Nam1z8KcoCqPdI7ecm1N33EzAetWahvQWVqLZtaZQ+IDKX4IyA2o0gBzqIMkAagHQ==" + "resolved" "https://registry.npmjs.org/sshpk/-/sshpk-1.17.0.tgz" + "version" "1.17.0" + dependencies: + "asn1" "~0.2.3" + "assert-plus" "^1.0.0" + "bcrypt-pbkdf" "^1.0.0" + "dashdash" "^1.12.0" + "ecc-jsbn" "~0.1.1" + "getpass" "^0.1.1" + "jsbn" "~0.1.0" + "safer-buffer" "^2.0.2" + "tweetnacl" "~0.14.0" + +"stack-trace@0.0.x": + "integrity" "sha512-KGzahc7puUKkzyMt+IqAep+TVNbKP+k2Lmwhub39m1AsTSkaDutx56aDCo+HLDzf/D26BIHTJWNiTG1KAJiQCg==" + "resolved" "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz" + "version" "0.0.10" + +"stack-utils@^1.0.1": + "integrity" "sha512-KZiTzuV3CnSnSvgMRrARVCj+Ht7rMbauGDK0LdVFRGyenwdylpajAp4Q0i6SX8rEmbTpMMf6ryq2gb8pPq2WgQ==" + "resolved" "https://registry.npmjs.org/stack-utils/-/stack-utils-1.0.5.tgz" + "version" "1.0.5" + dependencies: + "escape-string-regexp" "^2.0.0" + +"stack-utils@^2.0.3": + "integrity" "sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==" + "resolved" "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.6.tgz" + "version" "2.0.6" + dependencies: + "escape-string-regexp" "^2.0.0" + +"stacktrace-parser@^0.1.10": + "integrity" "sha512-KJP1OCML99+8fhOHxwwzyWrlUuVX5GQ0ZpJTd1DFXhdkrvg1szxfHhawXUZ3g9TkXORQd4/WG68jMlQZ2p8wlg==" + "resolved" "https://registry.npmjs.org/stacktrace-parser/-/stacktrace-parser-0.1.10.tgz" + "version" "0.1.10" + dependencies: + "type-fest" "^0.7.1" + +"static-extend@^0.1.1": + "integrity" "sha512-72E9+uLc27Mt718pMHt9VMNiAL4LMsmDbBva8mxWUCkT07fSzEGMYUCk0XWY6lp0j6RBAG4cJ3mWuZv2OE3s0g==" + "resolved" "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz" + "version" "0.1.2" + dependencies: + "define-property" "^0.2.5" + "object-copy" "^0.1.0" + +"stats-lite@^2.2.0": + "integrity" "sha512-/Kz55rgUIv2KP2MKphwYT/NCuSfAlbbMRv2ZWw7wyXayu230zdtzhxxuXXcvsc6EmmhS8bSJl3uS1wmMHFumbA==" + "resolved" "https://registry.npmjs.org/stats-lite/-/stats-lite-2.2.0.tgz" + "version" "2.2.0" + dependencies: + "isnumber" "~1.0.0" "statuses@>= 1.5.0 < 2": - version "1.5.0" - resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c" - integrity sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA== - -store2@^2.12.0: - version "2.14.2" - resolved "https://registry.yarnpkg.com/store2/-/store2-2.14.2.tgz#56138d200f9fe5f582ad63bc2704dbc0e4a45068" - integrity sha512-siT1RiqlfQnGqgT/YzXVUNsom9S0H1OX+dpdGN1xkyYATo4I6sep5NmsRD/40s3IIOvlCq6akxkqG82urIZW1w== - -stream-blackhole@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/stream-blackhole/-/stream-blackhole-1.0.3.tgz#6fc2e2c2e9d9fde6be8c68d3db88de09802e4d63" - integrity sha512-7NWl3dkmCd12mPkEwTbBPGxwvxj7L4O9DTjJudn02Fmk9K+RuPaDF8zeGo3kmjbsffU5E1aGpZ1dTR9AaRg6AQ== - -stream-browserify@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/stream-browserify/-/stream-browserify-3.0.0.tgz#22b0a2850cdf6503e73085da1fc7b7d0c2122f2f" - integrity sha512-H73RAHsVBapbim0tU2JwwOiXUj+fikfiaoYAKHF3VJfA0pe2BCzkhAHBlLG6REzE+2WNZcxOXjK7lkso+9euLA== - dependencies: - inherits "~2.0.4" - readable-stream "^3.5.0" - -stream-shift@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/stream-shift/-/stream-shift-1.0.1.tgz#d7088281559ab2778424279b0877da3c392d5a3d" - integrity sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ== - -streamsearch@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/streamsearch/-/streamsearch-1.1.0.tgz#404dd1e2247ca94af554e841a8ef0eaa238da764" - integrity sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg== - -strict-uri-encode@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz#279b225df1d582b1f54e65addd4352e18faa0713" - integrity sha512-R3f198pcvnB+5IpnBlRkphuE9n46WyVl8I39W/ZUTZLz4nqSP/oLYUrcnJrw462Ds8he4YKMov2efsTIw1BDGQ== - -strict-uri-encode@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz#b9c7330c7042862f6b142dc274bbcc5866ce3546" - integrity sha512-QwiXZgpRcKkhTj2Scnn++4PKtWsH0kpzZ62L2R6c/LUVYv7hVnZqcg2+sMuT6R7Jusu1vviK/MFsu6kNJfWlEQ== - -string-length@^4.0.1: - version "4.0.2" - resolved "https://registry.yarnpkg.com/string-length/-/string-length-4.0.2.tgz#a8a8dc7bd5c1a82b9b3c8b87e125f66871b6e57a" - integrity sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ== - dependencies: - char-regex "^1.0.2" - strip-ansi "^6.0.0" - -string-width@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" - integrity sha512-0XsVpQLnVCXHJfyEs8tC0zpTVIr5PKKsQtkT29IwupnPTjtPmQ3xT/4yCREF9hYkV/3M3kzcUTSAZT6a6h81tw== - dependencies: - code-point-at "^1.0.0" - is-fullwidth-code-point "^1.0.0" - strip-ansi "^3.0.0" - -string-width@^2.0.0, string-width@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e" - integrity sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw== - dependencies: - is-fullwidth-code-point "^2.0.0" - strip-ansi "^4.0.0" - -string-width@^3.0.0, string-width@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-3.1.0.tgz#22767be21b62af1081574306f69ac51b62203961" - integrity sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w== - dependencies: - emoji-regex "^7.0.1" - is-fullwidth-code-point "^2.0.0" - strip-ansi "^5.1.0" - -string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: - version "4.2.3" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" - integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== - dependencies: - emoji-regex "^8.0.0" - is-fullwidth-code-point "^3.0.0" - strip-ansi "^6.0.1" - -string.prototype.trim@^1.2.7: - version "1.2.7" - resolved "https://registry.yarnpkg.com/string.prototype.trim/-/string.prototype.trim-1.2.7.tgz#a68352740859f6893f14ce3ef1bb3037f7a90533" - integrity sha512-p6TmeT1T3411M8Cgg9wBTMRtY2q9+PNy9EV1i2lIXUN/btt763oIfxwN3RR8VU6wHX8j/1CFy0L+YuThm6bgOg== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.4" - es-abstract "^1.20.4" - -string.prototype.trimend@^1.0.6: - version "1.0.6" - resolved "https://registry.yarnpkg.com/string.prototype.trimend/-/string.prototype.trimend-1.0.6.tgz#c4a27fa026d979d79c04f17397f250a462944533" - integrity sha512-JySq+4mrPf9EsDBEDYMOb/lM7XQLulwg5R/m1r0PXEFqrV0qHvl58sdTilSXtKOflCsK2E8jxf+GKC0T07RWwQ== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.4" - es-abstract "^1.20.4" - -string.prototype.trimstart@^1.0.6: - version "1.0.6" - resolved "https://registry.yarnpkg.com/string.prototype.trimstart/-/string.prototype.trimstart-1.0.6.tgz#e90ab66aa8e4007d92ef591bbf3cd422c56bdcf4" - integrity sha512-omqjMDaY92pbn5HOX7f9IccLA+U1tA9GvtU4JrodiXFfYB7jPzzHpRzpglLAjtUV6bB557zwClJezTqnAiYnQA== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.4" - es-abstract "^1.20.4" - -string_decoder@^1.1.1: - version "1.3.0" - resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e" - integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== - dependencies: - safe-buffer "~5.2.0" - -string_decoder@~0.10.x: - version "0.10.31" - resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94" - integrity sha512-ev2QzSzWPYmy9GuqfIVildA4OdcGLeFZQrq5ys6RtiuF+RQQiZWr8TZNyAcuVXyQRYfEO+MsoB/1BuQVhOJuoQ== - -string_decoder@~1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8" - integrity sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg== - dependencies: - safe-buffer "~5.1.0" - -strip-ansi@^3.0.0, strip-ansi@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" - integrity sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg== - dependencies: - ansi-regex "^2.0.0" - -strip-ansi@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-4.0.0.tgz#a8479022eb1ac368a871389b635262c505ee368f" - integrity sha512-4XaJ2zQdCzROZDivEVIDPkcQn8LMFSa8kj8Gxb/Lnwzv9A8VctNZ+lfivC/sV3ivW8ElJTERXZoPBRrZKkNKow== - dependencies: - ansi-regex "^3.0.0" - -strip-ansi@^5.0.0, strip-ansi@^5.1.0, strip-ansi@^5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae" - integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA== - dependencies: - ansi-regex "^4.1.0" - -strip-ansi@^6.0.0, strip-ansi@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" - integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== - dependencies: - ansi-regex "^5.0.1" - -strip-bom@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3" - integrity sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA== - -strip-bom@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-4.0.0.tgz#9c3505c1db45bcedca3d9cf7a16f5c5aa3901878" - integrity sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w== - -strip-dirs@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/strip-dirs/-/strip-dirs-2.1.0.tgz#4987736264fc344cf20f6c34aca9d13d1d4ed6c5" - integrity sha512-JOCxOeKLm2CAS73y/U4ZeZPTkE+gNVCzKt7Eox84Iej1LT/2pTWYpZKJuxwQpvX1LiZb1xokNR7RLfuBAa7T3g== - dependencies: - is-natural-number "^4.0.1" - -strip-eof@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/strip-eof/-/strip-eof-1.0.0.tgz#bb43ff5598a6eb05d89b59fcd129c983313606bf" - integrity sha512-7FCwGGmx8mD5xQd3RPUvnSpUXHM3BWuzjtpD4TXsfcZ9EL4azvVVUscFYwD9nx8Kh+uCBC00XBtAykoMHwTh8Q== - -strip-final-newline@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-2.0.0.tgz#89b852fb2fcbe936f6f4b3187afb0a12c1ab58ad" - integrity sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA== - -strip-hex-prefix@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/strip-hex-prefix/-/strip-hex-prefix-1.0.0.tgz#0c5f155fef1151373377de9dbb588da05500e36f" - integrity sha512-q8d4ue7JGEiVcypji1bALTos+0pWtyGlivAWyPuTkHzuTCJqrK9sWxYQZUq6Nq3cuyv3bm734IhHvHtGGURU6A== - dependencies: - is-hex-prefixed "1.0.0" - -strip-json-comments@3.1.1, strip-json-comments@^3.1.0, strip-json-comments@^3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" - integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== - -sturdy-websocket@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/sturdy-websocket/-/sturdy-websocket-0.2.1.tgz#20a58fd53372ef96eaa08f3c61c91a10b07c7c05" - integrity sha512-NnzSOEKyv4I83qbuKw9ROtJrrT6Z/Xt7I0HiP/e6H6GnpeTDvzwGIGeJ8slai+VwODSHQDooW2CAilJwT9SpRg== - -sublevel-pouchdb@7.3.1: - version "7.3.1" - resolved "https://registry.yarnpkg.com/sublevel-pouchdb/-/sublevel-pouchdb-7.3.1.tgz#c1cc03af45081345c7c82821d6dcaa74564ae2ef" - integrity sha512-n+4fK72F/ORdqPwoGgMGYeOrW2HaPpW9o9k80bT1B3Cim5BSvkKkr9WbWOWynni/GHkbCEdvLVFJL1ktosAdhQ== - dependencies: - inherits "2.0.4" - level-codec "9.0.2" - ltgt "2.2.1" - readable-stream "1.1.14" - -superagent@^8.0.5: - version "8.0.9" - resolved "https://registry.yarnpkg.com/superagent/-/superagent-8.0.9.tgz#2c6fda6fadb40516515f93e9098c0eb1602e0535" - integrity sha512-4C7Bh5pyHTvU33KpZgwrNKh/VQnvgtCSqPRfJAUdmrtSYePVzVg4E4OzsrbkhJj9O7SO6Bnv75K/F8XVZT8YHA== - dependencies: - component-emitter "^1.3.0" - cookiejar "^2.1.4" - debug "^4.3.4" - fast-safe-stringify "^2.1.1" - form-data "^4.0.0" - formidable "^2.1.2" - methods "^1.1.2" - mime "2.6.0" - qs "^6.11.0" - semver "^7.3.8" - -superstruct@^0.10.12: - version "0.10.13" - resolved "https://registry.yarnpkg.com/superstruct/-/superstruct-0.10.13.tgz#705535a5598ff231bd976601a7b6b534a71a821b" - integrity sha512-W4SitSZ9MOyMPbHreoZVEneSZyPEeNGbdfJo/7FkJyRs/M3wQRFzq+t3S/NBwlrFSWdx1ONLjLb9pB+UKe4IqQ== - -superstruct@^0.14.2: - version "0.14.2" - resolved "https://registry.yarnpkg.com/superstruct/-/superstruct-0.14.2.tgz#0dbcdf3d83676588828f1cf5ed35cda02f59025b" - integrity sha512-nPewA6m9mR3d6k7WkZ8N8zpTWfenFH3q9pA2PkuiZxINr9DKB2+40wEQf0ixn8VaGuJ78AB6iWOtStI+/4FKZQ== - -supertest@^6.1.6: - version "6.3.3" - resolved "https://registry.yarnpkg.com/supertest/-/supertest-6.3.3.tgz#42f4da199fee656106fd422c094cf6c9578141db" - integrity sha512-EMCG6G8gDu5qEqRQ3JjjPs6+FYT1a7Hv5ApHvtSghmOFJYtsU5S+pSb6Y2EUeCEY3CmEL3mmQ8YWlPOzQomabA== - dependencies: - methods "^1.1.2" - superagent "^8.0.5" - -supports-color@4.4.0: - version "4.4.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-4.4.0.tgz#883f7ddabc165142b2a61427f3352ded195d1a3e" - integrity sha512-rKC3+DyXWgK0ZLKwmRsrkyHVZAjNkfzeehuFWdGGcqGDTZFH73+RH6S/RDAAxl9GusSjZSUWYLmT9N5pzXFOXQ== - dependencies: - has-flag "^2.0.0" - -supports-color@5.4.0: - version "5.4.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.4.0.tgz#1c6b337402c2137605efe19f10fec390f6faab54" - integrity sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w== - dependencies: - has-flag "^3.0.0" - -supports-color@8.1.1, supports-color@^8.0.0: - version "8.1.1" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-8.1.1.tgz#cd6fc17e28500cff56c1b86c0a7fd4a54a73005c" - integrity sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q== - dependencies: - has-flag "^4.0.0" - -supports-color@^5.3.0, supports-color@^5.5.0: - version "5.5.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" - integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== - dependencies: - has-flag "^3.0.0" - -supports-color@^7.0.0, supports-color@^7.1.0: - version "7.2.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da" - integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== - dependencies: - has-flag "^4.0.0" - -supports-hyperlinks@^2.0.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/supports-hyperlinks/-/supports-hyperlinks-2.3.0.tgz#3943544347c1ff90b15effb03fc14ae45ec10624" - integrity sha512-RpsAZlpWcDwOPQA22aCH4J0t7L8JmAvsCxfOSEwm7cQs3LshN36QaTkwd70DnBOXDWGssw2eUoc8CaRWT0XunA== - dependencies: - has-flag "^4.0.0" - supports-color "^7.0.0" - -supports-preserve-symlinks-flag@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" - integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== - -swagger-ui-dist@>=4.11.0: - version "4.18.1" - resolved "https://registry.yarnpkg.com/swagger-ui-dist/-/swagger-ui-dist-4.18.1.tgz#da77cee1531af3f989b3da9dd8cddc5b9fa5715d" - integrity sha512-n7AT4wzKIPpHy/BGflJOepGMrbY/7Cd5yVd9ptVczaJGAKScbVJrZxFbAE2ZSZa8KmqdQ0+pOs3/5mWY5tSMZQ== - -swagger-ui-express@^4.1.6: - version "4.6.2" - resolved "https://registry.yarnpkg.com/swagger-ui-express/-/swagger-ui-express-4.6.2.tgz#61b2cb9fd7932cdccff99e0efdf700a5459e493c" - integrity sha512-MHIOaq9JrTTB3ygUJD+08PbjM5Tt/q7x80yz9VTFIatw8j5uIWKcr90S0h5NLMzFEDC6+eVprtoeA5MDZXCUKQ== - dependencies: - swagger-ui-dist ">=4.11.0" - -swap-case@^1.1.0: - version "1.1.2" - resolved "https://registry.yarnpkg.com/swap-case/-/swap-case-1.1.2.tgz#c39203a4587385fad3c850a0bd1bcafa081974e3" - integrity sha512-BAmWG6/bx8syfc6qXPprof3Mn5vQgf5dwdUNJhsNqU9WdPt5P+ES/wQ5bxfijy8zwZgZZHslC3iAsxsuQMCzJQ== - dependencies: - lower-case "^1.1.1" - upper-case "^1.1.1" - -swarm-js@0.1.39: - version "0.1.39" - resolved "https://registry.yarnpkg.com/swarm-js/-/swarm-js-0.1.39.tgz#79becb07f291d4b2a178c50fee7aa6e10342c0e8" - integrity sha512-QLMqL2rzF6n5s50BptyD6Oi0R1aWlJC5Y17SRIVXRj6OR1DRIPM7nepvrxxkjA1zNzFz6mUOMjfeqeDaWB7OOg== - dependencies: - bluebird "^3.5.0" - buffer "^5.0.5" - decompress "^4.0.0" - eth-lib "^0.1.26" - fs-extra "^4.0.2" - got "^7.1.0" - mime-types "^2.1.16" - mkdirp-promise "^5.0.1" - mock-fs "^4.1.0" - setimmediate "^1.0.5" - tar "^4.0.2" - xhr-request-promise "^0.1.2" - -swarm-js@^0.1.40: - version "0.1.42" - resolved "https://registry.yarnpkg.com/swarm-js/-/swarm-js-0.1.42.tgz#497995c62df6696f6e22372f457120e43e727979" - integrity sha512-BV7c/dVlA3R6ya1lMlSSNPLYrntt0LUq4YMgy3iwpCIc6rZnS5W2wUoctarZ5pXlpKtxDDf9hNziEkcfrxdhqQ== - dependencies: - bluebird "^3.5.0" - buffer "^5.0.5" - eth-lib "^0.1.26" - fs-extra "^4.0.2" - got "^11.8.5" - mime-types "^2.1.16" - mkdirp-promise "^5.0.1" - mock-fs "^4.1.0" - setimmediate "^1.0.5" - tar "^4.0.2" - xhr-request "^1.0.1" - -symbol-observable@^1.0.3: - version "1.2.0" - resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.2.0.tgz#c22688aed4eab3cdc2dfeacbb561660560a00804" - integrity sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ== - -symbol-observable@^2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-2.0.3.tgz#5b521d3d07a43c351055fa43b8355b62d33fd16a" - integrity sha512-sQV7phh2WCYAn81oAkakC5qjq2Ml0g8ozqz03wOGnx9dDlG1de6yrF+0RAzSJD8fPUow3PTSMf2SAbOGxb93BA== - -symbol-observable@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-4.0.0.tgz#5b425f192279e87f2f9b937ac8540d1984b39205" - integrity sha512-b19dMThMV4HVFynSAM1++gBHAbk2Tc/osgLIBZMKsyqh34jb2e8Os7T6ZW/Bt3pJFdBTd2JwAnAAEQV7rSNvcQ== - -symbol-tree@^3.2.4: - version "3.2.4" - resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2" - integrity sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw== - -table@^6.0.9: - version "6.8.1" - resolved "https://registry.yarnpkg.com/table/-/table-6.8.1.tgz#ea2b71359fe03b017a5fbc296204471158080bdf" - integrity sha512-Y4X9zqrCftUhMeH2EptSSERdVKt/nEdijTOacGD/97EKjhQ/Qs8RTlEGABSJNNN8lac9kheH+af7yAkEWlgneA== - dependencies: - ajv "^8.0.1" - lodash.truncate "^4.4.2" - slice-ansi "^4.0.0" - string-width "^4.2.3" - strip-ansi "^6.0.1" - -tar-stream@^1.5.2: - version "1.6.2" - resolved "https://registry.yarnpkg.com/tar-stream/-/tar-stream-1.6.2.tgz#8ea55dab37972253d9a9af90fdcd559ae435c555" - integrity sha512-rzS0heiNf8Xn7/mpdSVVSMAWAoy9bfb1WOTYC78Z0UQKeKa/CWS8FOq0lKGNa8DWKAn9gxjCvMLYc5PGXYlK2A== - dependencies: - bl "^1.0.0" - buffer-alloc "^1.2.0" - end-of-stream "^1.0.0" - fs-constants "^1.0.0" - readable-stream "^2.3.0" - to-buffer "^1.1.1" - xtend "^4.0.0" - -tar@^4.0.2: - version "4.4.19" - resolved "https://registry.yarnpkg.com/tar/-/tar-4.4.19.tgz#2e4d7263df26f2b914dee10c825ab132123742f3" - integrity sha512-a20gEsvHnWe0ygBY8JbxoM4w3SJdhc7ZAuxkLqh+nvNQN2IOt0B5lLgM490X5Hl8FF0dl0tOf2ewFYAlIFgzVA== - dependencies: - chownr "^1.1.4" - fs-minipass "^1.2.7" - minipass "^2.9.0" - minizlib "^1.3.3" - mkdirp "^0.5.5" - safe-buffer "^5.2.1" - yallist "^3.1.1" - -terminal-link@^2.0.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/terminal-link/-/terminal-link-2.1.1.tgz#14a64a27ab3c0df933ea546fba55f2d078edc994" - integrity sha512-un0FmiRUQNr5PJqy9kP7c40F5BOfpGlYTrxonDChEZB7pzZxRNp/bt+ymiy9/npwXya9KH99nJ/GXFIiUkYGFQ== - dependencies: - ansi-escapes "^4.2.1" - supports-hyperlinks "^2.0.0" - -test-exclude@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/test-exclude/-/test-exclude-6.0.0.tgz#04a8698661d805ea6fa293b6cb9e63ac044ef15e" - integrity sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w== + "integrity" "sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA==" + "resolved" "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz" + "version" "1.5.0" + +"statuses@2.0.1": + "integrity" "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==" + "resolved" "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz" + "version" "2.0.1" + +"store2@^2.12.0": + "integrity" "sha512-siT1RiqlfQnGqgT/YzXVUNsom9S0H1OX+dpdGN1xkyYATo4I6sep5NmsRD/40s3IIOvlCq6akxkqG82urIZW1w==" + "resolved" "https://registry.npmjs.org/store2/-/store2-2.14.2.tgz" + "version" "2.14.2" + +"stream-blackhole@^1.0.3": + "integrity" "sha512-7NWl3dkmCd12mPkEwTbBPGxwvxj7L4O9DTjJudn02Fmk9K+RuPaDF8zeGo3kmjbsffU5E1aGpZ1dTR9AaRg6AQ==" + "resolved" "https://registry.npmjs.org/stream-blackhole/-/stream-blackhole-1.0.3.tgz" + "version" "1.0.3" + +"stream-browserify@^3.0.0": + "integrity" "sha512-H73RAHsVBapbim0tU2JwwOiXUj+fikfiaoYAKHF3VJfA0pe2BCzkhAHBlLG6REzE+2WNZcxOXjK7lkso+9euLA==" + "resolved" "https://registry.npmjs.org/stream-browserify/-/stream-browserify-3.0.0.tgz" + "version" "3.0.0" + dependencies: + "inherits" "~2.0.4" + "readable-stream" "^3.5.0" + +"stream-shift@^1.0.0": + "integrity" "sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ==" + "resolved" "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.1.tgz" + "version" "1.0.1" + +"streamsearch@^1.1.0": + "integrity" "sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==" + "resolved" "https://registry.npmjs.org/streamsearch/-/streamsearch-1.1.0.tgz" + "version" "1.1.0" + +"strict-uri-encode@^1.0.0": + "integrity" "sha512-R3f198pcvnB+5IpnBlRkphuE9n46WyVl8I39W/ZUTZLz4nqSP/oLYUrcnJrw462Ds8he4YKMov2efsTIw1BDGQ==" + "resolved" "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz" + "version" "1.1.0" + +"strict-uri-encode@^2.0.0": + "integrity" "sha512-QwiXZgpRcKkhTj2Scnn++4PKtWsH0kpzZ62L2R6c/LUVYv7hVnZqcg2+sMuT6R7Jusu1vviK/MFsu6kNJfWlEQ==" + "resolved" "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz" + "version" "2.0.0" + +"string_decoder@^1.1.1": + "integrity" "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==" + "resolved" "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz" + "version" "1.3.0" + dependencies: + "safe-buffer" "~5.2.0" + +"string_decoder@~0.10.x": + "integrity" "sha512-ev2QzSzWPYmy9GuqfIVildA4OdcGLeFZQrq5ys6RtiuF+RQQiZWr8TZNyAcuVXyQRYfEO+MsoB/1BuQVhOJuoQ==" + "resolved" "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz" + "version" "0.10.31" + +"string_decoder@~1.1.1": + "integrity" "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==" + "resolved" "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz" + "version" "1.1.1" + dependencies: + "safe-buffer" "~5.1.0" + +"string-length@^4.0.1": + "integrity" "sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==" + "resolved" "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz" + "version" "4.0.2" + dependencies: + "char-regex" "^1.0.2" + "strip-ansi" "^6.0.0" + +"string-width@^1.0.1": + "integrity" "sha512-0XsVpQLnVCXHJfyEs8tC0zpTVIr5PKKsQtkT29IwupnPTjtPmQ3xT/4yCREF9hYkV/3M3kzcUTSAZT6a6h81tw==" + "resolved" "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz" + "version" "1.0.2" + dependencies: + "code-point-at" "^1.0.0" + "is-fullwidth-code-point" "^1.0.0" + "strip-ansi" "^3.0.0" + +"string-width@^1.0.2 || 2 || 3 || 4", "string-width@^4.1.0", "string-width@^4.2.0", "string-width@^4.2.3": + "integrity" "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==" + "resolved" "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz" + "version" "4.2.3" + dependencies: + "emoji-regex" "^8.0.0" + "is-fullwidth-code-point" "^3.0.0" + "strip-ansi" "^6.0.1" + +"string-width@^2.0.0", "string-width@^2.1.1": + "integrity" "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==" + "resolved" "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz" + "version" "2.1.1" + dependencies: + "is-fullwidth-code-point" "^2.0.0" + "strip-ansi" "^4.0.0" + +"string-width@^3.0.0", "string-width@^3.1.0": + "integrity" "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==" + "resolved" "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz" + "version" "3.1.0" + dependencies: + "emoji-regex" "^7.0.1" + "is-fullwidth-code-point" "^2.0.0" + "strip-ansi" "^5.1.0" + +"string.prototype.trim@^1.2.7": + "integrity" "sha512-p6TmeT1T3411M8Cgg9wBTMRtY2q9+PNy9EV1i2lIXUN/btt763oIfxwN3RR8VU6wHX8j/1CFy0L+YuThm6bgOg==" + "resolved" "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.7.tgz" + "version" "1.2.7" + dependencies: + "call-bind" "^1.0.2" + "define-properties" "^1.1.4" + "es-abstract" "^1.20.4" + +"string.prototype.trimend@^1.0.6": + "integrity" "sha512-JySq+4mrPf9EsDBEDYMOb/lM7XQLulwg5R/m1r0PXEFqrV0qHvl58sdTilSXtKOflCsK2E8jxf+GKC0T07RWwQ==" + "resolved" "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.6.tgz" + "version" "1.0.6" + dependencies: + "call-bind" "^1.0.2" + "define-properties" "^1.1.4" + "es-abstract" "^1.20.4" + +"string.prototype.trimstart@^1.0.6": + "integrity" "sha512-omqjMDaY92pbn5HOX7f9IccLA+U1tA9GvtU4JrodiXFfYB7jPzzHpRzpglLAjtUV6bB557zwClJezTqnAiYnQA==" + "resolved" "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.6.tgz" + "version" "1.0.6" + dependencies: + "call-bind" "^1.0.2" + "define-properties" "^1.1.4" + "es-abstract" "^1.20.4" + +"strip-ansi@^3.0.0", "strip-ansi@^3.0.1": + "integrity" "sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg==" + "resolved" "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz" + "version" "3.0.1" + dependencies: + "ansi-regex" "^2.0.0" + +"strip-ansi@^4.0.0": + "integrity" "sha512-4XaJ2zQdCzROZDivEVIDPkcQn8LMFSa8kj8Gxb/Lnwzv9A8VctNZ+lfivC/sV3ivW8ElJTERXZoPBRrZKkNKow==" + "resolved" "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz" + "version" "4.0.0" + dependencies: + "ansi-regex" "^3.0.0" + +"strip-ansi@^5.0.0", "strip-ansi@^5.1.0", "strip-ansi@^5.2.0": + "integrity" "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==" + "resolved" "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz" + "version" "5.2.0" + dependencies: + "ansi-regex" "^4.1.0" + +"strip-ansi@^6.0.0", "strip-ansi@^6.0.1": + "integrity" "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==" + "resolved" "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz" + "version" "6.0.1" + dependencies: + "ansi-regex" "^5.0.1" + +"strip-bom@^3.0.0": + "integrity" "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==" + "resolved" "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz" + "version" "3.0.0" + +"strip-bom@^4.0.0": + "integrity" "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==" + "resolved" "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz" + "version" "4.0.0" + +"strip-dirs@^2.0.0": + "integrity" "sha512-JOCxOeKLm2CAS73y/U4ZeZPTkE+gNVCzKt7Eox84Iej1LT/2pTWYpZKJuxwQpvX1LiZb1xokNR7RLfuBAa7T3g==" + "resolved" "https://registry.npmjs.org/strip-dirs/-/strip-dirs-2.1.0.tgz" + "version" "2.1.0" + dependencies: + "is-natural-number" "^4.0.1" + +"strip-eof@^1.0.0": + "integrity" "sha512-7FCwGGmx8mD5xQd3RPUvnSpUXHM3BWuzjtpD4TXsfcZ9EL4azvVVUscFYwD9nx8Kh+uCBC00XBtAykoMHwTh8Q==" + "resolved" "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz" + "version" "1.0.0" + +"strip-final-newline@^2.0.0": + "integrity" "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==" + "resolved" "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz" + "version" "2.0.0" + +"strip-hex-prefix@1.0.0": + "integrity" "sha512-q8d4ue7JGEiVcypji1bALTos+0pWtyGlivAWyPuTkHzuTCJqrK9sWxYQZUq6Nq3cuyv3bm734IhHvHtGGURU6A==" + "resolved" "https://registry.npmjs.org/strip-hex-prefix/-/strip-hex-prefix-1.0.0.tgz" + "version" "1.0.0" + dependencies: + "is-hex-prefixed" "1.0.0" + +"strip-json-comments@^3.1.0", "strip-json-comments@^3.1.1", "strip-json-comments@3.1.1": + "integrity" "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==" + "resolved" "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz" + "version" "3.1.1" + +"sturdy-websocket@^0.2.1": + "integrity" "sha512-NnzSOEKyv4I83qbuKw9ROtJrrT6Z/Xt7I0HiP/e6H6GnpeTDvzwGIGeJ8slai+VwODSHQDooW2CAilJwT9SpRg==" + "resolved" "https://registry.npmjs.org/sturdy-websocket/-/sturdy-websocket-0.2.1.tgz" + "version" "0.2.1" + +"sublevel-pouchdb@7.3.1": + "integrity" "sha512-n+4fK72F/ORdqPwoGgMGYeOrW2HaPpW9o9k80bT1B3Cim5BSvkKkr9WbWOWynni/GHkbCEdvLVFJL1ktosAdhQ==" + "resolved" "https://registry.npmjs.org/sublevel-pouchdb/-/sublevel-pouchdb-7.3.1.tgz" + "version" "7.3.1" + dependencies: + "inherits" "2.0.4" + "level-codec" "9.0.2" + "ltgt" "2.2.1" + "readable-stream" "1.1.14" + +"superagent@^8.0.5": + "integrity" "sha512-4C7Bh5pyHTvU33KpZgwrNKh/VQnvgtCSqPRfJAUdmrtSYePVzVg4E4OzsrbkhJj9O7SO6Bnv75K/F8XVZT8YHA==" + "resolved" "https://registry.npmjs.org/superagent/-/superagent-8.0.9.tgz" + "version" "8.0.9" + dependencies: + "component-emitter" "^1.3.0" + "cookiejar" "^2.1.4" + "debug" "^4.3.4" + "fast-safe-stringify" "^2.1.1" + "form-data" "^4.0.0" + "formidable" "^2.1.2" + "methods" "^1.1.2" + "mime" "2.6.0" + "qs" "^6.11.0" + "semver" "^7.3.8" + +"superstruct@^0.10.12": + "integrity" "sha512-W4SitSZ9MOyMPbHreoZVEneSZyPEeNGbdfJo/7FkJyRs/M3wQRFzq+t3S/NBwlrFSWdx1ONLjLb9pB+UKe4IqQ==" + "resolved" "https://registry.npmjs.org/superstruct/-/superstruct-0.10.13.tgz" + "version" "0.10.13" + +"superstruct@^0.14.2": + "integrity" "sha512-nPewA6m9mR3d6k7WkZ8N8zpTWfenFH3q9pA2PkuiZxINr9DKB2+40wEQf0ixn8VaGuJ78AB6iWOtStI+/4FKZQ==" + "resolved" "https://registry.npmjs.org/superstruct/-/superstruct-0.14.2.tgz" + "version" "0.14.2" + +"supertest@^6.1.6": + "integrity" "sha512-EMCG6G8gDu5qEqRQ3JjjPs6+FYT1a7Hv5ApHvtSghmOFJYtsU5S+pSb6Y2EUeCEY3CmEL3mmQ8YWlPOzQomabA==" + "resolved" "https://registry.npmjs.org/supertest/-/supertest-6.3.3.tgz" + "version" "6.3.3" + dependencies: + "methods" "^1.1.2" + "superagent" "^8.0.5" + +"supports-color@^5.3.0": + "integrity" "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==" + "resolved" "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz" + "version" "5.5.0" + dependencies: + "has-flag" "^3.0.0" + +"supports-color@^5.5.0": + "integrity" "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==" + "resolved" "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz" + "version" "5.5.0" + dependencies: + "has-flag" "^3.0.0" + +"supports-color@^7.0.0", "supports-color@^7.1.0": + "integrity" "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==" + "resolved" "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz" + "version" "7.2.0" + dependencies: + "has-flag" "^4.0.0" + +"supports-color@^8.0.0": + "integrity" "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==" + "resolved" "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz" + "version" "8.1.1" + dependencies: + "has-flag" "^4.0.0" + +"supports-color@4.4.0": + "integrity" "sha512-rKC3+DyXWgK0ZLKwmRsrkyHVZAjNkfzeehuFWdGGcqGDTZFH73+RH6S/RDAAxl9GusSjZSUWYLmT9N5pzXFOXQ==" + "resolved" "https://registry.npmjs.org/supports-color/-/supports-color-4.4.0.tgz" + "version" "4.4.0" + dependencies: + "has-flag" "^2.0.0" + +"supports-color@5.4.0": + "integrity" "sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==" + "resolved" "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz" + "version" "5.4.0" + dependencies: + "has-flag" "^3.0.0" + +"supports-color@8.1.1": + "integrity" "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==" + "resolved" "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz" + "version" "8.1.1" + dependencies: + "has-flag" "^4.0.0" + +"supports-hyperlinks@^2.0.0": + "integrity" "sha512-RpsAZlpWcDwOPQA22aCH4J0t7L8JmAvsCxfOSEwm7cQs3LshN36QaTkwd70DnBOXDWGssw2eUoc8CaRWT0XunA==" + "resolved" "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-2.3.0.tgz" + "version" "2.3.0" + dependencies: + "has-flag" "^4.0.0" + "supports-color" "^7.0.0" + +"supports-preserve-symlinks-flag@^1.0.0": + "integrity" "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==" + "resolved" "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz" + "version" "1.0.0" + +"swagger-ui-dist@>=4.11.0": + "integrity" "sha512-n7AT4wzKIPpHy/BGflJOepGMrbY/7Cd5yVd9ptVczaJGAKScbVJrZxFbAE2ZSZa8KmqdQ0+pOs3/5mWY5tSMZQ==" + "resolved" "https://registry.npmjs.org/swagger-ui-dist/-/swagger-ui-dist-4.18.1.tgz" + "version" "4.18.1" + +"swagger-ui-express@^4.1.6": + "integrity" "sha512-MHIOaq9JrTTB3ygUJD+08PbjM5Tt/q7x80yz9VTFIatw8j5uIWKcr90S0h5NLMzFEDC6+eVprtoeA5MDZXCUKQ==" + "resolved" "https://registry.npmjs.org/swagger-ui-express/-/swagger-ui-express-4.6.2.tgz" + "version" "4.6.2" + dependencies: + "swagger-ui-dist" ">=4.11.0" + +"swap-case@^1.1.0": + "integrity" "sha512-BAmWG6/bx8syfc6qXPprof3Mn5vQgf5dwdUNJhsNqU9WdPt5P+ES/wQ5bxfijy8zwZgZZHslC3iAsxsuQMCzJQ==" + "resolved" "https://registry.npmjs.org/swap-case/-/swap-case-1.1.2.tgz" + "version" "1.1.2" + dependencies: + "lower-case" "^1.1.1" + "upper-case" "^1.1.1" + +"swarm-js@^0.1.40": + "integrity" "sha512-BV7c/dVlA3R6ya1lMlSSNPLYrntt0LUq4YMgy3iwpCIc6rZnS5W2wUoctarZ5pXlpKtxDDf9hNziEkcfrxdhqQ==" + "resolved" "https://registry.npmjs.org/swarm-js/-/swarm-js-0.1.42.tgz" + "version" "0.1.42" + dependencies: + "bluebird" "^3.5.0" + "buffer" "^5.0.5" + "eth-lib" "^0.1.26" + "fs-extra" "^4.0.2" + "got" "^11.8.5" + "mime-types" "^2.1.16" + "mkdirp-promise" "^5.0.1" + "mock-fs" "^4.1.0" + "setimmediate" "^1.0.5" + "tar" "^4.0.2" + "xhr-request" "^1.0.1" + +"swarm-js@0.1.39": + "integrity" "sha512-QLMqL2rzF6n5s50BptyD6Oi0R1aWlJC5Y17SRIVXRj6OR1DRIPM7nepvrxxkjA1zNzFz6mUOMjfeqeDaWB7OOg==" + "resolved" "https://registry.npmjs.org/swarm-js/-/swarm-js-0.1.39.tgz" + "version" "0.1.39" + dependencies: + "bluebird" "^3.5.0" + "buffer" "^5.0.5" + "decompress" "^4.0.0" + "eth-lib" "^0.1.26" + "fs-extra" "^4.0.2" + "got" "^7.1.0" + "mime-types" "^2.1.16" + "mkdirp-promise" "^5.0.1" + "mock-fs" "^4.1.0" + "setimmediate" "^1.0.5" + "tar" "^4.0.2" + "xhr-request-promise" "^0.1.2" + +"symbol-observable@^1.0.3": + "integrity" "sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ==" + "resolved" "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.2.0.tgz" + "version" "1.2.0" + +"symbol-observable@^2.0.3": + "integrity" "sha512-sQV7phh2WCYAn81oAkakC5qjq2Ml0g8ozqz03wOGnx9dDlG1de6yrF+0RAzSJD8fPUow3PTSMf2SAbOGxb93BA==" + "resolved" "https://registry.npmjs.org/symbol-observable/-/symbol-observable-2.0.3.tgz" + "version" "2.0.3" + +"symbol-observable@^4.0.0": + "integrity" "sha512-b19dMThMV4HVFynSAM1++gBHAbk2Tc/osgLIBZMKsyqh34jb2e8Os7T6ZW/Bt3pJFdBTd2JwAnAAEQV7rSNvcQ==" + "resolved" "https://registry.npmjs.org/symbol-observable/-/symbol-observable-4.0.0.tgz" + "version" "4.0.0" + +"symbol-tree@^3.2.4": + "integrity" "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==" + "resolved" "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz" + "version" "3.2.4" + +"table@^6.0.9": + "integrity" "sha512-Y4X9zqrCftUhMeH2EptSSERdVKt/nEdijTOacGD/97EKjhQ/Qs8RTlEGABSJNNN8lac9kheH+af7yAkEWlgneA==" + "resolved" "https://registry.npmjs.org/table/-/table-6.8.1.tgz" + "version" "6.8.1" + dependencies: + "ajv" "^8.0.1" + "lodash.truncate" "^4.4.2" + "slice-ansi" "^4.0.0" + "string-width" "^4.2.3" + "strip-ansi" "^6.0.1" + +"tar-stream@^1.5.2": + "integrity" "sha512-rzS0heiNf8Xn7/mpdSVVSMAWAoy9bfb1WOTYC78Z0UQKeKa/CWS8FOq0lKGNa8DWKAn9gxjCvMLYc5PGXYlK2A==" + "resolved" "https://registry.npmjs.org/tar-stream/-/tar-stream-1.6.2.tgz" + "version" "1.6.2" + dependencies: + "bl" "^1.0.0" + "buffer-alloc" "^1.2.0" + "end-of-stream" "^1.0.0" + "fs-constants" "^1.0.0" + "readable-stream" "^2.3.0" + "to-buffer" "^1.1.1" + "xtend" "^4.0.0" + +"tar@^4.0.2": + "integrity" "sha512-a20gEsvHnWe0ygBY8JbxoM4w3SJdhc7ZAuxkLqh+nvNQN2IOt0B5lLgM490X5Hl8FF0dl0tOf2ewFYAlIFgzVA==" + "resolved" "https://registry.npmjs.org/tar/-/tar-4.4.19.tgz" + "version" "4.4.19" + dependencies: + "chownr" "^1.1.4" + "fs-minipass" "^1.2.7" + "minipass" "^2.9.0" + "minizlib" "^1.3.3" + "mkdirp" "^0.5.5" + "safe-buffer" "^5.2.1" + "yallist" "^3.1.1" + +"tar@^6.1.11": + "integrity" "sha512-/Wo7DcT0u5HUV486xg675HtjNd3BXZ6xDbzsCUZPt5iw8bTQ63bP0Raut3mvro9u+CUyq7YQd8Cx55fsZXxqLQ==" + "resolved" "https://registry.npmjs.org/tar/-/tar-6.2.0.tgz" + "version" "6.2.0" + dependencies: + "chownr" "^2.0.0" + "fs-minipass" "^2.0.0" + "minipass" "^5.0.0" + "minizlib" "^2.1.1" + "mkdirp" "^1.0.3" + "yallist" "^4.0.0" + +"terminal-link@^2.0.0": + "integrity" "sha512-un0FmiRUQNr5PJqy9kP7c40F5BOfpGlYTrxonDChEZB7pzZxRNp/bt+ymiy9/npwXya9KH99nJ/GXFIiUkYGFQ==" + "resolved" "https://registry.npmjs.org/terminal-link/-/terminal-link-2.1.1.tgz" + "version" "2.1.1" + dependencies: + "ansi-escapes" "^4.2.1" + "supports-hyperlinks" "^2.0.0" + +"test-exclude@^6.0.0": + "integrity" "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==" + "resolved" "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz" + "version" "6.0.0" dependencies: "@istanbuljs/schema" "^0.1.2" - glob "^7.1.4" - minimatch "^3.0.4" - -text-encoding-utf-8@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/text-encoding-utf-8/-/text-encoding-utf-8-1.0.2.tgz#585b62197b0ae437e3c7b5d0af27ac1021e10d13" - integrity sha512-8bw4MY9WjdsD2aMtO0OzOCY3pXGYNx2d2FfHRVUKkiCPDWjKuOlhLVASS+pD7VkLTVjW268LYJHwsnPFlBpbAg== - -text-encoding@^0.7.0: - version "0.7.0" - resolved "https://registry.yarnpkg.com/text-encoding/-/text-encoding-0.7.0.tgz#f895e836e45990624086601798ea98e8f36ee643" - integrity sha512-oJQ3f1hrOnbRLOcwKz0Liq2IcrvDeZRHXhd9RgLrsT+DjWY/nty1Hi7v3dtkaEYbPYe0mUoOfzRrMwfXXwgPUA== - -text-hex@1.0.x: - version "1.0.0" - resolved "https://registry.yarnpkg.com/text-hex/-/text-hex-1.0.0.tgz#69dc9c1b17446ee79a92bf5b884bb4b9127506f5" - integrity sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg== - -text-table@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" - integrity sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw== - -thread-stream@^0.15.1: - version "0.15.2" - resolved "https://registry.yarnpkg.com/thread-stream/-/thread-stream-0.15.2.tgz#fb95ad87d2f1e28f07116eb23d85aba3bc0425f4" - integrity sha512-UkEhKIg2pD+fjkHQKyJO3yoIvAP3N6RlNFt2dUhcS1FGvCD1cQa1M/PGknCLFIyZdtJOWQjejp7bdNqmN7zwdA== - dependencies: - real-require "^0.1.0" - -throat@^6.0.1: - version "6.0.2" - resolved "https://registry.yarnpkg.com/throat/-/throat-6.0.2.tgz#51a3fbb5e11ae72e2cf74861ed5c8020f89f29fe" - integrity sha512-WKexMoJj3vEuK0yFEapj8y64V0A6xcuPuK9Gt1d0R+dzCSJc0lHqQytAbSB4cDAK0dWh4T0E2ETkoLE2WZ41OQ== - -through2@3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/through2/-/through2-3.0.2.tgz#99f88931cfc761ec7678b41d5d7336b5b6a07bf4" - integrity sha512-enaDQ4MUyP2W6ZyT6EsMzqBPZaM/avg8iuo+l2d3QCs0J+6RaqkHV/2/lOwDTueBHeJ/2LG9lrLW3d5rWPucuQ== - dependencies: - inherits "^2.0.4" - readable-stream "2 || 3" - -through2@^2.0.1, through2@^2.0.3: - version "2.0.5" - resolved "https://registry.yarnpkg.com/through2/-/through2-2.0.5.tgz#01c1e39eb31d07cb7d03a96a70823260b23132cd" - integrity sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ== - dependencies: - readable-stream "~2.3.6" - xtend "~4.0.1" - -"through@>=2.2.7 <3", through@^2.3.8: - version "2.3.8" - resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" - integrity sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg== - -timed-out@^4.0.0, timed-out@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/timed-out/-/timed-out-4.0.1.tgz#f32eacac5a175bea25d7fab565ab3ed8741ef56f" - integrity sha512-G7r3AhovYtr5YKOWQkta8RKAPb+J9IsO4uVmzjl8AZwfhs8UcUwTiD6gcJYSgOtzyjvQKrKYn41syHbUWMkafA== - -tiny-emitter@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/tiny-emitter/-/tiny-emitter-2.1.0.tgz#1d1a56edfc51c43e863cbb5382a72330e3555423" - integrity sha512-NB6Dk1A9xgQPMoGqC5CVXn123gWyte215ONT5Pp5a0yt4nlEoO1ZWeCwpncaekPHXO60i47ihFnZPiRPjRMq4Q== - -tiny-invariant@^1.1.0: - version "1.3.1" - resolved "https://registry.yarnpkg.com/tiny-invariant/-/tiny-invariant-1.3.1.tgz#8560808c916ef02ecfd55e66090df23a4b7aa642" - integrity sha512-AD5ih2NlSssTCwsMznbvwMZpJ1cbhkGd2uueNxzv2jDlEeZdU04JQfRnggJQ8DrcVBGjAsCKwFBbDlVNtEMlzw== - -tiny-secp256k1@^1.1.3, tiny-secp256k1@^1.1.6: - version "1.1.6" - resolved "https://registry.yarnpkg.com/tiny-secp256k1/-/tiny-secp256k1-1.1.6.tgz#7e224d2bee8ab8283f284e40e6b4acb74ffe047c" - integrity sha512-FmqJZGduTyvsr2cF3375fqGHUovSwDi/QytexX1Se4BPuPZpTE5Ftp5fg+EFSuEf3lhZqgCRjEG3ydUQ/aNiwA== - dependencies: - bindings "^1.3.0" - bn.js "^4.11.8" - create-hmac "^1.1.7" - elliptic "^6.4.0" - nan "^2.13.2" - -tiny-typed-emitter@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/tiny-typed-emitter/-/tiny-typed-emitter-2.1.0.tgz#b3b027fdd389ff81a152c8e847ee2f5be9fad7b5" - integrity sha512-qVtvMxeXbVej0cQWKqVSSAHmKZEHAvxdF8HEUBFWts8h+xEo5m/lEiPakuyZ3BnCBjOD8i24kzNOiOLLgsSxhA== - -tiny-warning@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/tiny-warning/-/tiny-warning-1.0.3.tgz#94a30db453df4c643d0fd566060d60a875d84754" - integrity sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA== - -title-case@^2.1.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/title-case/-/title-case-2.1.1.tgz#3e127216da58d2bc5becf137ab91dae3a7cd8faa" - integrity sha512-EkJoZ2O3zdCz3zJsYCsxyq2OC5hrxR9mfdd5I+w8h/tmFfeOxJ+vvkxsKxdmN0WtS9zLdHEgfgVOiMVgv+Po4Q== - dependencies: - no-case "^2.2.0" - upper-case "^1.0.3" - -tmp@0.0.33: - version "0.0.33" - resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.33.tgz#6d34335889768d21b2bcda0aa277ced3b1bfadf9" - integrity sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw== - dependencies: - os-tmpdir "~1.0.2" - -tmpl@1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.5.tgz#8683e0b902bb9c20c4f726e3c0b69f36518c07cc" - integrity sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw== - -to-buffer@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/to-buffer/-/to-buffer-1.1.1.tgz#493bd48f62d7c43fcded313a03dcadb2e1213a80" - integrity sha512-lx9B5iv7msuFYE3dytT+KE5tap+rNYw+K4jVkb9R/asAb+pbBSM17jtunHplhBe6RRJdZx3Pn2Jph24O32mOVg== - -to-fast-properties@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e" - integrity sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog== - -to-object-path@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/to-object-path/-/to-object-path-0.3.0.tgz#297588b7b0e7e0ac08e04e672f85c1f4999e17af" - integrity sha512-9mWHdnGRuh3onocaHzukyvCZhzvr6tiflAy/JRFXcJX0TjgfWA9pk9t8CMbzmBE4Jfw58pXbkngtBtqYxzNEyg== - dependencies: - kind-of "^3.0.2" - -to-readable-stream@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/to-readable-stream/-/to-readable-stream-1.0.0.tgz#ce0aa0c2f3df6adf852efb404a783e77c0475771" - integrity sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q== - -to-regex-range@^2.1.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-2.1.1.tgz#7c80c17b9dfebe599e27367e0d4dd5590141db38" - integrity sha512-ZZWNfCjUokXXDGXFpZehJIkZqq91BcULFq/Pi7M5i4JnxXdhMKAK682z8bCW3o8Hj1wuuzoKcW3DfVzaP6VuNg== - dependencies: - is-number "^3.0.0" - repeat-string "^1.6.1" - -to-regex-range@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4" - integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ== - dependencies: - is-number "^7.0.0" - -to-regex@^3.0.1, to-regex@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/to-regex/-/to-regex-3.0.2.tgz#13cfdd9b336552f30b51f33a8ae1b42a7a7599ce" - integrity sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw== - dependencies: - define-property "^2.0.2" - extend-shallow "^3.0.2" - regex-not "^1.0.2" - safe-regex "^1.1.0" - -toformat@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/toformat/-/toformat-2.0.0.tgz#7a043fd2dfbe9021a4e36e508835ba32056739d8" - integrity sha512-03SWBVop6nU8bpyZCx7SodpYznbZF5R4ljwNLBcTQzKOD9xuihRo/psX58llS1BMFhhAI08H3luot5GoXJz2pQ== - -toggle-selection@^1.0.6: - version "1.0.6" - resolved "https://registry.yarnpkg.com/toggle-selection/-/toggle-selection-1.0.6.tgz#6e45b1263f2017fa0acc7d89d78b15b8bf77da32" - integrity sha512-BiZS+C1OS8g/q2RRbJmy59xpyghNBqrr6k5L/uKBGRsTfxmu3ffiRnd8mlGPUVayg8pvfi5urfnu8TU7DVOkLQ== - -toidentifier@1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.1.tgz#3be34321a88a820ed1bd80dfaa33e479fbb8dd35" - integrity sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA== - -touch@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/touch/-/touch-3.1.0.tgz#fe365f5f75ec9ed4e56825e0bb76d24ab74af83b" - integrity sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA== - dependencies: - nopt "~1.0.10" - -"tough-cookie@^2.3.3 || ^3.0.1 || ^4.0.0", tough-cookie@^4.0.0: - version "4.1.2" - resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-4.1.2.tgz#e53e84b85f24e0b65dd526f46628db6c85f6b874" - integrity sha512-G9fqXWoYFZgTc2z8Q5zaHy/vJMjm+WV0AkAeHxVCQiEB1b+dGvWzFW6QV07cY5jQ5gRkeid2qIkzkxUnmoQZUQ== - dependencies: - psl "^1.1.33" - punycode "^2.1.1" - universalify "^0.2.0" - url-parse "^1.5.3" - -tough-cookie@~2.5.0: - version "2.5.0" - resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.5.0.tgz#cd9fb2a0aa1d5a12b473bd9fb96fa3dcff65ade2" - integrity sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g== - dependencies: - psl "^1.1.28" - punycode "^2.1.1" - -tr46@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/tr46/-/tr46-2.1.0.tgz#fa87aa81ca5d5941da8cbf1f9b749dc969a4e240" - integrity sha512-15Ih7phfcdP5YxqiB+iDtLoaTz4Nd35+IiAv0kQ5FNKHzXgdWqPoTIqEDDJmXceQt4JZk6lVPT8lnDlPpGDppw== - dependencies: - punycode "^2.1.1" - -tr46@~0.0.3: - version "0.0.3" - resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" - integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw== - -triple-beam@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/triple-beam/-/triple-beam-1.3.0.tgz#a595214c7298db8339eeeee083e4d10bd8cb8dd9" - integrity sha512-XrHUvV5HpdLmIj4uVMxHggLbFSZYIn7HEWsqePZcI50pco+MPqJ50wMGY794X7AOOhxOBAjbkqfAbEe/QMp2Lw== - -truffle-flattener@^1.4.4: - version "1.6.0" - resolved "https://registry.yarnpkg.com/truffle-flattener/-/truffle-flattener-1.6.0.tgz#abb64488b711e6cca0a9d3e449f6a85e35964c5d" - integrity sha512-scS5Bsi4CZyvlrmD4iQcLHTiG2RQFUXVheTgWeH6PuafmI+Lk5U87Es98loM3w3ImqC9/fPHq+3QIXbcPuoJ1Q== + "glob" "^7.1.4" + "minimatch" "^3.0.4" + +"text-encoding-utf-8@^1.0.2": + "integrity" "sha512-8bw4MY9WjdsD2aMtO0OzOCY3pXGYNx2d2FfHRVUKkiCPDWjKuOlhLVASS+pD7VkLTVjW268LYJHwsnPFlBpbAg==" + "resolved" "https://registry.npmjs.org/text-encoding-utf-8/-/text-encoding-utf-8-1.0.2.tgz" + "version" "1.0.2" + +"text-encoding@^0.7.0": + "integrity" "sha512-oJQ3f1hrOnbRLOcwKz0Liq2IcrvDeZRHXhd9RgLrsT+DjWY/nty1Hi7v3dtkaEYbPYe0mUoOfzRrMwfXXwgPUA==" + "resolved" "https://registry.npmjs.org/text-encoding/-/text-encoding-0.7.0.tgz" + "version" "0.7.0" + +"text-hex@1.0.x": + "integrity" "sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg==" + "resolved" "https://registry.npmjs.org/text-hex/-/text-hex-1.0.0.tgz" + "version" "1.0.0" + +"text-table@^0.2.0": + "integrity" "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==" + "resolved" "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz" + "version" "0.2.0" + +"thread-stream@^0.15.1": + "integrity" "sha512-UkEhKIg2pD+fjkHQKyJO3yoIvAP3N6RlNFt2dUhcS1FGvCD1cQa1M/PGknCLFIyZdtJOWQjejp7bdNqmN7zwdA==" + "resolved" "https://registry.npmjs.org/thread-stream/-/thread-stream-0.15.2.tgz" + "version" "0.15.2" + dependencies: + "real-require" "^0.1.0" + +"throat@^6.0.1": + "integrity" "sha512-WKexMoJj3vEuK0yFEapj8y64V0A6xcuPuK9Gt1d0R+dzCSJc0lHqQytAbSB4cDAK0dWh4T0E2ETkoLE2WZ41OQ==" + "resolved" "https://registry.npmjs.org/throat/-/throat-6.0.2.tgz" + "version" "6.0.2" + +"through@^2.3.8", "through@>=2.2.7 <3": + "integrity" "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==" + "resolved" "https://registry.npmjs.org/through/-/through-2.3.8.tgz" + "version" "2.3.8" + +"through2@^2.0.1", "through2@^2.0.3": + "integrity" "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==" + "resolved" "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz" + "version" "2.0.5" + dependencies: + "readable-stream" "~2.3.6" + "xtend" "~4.0.1" + +"through2@3.0.2": + "integrity" "sha512-enaDQ4MUyP2W6ZyT6EsMzqBPZaM/avg8iuo+l2d3QCs0J+6RaqkHV/2/lOwDTueBHeJ/2LG9lrLW3d5rWPucuQ==" + "resolved" "https://registry.npmjs.org/through2/-/through2-3.0.2.tgz" + "version" "3.0.2" + dependencies: + "inherits" "^2.0.4" + "readable-stream" "2 || 3" + +"timed-out@^4.0.0", "timed-out@^4.0.1": + "integrity" "sha512-G7r3AhovYtr5YKOWQkta8RKAPb+J9IsO4uVmzjl8AZwfhs8UcUwTiD6gcJYSgOtzyjvQKrKYn41syHbUWMkafA==" + "resolved" "https://registry.npmjs.org/timed-out/-/timed-out-4.0.1.tgz" + "version" "4.0.1" + +"tiny-emitter@^2.1.0": + "integrity" "sha512-NB6Dk1A9xgQPMoGqC5CVXn123gWyte215ONT5Pp5a0yt4nlEoO1ZWeCwpncaekPHXO60i47ihFnZPiRPjRMq4Q==" + "resolved" "https://registry.npmjs.org/tiny-emitter/-/tiny-emitter-2.1.0.tgz" + "version" "2.1.0" + +"tiny-invariant@^1.1.0": + "integrity" "sha512-AD5ih2NlSssTCwsMznbvwMZpJ1cbhkGd2uueNxzv2jDlEeZdU04JQfRnggJQ8DrcVBGjAsCKwFBbDlVNtEMlzw==" + "resolved" "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.3.1.tgz" + "version" "1.3.1" + +"tiny-secp256k1@^1.1.3", "tiny-secp256k1@^1.1.6": + "integrity" "sha512-FmqJZGduTyvsr2cF3375fqGHUovSwDi/QytexX1Se4BPuPZpTE5Ftp5fg+EFSuEf3lhZqgCRjEG3ydUQ/aNiwA==" + "resolved" "https://registry.npmjs.org/tiny-secp256k1/-/tiny-secp256k1-1.1.6.tgz" + "version" "1.1.6" + dependencies: + "bindings" "^1.3.0" + "bn.js" "^4.11.8" + "create-hmac" "^1.1.7" + "elliptic" "^6.4.0" + "nan" "^2.13.2" + +"tiny-typed-emitter@^2.1.0": + "integrity" "sha512-qVtvMxeXbVej0cQWKqVSSAHmKZEHAvxdF8HEUBFWts8h+xEo5m/lEiPakuyZ3BnCBjOD8i24kzNOiOLLgsSxhA==" + "resolved" "https://registry.npmjs.org/tiny-typed-emitter/-/tiny-typed-emitter-2.1.0.tgz" + "version" "2.1.0" + +"tiny-warning@^1.0.3": + "integrity" "sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA==" + "resolved" "https://registry.npmjs.org/tiny-warning/-/tiny-warning-1.0.3.tgz" + "version" "1.0.3" + +"title-case@^2.1.0": + "integrity" "sha512-EkJoZ2O3zdCz3zJsYCsxyq2OC5hrxR9mfdd5I+w8h/tmFfeOxJ+vvkxsKxdmN0WtS9zLdHEgfgVOiMVgv+Po4Q==" + "resolved" "https://registry.npmjs.org/title-case/-/title-case-2.1.1.tgz" + "version" "2.1.1" + dependencies: + "no-case" "^2.2.0" + "upper-case" "^1.0.3" + +"tmp@0.0.33": + "integrity" "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==" + "resolved" "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz" + "version" "0.0.33" + dependencies: + "os-tmpdir" "~1.0.2" + +"tmpl@1.0.5": + "integrity" "sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==" + "resolved" "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz" + "version" "1.0.5" + +"to-buffer@^1.1.1": + "integrity" "sha512-lx9B5iv7msuFYE3dytT+KE5tap+rNYw+K4jVkb9R/asAb+pbBSM17jtunHplhBe6RRJdZx3Pn2Jph24O32mOVg==" + "resolved" "https://registry.npmjs.org/to-buffer/-/to-buffer-1.1.1.tgz" + "version" "1.1.1" + +"to-fast-properties@^2.0.0": + "integrity" "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==" + "resolved" "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz" + "version" "2.0.0" + +"to-object-path@^0.3.0": + "integrity" "sha512-9mWHdnGRuh3onocaHzukyvCZhzvr6tiflAy/JRFXcJX0TjgfWA9pk9t8CMbzmBE4Jfw58pXbkngtBtqYxzNEyg==" + "resolved" "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz" + "version" "0.3.0" + dependencies: + "kind-of" "^3.0.2" + +"to-readable-stream@^1.0.0": + "integrity" "sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q==" + "resolved" "https://registry.npmjs.org/to-readable-stream/-/to-readable-stream-1.0.0.tgz" + "version" "1.0.0" + +"to-regex-range@^2.1.0": + "integrity" "sha512-ZZWNfCjUokXXDGXFpZehJIkZqq91BcULFq/Pi7M5i4JnxXdhMKAK682z8bCW3o8Hj1wuuzoKcW3DfVzaP6VuNg==" + "resolved" "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz" + "version" "2.1.1" + dependencies: + "is-number" "^3.0.0" + "repeat-string" "^1.6.1" + +"to-regex-range@^5.0.1": + "integrity" "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==" + "resolved" "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz" + "version" "5.0.1" + dependencies: + "is-number" "^7.0.0" + +"to-regex@^3.0.1", "to-regex@^3.0.2": + "integrity" "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==" + "resolved" "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz" + "version" "3.0.2" + dependencies: + "define-property" "^2.0.2" + "extend-shallow" "^3.0.2" + "regex-not" "^1.0.2" + "safe-regex" "^1.1.0" + +"toformat@^2.0.0": + "integrity" "sha512-03SWBVop6nU8bpyZCx7SodpYznbZF5R4ljwNLBcTQzKOD9xuihRo/psX58llS1BMFhhAI08H3luot5GoXJz2pQ==" + "resolved" "https://registry.npmjs.org/toformat/-/toformat-2.0.0.tgz" + "version" "2.0.0" + +"toggle-selection@^1.0.6": + "integrity" "sha512-BiZS+C1OS8g/q2RRbJmy59xpyghNBqrr6k5L/uKBGRsTfxmu3ffiRnd8mlGPUVayg8pvfi5urfnu8TU7DVOkLQ==" + "resolved" "https://registry.npmjs.org/toggle-selection/-/toggle-selection-1.0.6.tgz" + "version" "1.0.6" + +"toidentifier@1.0.1": + "integrity" "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==" + "resolved" "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz" + "version" "1.0.1" + +"touch@^3.1.0": + "integrity" "sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA==" + "resolved" "https://registry.npmjs.org/touch/-/touch-3.1.0.tgz" + "version" "3.1.0" + dependencies: + "nopt" "~1.0.10" + +"tough-cookie@^2.3.3 || ^3.0.1 || ^4.0.0", "tough-cookie@^4.0.0": + "integrity" "sha512-G9fqXWoYFZgTc2z8Q5zaHy/vJMjm+WV0AkAeHxVCQiEB1b+dGvWzFW6QV07cY5jQ5gRkeid2qIkzkxUnmoQZUQ==" + "resolved" "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.2.tgz" + "version" "4.1.2" + dependencies: + "psl" "^1.1.33" + "punycode" "^2.1.1" + "universalify" "^0.2.0" + "url-parse" "^1.5.3" + +"tough-cookie@~2.5.0": + "integrity" "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==" + "resolved" "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz" + "version" "2.5.0" + dependencies: + "psl" "^1.1.28" + "punycode" "^2.1.1" + +"tr46@^2.1.0": + "integrity" "sha512-15Ih7phfcdP5YxqiB+iDtLoaTz4Nd35+IiAv0kQ5FNKHzXgdWqPoTIqEDDJmXceQt4JZk6lVPT8lnDlPpGDppw==" + "resolved" "https://registry.npmjs.org/tr46/-/tr46-2.1.0.tgz" + "version" "2.1.0" + dependencies: + "punycode" "^2.1.1" + +"tr46@~0.0.3": + "integrity" "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" + "resolved" "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz" + "version" "0.0.3" + +"triple-beam@^1.3.0": + "integrity" "sha512-XrHUvV5HpdLmIj4uVMxHggLbFSZYIn7HEWsqePZcI50pco+MPqJ50wMGY794X7AOOhxOBAjbkqfAbEe/QMp2Lw==" + "resolved" "https://registry.npmjs.org/triple-beam/-/triple-beam-1.3.0.tgz" + "version" "1.3.0" + +"truffle-flattener@^1.4.4": + "integrity" "sha512-scS5Bsi4CZyvlrmD4iQcLHTiG2RQFUXVheTgWeH6PuafmI+Lk5U87Es98loM3w3ImqC9/fPHq+3QIXbcPuoJ1Q==" + "resolved" "https://registry.npmjs.org/truffle-flattener/-/truffle-flattener-1.6.0.tgz" + "version" "1.6.0" dependencies: "@resolver-engine/imports-fs" "^0.2.2" "@solidity-parser/parser" "^0.14.1" - find-up "^2.1.0" - mkdirp "^1.0.4" - tsort "0.0.1" + "find-up" "^2.1.0" + "mkdirp" "^1.0.4" + "tsort" "0.0.1" -truffle-hdwallet-provider@^1.0.17: - version "1.0.17" - resolved "https://registry.yarnpkg.com/truffle-hdwallet-provider/-/truffle-hdwallet-provider-1.0.17.tgz#fe8edd0d6974eeb31af9959e41525fb19abd74ca" - integrity sha512-s6DvSP83jiIAc6TUcpr7Uqnja1+sLGJ8og3X7n41vfyC4OCaKmBtXL5HOHf+SsU3iblOvnbFDgmN6Y1VBL/fsg== +"truffle-hdwallet-provider@^1.0.17": + "integrity" "sha512-s6DvSP83jiIAc6TUcpr7Uqnja1+sLGJ8og3X7n41vfyC4OCaKmBtXL5HOHf+SsU3iblOvnbFDgmN6Y1VBL/fsg==" + "resolved" "https://registry.npmjs.org/truffle-hdwallet-provider/-/truffle-hdwallet-provider-1.0.17.tgz" + "version" "1.0.17" dependencies: - any-promise "^1.3.0" - bindings "^1.3.1" - web3 "1.2.1" - websocket "^1.0.28" + "any-promise" "^1.3.0" + "bindings" "^1.3.1" + "web3" "1.2.1" + "websocket" "^1.0.28" -truffle@^5.1.41: - version "5.8.1" - resolved "https://registry.yarnpkg.com/truffle/-/truffle-5.8.1.tgz#5d9a819e8d303d4e4078e3a475828c36773982f7" - integrity sha512-IxKn2urrbM7FVJP/3aQfC4sw2nG2he5tQehYFQ54M6S5yfWpl4PsxMZuRqid7CqnrkoruoYH6tZXypHqcFVc5Q== +"truffle@^5.1.41": + "integrity" "sha512-IxKn2urrbM7FVJP/3aQfC4sw2nG2he5tQehYFQ54M6S5yfWpl4PsxMZuRqid7CqnrkoruoYH6tZXypHqcFVc5Q==" + "resolved" "https://registry.npmjs.org/truffle/-/truffle-5.8.1.tgz" + "version" "5.8.1" dependencies: "@truffle/db-loader" "^0.2.20" "@truffle/debugger" "^11.0.31" - app-module-path "^2.2.0" - ganache "7.7.7" - mocha "10.1.0" - original-require "^1.0.1" + "app-module-path" "^2.2.0" + "ganache" "7.7.7" + "mocha" "10.1.0" + "original-require" "^1.0.1" optionalDependencies: "@truffle/db" "^2.0.20" -ts-invariant@^0.10.3: - version "0.10.3" - resolved "https://registry.yarnpkg.com/ts-invariant/-/ts-invariant-0.10.3.tgz#3e048ff96e91459ffca01304dbc7f61c1f642f6c" - integrity sha512-uivwYcQaxAucv1CzRp2n/QdYPo4ILf9VXgH19zEIjFx2EJufV16P0JtJVpYHy89DItG6Kwj2oIUjrcK5au+4tQ== +"ts-invariant@^0.10.3": + "integrity" "sha512-uivwYcQaxAucv1CzRp2n/QdYPo4ILf9VXgH19zEIjFx2EJufV16P0JtJVpYHy89DItG6Kwj2oIUjrcK5au+4tQ==" + "resolved" "https://registry.npmjs.org/ts-invariant/-/ts-invariant-0.10.3.tgz" + "version" "0.10.3" dependencies: - tslib "^2.1.0" + "tslib" "^2.1.0" -ts-jest@^27.0.5: - version "27.1.5" - resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-27.1.5.tgz#0ddf1b163fbaae3d5b7504a1e65c914a95cff297" - integrity sha512-Xv6jBQPoBEvBq/5i2TeSG9tt/nqkbpcurrEG1b+2yfBrcJelOZF9Ml6dmyMh7bcW9JyFbRYpR5rxROSlBLTZHA== +"ts-jest@^27.0.5": + "integrity" "sha512-Xv6jBQPoBEvBq/5i2TeSG9tt/nqkbpcurrEG1b+2yfBrcJelOZF9Ml6dmyMh7bcW9JyFbRYpR5rxROSlBLTZHA==" + "resolved" "https://registry.npmjs.org/ts-jest/-/ts-jest-27.1.5.tgz" + "version" "27.1.5" dependencies: - bs-logger "0.x" - fast-json-stable-stringify "2.x" - jest-util "^27.0.0" - json5 "2.x" - lodash.memoize "4.x" - make-error "1.x" - semver "7.x" - yargs-parser "20.x" + "bs-logger" "0.x" + "fast-json-stable-stringify" "2.x" + "jest-util" "^27.0.0" + "json5" "2.x" + "lodash.memoize" "4.x" + "make-error" "1.x" + "semver" "7.x" + "yargs-parser" "20.x" -ts-node@^10.0.0, ts-node@^10.9.1: - version "10.9.1" - resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.9.1.tgz#e73de9102958af9e1f0b168a6ff320e25adcff4b" - integrity sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw== +"ts-node@^10.0.0", "ts-node@^10.9.1": + "integrity" "sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==" + "resolved" "https://registry.npmjs.org/ts-node/-/ts-node-10.9.1.tgz" + "version" "10.9.1" dependencies: "@cspotcode/source-map-support" "^0.8.0" "@tsconfig/node10" "^1.0.7" "@tsconfig/node12" "^1.0.7" "@tsconfig/node14" "^1.0.0" "@tsconfig/node16" "^1.0.2" - acorn "^8.4.1" - acorn-walk "^8.1.1" - arg "^4.1.0" - create-require "^1.1.0" - diff "^4.0.1" - make-error "^1.1.1" - v8-compile-cache-lib "^3.0.1" - yn "3.1.1" - -tsconfig-paths@^3.14.1: - version "3.14.2" - resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.14.2.tgz#6e32f1f79412decd261f92d633a9dc1cfa99f088" - integrity sha512-o/9iXgCYc5L/JxCHPe3Hvh8Q/2xm5Z+p18PESBU6Ff33695QnCHBEjcytY2q19ua7Mbl/DavtBOLq+oG0RCL+g== + "acorn" "^8.4.1" + "acorn-walk" "^8.1.1" + "arg" "^4.1.0" + "create-require" "^1.1.0" + "diff" "^4.0.1" + "make-error" "^1.1.1" + "v8-compile-cache-lib" "^3.0.1" + "yn" "3.1.1" + +"tsconfig-paths@^3.14.1": + "integrity" "sha512-o/9iXgCYc5L/JxCHPe3Hvh8Q/2xm5Z+p18PESBU6Ff33695QnCHBEjcytY2q19ua7Mbl/DavtBOLq+oG0RCL+g==" + "resolved" "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.14.2.tgz" + "version" "3.14.2" dependencies: "@types/json5" "^0.0.29" - json5 "^1.0.2" - minimist "^1.2.6" - strip-bom "^3.0.0" - -tslib@1.14.1, tslib@^1.8.1, tslib@^1.9.0, tslib@^1.9.3: - version "1.14.1" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" - integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== - -tslib@2.5.0, tslib@^2.0.3, tslib@^2.1.0, tslib@^2.3.0, tslib@^2.3.1, tslib@^2.4.0: - version "2.5.0" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.5.0.tgz#42bfed86f5787aeb41d031866c8f402429e0fddf" - integrity sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg== - -tslib@~2.4.0: - version "2.4.1" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.4.1.tgz#0d0bfbaac2880b91e22df0768e55be9753a5b17e" - integrity sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA== - -tsort@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/tsort/-/tsort-0.0.1.tgz#e2280f5e817f8bf4275657fd0f9aebd44f5a2786" - integrity sha512-Tyrf5mxF8Ofs1tNoxA13lFeZ2Zrbd6cKbuH3V+MQ5sb6DtBj5FjrXVsRWT8YvNAQTqNoz66dz1WsbigI22aEnw== - -tsutils@^3.21.0: - version "3.21.0" - resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.21.0.tgz#b48717d394cea6c1e096983eed58e9d61715b623" - integrity sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA== - dependencies: - tslib "^1.8.1" - -tunnel-agent@^0.6.0: - version "0.6.0" - resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd" - integrity sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w== - dependencies: - safe-buffer "^5.0.1" - -tweetnacl-util@^0.15.0, tweetnacl-util@^0.15.1: - version "0.15.1" - resolved "https://registry.yarnpkg.com/tweetnacl-util/-/tweetnacl-util-0.15.1.tgz#b80fcdb5c97bcc508be18c44a4be50f022eea00b" - integrity sha512-RKJBIj8lySrShN4w6i/BonWp2Z/uxwC3h4y7xsRrpP59ZboCd0GpEVsOnMDYLMmKBpYhb5TgHzZXy7wTfYFBRw== - -tweetnacl@^0.14.3, tweetnacl@~0.14.0: - version "0.14.5" - resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" - integrity sha512-KXXFFdAbFXY4geFIwoyNK+f5Z1b7swfXABfL7HXCmoIWMKU3dmS26672A4EeQtDzLKy7SXmfBu51JolvEKwtGA== - -tweetnacl@^1.0.1, tweetnacl@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-1.0.3.tgz#ac0af71680458d8a6378d0d0d050ab1407d35596" - integrity sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw== - -type-check@^0.4.0, type-check@~0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.4.0.tgz#07b8203bfa7056c0657050e3ccd2c37730bab8f1" - integrity sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew== - dependencies: - prelude-ls "^1.2.1" - -type-check@~0.3.2: - version "0.3.2" - resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.3.2.tgz#5884cab512cf1d355e3fb784f30804b2b520db72" - integrity sha512-ZCmOJdvOWDBYJlzAoFkC+Q0+bUyEOS1ltgp1MGU03fqHG+dbi9tBFU2Rd9QKiDZFAYrhPh2JUf7rZRIuHRKtOg== - dependencies: - prelude-ls "~1.1.2" - -type-detect@4.0.8, type-detect@^4.0.0, type-detect@^4.0.5: - version "4.0.8" - resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c" - integrity sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g== - -type-fest@^0.20.2: - version "0.20.2" - resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.20.2.tgz#1bf207f4b28f91583666cb5fbd327887301cd5f4" - integrity sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ== - -type-fest@^0.21.3: - version "0.21.3" - resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.21.3.tgz#d260a24b0198436e133fa26a524a6d65fa3b2e37" - integrity sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w== - -type-fest@^0.7.1: - version "0.7.1" - resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.7.1.tgz#8dda65feaf03ed78f0a3f9678f1869147f7c5c48" - integrity sha512-Ne2YiiGN8bmrmJJEuTWTLJR32nh/JdL1+PSicowtNb0WFpn59GK8/lfD61bVtzguz7b3PBt74nxpv/Pw5po5Rg== - -type-fest@^2.5.2: - version "2.19.0" - resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-2.19.0.tgz#88068015bb33036a598b952e55e9311a60fd3a9b" - integrity sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA== - -type-is@~1.6.18: - version "1.6.18" - resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.18.tgz#4e552cd05df09467dcbc4ef739de89f2cf37c131" - integrity sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g== - dependencies: - media-typer "0.3.0" - mime-types "~2.1.24" - -type@^1.0.1: - version "1.2.0" - resolved "https://registry.yarnpkg.com/type/-/type-1.2.0.tgz#848dd7698dafa3e54a6c479e759c4bc3f18847a0" - integrity sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg== - -type@^2.7.2: - version "2.7.2" - resolved "https://registry.yarnpkg.com/type/-/type-2.7.2.tgz#2376a15a3a28b1efa0f5350dcf72d24df6ef98d0" - integrity sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw== - -typed-array-length@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/typed-array-length/-/typed-array-length-1.0.4.tgz#89d83785e5c4098bec72e08b319651f0eac9c1bb" - integrity sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng== - dependencies: - call-bind "^1.0.2" - for-each "^0.3.3" - is-typed-array "^1.1.9" - -typed-function@^2.0.0, typed-function@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/typed-function/-/typed-function-2.1.0.tgz#ded6f8a442ba8749ff3fe75bc41419c8d46ccc3f" - integrity sha512-bctQIOqx2iVbWGDGPWwIm18QScpu2XRmkC19D8rQGFsjKSgteq/o1hTZvIG/wuDq8fanpBDrLkLq+aEN/6y5XQ== - -typed-function@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/typed-function/-/typed-function-4.1.0.tgz#da4bdd8a6d19a89e22732f75e4a410860aaf9712" - integrity sha512-DGwUl6cioBW5gw2L+6SMupGwH/kZOqivy17E4nsh1JI9fKF87orMmlQx3KISQPmg3sfnOUGlwVkroosvgddrlg== - -typedarray-to-buffer@^3.1.5: - version "3.1.5" - resolved "https://registry.yarnpkg.com/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz#a97ee7a9ff42691b9f783ff1bc5112fe3fca9080" - integrity sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q== - dependencies: - is-typedarray "^1.0.0" - -typedarray-to-buffer@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/typedarray-to-buffer/-/typedarray-to-buffer-4.0.0.tgz#cdd2933c61dd3f5f02eda5d012d441f95bfeb50a" - integrity sha512-6dOYeZfS3O9RtRD1caom0sMxgK59b27+IwoNy8RDPsmslSGOyU+mpTamlaIW7aNKi90ZQZ9DFaZL3YRoiSCULQ== - -typeforce@^1.11.5, typeforce@^1.18.0: - version "1.18.0" - resolved "https://registry.yarnpkg.com/typeforce/-/typeforce-1.18.0.tgz#d7416a2c5845e085034d70fcc5b6cc4a90edbfdc" - integrity sha512-7uc1O8h1M1g0rArakJdf0uLRSSgFcYexrVoKo+bzJd32gd4gDy2L/Z+8/FjPnU9ydY3pEnVPtr9FyscYY60K1g== - -typescript-compare@^0.0.2: - version "0.0.2" - resolved "https://registry.yarnpkg.com/typescript-compare/-/typescript-compare-0.0.2.tgz#7ee40a400a406c2ea0a7e551efd3309021d5f425" - integrity sha512-8ja4j7pMHkfLJQO2/8tut7ub+J3Lw2S3061eJLFQcvs3tsmJKp8KG5NtpLn7KcY2w08edF74BSVN7qJS0U6oHA== - dependencies: - typescript-logic "^0.0.0" - -typescript-logic@^0.0.0: - version "0.0.0" - resolved "https://registry.yarnpkg.com/typescript-logic/-/typescript-logic-0.0.0.tgz#66ebd82a2548f2b444a43667bec120b496890196" - integrity sha512-zXFars5LUkI3zP492ls0VskH3TtdeHCqu0i7/duGt60i5IGPIpAHE/DWo5FqJ6EjQ15YKXrt+AETjv60Dat34Q== - -typescript-tuple@^2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/typescript-tuple/-/typescript-tuple-2.2.1.tgz#7d9813fb4b355f69ac55032e0363e8bb0f04dad2" - integrity sha512-Zcr0lbt8z5ZdEzERHAMAniTiIKerFCMgd7yjq1fPnDJ43et/k9twIFQMUYff9k5oXcsQ0WpvFcgzK2ZKASoW6Q== - dependencies: - typescript-compare "^0.0.2" - -typescript@^4.3.2, typescript@^4.6.2: - version "4.9.5" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a" - integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g== - -u3@^0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/u3/-/u3-0.1.1.tgz#5f52044f42ee76cd8de33148829e14528494b73b" - integrity sha512-+J5D5ir763y+Am/QY6hXNRlwljIeRMZMGs0cT6qqZVVzzT3X3nFPXVyPOFRMOR4kupB0T8JnCdpWdp6Q/iXn3w== - -uint8arrays@^3.0.0, uint8arrays@^3.1.0: - version "3.1.1" - resolved "https://registry.yarnpkg.com/uint8arrays/-/uint8arrays-3.1.1.tgz#2d8762acce159ccd9936057572dade9459f65ae0" - integrity sha512-+QJa8QRnbdXVpHYjLoTpJIdCTiw9Ir62nocClWuXIq2JIh4Uta0cQsTSpFL678p2CN8B+XSApwcU+pQEqVpKWg== - dependencies: - multiformats "^9.4.2" - -ultron@~1.1.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/ultron/-/ultron-1.1.1.tgz#9fe1536a10a664a65266a1e3ccf85fd36302bc9c" - integrity sha512-UIEXBNeYmKptWH6z8ZnqTeS8fV74zG0/eRU9VGkpzz+LIJNs8W/zM/L+7ctCkRrgbNnnR0xxw4bKOr0cW0N0Og== - -unbox-primitive@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/unbox-primitive/-/unbox-primitive-1.0.2.tgz#29032021057d5e6cdbd08c5129c226dff8ed6f9e" - integrity sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw== - dependencies: - call-bind "^1.0.2" - has-bigints "^1.0.2" - has-symbols "^1.0.3" - which-boxed-primitive "^1.0.2" - -unbzip2-stream@^1.0.9: - version "1.4.3" - resolved "https://registry.yarnpkg.com/unbzip2-stream/-/unbzip2-stream-1.4.3.tgz#b0da04c4371311df771cdc215e87f2130991ace7" - integrity sha512-mlExGW4w71ebDJviH16lQLtZS32VKqsSfk80GCfUlwT/4/hNRFsoscrF/c++9xinkMzECL1uL9DDwXqFWkruPg== - dependencies: - buffer "^5.2.1" - through "^2.3.8" - -undefsafe@^2.0.5: - version "2.0.5" - resolved "https://registry.yarnpkg.com/undefsafe/-/undefsafe-2.0.5.tgz#38733b9327bdcd226db889fb723a6efd162e6e2c" - integrity sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA== - -underscore@1.9.1: - version "1.9.1" - resolved "https://registry.yarnpkg.com/underscore/-/underscore-1.9.1.tgz#06dce34a0e68a7babc29b365b8e74b8925203961" - integrity sha512-5/4etnCkd9c8gwgowi5/om/mYO5ajCaOgdzj/oW+0eQV9WxKBDZw5+ycmKmeaTXjInS/W0BzpGLo2xR2aBwZdg== - -undici@^5.14.0: - version "5.21.0" - resolved "https://registry.yarnpkg.com/undici/-/undici-5.21.0.tgz#b00dfc381f202565ab7f52023222ab862bb2494f" - integrity sha512-HOjK8l6a57b2ZGXOcUsI5NLfoTrfmbOl90ixJDl0AEFG4wgHNDQxtZy15/ZQp7HhjkpaGlp/eneMgtsu1dIlUA== - dependencies: - busboy "^1.6.0" - -unfetch@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/unfetch/-/unfetch-4.2.0.tgz#7e21b0ef7d363d8d9af0fb929a5555f6ef97a3be" - integrity sha512-F9p7yYCn6cIW9El1zi0HI6vqpeIvBsr3dSuRO6Xuppb1u5rXpCPmMvLSyECLhybr9isec8Ohl0hPekMVrEinDA== - -union-value@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/union-value/-/union-value-1.0.1.tgz#0b6fe7b835aecda61c6ea4d4f02c14221e109847" - integrity sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg== - dependencies: - arr-union "^3.1.0" - get-value "^2.0.6" - is-extendable "^0.1.1" - set-value "^2.0.1" - -universalify@^0.1.0: - version "0.1.2" - resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66" - integrity sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg== - -universalify@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.2.0.tgz#6451760566fa857534745ab1dde952d1b1761be0" - integrity sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg== - -universalify@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/universalify/-/universalify-2.0.0.tgz#75a4984efedc4b08975c5aeb73f530d02df25717" - integrity sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ== - -unload@^2.4.1: - version "2.4.1" - resolved "https://registry.yarnpkg.com/unload/-/unload-2.4.1.tgz#b0c5b7fb44e17fcbf50dcb8fb53929c59dd226a5" - integrity sha512-IViSAm8Z3sRBYA+9wc0fLQmU9Nrxb16rcDmIiR6Y9LJSZzI7QY5QsDhqPpKOjAn0O9/kfK1TfNEMMAGPTIraPw== - -unorm@^1.3.3: - version "1.6.0" - resolved "https://registry.yarnpkg.com/unorm/-/unorm-1.6.0.tgz#029b289661fba714f1a9af439eb51d9b16c205af" - integrity sha512-b2/KCUlYZUeA7JFUuRJZPUtr4gZvBh7tavtv4fvk4+KV9pfGiR6CQAQAWl49ZpR3ts2dk4FYkP7EIgDJoiOLDA== - -unpipe@1.0.0, unpipe@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec" - integrity sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ== - -unset-value@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/unset-value/-/unset-value-1.0.0.tgz#8376873f7d2335179ffb1e6fc3a8ed0dfc8ab559" - integrity sha512-PcA2tsuGSF9cnySLHTLSh2qrQiJ70mn+r+Glzxv2TWZblxsxCC52BDlZoPCsz7STd9pN7EZetkWZBAvk4cgZdQ== - dependencies: - has-value "^0.3.1" - isobject "^3.0.0" - -untildify@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/untildify/-/untildify-4.0.0.tgz#2bc947b953652487e4600949fb091e3ae8cd919b" - integrity sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw== - -update-browserslist-db@^1.0.10: - version "1.0.10" - resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.10.tgz#0f54b876545726f17d00cd9a2561e6dade943ff3" - integrity sha512-OztqDenkfFkbSG+tRxBeAnCVPckDBcvibKd35yDONx6OU8N7sqgwc7rCbkJ/WcYtVRZ4ba68d6byhC21GFh7sQ== - dependencies: - escalade "^3.1.1" - picocolors "^1.0.0" - -upper-case-first@^1.1.0, upper-case-first@^1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/upper-case-first/-/upper-case-first-1.1.2.tgz#5d79bedcff14419518fd2edb0a0507c9b6859115" - integrity sha512-wINKYvI3Db8dtjikdAqoBbZoP6Q+PZUyfMR7pmwHzjC2quzSkUq5DmPrTtPEqHaz8AGtmsB4TqwapMTM1QAQOQ== - dependencies: - upper-case "^1.1.1" - -upper-case@^1.0.3, upper-case@^1.1.0, upper-case@^1.1.1, upper-case@^1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/upper-case/-/upper-case-1.1.3.tgz#f6b4501c2ec4cdd26ba78be7222961de77621598" - integrity sha512-WRbjgmYzgXkCV7zNVpy5YgrHgbBv126rMALQQMrmzOVC4GM2waQ9x7xtm8VU+1yF2kWyPzI9zbZ48n4vSxwfSA== - -uri-js@^4.2.2: - version "4.4.1" - resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e" - integrity sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg== - dependencies: - punycode "^2.1.0" - -urix@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/urix/-/urix-0.1.0.tgz#da937f7a62e21fec1fd18d49b35c2935067a6c72" - integrity sha512-Am1ousAhSLBeB9cG/7k7r2R0zj50uDRlZHPGbazid5s9rlF1F/QKYObEKSIunSjIOkJZqwRRLpvewjEkM7pSqg== - -url-parse-lax@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/url-parse-lax/-/url-parse-lax-1.0.0.tgz#7af8f303645e9bd79a272e7a14ac68bc0609da73" - integrity sha512-BVA4lR5PIviy2PMseNd2jbFQ+jwSwQGdJejf5ctd1rEXt0Ypd7yanUK9+lYechVlN5VaTJGsu2U/3MDDu6KgBA== - dependencies: - prepend-http "^1.0.1" - -url-parse-lax@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/url-parse-lax/-/url-parse-lax-3.0.0.tgz#16b5cafc07dbe3676c1b1999177823d6503acb0c" - integrity sha512-NjFKA0DidqPa5ciFcSrXnAltTtzz84ogy+NebPvfEgAck0+TNg4UJ4IN+fB7zRZfbgUf0syOo9MDxFkDSMuFaQ== - dependencies: - prepend-http "^2.0.0" - -url-parse@^1.5.3: - version "1.5.10" - resolved "https://registry.yarnpkg.com/url-parse/-/url-parse-1.5.10.tgz#9d3c2f736c1d75dd3bd2be507dcc111f1e2ea9c1" - integrity sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ== - dependencies: - querystringify "^2.1.1" - requires-port "^1.0.0" - -url-set-query@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/url-set-query/-/url-set-query-1.0.0.tgz#016e8cfd7c20ee05cafe7795e892bd0702faa339" - integrity sha512-3AChu4NiXquPfeckE5R5cGdiHCMWJx1dwCWOmWIL4KHAziJNOFIYJlpGFeKDvwLPHovZRCxK3cYlwzqI9Vp+Gg== - -url-to-options@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/url-to-options/-/url-to-options-1.0.1.tgz#1505a03a289a48cbd7a434efbaeec5055f5633a9" - integrity sha512-0kQLIzG4fdk/G5NONku64rSH/x32NOA39LVQqlK8Le6lvTF6GGRJpqaQFGgU+CLwySIqBSMdwYM0sYcW9f6P4A== - -use@^3.1.0: - version "3.1.1" - resolved "https://registry.yarnpkg.com/use/-/use-3.1.1.tgz#d50c8cac79a19fbc20f2911f56eb973f4e10070f" - integrity sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ== - -utf-8-validate@5.0.7: - version "5.0.7" - resolved "https://registry.yarnpkg.com/utf-8-validate/-/utf-8-validate-5.0.7.tgz#c15a19a6af1f7ad9ec7ddc425747ca28c3644922" - integrity sha512-vLt1O5Pp+flcArHGIyKEQq883nBt8nN8tVBcoL0qUXj2XT1n7p70yGIq2VK98I5FdZ1YHc0wk/koOnHjnXWk1Q== - dependencies: - node-gyp-build "^4.3.0" - -utf-8-validate@^5.0.2: - version "5.0.10" - resolved "https://registry.yarnpkg.com/utf-8-validate/-/utf-8-validate-5.0.10.tgz#d7d10ea39318171ca982718b6b96a8d2442571a2" - integrity sha512-Z6czzLq4u8fPOyx7TU6X3dvUZVvoJmxSQ+IcrlmagKhilxlhZgxPK6C5Jqbkw1IDUmFTM+cz9QDnnLTwDz/2gQ== - dependencies: - node-gyp-build "^4.3.0" - -utf8@3.0.0, utf8@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/utf8/-/utf8-3.0.0.tgz#f052eed1364d696e769ef058b183df88c87f69d1" - integrity sha512-E8VjFIQ/TyQgp+TZfS6l8yp/xWppSAHzidGiRrqe4bK4XP9pTRyKFgGJpO3SN7zdX4DeomTrwaseCHovfpFcqQ== - -util-deprecate@^1.0.1, util-deprecate@~1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" - integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== - -util@^0.12.0, util@^0.12.5: - version "0.12.5" - resolved "https://registry.yarnpkg.com/util/-/util-0.12.5.tgz#5f17a6059b73db61a875668781a1c2b136bd6fbc" - integrity sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA== - dependencies: - inherits "^2.0.3" - is-arguments "^1.0.4" - is-generator-function "^1.0.7" - is-typed-array "^1.1.3" - which-typed-array "^1.1.2" - -utility-types@^3.10.0: - version "3.10.0" - resolved "https://registry.yarnpkg.com/utility-types/-/utility-types-3.10.0.tgz#ea4148f9a741015f05ed74fd615e1d20e6bed82b" - integrity sha512-O11mqxmi7wMKCo6HKFt5AhO4BwY3VV68YU07tgxfz8zJTIxr4BpsezN49Ffwy9j3ZpwwJp4fkRwjRzq3uWE6Rg== - -utils-merge@1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713" - integrity sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA== - -uuid@2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/uuid/-/uuid-2.0.1.tgz#c2a30dedb3e535d72ccf82e343941a50ba8533ac" - integrity sha512-nWg9+Oa3qD2CQzHIP4qKUqwNfzKn8P0LtFhotaCTFchsV7ZfDhAybeip/HZVeMIpZi9JgY1E3nUlwaCmZT1sEg== - -uuid@3.3.2: - version "3.3.2" - resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.3.2.tgz#1b4af4955eb3077c501c23872fc6513811587131" - integrity sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA== - -uuid@8.3.2, uuid@^8.3.2: - version "8.3.2" - resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2" - integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg== - -uuid@^3.3.2: - version "3.4.0" - resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee" - integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A== - -uuid@^9.0.0: - version "9.0.0" - resolved "https://registry.yarnpkg.com/uuid/-/uuid-9.0.0.tgz#592f550650024a38ceb0c562f2f6aa435761efb5" - integrity sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg== - -v8-compile-cache-lib@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz#6336e8d71965cb3d35a1bbb7868445a7c05264bf" - integrity sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg== - -v8-compile-cache@^2.0.3: - version "2.3.0" - resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz#2de19618c66dc247dcfb6f99338035d8245a2cee" - integrity sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA== - -v8-to-istanbul@^8.1.0: - version "8.1.1" - resolved "https://registry.yarnpkg.com/v8-to-istanbul/-/v8-to-istanbul-8.1.1.tgz#77b752fd3975e31bbcef938f85e9bd1c7a8d60ed" - integrity sha512-FGtKtv3xIpR6BYhvgH8MI/y78oT7d8Au3ww4QIxymrCtZEh5b8gCw2siywE+puhEmuWKDtmfrvF5UlB298ut3w== + "json5" "^1.0.2" + "minimist" "^1.2.6" + "strip-bom" "^3.0.0" + +"tslib@^1.8.1": + "integrity" "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + "resolved" "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz" + "version" "1.14.1" + +"tslib@^1.9.0": + "integrity" "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + "resolved" "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz" + "version" "1.14.1" + +"tslib@^1.9.3": + "integrity" "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + "resolved" "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz" + "version" "1.14.1" + +"tslib@^2.0.3", "tslib@^2.1.0", "tslib@^2.3.0", "tslib@^2.3.1", "tslib@^2.4.0", "tslib@2.5.0": + "integrity" "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" + "resolved" "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz" + "version" "2.5.0" + +"tslib@~2.4.0": + "integrity" "sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA==" + "resolved" "https://registry.npmjs.org/tslib/-/tslib-2.4.1.tgz" + "version" "2.4.1" + +"tslib@1.14.1": + "integrity" "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + "resolved" "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz" + "version" "1.14.1" + +"tsort@0.0.1": + "integrity" "sha512-Tyrf5mxF8Ofs1tNoxA13lFeZ2Zrbd6cKbuH3V+MQ5sb6DtBj5FjrXVsRWT8YvNAQTqNoz66dz1WsbigI22aEnw==" + "resolved" "https://registry.npmjs.org/tsort/-/tsort-0.0.1.tgz" + "version" "0.0.1" + +"tsutils@^3.21.0": + "integrity" "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==" + "resolved" "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz" + "version" "3.21.0" + dependencies: + "tslib" "^1.8.1" + +"tunnel-agent@^0.6.0": + "integrity" "sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==" + "resolved" "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz" + "version" "0.6.0" + dependencies: + "safe-buffer" "^5.0.1" + +"tweetnacl-util@^0.15.0", "tweetnacl-util@^0.15.1": + "integrity" "sha512-RKJBIj8lySrShN4w6i/BonWp2Z/uxwC3h4y7xsRrpP59ZboCd0GpEVsOnMDYLMmKBpYhb5TgHzZXy7wTfYFBRw==" + "resolved" "https://registry.npmjs.org/tweetnacl-util/-/tweetnacl-util-0.15.1.tgz" + "version" "0.15.1" + +"tweetnacl@^0.14.3": + "integrity" "sha512-KXXFFdAbFXY4geFIwoyNK+f5Z1b7swfXABfL7HXCmoIWMKU3dmS26672A4EeQtDzLKy7SXmfBu51JolvEKwtGA==" + "resolved" "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz" + "version" "0.14.5" + +"tweetnacl@^1.0.1", "tweetnacl@^1.0.3": + "integrity" "sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw==" + "resolved" "https://registry.npmjs.org/tweetnacl/-/tweetnacl-1.0.3.tgz" + "version" "1.0.3" + +"tweetnacl@~0.14.0": + "integrity" "sha512-KXXFFdAbFXY4geFIwoyNK+f5Z1b7swfXABfL7HXCmoIWMKU3dmS26672A4EeQtDzLKy7SXmfBu51JolvEKwtGA==" + "resolved" "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz" + "version" "0.14.5" + +"type-check@^0.4.0": + "integrity" "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==" + "resolved" "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz" + "version" "0.4.0" + dependencies: + "prelude-ls" "^1.2.1" + +"type-check@~0.3.2": + "integrity" "sha512-ZCmOJdvOWDBYJlzAoFkC+Q0+bUyEOS1ltgp1MGU03fqHG+dbi9tBFU2Rd9QKiDZFAYrhPh2JUf7rZRIuHRKtOg==" + "resolved" "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz" + "version" "0.3.2" + dependencies: + "prelude-ls" "~1.1.2" + +"type-check@~0.4.0": + "integrity" "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==" + "resolved" "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz" + "version" "0.4.0" + dependencies: + "prelude-ls" "^1.2.1" + +"type-detect@^4.0.0", "type-detect@^4.0.5", "type-detect@4.0.8": + "integrity" "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==" + "resolved" "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz" + "version" "4.0.8" + +"type-fest@^0.20.2": + "integrity" "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==" + "resolved" "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz" + "version" "0.20.2" + +"type-fest@^0.21.3": + "integrity" "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==" + "resolved" "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz" + "version" "0.21.3" + +"type-fest@^0.7.1": + "integrity" "sha512-Ne2YiiGN8bmrmJJEuTWTLJR32nh/JdL1+PSicowtNb0WFpn59GK8/lfD61bVtzguz7b3PBt74nxpv/Pw5po5Rg==" + "resolved" "https://registry.npmjs.org/type-fest/-/type-fest-0.7.1.tgz" + "version" "0.7.1" + +"type-fest@^2.5.2": + "integrity" "sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==" + "resolved" "https://registry.npmjs.org/type-fest/-/type-fest-2.19.0.tgz" + "version" "2.19.0" + +"type-is@~1.6.18": + "integrity" "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==" + "resolved" "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz" + "version" "1.6.18" + dependencies: + "media-typer" "0.3.0" + "mime-types" "~2.1.24" + +"type@^1.0.1": + "integrity" "sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg==" + "resolved" "https://registry.npmjs.org/type/-/type-1.2.0.tgz" + "version" "1.2.0" + +"type@^2.7.2": + "integrity" "sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw==" + "resolved" "https://registry.npmjs.org/type/-/type-2.7.2.tgz" + "version" "2.7.2" + +"typed-array-length@^1.0.4": + "integrity" "sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==" + "resolved" "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.4.tgz" + "version" "1.0.4" + dependencies: + "call-bind" "^1.0.2" + "for-each" "^0.3.3" + "is-typed-array" "^1.1.9" + +"typed-function@^2.0.0", "typed-function@^2.1.0": + "integrity" "sha512-bctQIOqx2iVbWGDGPWwIm18QScpu2XRmkC19D8rQGFsjKSgteq/o1hTZvIG/wuDq8fanpBDrLkLq+aEN/6y5XQ==" + "resolved" "https://registry.npmjs.org/typed-function/-/typed-function-2.1.0.tgz" + "version" "2.1.0" + +"typed-function@^4.1.0": + "integrity" "sha512-DGwUl6cioBW5gw2L+6SMupGwH/kZOqivy17E4nsh1JI9fKF87orMmlQx3KISQPmg3sfnOUGlwVkroosvgddrlg==" + "resolved" "https://registry.npmjs.org/typed-function/-/typed-function-4.1.0.tgz" + "version" "4.1.0" + +"typedarray-to-buffer@^3.1.5": + "integrity" "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==" + "resolved" "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz" + "version" "3.1.5" + dependencies: + "is-typedarray" "^1.0.0" + +"typedarray-to-buffer@^4.0.0": + "integrity" "sha512-6dOYeZfS3O9RtRD1caom0sMxgK59b27+IwoNy8RDPsmslSGOyU+mpTamlaIW7aNKi90ZQZ9DFaZL3YRoiSCULQ==" + "resolved" "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-4.0.0.tgz" + "version" "4.0.0" + +"typeforce@^1.11.5", "typeforce@^1.18.0": + "integrity" "sha512-7uc1O8h1M1g0rArakJdf0uLRSSgFcYexrVoKo+bzJd32gd4gDy2L/Z+8/FjPnU9ydY3pEnVPtr9FyscYY60K1g==" + "resolved" "https://registry.npmjs.org/typeforce/-/typeforce-1.18.0.tgz" + "version" "1.18.0" + +"typescript-compare@^0.0.2": + "integrity" "sha512-8ja4j7pMHkfLJQO2/8tut7ub+J3Lw2S3061eJLFQcvs3tsmJKp8KG5NtpLn7KcY2w08edF74BSVN7qJS0U6oHA==" + "resolved" "https://registry.npmjs.org/typescript-compare/-/typescript-compare-0.0.2.tgz" + "version" "0.0.2" + dependencies: + "typescript-logic" "^0.0.0" + +"typescript-logic@^0.0.0": + "integrity" "sha512-zXFars5LUkI3zP492ls0VskH3TtdeHCqu0i7/duGt60i5IGPIpAHE/DWo5FqJ6EjQ15YKXrt+AETjv60Dat34Q==" + "resolved" "https://registry.npmjs.org/typescript-logic/-/typescript-logic-0.0.0.tgz" + "version" "0.0.0" + +"typescript-tuple@^2.2.1": + "integrity" "sha512-Zcr0lbt8z5ZdEzERHAMAniTiIKerFCMgd7yjq1fPnDJ43et/k9twIFQMUYff9k5oXcsQ0WpvFcgzK2ZKASoW6Q==" + "resolved" "https://registry.npmjs.org/typescript-tuple/-/typescript-tuple-2.2.1.tgz" + "version" "2.2.1" + dependencies: + "typescript-compare" "^0.0.2" + +"typescript@^4.3.2", "typescript@^4.6.2": + "integrity" "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==" + "resolved" "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz" + "version" "4.9.5" + +"typescript@4.4.4": + "integrity" "sha512-DqGhF5IKoBl8WNf8C1gu8q0xZSInh9j1kJJMqT3a94w1JzVaBU4EXOSMrz9yDqMT0xt3selp83fuFMQ0uzv6qA==" + "resolved" "https://registry.npmjs.org/typescript/-/typescript-4.4.4.tgz" + "version" "4.4.4" + +"u3@^0.1.1": + "integrity" "sha512-+J5D5ir763y+Am/QY6hXNRlwljIeRMZMGs0cT6qqZVVzzT3X3nFPXVyPOFRMOR4kupB0T8JnCdpWdp6Q/iXn3w==" + "resolved" "https://registry.npmjs.org/u3/-/u3-0.1.1.tgz" + "version" "0.1.1" + +"uglify-js@^3.1.4": + "integrity" "sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==" + "resolved" "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.4.tgz" + "version" "3.17.4" + +"uint8arrays@^3.0.0", "uint8arrays@^3.1.0": + "integrity" "sha512-+QJa8QRnbdXVpHYjLoTpJIdCTiw9Ir62nocClWuXIq2JIh4Uta0cQsTSpFL678p2CN8B+XSApwcU+pQEqVpKWg==" + "resolved" "https://registry.npmjs.org/uint8arrays/-/uint8arrays-3.1.1.tgz" + "version" "3.1.1" + dependencies: + "multiformats" "^9.4.2" + +"ultron@~1.1.0": + "integrity" "sha512-UIEXBNeYmKptWH6z8ZnqTeS8fV74zG0/eRU9VGkpzz+LIJNs8W/zM/L+7ctCkRrgbNnnR0xxw4bKOr0cW0N0Og==" + "resolved" "https://registry.npmjs.org/ultron/-/ultron-1.1.1.tgz" + "version" "1.1.1" + +"unbox-primitive@^1.0.2": + "integrity" "sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==" + "resolved" "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz" + "version" "1.0.2" + dependencies: + "call-bind" "^1.0.2" + "has-bigints" "^1.0.2" + "has-symbols" "^1.0.3" + "which-boxed-primitive" "^1.0.2" + +"unbzip2-stream@^1.0.9": + "integrity" "sha512-mlExGW4w71ebDJviH16lQLtZS32VKqsSfk80GCfUlwT/4/hNRFsoscrF/c++9xinkMzECL1uL9DDwXqFWkruPg==" + "resolved" "https://registry.npmjs.org/unbzip2-stream/-/unbzip2-stream-1.4.3.tgz" + "version" "1.4.3" + dependencies: + "buffer" "^5.2.1" + "through" "^2.3.8" + +"undefsafe@^2.0.5": + "integrity" "sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA==" + "resolved" "https://registry.npmjs.org/undefsafe/-/undefsafe-2.0.5.tgz" + "version" "2.0.5" + +"underscore@1.9.1": + "integrity" "sha512-5/4etnCkd9c8gwgowi5/om/mYO5ajCaOgdzj/oW+0eQV9WxKBDZw5+ycmKmeaTXjInS/W0BzpGLo2xR2aBwZdg==" + "resolved" "https://registry.npmjs.org/underscore/-/underscore-1.9.1.tgz" + "version" "1.9.1" + +"undici@^5.14.0": + "integrity" "sha512-HOjK8l6a57b2ZGXOcUsI5NLfoTrfmbOl90ixJDl0AEFG4wgHNDQxtZy15/ZQp7HhjkpaGlp/eneMgtsu1dIlUA==" + "resolved" "https://registry.npmjs.org/undici/-/undici-5.21.0.tgz" + "version" "5.21.0" + dependencies: + "busboy" "^1.6.0" + +"unfetch@^4.2.0": + "integrity" "sha512-F9p7yYCn6cIW9El1zi0HI6vqpeIvBsr3dSuRO6Xuppb1u5rXpCPmMvLSyECLhybr9isec8Ohl0hPekMVrEinDA==" + "resolved" "https://registry.npmjs.org/unfetch/-/unfetch-4.2.0.tgz" + "version" "4.2.0" + +"union-value@^1.0.0": + "integrity" "sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==" + "resolved" "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz" + "version" "1.0.1" + dependencies: + "arr-union" "^3.1.0" + "get-value" "^2.0.6" + "is-extendable" "^0.1.1" + "set-value" "^2.0.1" + +"universalify@^0.1.0": + "integrity" "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==" + "resolved" "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz" + "version" "0.1.2" + +"universalify@^0.2.0": + "integrity" "sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==" + "resolved" "https://registry.npmjs.org/universalify/-/universalify-0.2.0.tgz" + "version" "0.2.0" + +"universalify@^2.0.0": + "integrity" "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==" + "resolved" "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz" + "version" "2.0.0" + +"unload@^2.4.1": + "integrity" "sha512-IViSAm8Z3sRBYA+9wc0fLQmU9Nrxb16rcDmIiR6Y9LJSZzI7QY5QsDhqPpKOjAn0O9/kfK1TfNEMMAGPTIraPw==" + "resolved" "https://registry.npmjs.org/unload/-/unload-2.4.1.tgz" + "version" "2.4.1" + +"unorm@^1.3.3": + "integrity" "sha512-b2/KCUlYZUeA7JFUuRJZPUtr4gZvBh7tavtv4fvk4+KV9pfGiR6CQAQAWl49ZpR3ts2dk4FYkP7EIgDJoiOLDA==" + "resolved" "https://registry.npmjs.org/unorm/-/unorm-1.6.0.tgz" + "version" "1.6.0" + +"unpipe@~1.0.0", "unpipe@1.0.0": + "integrity" "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==" + "resolved" "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz" + "version" "1.0.0" + +"unset-value@^1.0.0": + "integrity" "sha512-PcA2tsuGSF9cnySLHTLSh2qrQiJ70mn+r+Glzxv2TWZblxsxCC52BDlZoPCsz7STd9pN7EZetkWZBAvk4cgZdQ==" + "resolved" "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz" + "version" "1.0.0" + dependencies: + "has-value" "^0.3.1" + "isobject" "^3.0.0" + +"untildify@^4.0.0": + "integrity" "sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw==" + "resolved" "https://registry.npmjs.org/untildify/-/untildify-4.0.0.tgz" + "version" "4.0.0" + +"update-browserslist-db@^1.0.10": + "integrity" "sha512-OztqDenkfFkbSG+tRxBeAnCVPckDBcvibKd35yDONx6OU8N7sqgwc7rCbkJ/WcYtVRZ4ba68d6byhC21GFh7sQ==" + "resolved" "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.10.tgz" + "version" "1.0.10" + dependencies: + "escalade" "^3.1.1" + "picocolors" "^1.0.0" + +"upper-case-first@^1.1.0", "upper-case-first@^1.1.2": + "integrity" "sha512-wINKYvI3Db8dtjikdAqoBbZoP6Q+PZUyfMR7pmwHzjC2quzSkUq5DmPrTtPEqHaz8AGtmsB4TqwapMTM1QAQOQ==" + "resolved" "https://registry.npmjs.org/upper-case-first/-/upper-case-first-1.1.2.tgz" + "version" "1.1.2" + dependencies: + "upper-case" "^1.1.1" + +"upper-case@^1.0.3", "upper-case@^1.1.0", "upper-case@^1.1.1", "upper-case@^1.1.3": + "integrity" "sha512-WRbjgmYzgXkCV7zNVpy5YgrHgbBv126rMALQQMrmzOVC4GM2waQ9x7xtm8VU+1yF2kWyPzI9zbZ48n4vSxwfSA==" + "resolved" "https://registry.npmjs.org/upper-case/-/upper-case-1.1.3.tgz" + "version" "1.1.3" + +"uri-js@^4.2.2": + "integrity" "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==" + "resolved" "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz" + "version" "4.4.1" + dependencies: + "punycode" "^2.1.0" + +"urix@^0.1.0": + "integrity" "sha512-Am1ousAhSLBeB9cG/7k7r2R0zj50uDRlZHPGbazid5s9rlF1F/QKYObEKSIunSjIOkJZqwRRLpvewjEkM7pSqg==" + "resolved" "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz" + "version" "0.1.0" + +"url-parse-lax@^1.0.0": + "integrity" "sha512-BVA4lR5PIviy2PMseNd2jbFQ+jwSwQGdJejf5ctd1rEXt0Ypd7yanUK9+lYechVlN5VaTJGsu2U/3MDDu6KgBA==" + "resolved" "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-1.0.0.tgz" + "version" "1.0.0" + dependencies: + "prepend-http" "^1.0.1" + +"url-parse-lax@^3.0.0": + "integrity" "sha512-NjFKA0DidqPa5ciFcSrXnAltTtzz84ogy+NebPvfEgAck0+TNg4UJ4IN+fB7zRZfbgUf0syOo9MDxFkDSMuFaQ==" + "resolved" "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-3.0.0.tgz" + "version" "3.0.0" + dependencies: + "prepend-http" "^2.0.0" + +"url-parse@^1.5.3": + "integrity" "sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==" + "resolved" "https://registry.npmjs.org/url-parse/-/url-parse-1.5.10.tgz" + "version" "1.5.10" + dependencies: + "querystringify" "^2.1.1" + "requires-port" "^1.0.0" + +"url-set-query@^1.0.0": + "integrity" "sha512-3AChu4NiXquPfeckE5R5cGdiHCMWJx1dwCWOmWIL4KHAziJNOFIYJlpGFeKDvwLPHovZRCxK3cYlwzqI9Vp+Gg==" + "resolved" "https://registry.npmjs.org/url-set-query/-/url-set-query-1.0.0.tgz" + "version" "1.0.0" + +"url-to-options@^1.0.1": + "integrity" "sha512-0kQLIzG4fdk/G5NONku64rSH/x32NOA39LVQqlK8Le6lvTF6GGRJpqaQFGgU+CLwySIqBSMdwYM0sYcW9f6P4A==" + "resolved" "https://registry.npmjs.org/url-to-options/-/url-to-options-1.0.1.tgz" + "version" "1.0.1" + +"use@^3.1.0": + "integrity" "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==" + "resolved" "https://registry.npmjs.org/use/-/use-3.1.1.tgz" + "version" "3.1.1" + +"utf-8-validate@^5.0.2": + "integrity" "sha512-Z6czzLq4u8fPOyx7TU6X3dvUZVvoJmxSQ+IcrlmagKhilxlhZgxPK6C5Jqbkw1IDUmFTM+cz9QDnnLTwDz/2gQ==" + "resolved" "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-5.0.10.tgz" + "version" "5.0.10" + dependencies: + "node-gyp-build" "^4.3.0" + +"utf-8-validate@5.0.7": + "integrity" "sha512-vLt1O5Pp+flcArHGIyKEQq883nBt8nN8tVBcoL0qUXj2XT1n7p70yGIq2VK98I5FdZ1YHc0wk/koOnHjnXWk1Q==" + "resolved" "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-5.0.7.tgz" + "version" "5.0.7" + dependencies: + "node-gyp-build" "^4.3.0" + +"utf8@^3.0.0", "utf8@3.0.0": + "integrity" "sha512-E8VjFIQ/TyQgp+TZfS6l8yp/xWppSAHzidGiRrqe4bK4XP9pTRyKFgGJpO3SN7zdX4DeomTrwaseCHovfpFcqQ==" + "resolved" "https://registry.npmjs.org/utf8/-/utf8-3.0.0.tgz" + "version" "3.0.0" + +"util-deprecate@^1.0.1", "util-deprecate@~1.0.1": + "integrity" "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" + "resolved" "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz" + "version" "1.0.2" + +"util@^0.12.0", "util@^0.12.5": + "integrity" "sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA==" + "resolved" "https://registry.npmjs.org/util/-/util-0.12.5.tgz" + "version" "0.12.5" + dependencies: + "inherits" "^2.0.3" + "is-arguments" "^1.0.4" + "is-generator-function" "^1.0.7" + "is-typed-array" "^1.1.3" + "which-typed-array" "^1.1.2" + +"utility-types@^3.10.0": + "integrity" "sha512-O11mqxmi7wMKCo6HKFt5AhO4BwY3VV68YU07tgxfz8zJTIxr4BpsezN49Ffwy9j3ZpwwJp4fkRwjRzq3uWE6Rg==" + "resolved" "https://registry.npmjs.org/utility-types/-/utility-types-3.10.0.tgz" + "version" "3.10.0" + +"utils-merge@1.0.1": + "integrity" "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==" + "resolved" "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz" + "version" "1.0.1" + +"uuid@^3.3.2": + "integrity" "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==" + "resolved" "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz" + "version" "3.4.0" + +"uuid@^8.3.2", "uuid@8.3.2": + "integrity" "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==" + "resolved" "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz" + "version" "8.3.2" + +"uuid@^9.0.0": + "integrity" "sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg==" + "resolved" "https://registry.npmjs.org/uuid/-/uuid-9.0.0.tgz" + "version" "9.0.0" + +"uuid@2.0.1": + "integrity" "sha512-nWg9+Oa3qD2CQzHIP4qKUqwNfzKn8P0LtFhotaCTFchsV7ZfDhAybeip/HZVeMIpZi9JgY1E3nUlwaCmZT1sEg==" + "resolved" "https://registry.npmjs.org/uuid/-/uuid-2.0.1.tgz" + "version" "2.0.1" + +"uuid@3.3.2": + "integrity" "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==" + "resolved" "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz" + "version" "3.3.2" + +"v8-compile-cache-lib@^3.0.1": + "integrity" "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==" + "resolved" "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz" + "version" "3.0.1" + +"v8-compile-cache@^2.0.3": + "integrity" "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==" + "resolved" "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz" + "version" "2.3.0" + +"v8-to-istanbul@^8.1.0": + "integrity" "sha512-FGtKtv3xIpR6BYhvgH8MI/y78oT7d8Au3ww4QIxymrCtZEh5b8gCw2siywE+puhEmuWKDtmfrvF5UlB298ut3w==" + "resolved" "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-8.1.1.tgz" + "version" "8.1.1" dependencies: "@types/istanbul-lib-coverage" "^2.0.1" - convert-source-map "^1.6.0" - source-map "^0.7.3" - -value-or-promise@1.0.11: - version "1.0.11" - resolved "https://registry.yarnpkg.com/value-or-promise/-/value-or-promise-1.0.11.tgz#3e90299af31dd014fe843fe309cefa7c1d94b140" - integrity sha512-41BrgH+dIbCFXClcSapVs5M6GkENd3gQOJpEfPDNa71LsUGMXDL0jMWpI/Rh7WhX+Aalfz2TTS3Zt5pUsbnhLg== - -value-or-promise@1.0.12: - version "1.0.12" - resolved "https://registry.yarnpkg.com/value-or-promise/-/value-or-promise-1.0.12.tgz#0e5abfeec70148c78460a849f6b003ea7986f15c" - integrity sha512-Z6Uz+TYwEqE7ZN50gwn+1LCVo9ZVrpxRPOhOLnncYkY1ZzOYtrX8Fwf/rFktZ8R5mJms6EZf5TqNOMeZmnPq9Q== - -varint@^5.0.0: - version "5.0.2" - resolved "https://registry.yarnpkg.com/varint/-/varint-5.0.2.tgz#5b47f8a947eb668b848e034dcfa87d0ff8a7f7a4" - integrity sha512-lKxKYG6H03yCZUpAGOPOsMcGxd1RHCu1iKvEHYDPmTyq2HueGhD73ssNBqqQWfvYs04G9iUFRvmAVLW20Jw6ow== - -varuint-bitcoin@^1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/varuint-bitcoin/-/varuint-bitcoin-1.1.2.tgz#e76c138249d06138b480d4c5b40ef53693e24e92" - integrity sha512-4EVb+w4rx+YfVM32HQX42AbbT7/1f5zwAYhIujKXKk8NQK+JfRVl3pqT3hjNn/L+RstigmGGKVwHA/P0wgITZw== - dependencies: - safe-buffer "^5.1.1" - -vary@^1, vary@~1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" - integrity sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg== - -verror@1.10.0: - version "1.10.0" - resolved "https://registry.yarnpkg.com/verror/-/verror-1.10.0.tgz#3a105ca17053af55d6e270c1f8288682e18da400" - integrity sha512-ZZKSmDAEFOijERBLkmYfJ+vmk3w+7hOLYDNkRCuRuMJGEmqYNCNLyBBFwWKVMhfwaEF3WOd0Zlw86U/WC/+nYw== - dependencies: - assert-plus "^1.0.0" - core-util-is "1.0.2" - extsprintf "^1.2.0" - -viem@^0.3.x: - version "0.3.50" - resolved "https://registry.yarnpkg.com/viem/-/viem-0.3.50.tgz#999a7682eda7eabc48c923f4b9923c3f098fc1ab" - integrity sha512-s+LxCYZTR9F/qPk1/n1YDVAX9vSeVz7GraqBZWGrDuenCJxo9ArCoIceJ6ksI0WwSeNzcZ0VVbD/kWRzTxkipw== + "convert-source-map" "^1.6.0" + "source-map" "^0.7.3" + +"value-or-promise@1.0.11": + "integrity" "sha512-41BrgH+dIbCFXClcSapVs5M6GkENd3gQOJpEfPDNa71LsUGMXDL0jMWpI/Rh7WhX+Aalfz2TTS3Zt5pUsbnhLg==" + "resolved" "https://registry.npmjs.org/value-or-promise/-/value-or-promise-1.0.11.tgz" + "version" "1.0.11" + +"value-or-promise@1.0.12": + "integrity" "sha512-Z6Uz+TYwEqE7ZN50gwn+1LCVo9ZVrpxRPOhOLnncYkY1ZzOYtrX8Fwf/rFktZ8R5mJms6EZf5TqNOMeZmnPq9Q==" + "resolved" "https://registry.npmjs.org/value-or-promise/-/value-or-promise-1.0.12.tgz" + "version" "1.0.12" + +"varint@^5.0.0": + "integrity" "sha512-lKxKYG6H03yCZUpAGOPOsMcGxd1RHCu1iKvEHYDPmTyq2HueGhD73ssNBqqQWfvYs04G9iUFRvmAVLW20Jw6ow==" + "resolved" "https://registry.npmjs.org/varint/-/varint-5.0.2.tgz" + "version" "5.0.2" + +"varuint-bitcoin@^1.1.2": + "integrity" "sha512-4EVb+w4rx+YfVM32HQX42AbbT7/1f5zwAYhIujKXKk8NQK+JfRVl3pqT3hjNn/L+RstigmGGKVwHA/P0wgITZw==" + "resolved" "https://registry.npmjs.org/varuint-bitcoin/-/varuint-bitcoin-1.1.2.tgz" + "version" "1.1.2" + dependencies: + "safe-buffer" "^5.1.1" + +"vary@^1", "vary@~1.1.2": + "integrity" "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==" + "resolved" "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz" + "version" "1.1.2" + +"verror@1.10.0": + "integrity" "sha512-ZZKSmDAEFOijERBLkmYfJ+vmk3w+7hOLYDNkRCuRuMJGEmqYNCNLyBBFwWKVMhfwaEF3WOd0Zlw86U/WC/+nYw==" + "resolved" "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz" + "version" "1.10.0" + dependencies: + "assert-plus" "^1.0.0" + "core-util-is" "1.0.2" + "extsprintf" "^1.2.0" + +"viem@^0.3.x": + "integrity" "sha512-s+LxCYZTR9F/qPk1/n1YDVAX9vSeVz7GraqBZWGrDuenCJxo9ArCoIceJ6ksI0WwSeNzcZ0VVbD/kWRzTxkipw==" + "resolved" "https://registry.npmjs.org/viem/-/viem-0.3.50.tgz" + "version" "0.3.50" dependencies: "@adraffy/ens-normalize" "1.9.0" "@noble/curves" "1.0.0" @@ -16479,1019 +17155,1076 @@ viem@^0.3.x: "@scure/bip32" "1.3.0" "@scure/bip39" "1.2.0" "@wagmi/chains" "1.0.0" - abitype "0.8.7" - isomorphic-ws "5.0.0" - ws "8.12.0" + "abitype" "0.8.7" + "isomorphic-ws" "5.0.0" + "ws" "8.12.0" -vlq@^2.0.4: - version "2.0.4" - resolved "https://registry.yarnpkg.com/vlq/-/vlq-2.0.4.tgz#6057b85729245b9829e3cc7755f95b228d4fe041" - integrity sha512-aodjPa2wPQFkra1G8CzJBTHXhgk3EVSwxSWXNPr1fgdFLUb8kvLV1iEb6rFgasIsjP82HWI6dsb5Io26DDnasA== +"vlq@^2.0.4": + "integrity" "sha512-aodjPa2wPQFkra1G8CzJBTHXhgk3EVSwxSWXNPr1fgdFLUb8kvLV1iEb6rFgasIsjP82HWI6dsb5Io26DDnasA==" + "resolved" "https://registry.npmjs.org/vlq/-/vlq-2.0.4.tgz" + "version" "2.0.4" -vuvuzela@1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/vuvuzela/-/vuvuzela-1.0.3.tgz#3be145e58271c73ca55279dd851f12a682114b0b" - integrity sha512-Tm7jR1xTzBbPW+6y1tknKiEhz04Wf/1iZkcTJjSFcpNko43+dFW6+OOeQe9taJIug3NdfUAjFKgUSyQrIKaDvQ== +"vuvuzela@1.0.3": + "integrity" "sha512-Tm7jR1xTzBbPW+6y1tknKiEhz04Wf/1iZkcTJjSFcpNko43+dFW6+OOeQe9taJIug3NdfUAjFKgUSyQrIKaDvQ==" + "resolved" "https://registry.npmjs.org/vuvuzela/-/vuvuzela-1.0.3.tgz" + "version" "1.0.3" -vvs-sdk@^2.4.0: - version "2.4.0" - resolved "https://registry.yarnpkg.com/vvs-sdk/-/vvs-sdk-2.4.0.tgz#bbc807b84b312b7cac47778f2722ef3d7d00fa08" - integrity sha512-xy/ICGVonDINDAjvMoWIlUzCB1JpZmJe/cXTzOHbzKqXFNFtRiKThlYZqZ1/ANT+pXIEvRGM4xfagBH1HIeLXw== +"vvs-sdk@^2.4.0": + "integrity" "sha512-xy/ICGVonDINDAjvMoWIlUzCB1JpZmJe/cXTzOHbzKqXFNFtRiKThlYZqZ1/ANT+pXIEvRGM4xfagBH1HIeLXw==" + "resolved" "https://registry.npmjs.org/vvs-sdk/-/vvs-sdk-2.4.0.tgz" + "version" "2.4.0" dependencies: "@pancakeswap-libs/pancake-swap-core" "^0.1.0" - big.js "^5.2.2" - decimal.js-light "^2.5.0" - jsbi "^3.1.1" - tiny-invariant "^1.1.0" - tiny-warning "^1.0.3" - toformat "^2.0.0" + "big.js" "^5.2.2" + "decimal.js-light" "^2.5.0" + "jsbi" "^3.1.1" + "tiny-invariant" "^1.1.0" + "tiny-warning" "^1.0.3" + "toformat" "^2.0.0" -w3c-hr-time@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz#0a89cdf5cc15822df9c360543676963e0cc308cd" - integrity sha512-z8P5DvDNjKDoFIHK7q8r8lackT6l+jo/Ye3HOle7l9nICP9lf1Ci25fy9vHd0JOWewkIFzXIEig3TdKT7JQ5fQ== +"w3c-hr-time@^1.0.2": + "integrity" "sha512-z8P5DvDNjKDoFIHK7q8r8lackT6l+jo/Ye3HOle7l9nICP9lf1Ci25fy9vHd0JOWewkIFzXIEig3TdKT7JQ5fQ==" + "resolved" "https://registry.npmjs.org/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz" + "version" "1.0.2" dependencies: - browser-process-hrtime "^1.0.0" + "browser-process-hrtime" "^1.0.0" -w3c-xmlserializer@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/w3c-xmlserializer/-/w3c-xmlserializer-2.0.0.tgz#3e7104a05b75146cc60f564380b7f683acf1020a" - integrity sha512-4tzD0mF8iSiMiNs30BiLO3EpfGLZUT2MSX/G+o7ZywDzliWQ3OPtTZ0PTC3B3ca1UAf4cJMHB+2Bf56EriJuRA== +"w3c-xmlserializer@^2.0.0": + "integrity" "sha512-4tzD0mF8iSiMiNs30BiLO3EpfGLZUT2MSX/G+o7ZywDzliWQ3OPtTZ0PTC3B3ca1UAf4cJMHB+2Bf56EriJuRA==" + "resolved" "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-2.0.0.tgz" + "version" "2.0.0" dependencies: - xml-name-validator "^3.0.0" + "xml-name-validator" "^3.0.0" -walker@^1.0.7: - version "1.0.8" - resolved "https://registry.yarnpkg.com/walker/-/walker-1.0.8.tgz#bd498db477afe573dc04185f011d3ab8a8d7653f" - integrity sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ== +"walker@^1.0.7": + "integrity" "sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==" + "resolved" "https://registry.npmjs.org/walker/-/walker-1.0.8.tgz" + "version" "1.0.8" dependencies: - makeerror "1.0.12" + "makeerror" "1.0.12" -warning@^4.0.3: - version "4.0.3" - resolved "https://registry.yarnpkg.com/warning/-/warning-4.0.3.tgz#16e9e077eb8a86d6af7d64aa1e05fd85b4678ca3" - integrity sha512-rpJyN222KWIvHJ/F53XSZv0Zl/accqHR8et1kpaMTD/fLCRxtV8iX8czMzY7sVZupTI3zcUTg8eycS2kNF9l6w== +"warning@^4.0.3": + "integrity" "sha512-rpJyN222KWIvHJ/F53XSZv0Zl/accqHR8et1kpaMTD/fLCRxtV8iX8czMzY7sVZupTI3zcUTg8eycS2kNF9l6w==" + "resolved" "https://registry.npmjs.org/warning/-/warning-4.0.3.tgz" + "version" "4.0.3" dependencies: - loose-envify "^1.0.0" + "loose-envify" "^1.0.0" -web3-bzz@1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/web3-bzz/-/web3-bzz-1.2.1.tgz#c3bd1e8f0c02a13cd6d4e3c3e9e1713f144f6f0d" - integrity sha512-LdOO44TuYbGIPfL4ilkuS89GQovxUpmLz6C1UC7VYVVRILeZS740FVB3j9V4P4FHUk1RenaDfKhcntqgVCHtjw== +"web3-bzz@1.2.1": + "integrity" "sha512-LdOO44TuYbGIPfL4ilkuS89GQovxUpmLz6C1UC7VYVVRILeZS740FVB3j9V4P4FHUk1RenaDfKhcntqgVCHtjw==" + "resolved" "https://registry.npmjs.org/web3-bzz/-/web3-bzz-1.2.1.tgz" + "version" "1.2.1" dependencies: - got "9.6.0" - swarm-js "0.1.39" - underscore "1.9.1" + "got" "9.6.0" + "swarm-js" "0.1.39" + "underscore" "1.9.1" -web3-bzz@1.8.2: - version "1.8.2" - resolved "https://registry.yarnpkg.com/web3-bzz/-/web3-bzz-1.8.2.tgz#67ea1c775874056250eece551ded22905ed08784" - integrity sha512-1EEnxjPnFnvNWw3XeeKuTR8PBxYd0+XWzvaLK7OJC/Go9O8llLGxrxICbKV+8cgIE0sDRBxiYx02X+6OhoAQ9w== +"web3-bzz@1.8.2": + "integrity" "sha512-1EEnxjPnFnvNWw3XeeKuTR8PBxYd0+XWzvaLK7OJC/Go9O8llLGxrxICbKV+8cgIE0sDRBxiYx02X+6OhoAQ9w==" + "resolved" "https://registry.npmjs.org/web3-bzz/-/web3-bzz-1.8.2.tgz" + "version" "1.8.2" dependencies: "@types/node" "^12.12.6" - got "12.1.0" - swarm-js "^0.1.40" - -web3-core-helpers@1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/web3-core-helpers/-/web3-core-helpers-1.2.1.tgz#f5f32d71c60a4a3bd14786118e633ce7ca6d5d0d" - integrity sha512-Gx3sTEajD5r96bJgfuW377PZVFmXIH4TdqDhgGwd2lZQCcMi+DA4TgxJNJGxn0R3aUVzyyE76j4LBrh412mXrw== - dependencies: - underscore "1.9.1" - web3-eth-iban "1.2.1" - web3-utils "1.2.1" - -web3-core-helpers@1.8.2: - version "1.8.2" - resolved "https://registry.yarnpkg.com/web3-core-helpers/-/web3-core-helpers-1.8.2.tgz#82066560f8085e6c7b93bcc8e88b441289ea9f9f" - integrity sha512-6B1eLlq9JFrfealZBomd1fmlq1o4A09vrCVQSa51ANoib/jllT3atZrRDr0zt1rfI7TSZTZBXdN/aTdeN99DWw== - dependencies: - web3-eth-iban "1.8.2" - web3-utils "1.8.2" - -web3-core-method@1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/web3-core-method/-/web3-core-method-1.2.1.tgz#9df1bafa2cd8be9d9937e01c6a47fc768d15d90a" - integrity sha512-Ghg2WS23qi6Xj8Od3VCzaImLHseEA7/usvnOItluiIc5cKs00WYWsNy2YRStzU9a2+z8lwQywPYp0nTzR/QXdQ== - dependencies: - underscore "1.9.1" - web3-core-helpers "1.2.1" - web3-core-promievent "1.2.1" - web3-core-subscriptions "1.2.1" - web3-utils "1.2.1" - -web3-core-method@1.8.2: - version "1.8.2" - resolved "https://registry.yarnpkg.com/web3-core-method/-/web3-core-method-1.8.2.tgz#ba5ec68084e903f0516415010477618be017eac2" - integrity sha512-1qnr5mw5wVyULzLOrk4B+ryO3gfGjGd/fx8NR+J2xCGLf1e6OSjxT9vbfuQ3fErk/NjSTWWreieYWLMhaogcRA== + "got" "12.1.0" + "swarm-js" "^0.1.40" + +"web3-core-helpers@1.2.1": + "integrity" "sha512-Gx3sTEajD5r96bJgfuW377PZVFmXIH4TdqDhgGwd2lZQCcMi+DA4TgxJNJGxn0R3aUVzyyE76j4LBrh412mXrw==" + "resolved" "https://registry.npmjs.org/web3-core-helpers/-/web3-core-helpers-1.2.1.tgz" + "version" "1.2.1" + dependencies: + "underscore" "1.9.1" + "web3-eth-iban" "1.2.1" + "web3-utils" "1.2.1" + +"web3-core-helpers@1.8.2": + "integrity" "sha512-6B1eLlq9JFrfealZBomd1fmlq1o4A09vrCVQSa51ANoib/jllT3atZrRDr0zt1rfI7TSZTZBXdN/aTdeN99DWw==" + "resolved" "https://registry.npmjs.org/web3-core-helpers/-/web3-core-helpers-1.8.2.tgz" + "version" "1.8.2" + dependencies: + "web3-eth-iban" "1.8.2" + "web3-utils" "1.8.2" + +"web3-core-method@1.2.1": + "integrity" "sha512-Ghg2WS23qi6Xj8Od3VCzaImLHseEA7/usvnOItluiIc5cKs00WYWsNy2YRStzU9a2+z8lwQywPYp0nTzR/QXdQ==" + "resolved" "https://registry.npmjs.org/web3-core-method/-/web3-core-method-1.2.1.tgz" + "version" "1.2.1" + dependencies: + "underscore" "1.9.1" + "web3-core-helpers" "1.2.1" + "web3-core-promievent" "1.2.1" + "web3-core-subscriptions" "1.2.1" + "web3-utils" "1.2.1" + +"web3-core-method@1.8.2": + "integrity" "sha512-1qnr5mw5wVyULzLOrk4B+ryO3gfGjGd/fx8NR+J2xCGLf1e6OSjxT9vbfuQ3fErk/NjSTWWreieYWLMhaogcRA==" + "resolved" "https://registry.npmjs.org/web3-core-method/-/web3-core-method-1.8.2.tgz" + "version" "1.8.2" dependencies: "@ethersproject/transactions" "^5.6.2" - web3-core-helpers "1.8.2" - web3-core-promievent "1.8.2" - web3-core-subscriptions "1.8.2" - web3-utils "1.8.2" - -web3-core-promievent@1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/web3-core-promievent/-/web3-core-promievent-1.2.1.tgz#003e8a3eb82fb27b6164a6d5b9cad04acf733838" - integrity sha512-IVUqgpIKoeOYblwpex4Hye6npM0aMR+kU49VP06secPeN0rHMyhGF0ZGveWBrGvf8WDPI7jhqPBFIC6Jf3Q3zw== - dependencies: - any-promise "1.3.0" - eventemitter3 "3.1.2" - -web3-core-promievent@1.8.2: - version "1.8.2" - resolved "https://registry.yarnpkg.com/web3-core-promievent/-/web3-core-promievent-1.8.2.tgz#e670d6b4453632e6ecfd9ad82da44f77ac1585c9" - integrity sha512-nvkJWDVgoOSsolJldN33tKW6bKKRJX3MCPDYMwP5SUFOA/mCzDEoI88N0JFofDTXkh1k7gOqp1pvwi9heuaxGg== - dependencies: - eventemitter3 "4.0.4" - -web3-core-requestmanager@1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/web3-core-requestmanager/-/web3-core-requestmanager-1.2.1.tgz#fa2e2206c3d738db38db7c8fe9c107006f5c6e3d" - integrity sha512-xfknTC69RfYmLKC+83Jz73IC3/sS2ZLhGtX33D4Q5nQ8yc39ElyAolxr9sJQS8kihOcM6u4J+8gyGMqsLcpIBg== - dependencies: - underscore "1.9.1" - web3-core-helpers "1.2.1" - web3-providers-http "1.2.1" - web3-providers-ipc "1.2.1" - web3-providers-ws "1.2.1" - -web3-core-requestmanager@1.8.2: - version "1.8.2" - resolved "https://registry.yarnpkg.com/web3-core-requestmanager/-/web3-core-requestmanager-1.8.2.tgz#dda95e83ca4808949612a41e54ecea557f78ef26" - integrity sha512-p1d090RYs5Mu7DK1yyc3GCBVZB/03rBtFhYFoS2EruGzOWs/5Q0grgtpwS/DScdRAm8wB8mYEBhY/RKJWF6B2g== - dependencies: - util "^0.12.5" - web3-core-helpers "1.8.2" - web3-providers-http "1.8.2" - web3-providers-ipc "1.8.2" - web3-providers-ws "1.8.2" - -web3-core-subscriptions@1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/web3-core-subscriptions/-/web3-core-subscriptions-1.2.1.tgz#8c2368a839d4eec1c01a4b5650bbeb82d0e4a099" - integrity sha512-nmOwe3NsB8V8UFsY1r+sW6KjdOS68h8nuh7NzlWxBQT/19QSUGiERRTaZXWu5BYvo1EoZRMxCKyCQpSSXLc08g== - dependencies: - eventemitter3 "3.1.2" - underscore "1.9.1" - web3-core-helpers "1.2.1" - -web3-core-subscriptions@1.8.2: - version "1.8.2" - resolved "https://registry.yarnpkg.com/web3-core-subscriptions/-/web3-core-subscriptions-1.8.2.tgz#0c8bd49439d83c6f0a03c70f00b24a915a70a5ed" - integrity sha512-vXQogHDmAIQcKpXvGiMddBUeP9lnKgYF64+yQJhPNE5PnWr1sAibXuIPV7mIPihpFr/n/DORRj6Wh1pUv9zaTw== - dependencies: - eventemitter3 "4.0.4" - web3-core-helpers "1.8.2" - -web3-core@1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/web3-core/-/web3-core-1.2.1.tgz#7278b58fb6495065e73a77efbbce781a7fddf1a9" - integrity sha512-5ODwIqgl8oIg/0+Ai4jsLxkKFWJYE0uLuE1yUKHNVCL4zL6n3rFjRMpKPokd6id6nJCNgeA64KdWQ4XfpnjdMg== - dependencies: - web3-core-helpers "1.2.1" - web3-core-method "1.2.1" - web3-core-requestmanager "1.2.1" - web3-utils "1.2.1" - -web3-core@1.8.2: - version "1.8.2" - resolved "https://registry.yarnpkg.com/web3-core/-/web3-core-1.8.2.tgz#333e93d7872b1a36efe758ed8b89a7acbdd962c2" - integrity sha512-DJTVEAYcNqxkqruJE+Rxp3CIv0y5AZMwPHQmOkz/cz+MM75SIzMTc0AUdXzGyTS8xMF8h3YWMQGgGEy8SBf1PQ== + "web3-core-helpers" "1.8.2" + "web3-core-promievent" "1.8.2" + "web3-core-subscriptions" "1.8.2" + "web3-utils" "1.8.2" + +"web3-core-promievent@1.2.1": + "integrity" "sha512-IVUqgpIKoeOYblwpex4Hye6npM0aMR+kU49VP06secPeN0rHMyhGF0ZGveWBrGvf8WDPI7jhqPBFIC6Jf3Q3zw==" + "resolved" "https://registry.npmjs.org/web3-core-promievent/-/web3-core-promievent-1.2.1.tgz" + "version" "1.2.1" + dependencies: + "any-promise" "1.3.0" + "eventemitter3" "3.1.2" + +"web3-core-promievent@1.8.2": + "integrity" "sha512-nvkJWDVgoOSsolJldN33tKW6bKKRJX3MCPDYMwP5SUFOA/mCzDEoI88N0JFofDTXkh1k7gOqp1pvwi9heuaxGg==" + "resolved" "https://registry.npmjs.org/web3-core-promievent/-/web3-core-promievent-1.8.2.tgz" + "version" "1.8.2" + dependencies: + "eventemitter3" "4.0.4" + +"web3-core-requestmanager@1.2.1": + "integrity" "sha512-xfknTC69RfYmLKC+83Jz73IC3/sS2ZLhGtX33D4Q5nQ8yc39ElyAolxr9sJQS8kihOcM6u4J+8gyGMqsLcpIBg==" + "resolved" "https://registry.npmjs.org/web3-core-requestmanager/-/web3-core-requestmanager-1.2.1.tgz" + "version" "1.2.1" + dependencies: + "underscore" "1.9.1" + "web3-core-helpers" "1.2.1" + "web3-providers-http" "1.2.1" + "web3-providers-ipc" "1.2.1" + "web3-providers-ws" "1.2.1" + +"web3-core-requestmanager@1.8.2": + "integrity" "sha512-p1d090RYs5Mu7DK1yyc3GCBVZB/03rBtFhYFoS2EruGzOWs/5Q0grgtpwS/DScdRAm8wB8mYEBhY/RKJWF6B2g==" + "resolved" "https://registry.npmjs.org/web3-core-requestmanager/-/web3-core-requestmanager-1.8.2.tgz" + "version" "1.8.2" + dependencies: + "util" "^0.12.5" + "web3-core-helpers" "1.8.2" + "web3-providers-http" "1.8.2" + "web3-providers-ipc" "1.8.2" + "web3-providers-ws" "1.8.2" + +"web3-core-subscriptions@1.2.1": + "integrity" "sha512-nmOwe3NsB8V8UFsY1r+sW6KjdOS68h8nuh7NzlWxBQT/19QSUGiERRTaZXWu5BYvo1EoZRMxCKyCQpSSXLc08g==" + "resolved" "https://registry.npmjs.org/web3-core-subscriptions/-/web3-core-subscriptions-1.2.1.tgz" + "version" "1.2.1" + dependencies: + "eventemitter3" "3.1.2" + "underscore" "1.9.1" + "web3-core-helpers" "1.2.1" + +"web3-core-subscriptions@1.8.2": + "integrity" "sha512-vXQogHDmAIQcKpXvGiMddBUeP9lnKgYF64+yQJhPNE5PnWr1sAibXuIPV7mIPihpFr/n/DORRj6Wh1pUv9zaTw==" + "resolved" "https://registry.npmjs.org/web3-core-subscriptions/-/web3-core-subscriptions-1.8.2.tgz" + "version" "1.8.2" + dependencies: + "eventemitter3" "4.0.4" + "web3-core-helpers" "1.8.2" + +"web3-core@1.2.1": + "integrity" "sha512-5ODwIqgl8oIg/0+Ai4jsLxkKFWJYE0uLuE1yUKHNVCL4zL6n3rFjRMpKPokd6id6nJCNgeA64KdWQ4XfpnjdMg==" + "resolved" "https://registry.npmjs.org/web3-core/-/web3-core-1.2.1.tgz" + "version" "1.2.1" + dependencies: + "web3-core-helpers" "1.2.1" + "web3-core-method" "1.2.1" + "web3-core-requestmanager" "1.2.1" + "web3-utils" "1.2.1" + +"web3-core@1.8.2": + "integrity" "sha512-DJTVEAYcNqxkqruJE+Rxp3CIv0y5AZMwPHQmOkz/cz+MM75SIzMTc0AUdXzGyTS8xMF8h3YWMQGgGEy8SBf1PQ==" + "resolved" "https://registry.npmjs.org/web3-core/-/web3-core-1.8.2.tgz" + "version" "1.8.2" dependencies: "@types/bn.js" "^5.1.0" "@types/node" "^12.12.6" - bignumber.js "^9.0.0" - web3-core-helpers "1.8.2" - web3-core-method "1.8.2" - web3-core-requestmanager "1.8.2" - web3-utils "1.8.2" - -web3-eth-abi@1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/web3-eth-abi/-/web3-eth-abi-1.2.1.tgz#9b915b1c9ebf82f70cca631147035d5419064689" - integrity sha512-jI/KhU2a/DQPZXHjo2GW0myEljzfiKOn+h1qxK1+Y9OQfTcBMxrQJyH5AP89O6l6NZ1QvNdq99ThAxBFoy5L+g== - dependencies: - ethers "4.0.0-beta.3" - underscore "1.9.1" - web3-utils "1.2.1" - -web3-eth-abi@1.8.2, web3-eth-abi@^1.2.1: - version "1.8.2" - resolved "https://registry.yarnpkg.com/web3-eth-abi/-/web3-eth-abi-1.8.2.tgz#16e1e9be40e2527404f041a4745111211488f31a" - integrity sha512-Om9g3kaRNjqiNPAgKwGT16y+ZwtBzRe4ZJFGjLiSs6v5I7TPNF+rRMWuKnR6jq0azQZDj6rblvKFMA49/k48Og== + "bignumber.js" "^9.0.0" + "web3-core-helpers" "1.8.2" + "web3-core-method" "1.8.2" + "web3-core-requestmanager" "1.8.2" + "web3-utils" "1.8.2" + +"web3-eth-abi@^1.2.1", "web3-eth-abi@1.8.2": + "integrity" "sha512-Om9g3kaRNjqiNPAgKwGT16y+ZwtBzRe4ZJFGjLiSs6v5I7TPNF+rRMWuKnR6jq0azQZDj6rblvKFMA49/k48Og==" + "resolved" "https://registry.npmjs.org/web3-eth-abi/-/web3-eth-abi-1.8.2.tgz" + "version" "1.8.2" dependencies: "@ethersproject/abi" "^5.6.3" - web3-utils "1.8.2" - -web3-eth-accounts@1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/web3-eth-accounts/-/web3-eth-accounts-1.2.1.tgz#2741a8ef337a7219d57959ac8bd118b9d68d63cf" - integrity sha512-26I4qq42STQ8IeKUyur3MdQ1NzrzCqPsmzqpux0j6X/XBD7EjZ+Cs0lhGNkSKH5dI3V8CJasnQ5T1mNKeWB7nQ== - dependencies: - any-promise "1.3.0" - crypto-browserify "3.12.0" - eth-lib "0.2.7" - scryptsy "2.1.0" - semver "6.2.0" - underscore "1.9.1" - uuid "3.3.2" - web3-core "1.2.1" - web3-core-helpers "1.2.1" - web3-core-method "1.2.1" - web3-utils "1.2.1" - -web3-eth-accounts@1.8.2: - version "1.8.2" - resolved "https://registry.yarnpkg.com/web3-eth-accounts/-/web3-eth-accounts-1.8.2.tgz#b894f5d5158fcae429da42de75d96520d0712971" - integrity sha512-c367Ij63VCz9YdyjiHHWLFtN85l6QghgwMQH2B1eM/p9Y5lTlTX7t/Eg/8+f1yoIStXbk2w/PYM2lk+IkbqdLA== + "web3-utils" "1.8.2" + +"web3-eth-abi@1.2.1": + "integrity" "sha512-jI/KhU2a/DQPZXHjo2GW0myEljzfiKOn+h1qxK1+Y9OQfTcBMxrQJyH5AP89O6l6NZ1QvNdq99ThAxBFoy5L+g==" + "resolved" "https://registry.npmjs.org/web3-eth-abi/-/web3-eth-abi-1.2.1.tgz" + "version" "1.2.1" + dependencies: + "ethers" "4.0.0-beta.3" + "underscore" "1.9.1" + "web3-utils" "1.2.1" + +"web3-eth-accounts@1.2.1": + "integrity" "sha512-26I4qq42STQ8IeKUyur3MdQ1NzrzCqPsmzqpux0j6X/XBD7EjZ+Cs0lhGNkSKH5dI3V8CJasnQ5T1mNKeWB7nQ==" + "resolved" "https://registry.npmjs.org/web3-eth-accounts/-/web3-eth-accounts-1.2.1.tgz" + "version" "1.2.1" + dependencies: + "any-promise" "1.3.0" + "crypto-browserify" "3.12.0" + "eth-lib" "0.2.7" + "scryptsy" "2.1.0" + "semver" "6.2.0" + "underscore" "1.9.1" + "uuid" "3.3.2" + "web3-core" "1.2.1" + "web3-core-helpers" "1.2.1" + "web3-core-method" "1.2.1" + "web3-utils" "1.2.1" + +"web3-eth-accounts@1.8.2": + "integrity" "sha512-c367Ij63VCz9YdyjiHHWLFtN85l6QghgwMQH2B1eM/p9Y5lTlTX7t/Eg/8+f1yoIStXbk2w/PYM2lk+IkbqdLA==" + "resolved" "https://registry.npmjs.org/web3-eth-accounts/-/web3-eth-accounts-1.8.2.tgz" + "version" "1.8.2" dependencies: "@ethereumjs/common" "2.5.0" "@ethereumjs/tx" "3.3.2" - eth-lib "0.2.8" - ethereumjs-util "^7.1.5" - scrypt-js "^3.0.1" - uuid "^9.0.0" - web3-core "1.8.2" - web3-core-helpers "1.8.2" - web3-core-method "1.8.2" - web3-utils "1.8.2" - -web3-eth-contract@1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/web3-eth-contract/-/web3-eth-contract-1.2.1.tgz#3542424f3d341386fd9ff65e78060b85ac0ea8c4" - integrity sha512-kYFESbQ3boC9bl2rYVghj7O8UKMiuKaiMkxvRH5cEDHil8V7MGEGZNH0slSdoyeftZVlaWSMqkRP/chfnKND0g== - dependencies: - underscore "1.9.1" - web3-core "1.2.1" - web3-core-helpers "1.2.1" - web3-core-method "1.2.1" - web3-core-promievent "1.2.1" - web3-core-subscriptions "1.2.1" - web3-eth-abi "1.2.1" - web3-utils "1.2.1" - -web3-eth-contract@1.8.2: - version "1.8.2" - resolved "https://registry.yarnpkg.com/web3-eth-contract/-/web3-eth-contract-1.8.2.tgz#5388b7130923d2b790c09a420391a81312a867fb" - integrity sha512-ID5A25tHTSBNwOPjiXSVzxruz006ULRIDbzWTYIFTp7NJ7vXu/kynKK2ag/ObuTqBpMbobP8nXcA9b5EDkIdQA== + "eth-lib" "0.2.8" + "ethereumjs-util" "^7.1.5" + "scrypt-js" "^3.0.1" + "uuid" "^9.0.0" + "web3-core" "1.8.2" + "web3-core-helpers" "1.8.2" + "web3-core-method" "1.8.2" + "web3-utils" "1.8.2" + +"web3-eth-contract@1.2.1": + "integrity" "sha512-kYFESbQ3boC9bl2rYVghj7O8UKMiuKaiMkxvRH5cEDHil8V7MGEGZNH0slSdoyeftZVlaWSMqkRP/chfnKND0g==" + "resolved" "https://registry.npmjs.org/web3-eth-contract/-/web3-eth-contract-1.2.1.tgz" + "version" "1.2.1" + dependencies: + "underscore" "1.9.1" + "web3-core" "1.2.1" + "web3-core-helpers" "1.2.1" + "web3-core-method" "1.2.1" + "web3-core-promievent" "1.2.1" + "web3-core-subscriptions" "1.2.1" + "web3-eth-abi" "1.2.1" + "web3-utils" "1.2.1" + +"web3-eth-contract@1.8.2": + "integrity" "sha512-ID5A25tHTSBNwOPjiXSVzxruz006ULRIDbzWTYIFTp7NJ7vXu/kynKK2ag/ObuTqBpMbobP8nXcA9b5EDkIdQA==" + "resolved" "https://registry.npmjs.org/web3-eth-contract/-/web3-eth-contract-1.8.2.tgz" + "version" "1.8.2" dependencies: "@types/bn.js" "^5.1.0" - web3-core "1.8.2" - web3-core-helpers "1.8.2" - web3-core-method "1.8.2" - web3-core-promievent "1.8.2" - web3-core-subscriptions "1.8.2" - web3-eth-abi "1.8.2" - web3-utils "1.8.2" - -web3-eth-ens@1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/web3-eth-ens/-/web3-eth-ens-1.2.1.tgz#a0e52eee68c42a8b9865ceb04e5fb022c2d971d5" - integrity sha512-lhP1kFhqZr2nnbu3CGIFFrAnNxk2veXpOXBY48Tub37RtobDyHijHgrj+xTh+mFiPokyrapVjpFsbGa+Xzye4Q== - dependencies: - eth-ens-namehash "2.0.8" - underscore "1.9.1" - web3-core "1.2.1" - web3-core-helpers "1.2.1" - web3-core-promievent "1.2.1" - web3-eth-abi "1.2.1" - web3-eth-contract "1.2.1" - web3-utils "1.2.1" - -web3-eth-ens@1.8.2: - version "1.8.2" - resolved "https://registry.yarnpkg.com/web3-eth-ens/-/web3-eth-ens-1.8.2.tgz#0a086ad4d919102e28b9fd3036df246add9df22a" - integrity sha512-PWph7C/CnqdWuu1+SH4U4zdrK4t2HNt0I4XzPYFdv9ugE8EuojselioPQXsVGvjql+Nt3jDLvQvggPqlMbvwRw== - dependencies: - content-hash "^2.5.2" - eth-ens-namehash "2.0.8" - web3-core "1.8.2" - web3-core-helpers "1.8.2" - web3-core-promievent "1.8.2" - web3-eth-abi "1.8.2" - web3-eth-contract "1.8.2" - web3-utils "1.8.2" - -web3-eth-iban@1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/web3-eth-iban/-/web3-eth-iban-1.2.1.tgz#2c3801718946bea24e9296993a975c80b5acf880" - integrity sha512-9gkr4QPl1jCU+wkgmZ8EwODVO3ovVj6d6JKMos52ggdT2YCmlfvFVF6wlGLwi0VvNa/p+0BjJzaqxnnG/JewjQ== - dependencies: - bn.js "4.11.8" - web3-utils "1.2.1" - -web3-eth-iban@1.8.2: - version "1.8.2" - resolved "https://registry.yarnpkg.com/web3-eth-iban/-/web3-eth-iban-1.8.2.tgz#5cb3022234b13986f086353b53f0379a881feeaf" - integrity sha512-h3vNblDWkWMuYx93Q27TAJz6lhzpP93EiC3+45D6xoz983p6si773vntoQ+H+5aZhwglBtoiBzdh7PSSOnP/xQ== - dependencies: - bn.js "^5.2.1" - web3-utils "1.8.2" - -web3-eth-personal@1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/web3-eth-personal/-/web3-eth-personal-1.2.1.tgz#244e9911b7b482dc17c02f23a061a627c6e47faf" - integrity sha512-RNDVSiaSoY4aIp8+Hc7z+X72H7lMb3fmAChuSBADoEc7DsJrY/d0R5qQDK9g9t2BO8oxgLrLNyBP/9ub2Hc6Bg== - dependencies: - web3-core "1.2.1" - web3-core-helpers "1.2.1" - web3-core-method "1.2.1" - web3-net "1.2.1" - web3-utils "1.2.1" - -web3-eth-personal@1.8.2: - version "1.8.2" - resolved "https://registry.yarnpkg.com/web3-eth-personal/-/web3-eth-personal-1.8.2.tgz#3526c1ebaa4e7bf3a0a8ec77e34f067cc9a750b2" - integrity sha512-Vg4HfwCr7doiUF/RC+Jz0wT4+cYaXcOWMAW2AHIjHX6Z7Xwa8nrURIeQgeEE62qcEHAzajyAdB1u6bJyTfuCXw== + "web3-core" "1.8.2" + "web3-core-helpers" "1.8.2" + "web3-core-method" "1.8.2" + "web3-core-promievent" "1.8.2" + "web3-core-subscriptions" "1.8.2" + "web3-eth-abi" "1.8.2" + "web3-utils" "1.8.2" + +"web3-eth-ens@1.2.1": + "integrity" "sha512-lhP1kFhqZr2nnbu3CGIFFrAnNxk2veXpOXBY48Tub37RtobDyHijHgrj+xTh+mFiPokyrapVjpFsbGa+Xzye4Q==" + "resolved" "https://registry.npmjs.org/web3-eth-ens/-/web3-eth-ens-1.2.1.tgz" + "version" "1.2.1" + dependencies: + "eth-ens-namehash" "2.0.8" + "underscore" "1.9.1" + "web3-core" "1.2.1" + "web3-core-helpers" "1.2.1" + "web3-core-promievent" "1.2.1" + "web3-eth-abi" "1.2.1" + "web3-eth-contract" "1.2.1" + "web3-utils" "1.2.1" + +"web3-eth-ens@1.8.2": + "integrity" "sha512-PWph7C/CnqdWuu1+SH4U4zdrK4t2HNt0I4XzPYFdv9ugE8EuojselioPQXsVGvjql+Nt3jDLvQvggPqlMbvwRw==" + "resolved" "https://registry.npmjs.org/web3-eth-ens/-/web3-eth-ens-1.8.2.tgz" + "version" "1.8.2" + dependencies: + "content-hash" "^2.5.2" + "eth-ens-namehash" "2.0.8" + "web3-core" "1.8.2" + "web3-core-helpers" "1.8.2" + "web3-core-promievent" "1.8.2" + "web3-eth-abi" "1.8.2" + "web3-eth-contract" "1.8.2" + "web3-utils" "1.8.2" + +"web3-eth-iban@1.2.1": + "integrity" "sha512-9gkr4QPl1jCU+wkgmZ8EwODVO3ovVj6d6JKMos52ggdT2YCmlfvFVF6wlGLwi0VvNa/p+0BjJzaqxnnG/JewjQ==" + "resolved" "https://registry.npmjs.org/web3-eth-iban/-/web3-eth-iban-1.2.1.tgz" + "version" "1.2.1" + dependencies: + "bn.js" "4.11.8" + "web3-utils" "1.2.1" + +"web3-eth-iban@1.8.2": + "integrity" "sha512-h3vNblDWkWMuYx93Q27TAJz6lhzpP93EiC3+45D6xoz983p6si773vntoQ+H+5aZhwglBtoiBzdh7PSSOnP/xQ==" + "resolved" "https://registry.npmjs.org/web3-eth-iban/-/web3-eth-iban-1.8.2.tgz" + "version" "1.8.2" + dependencies: + "bn.js" "^5.2.1" + "web3-utils" "1.8.2" + +"web3-eth-personal@1.2.1": + "integrity" "sha512-RNDVSiaSoY4aIp8+Hc7z+X72H7lMb3fmAChuSBADoEc7DsJrY/d0R5qQDK9g9t2BO8oxgLrLNyBP/9ub2Hc6Bg==" + "resolved" "https://registry.npmjs.org/web3-eth-personal/-/web3-eth-personal-1.2.1.tgz" + "version" "1.2.1" + dependencies: + "web3-core" "1.2.1" + "web3-core-helpers" "1.2.1" + "web3-core-method" "1.2.1" + "web3-net" "1.2.1" + "web3-utils" "1.2.1" + +"web3-eth-personal@1.8.2": + "integrity" "sha512-Vg4HfwCr7doiUF/RC+Jz0wT4+cYaXcOWMAW2AHIjHX6Z7Xwa8nrURIeQgeEE62qcEHAzajyAdB1u6bJyTfuCXw==" + "resolved" "https://registry.npmjs.org/web3-eth-personal/-/web3-eth-personal-1.8.2.tgz" + "version" "1.8.2" dependencies: "@types/node" "^12.12.6" - web3-core "1.8.2" - web3-core-helpers "1.8.2" - web3-core-method "1.8.2" - web3-net "1.8.2" - web3-utils "1.8.2" - -web3-eth@1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/web3-eth/-/web3-eth-1.2.1.tgz#b9989e2557c73a9e8ffdc107c6dafbe72c79c1b0" - integrity sha512-/2xly4Yry5FW1i+uygPjhfvgUP/MS/Dk+PDqmzp5M88tS86A+j8BzKc23GrlA8sgGs0645cpZK/999LpEF5UdA== - dependencies: - underscore "1.9.1" - web3-core "1.2.1" - web3-core-helpers "1.2.1" - web3-core-method "1.2.1" - web3-core-subscriptions "1.2.1" - web3-eth-abi "1.2.1" - web3-eth-accounts "1.2.1" - web3-eth-contract "1.2.1" - web3-eth-ens "1.2.1" - web3-eth-iban "1.2.1" - web3-eth-personal "1.2.1" - web3-net "1.2.1" - web3-utils "1.2.1" - -web3-eth@1.8.2: - version "1.8.2" - resolved "https://registry.yarnpkg.com/web3-eth/-/web3-eth-1.8.2.tgz#8562287ae1803c30eb54dc7d832092e5739ce06a" - integrity sha512-JoTiWWc4F4TInpbvDUGb0WgDYJsFhuIjJlinc5ByjWD88Gvh+GKLsRjjFdbqe5YtwIGT4NymwoC5LQd1K6u/QQ== - dependencies: - web3-core "1.8.2" - web3-core-helpers "1.8.2" - web3-core-method "1.8.2" - web3-core-subscriptions "1.8.2" - web3-eth-abi "1.8.2" - web3-eth-accounts "1.8.2" - web3-eth-contract "1.8.2" - web3-eth-ens "1.8.2" - web3-eth-iban "1.8.2" - web3-eth-personal "1.8.2" - web3-net "1.8.2" - web3-utils "1.8.2" - -web3-net@1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/web3-net/-/web3-net-1.2.1.tgz#edd249503315dd5ab4fa00220f6509d95bb7ab10" - integrity sha512-Yt1Bs7WgnLESPe0rri/ZoPWzSy55ovioaP35w1KZydrNtQ5Yq4WcrAdhBzcOW7vAkIwrsLQsvA+hrOCy7mNauw== - dependencies: - web3-core "1.2.1" - web3-core-method "1.2.1" - web3-utils "1.2.1" - -web3-net@1.8.2: - version "1.8.2" - resolved "https://registry.yarnpkg.com/web3-net/-/web3-net-1.8.2.tgz#97e1e0015fabc4cda31017813e98d0b5468dd04f" - integrity sha512-1itkDMGmbgb83Dg9nporFes9/fxsU7smJ3oRXlFkg4ZHn8YJyP1MSQFPJWWwSc+GrcCFt4O5IrUTvEkHqE3xag== - dependencies: - web3-core "1.8.2" - web3-core-method "1.8.2" - web3-utils "1.8.2" - -web3-providers-http@1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/web3-providers-http/-/web3-providers-http-1.2.1.tgz#c93ea003a42e7b894556f7e19dd3540f947f5013" - integrity sha512-BDtVUVolT9b3CAzeGVA/np1hhn7RPUZ6YYGB/sYky+GjeO311Yoq8SRDUSezU92x8yImSC2B+SMReGhd1zL+bQ== - dependencies: - web3-core-helpers "1.2.1" - xhr2-cookies "1.1.0" - -web3-providers-http@1.8.2: - version "1.8.2" - resolved "https://registry.yarnpkg.com/web3-providers-http/-/web3-providers-http-1.8.2.tgz#fbda3a3bbc8db004af36e91bec35f80273b37885" - integrity sha512-2xY94IIEQd16+b+vIBF4IC1p7GVaz9q4EUFscvMUjtEq4ru4Atdzjs9GP+jmcoo49p70II0UV3bqQcz0TQfVyQ== - dependencies: - abortcontroller-polyfill "^1.7.3" - cross-fetch "^3.1.4" - es6-promise "^4.2.8" - web3-core-helpers "1.8.2" - -web3-providers-ipc@1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/web3-providers-ipc/-/web3-providers-ipc-1.2.1.tgz#017bfc687a8fc5398df2241eb98f135e3edd672c" - integrity sha512-oPEuOCwxVx8L4CPD0TUdnlOUZwGBSRKScCz/Ws2YHdr9Ium+whm+0NLmOZjkjQp5wovQbyBzNa6zJz1noFRvFA== - dependencies: - oboe "2.1.4" - underscore "1.9.1" - web3-core-helpers "1.2.1" - -web3-providers-ipc@1.8.2: - version "1.8.2" - resolved "https://registry.yarnpkg.com/web3-providers-ipc/-/web3-providers-ipc-1.8.2.tgz#e52a7250f40c83b99a2482ec5b4cf2728377ae5c" - integrity sha512-p6fqKVGFg+WiXGHWnB1hu43PbvPkDHTz4RgoEzbXugv5rtv5zfYLqm8Ba6lrJOS5ks9kGKR21a0y3NzE3u7V4w== - dependencies: - oboe "2.1.5" - web3-core-helpers "1.8.2" - -web3-providers-ws@1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/web3-providers-ws/-/web3-providers-ws-1.2.1.tgz#2d941eaf3d5a8caa3214eff8dc16d96252b842cb" - integrity sha512-oqsQXzu+ejJACVHy864WwIyw+oB21nw/pI65/sD95Zi98+/HQzFfNcIFneF1NC4bVF3VNX4YHTNq2I2o97LAiA== - dependencies: - underscore "1.9.1" - web3-core-helpers "1.2.1" - websocket "github:web3-js/WebSocket-Node#polyfill/globalThis" - -web3-providers-ws@1.8.2: - version "1.8.2" - resolved "https://registry.yarnpkg.com/web3-providers-ws/-/web3-providers-ws-1.8.2.tgz#56a2b701387011aca9154ca4bc06ea4b5f27e4ef" - integrity sha512-3s/4K+wHgbiN+Zrp9YjMq2eqAF6QGABw7wFftPdx+m5hWImV27/MoIx57c6HffNRqZXmCHnfWWFCNHHsi7wXnA== - dependencies: - eventemitter3 "4.0.4" - web3-core-helpers "1.8.2" - websocket "^1.0.32" - -web3-shh@1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/web3-shh/-/web3-shh-1.2.1.tgz#4460e3c1e07faf73ddec24ccd00da46f89152b0c" - integrity sha512-/3Cl04nza5kuFn25bV3FJWa0s3Vafr5BlT933h26xovQ6HIIz61LmvNQlvX1AhFL+SNJOTcQmK1SM59vcyC8bA== - dependencies: - web3-core "1.2.1" - web3-core-method "1.2.1" - web3-core-subscriptions "1.2.1" - web3-net "1.2.1" - -web3-shh@1.8.2: - version "1.8.2" - resolved "https://registry.yarnpkg.com/web3-shh/-/web3-shh-1.8.2.tgz#217a417f0d6e243dd4d441848ffc2bd164cea8a0" - integrity sha512-uZ+3MAoNcaJsXXNCDnizKJ5viBNeHOFYsCbFhV755Uu52FswzTOw6DtE7yK9nYXMtIhiSgi7nwl1RYzP8pystw== - dependencies: - web3-core "1.8.2" - web3-core-method "1.8.2" - web3-core-subscriptions "1.8.2" - web3-net "1.8.2" - -web3-utils@1.2.1, web3-utils@1.7.3, web3-utils@1.8.2, web3-utils@^1.2.1: - version "1.7.3" - resolved "https://registry.yarnpkg.com/web3-utils/-/web3-utils-1.7.3.tgz#b214d05f124530d8694ad364509ac454d05f207c" - integrity sha512-g6nQgvb/bUpVUIxJE+ezVN+rYwYmlFyMvMIRSuqpi1dk6ApDD00YNArrk7sPcZnjvxOJ76813Xs2vIN2rgh4lg== - dependencies: - bn.js "^4.11.9" - ethereum-bloom-filters "^1.0.6" - ethereumjs-util "^7.1.0" - ethjs-unit "0.1.6" - number-to-bn "1.7.0" - randombytes "^2.1.0" - utf8 "3.0.0" - -web3@1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/web3/-/web3-1.2.1.tgz#5d8158bcca47838ab8c2b784a2dee4c3ceb4179b" - integrity sha512-nNMzeCK0agb5i/oTWNdQ1aGtwYfXzHottFP2Dz0oGIzavPMGSKyVlr8ibVb1yK5sJBjrWVnTdGaOC2zKDFuFRw== - dependencies: - web3-bzz "1.2.1" - web3-core "1.2.1" - web3-eth "1.2.1" - web3-eth-personal "1.2.1" - web3-net "1.2.1" - web3-shh "1.2.1" - web3-utils "1.2.1" - -web3@1.8.2, web3@^1.7.3: - version "1.8.2" - resolved "https://registry.yarnpkg.com/web3/-/web3-1.8.2.tgz#95a4e5398fd0f01325264bf8e5e8cdc69a7afe86" - integrity sha512-92h0GdEHW9wqDICQQKyG4foZBYi0OQkyg4CRml2F7XBl/NG+fu9o6J19kzfFXzSBoA4DnJXbyRgj/RHZv5LRiw== - dependencies: - web3-bzz "1.8.2" - web3-core "1.8.2" - web3-eth "1.8.2" - web3-eth-personal "1.8.2" - web3-net "1.8.2" - web3-shh "1.8.2" - web3-utils "1.8.2" - -webidl-conversions@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871" - integrity sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ== - -webidl-conversions@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-5.0.0.tgz#ae59c8a00b121543a2acc65c0434f57b0fc11aff" - integrity sha512-VlZwKPCkYKxQgeSbH5EyngOmRp7Ww7I9rQLERETtf5ofd9pGeswWiOtogpEO850jziPRarreGxn5QIiTqpb2wA== - -webidl-conversions@^6.1.0: - version "6.1.0" - resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-6.1.0.tgz#9111b4d7ea80acd40f5270d666621afa78b69514" - integrity sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w== - -webrtc-adapter@^7.2.1: - version "7.7.1" - resolved "https://registry.yarnpkg.com/webrtc-adapter/-/webrtc-adapter-7.7.1.tgz#b2c227a6144983b35057df67bd984a7d4bfd17f1" - integrity sha512-TbrbBmiQBL9n0/5bvDdORc6ZfRY/Z7JnEj+EYOD1ghseZdpJ+nF2yx14k3LgQKc7JZnG7HAcL+zHnY25So9d7A== - dependencies: - rtcpeerconnection-shim "^1.2.15" - sdp "^2.12.0" - -websocket@^1.0.28, websocket@^1.0.32, websocket@^1.0.34: - version "1.0.34" - resolved "https://registry.yarnpkg.com/websocket/-/websocket-1.0.34.tgz#2bdc2602c08bf2c82253b730655c0ef7dcab3111" - integrity sha512-PRDso2sGwF6kM75QykIesBijKSVceR6jL2G8NGYyq2XrItNC2P5/qL5XeR056GhA+Ly7JMFvJb9I312mJfmqnQ== - dependencies: - bufferutil "^4.0.1" - debug "^2.2.0" - es5-ext "^0.10.50" - typedarray-to-buffer "^3.1.5" - utf-8-validate "^5.0.2" - yaeti "^0.0.6" + "web3-core" "1.8.2" + "web3-core-helpers" "1.8.2" + "web3-core-method" "1.8.2" + "web3-net" "1.8.2" + "web3-utils" "1.8.2" + +"web3-eth@1.2.1": + "integrity" "sha512-/2xly4Yry5FW1i+uygPjhfvgUP/MS/Dk+PDqmzp5M88tS86A+j8BzKc23GrlA8sgGs0645cpZK/999LpEF5UdA==" + "resolved" "https://registry.npmjs.org/web3-eth/-/web3-eth-1.2.1.tgz" + "version" "1.2.1" + dependencies: + "underscore" "1.9.1" + "web3-core" "1.2.1" + "web3-core-helpers" "1.2.1" + "web3-core-method" "1.2.1" + "web3-core-subscriptions" "1.2.1" + "web3-eth-abi" "1.2.1" + "web3-eth-accounts" "1.2.1" + "web3-eth-contract" "1.2.1" + "web3-eth-ens" "1.2.1" + "web3-eth-iban" "1.2.1" + "web3-eth-personal" "1.2.1" + "web3-net" "1.2.1" + "web3-utils" "1.2.1" + +"web3-eth@1.8.2": + "integrity" "sha512-JoTiWWc4F4TInpbvDUGb0WgDYJsFhuIjJlinc5ByjWD88Gvh+GKLsRjjFdbqe5YtwIGT4NymwoC5LQd1K6u/QQ==" + "resolved" "https://registry.npmjs.org/web3-eth/-/web3-eth-1.8.2.tgz" + "version" "1.8.2" + dependencies: + "web3-core" "1.8.2" + "web3-core-helpers" "1.8.2" + "web3-core-method" "1.8.2" + "web3-core-subscriptions" "1.8.2" + "web3-eth-abi" "1.8.2" + "web3-eth-accounts" "1.8.2" + "web3-eth-contract" "1.8.2" + "web3-eth-ens" "1.8.2" + "web3-eth-iban" "1.8.2" + "web3-eth-personal" "1.8.2" + "web3-net" "1.8.2" + "web3-utils" "1.8.2" + +"web3-net@1.2.1": + "integrity" "sha512-Yt1Bs7WgnLESPe0rri/ZoPWzSy55ovioaP35w1KZydrNtQ5Yq4WcrAdhBzcOW7vAkIwrsLQsvA+hrOCy7mNauw==" + "resolved" "https://registry.npmjs.org/web3-net/-/web3-net-1.2.1.tgz" + "version" "1.2.1" + dependencies: + "web3-core" "1.2.1" + "web3-core-method" "1.2.1" + "web3-utils" "1.2.1" + +"web3-net@1.8.2": + "integrity" "sha512-1itkDMGmbgb83Dg9nporFes9/fxsU7smJ3oRXlFkg4ZHn8YJyP1MSQFPJWWwSc+GrcCFt4O5IrUTvEkHqE3xag==" + "resolved" "https://registry.npmjs.org/web3-net/-/web3-net-1.8.2.tgz" + "version" "1.8.2" + dependencies: + "web3-core" "1.8.2" + "web3-core-method" "1.8.2" + "web3-utils" "1.8.2" + +"web3-providers-http@1.2.1": + "integrity" "sha512-BDtVUVolT9b3CAzeGVA/np1hhn7RPUZ6YYGB/sYky+GjeO311Yoq8SRDUSezU92x8yImSC2B+SMReGhd1zL+bQ==" + "resolved" "https://registry.npmjs.org/web3-providers-http/-/web3-providers-http-1.2.1.tgz" + "version" "1.2.1" + dependencies: + "web3-core-helpers" "1.2.1" + "xhr2-cookies" "1.1.0" + +"web3-providers-http@1.8.2": + "integrity" "sha512-2xY94IIEQd16+b+vIBF4IC1p7GVaz9q4EUFscvMUjtEq4ru4Atdzjs9GP+jmcoo49p70II0UV3bqQcz0TQfVyQ==" + "resolved" "https://registry.npmjs.org/web3-providers-http/-/web3-providers-http-1.8.2.tgz" + "version" "1.8.2" + dependencies: + "abortcontroller-polyfill" "^1.7.3" + "cross-fetch" "^3.1.4" + "es6-promise" "^4.2.8" + "web3-core-helpers" "1.8.2" + +"web3-providers-ipc@1.2.1": + "integrity" "sha512-oPEuOCwxVx8L4CPD0TUdnlOUZwGBSRKScCz/Ws2YHdr9Ium+whm+0NLmOZjkjQp5wovQbyBzNa6zJz1noFRvFA==" + "resolved" "https://registry.npmjs.org/web3-providers-ipc/-/web3-providers-ipc-1.2.1.tgz" + "version" "1.2.1" + dependencies: + "oboe" "2.1.4" + "underscore" "1.9.1" + "web3-core-helpers" "1.2.1" + +"web3-providers-ipc@1.8.2": + "integrity" "sha512-p6fqKVGFg+WiXGHWnB1hu43PbvPkDHTz4RgoEzbXugv5rtv5zfYLqm8Ba6lrJOS5ks9kGKR21a0y3NzE3u7V4w==" + "resolved" "https://registry.npmjs.org/web3-providers-ipc/-/web3-providers-ipc-1.8.2.tgz" + "version" "1.8.2" + dependencies: + "oboe" "2.1.5" + "web3-core-helpers" "1.8.2" + +"web3-providers-ws@1.2.1": + "integrity" "sha512-oqsQXzu+ejJACVHy864WwIyw+oB21nw/pI65/sD95Zi98+/HQzFfNcIFneF1NC4bVF3VNX4YHTNq2I2o97LAiA==" + "resolved" "https://registry.npmjs.org/web3-providers-ws/-/web3-providers-ws-1.2.1.tgz" + "version" "1.2.1" + dependencies: + "underscore" "1.9.1" + "web3-core-helpers" "1.2.1" + "websocket" "github:web3-js/WebSocket-Node#polyfill/globalThis" + +"web3-providers-ws@1.8.2": + "integrity" "sha512-3s/4K+wHgbiN+Zrp9YjMq2eqAF6QGABw7wFftPdx+m5hWImV27/MoIx57c6HffNRqZXmCHnfWWFCNHHsi7wXnA==" + "resolved" "https://registry.npmjs.org/web3-providers-ws/-/web3-providers-ws-1.8.2.tgz" + "version" "1.8.2" + dependencies: + "eventemitter3" "4.0.4" + "web3-core-helpers" "1.8.2" + "websocket" "^1.0.32" + +"web3-shh@1.2.1": + "integrity" "sha512-/3Cl04nza5kuFn25bV3FJWa0s3Vafr5BlT933h26xovQ6HIIz61LmvNQlvX1AhFL+SNJOTcQmK1SM59vcyC8bA==" + "resolved" "https://registry.npmjs.org/web3-shh/-/web3-shh-1.2.1.tgz" + "version" "1.2.1" + dependencies: + "web3-core" "1.2.1" + "web3-core-method" "1.2.1" + "web3-core-subscriptions" "1.2.1" + "web3-net" "1.2.1" + +"web3-shh@1.8.2": + "integrity" "sha512-uZ+3MAoNcaJsXXNCDnizKJ5viBNeHOFYsCbFhV755Uu52FswzTOw6DtE7yK9nYXMtIhiSgi7nwl1RYzP8pystw==" + "resolved" "https://registry.npmjs.org/web3-shh/-/web3-shh-1.8.2.tgz" + "version" "1.8.2" + dependencies: + "web3-core" "1.8.2" + "web3-core-method" "1.8.2" + "web3-core-subscriptions" "1.8.2" + "web3-net" "1.8.2" + +"web3-utils@^1.2.1", "web3-utils@1.8.2": + "integrity" "sha512-v7j6xhfLQfY7xQDrUP0BKbaNrmZ2/+egbqP9q3KYmOiPpnvAfol+32slgL0WX/5n8VPvKCK5EZ1HGrAVICSToA==" + "resolved" "https://registry.npmjs.org/web3-utils/-/web3-utils-1.8.2.tgz" + "version" "1.8.2" + dependencies: + "bn.js" "^5.2.1" + "ethereum-bloom-filters" "^1.0.6" + "ethereumjs-util" "^7.1.0" + "ethjs-unit" "0.1.6" + "number-to-bn" "1.7.0" + "randombytes" "^2.1.0" + "utf8" "3.0.0" + +"web3-utils@1.2.1": + "integrity" "sha512-Mrcn3l58L+yCKz3zBryM6JZpNruWuT0OCbag8w+reeNROSGVlXzUQkU+gtAwc9JCZ7tKUyg67+2YUGqUjVcyBA==" + "resolved" "https://registry.npmjs.org/web3-utils/-/web3-utils-1.2.1.tgz" + "version" "1.2.1" + dependencies: + "bn.js" "4.11.8" + "eth-lib" "0.2.7" + "ethjs-unit" "0.1.6" + "number-to-bn" "1.7.0" + "randomhex" "0.1.5" + "underscore" "1.9.1" + "utf8" "3.0.0" + +"web3@^1.7.3", "web3@1.8.2": + "integrity" "sha512-92h0GdEHW9wqDICQQKyG4foZBYi0OQkyg4CRml2F7XBl/NG+fu9o6J19kzfFXzSBoA4DnJXbyRgj/RHZv5LRiw==" + "resolved" "https://registry.npmjs.org/web3/-/web3-1.8.2.tgz" + "version" "1.8.2" + dependencies: + "web3-bzz" "1.8.2" + "web3-core" "1.8.2" + "web3-eth" "1.8.2" + "web3-eth-personal" "1.8.2" + "web3-net" "1.8.2" + "web3-shh" "1.8.2" + "web3-utils" "1.8.2" + +"web3@1.2.1": + "integrity" "sha512-nNMzeCK0agb5i/oTWNdQ1aGtwYfXzHottFP2Dz0oGIzavPMGSKyVlr8ibVb1yK5sJBjrWVnTdGaOC2zKDFuFRw==" + "resolved" "https://registry.npmjs.org/web3/-/web3-1.2.1.tgz" + "version" "1.2.1" + dependencies: + "web3-bzz" "1.2.1" + "web3-core" "1.2.1" + "web3-eth" "1.2.1" + "web3-eth-personal" "1.2.1" + "web3-net" "1.2.1" + "web3-shh" "1.2.1" + "web3-utils" "1.2.1" + +"webidl-conversions@^3.0.0": + "integrity" "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" + "resolved" "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz" + "version" "3.0.1" + +"webidl-conversions@^5.0.0": + "integrity" "sha512-VlZwKPCkYKxQgeSbH5EyngOmRp7Ww7I9rQLERETtf5ofd9pGeswWiOtogpEO850jziPRarreGxn5QIiTqpb2wA==" + "resolved" "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-5.0.0.tgz" + "version" "5.0.0" + +"webidl-conversions@^6.1.0": + "integrity" "sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w==" + "resolved" "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-6.1.0.tgz" + "version" "6.1.0" + +"webrtc-adapter@^7.2.1": + "integrity" "sha512-TbrbBmiQBL9n0/5bvDdORc6ZfRY/Z7JnEj+EYOD1ghseZdpJ+nF2yx14k3LgQKc7JZnG7HAcL+zHnY25So9d7A==" + "resolved" "https://registry.npmjs.org/webrtc-adapter/-/webrtc-adapter-7.7.1.tgz" + "version" "7.7.1" + dependencies: + "rtcpeerconnection-shim" "^1.2.15" + "sdp" "^2.12.0" + +"websocket@^1.0.28", "websocket@^1.0.32", "websocket@^1.0.34": + "integrity" "sha512-PRDso2sGwF6kM75QykIesBijKSVceR6jL2G8NGYyq2XrItNC2P5/qL5XeR056GhA+Ly7JMFvJb9I312mJfmqnQ==" + "resolved" "https://registry.npmjs.org/websocket/-/websocket-1.0.34.tgz" + "version" "1.0.34" + dependencies: + "bufferutil" "^4.0.1" + "debug" "^2.2.0" + "es5-ext" "^0.10.50" + "typedarray-to-buffer" "^3.1.5" + "utf-8-validate" "^5.0.2" + "yaeti" "^0.0.6" "websocket@github:web3-js/WebSocket-Node#polyfill/globalThis": - version "1.0.29" - resolved "https://codeload.github.com/web3-js/WebSocket-Node/tar.gz/ef5ea2f41daf4a2113b80c9223df884b4d56c400" - dependencies: - debug "^2.2.0" - es5-ext "^0.10.50" - nan "^2.14.0" - typedarray-to-buffer "^3.1.5" - yaeti "^0.0.6" - -whatwg-encoding@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/whatwg-encoding/-/whatwg-encoding-1.0.5.tgz#5abacf777c32166a51d085d6b4f3e7d27113ddb0" - integrity sha512-b5lim54JOPN9HtzvK9HFXvBma/rnfFeqsic0hSpjtDbVxR3dJKLc+KB4V6GgiGOvl7CY/KNh8rxSo9DKQrnUEw== - dependencies: - iconv-lite "0.4.24" - -whatwg-mimetype@^2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz#3d4b1e0312d2079879f826aff18dbeeca5960fbf" - integrity sha512-M4yMwr6mAnQz76TbJm914+gPpB/nCwvZbJU28cUD6dR004SAxDLOOSUaB1JDRqLtaOV/vi0IC5lEAGFgrjGv/g== - -whatwg-mimetype@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/whatwg-mimetype/-/whatwg-mimetype-3.0.0.tgz#5fa1a7623867ff1af6ca3dc72ad6b8a4208beba7" - integrity sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q== - -whatwg-url@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-5.0.0.tgz#966454e8765462e37644d3626f6742ce8b70965d" - integrity sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw== - dependencies: - tr46 "~0.0.3" - webidl-conversions "^3.0.0" - -whatwg-url@^8.0.0, whatwg-url@^8.5.0: - version "8.7.0" - resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-8.7.0.tgz#656a78e510ff8f3937bc0bcbe9f5c0ac35941b77" - integrity sha512-gAojqb/m9Q8a5IV96E3fHJM70AzCkgt4uXYX2O7EmuyOnLrViCQlsEBmF9UQIu3/aeAIp2U17rtbpZWNntQqdg== - dependencies: - lodash "^4.7.0" - tr46 "^2.1.0" - webidl-conversions "^6.1.0" - -which-boxed-primitive@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz#13757bc89b209b049fe5d86430e21cf40a89a8e6" - integrity sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg== - dependencies: - is-bigint "^1.0.1" - is-boolean-object "^1.1.0" - is-number-object "^1.0.4" - is-string "^1.0.5" - is-symbol "^1.0.3" - -which-module@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a" - integrity sha512-B+enWhmw6cjfVC7kS8Pj9pCrKSc5txArRyaYGe088shv/FGWH+0Rjx/xPgtsWfsUtS27FkP697E4DDhgrgoc0Q== - -which-typed-array@^1.1.2, which-typed-array@^1.1.9: - version "1.1.9" - resolved "https://registry.yarnpkg.com/which-typed-array/-/which-typed-array-1.1.9.tgz#307cf898025848cf995e795e8423c7f337efbde6" - integrity sha512-w9c4xkx6mPidwp7180ckYWfMmvxpjlZuIudNtDf4N/tTAUB8VJbX25qZoAsrtGuYNnGw3pa0AXgbGKRB8/EceA== - dependencies: - available-typed-arrays "^1.0.5" - call-bind "^1.0.2" - for-each "^0.3.3" - gopd "^1.0.1" - has-tostringtag "^1.0.0" - is-typed-array "^1.1.10" - -which@^1.2.9: - version "1.3.1" - resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" - integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ== - dependencies: - isexe "^2.0.0" - -which@^2.0.1: - version "2.0.2" - resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1" - integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== - dependencies: - isexe "^2.0.0" - -wif@^2.0.6: - version "2.0.6" - resolved "https://registry.yarnpkg.com/wif/-/wif-2.0.6.tgz#08d3f52056c66679299726fade0d432ae74b4704" - integrity sha512-HIanZn1zmduSF+BQhkE+YXIbEiH0xPr1012QbFEGB0xsKqJii0/SqJjyn8dFv6y36kOznMgMB+LGcbZTJ1xACQ== - dependencies: - bs58check "<3.0.0" - -winston-daily-rotate-file@^4.5.5: - version "4.7.1" - resolved "https://registry.yarnpkg.com/winston-daily-rotate-file/-/winston-daily-rotate-file-4.7.1.tgz#f60a643af87f8867f23170d8cd87dbe3603a625f" - integrity sha512-7LGPiYGBPNyGHLn9z33i96zx/bd71pjBn9tqQzO3I4Tayv94WPmBNwKC7CO1wPHdP9uvu+Md/1nr6VSH9h0iaA== - dependencies: - file-stream-rotator "^0.6.1" - object-hash "^2.0.1" - triple-beam "^1.3.0" - winston-transport "^4.4.0" - -winston-transport@^4.4.0, winston-transport@^4.5.0: - version "4.5.0" - resolved "https://registry.yarnpkg.com/winston-transport/-/winston-transport-4.5.0.tgz#6e7b0dd04d393171ed5e4e4905db265f7ab384fa" - integrity sha512-YpZzcUzBedhlTAfJg6vJDlyEai/IFMIVcaEZZyl3UXIl4gmqRpU7AE89AHLkbzLUsv0NVmw7ts+iztqKxxPW1Q== - dependencies: - logform "^2.3.2" - readable-stream "^3.6.0" - triple-beam "^1.3.0" - -winston@^3.3.3: - version "3.8.2" - resolved "https://registry.yarnpkg.com/winston/-/winston-3.8.2.tgz#56e16b34022eb4cff2638196d9646d7430fdad50" - integrity sha512-MsE1gRx1m5jdTTO9Ld/vND4krP2To+lgDoMEHGGa4HIlAUyXJtfc7CxQcGXVyz2IBpw5hbFkj2b/AtUdQwyRew== + "resolved" "git+ssh://git@github.com/web3-js/WebSocket-Node.git#ef5ea2f41daf4a2113b80c9223df884b4d56c400" + "version" "1.0.29" + dependencies: + "debug" "^2.2.0" + "es5-ext" "^0.10.50" + "nan" "^2.14.0" + "typedarray-to-buffer" "^3.1.5" + "yaeti" "^0.0.6" + +"whatwg-encoding@^1.0.5": + "integrity" "sha512-b5lim54JOPN9HtzvK9HFXvBma/rnfFeqsic0hSpjtDbVxR3dJKLc+KB4V6GgiGOvl7CY/KNh8rxSo9DKQrnUEw==" + "resolved" "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-1.0.5.tgz" + "version" "1.0.5" + dependencies: + "iconv-lite" "0.4.24" + +"whatwg-mimetype@^2.3.0": + "integrity" "sha512-M4yMwr6mAnQz76TbJm914+gPpB/nCwvZbJU28cUD6dR004SAxDLOOSUaB1JDRqLtaOV/vi0IC5lEAGFgrjGv/g==" + "resolved" "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz" + "version" "2.3.0" + +"whatwg-mimetype@^3.0.0": + "integrity" "sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q==" + "resolved" "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-3.0.0.tgz" + "version" "3.0.0" + +"whatwg-url@^5.0.0": + "integrity" "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==" + "resolved" "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz" + "version" "5.0.0" + dependencies: + "tr46" "~0.0.3" + "webidl-conversions" "^3.0.0" + +"whatwg-url@^8.0.0": + "integrity" "sha512-gAojqb/m9Q8a5IV96E3fHJM70AzCkgt4uXYX2O7EmuyOnLrViCQlsEBmF9UQIu3/aeAIp2U17rtbpZWNntQqdg==" + "resolved" "https://registry.npmjs.org/whatwg-url/-/whatwg-url-8.7.0.tgz" + "version" "8.7.0" + dependencies: + "lodash" "^4.7.0" + "tr46" "^2.1.0" + "webidl-conversions" "^6.1.0" + +"whatwg-url@^8.5.0": + "integrity" "sha512-gAojqb/m9Q8a5IV96E3fHJM70AzCkgt4uXYX2O7EmuyOnLrViCQlsEBmF9UQIu3/aeAIp2U17rtbpZWNntQqdg==" + "resolved" "https://registry.npmjs.org/whatwg-url/-/whatwg-url-8.7.0.tgz" + "version" "8.7.0" + dependencies: + "lodash" "^4.7.0" + "tr46" "^2.1.0" + "webidl-conversions" "^6.1.0" + +"which-boxed-primitive@^1.0.2": + "integrity" "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==" + "resolved" "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz" + "version" "1.0.2" + dependencies: + "is-bigint" "^1.0.1" + "is-boolean-object" "^1.1.0" + "is-number-object" "^1.0.4" + "is-string" "^1.0.5" + "is-symbol" "^1.0.3" + +"which-module@^2.0.0": + "integrity" "sha512-B+enWhmw6cjfVC7kS8Pj9pCrKSc5txArRyaYGe088shv/FGWH+0Rjx/xPgtsWfsUtS27FkP697E4DDhgrgoc0Q==" + "resolved" "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz" + "version" "2.0.0" + +"which-typed-array@^1.1.2", "which-typed-array@^1.1.9": + "integrity" "sha512-w9c4xkx6mPidwp7180ckYWfMmvxpjlZuIudNtDf4N/tTAUB8VJbX25qZoAsrtGuYNnGw3pa0AXgbGKRB8/EceA==" + "resolved" "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.9.tgz" + "version" "1.1.9" + dependencies: + "available-typed-arrays" "^1.0.5" + "call-bind" "^1.0.2" + "for-each" "^0.3.3" + "gopd" "^1.0.1" + "has-tostringtag" "^1.0.0" + "is-typed-array" "^1.1.10" + +"which@^1.2.9": + "integrity" "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==" + "resolved" "https://registry.npmjs.org/which/-/which-1.3.1.tgz" + "version" "1.3.1" + dependencies: + "isexe" "^2.0.0" + +"which@^2.0.1": + "integrity" "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==" + "resolved" "https://registry.npmjs.org/which/-/which-2.0.2.tgz" + "version" "2.0.2" + dependencies: + "isexe" "^2.0.0" + +"wide-align@^1.1.2": + "integrity" "sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==" + "resolved" "https://registry.npmjs.org/wide-align/-/wide-align-1.1.5.tgz" + "version" "1.1.5" + dependencies: + "string-width" "^1.0.2 || 2 || 3 || 4" + +"wif@^2.0.6": + "integrity" "sha512-HIanZn1zmduSF+BQhkE+YXIbEiH0xPr1012QbFEGB0xsKqJii0/SqJjyn8dFv6y36kOznMgMB+LGcbZTJ1xACQ==" + "resolved" "https://registry.npmjs.org/wif/-/wif-2.0.6.tgz" + "version" "2.0.6" + dependencies: + "bs58check" "<3.0.0" + +"winston-daily-rotate-file@^4.5.5": + "integrity" "sha512-7LGPiYGBPNyGHLn9z33i96zx/bd71pjBn9tqQzO3I4Tayv94WPmBNwKC7CO1wPHdP9uvu+Md/1nr6VSH9h0iaA==" + "resolved" "https://registry.npmjs.org/winston-daily-rotate-file/-/winston-daily-rotate-file-4.7.1.tgz" + "version" "4.7.1" + dependencies: + "file-stream-rotator" "^0.6.1" + "object-hash" "^2.0.1" + "triple-beam" "^1.3.0" + "winston-transport" "^4.4.0" + +"winston-transport@^4.4.0", "winston-transport@^4.5.0": + "integrity" "sha512-YpZzcUzBedhlTAfJg6vJDlyEai/IFMIVcaEZZyl3UXIl4gmqRpU7AE89AHLkbzLUsv0NVmw7ts+iztqKxxPW1Q==" + "resolved" "https://registry.npmjs.org/winston-transport/-/winston-transport-4.5.0.tgz" + "version" "4.5.0" + dependencies: + "logform" "^2.3.2" + "readable-stream" "^3.6.0" + "triple-beam" "^1.3.0" + +"winston@^3.3.3": + "integrity" "sha512-MsE1gRx1m5jdTTO9Ld/vND4krP2To+lgDoMEHGGa4HIlAUyXJtfc7CxQcGXVyz2IBpw5hbFkj2b/AtUdQwyRew==" + "resolved" "https://registry.npmjs.org/winston/-/winston-3.8.2.tgz" + "version" "3.8.2" dependencies: "@colors/colors" "1.5.0" "@dabh/diagnostics" "^2.0.2" - async "^3.2.3" - is-stream "^2.0.0" - logform "^2.4.0" - one-time "^1.0.0" - readable-stream "^3.4.0" - safe-stable-stringify "^2.3.1" - stack-trace "0.0.x" - triple-beam "^1.3.0" - winston-transport "^4.5.0" - -word-wrap@^1.2.3, word-wrap@~1.2.3: - version "1.2.4" - resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.4.tgz#cb4b50ec9aca570abd1f52f33cd45b6c61739a9f" - integrity sha512-2V81OA4ugVo5pRo46hAoD2ivUJx8jXmWXfUkY4KFNw0hEptvN0QfH3K4nHiwzGeKl5rFKedV48QVoqYavy4YpA== - -workerpool@6.2.1: - version "6.2.1" - resolved "https://registry.yarnpkg.com/workerpool/-/workerpool-6.2.1.tgz#46fc150c17d826b86a008e5a4508656777e9c343" - integrity sha512-ILEIE97kDZvF9Wb9f6h5aXK4swSlKGUcOEGiIYb2OOu/IrDU9iwj0fD//SsA6E5ibwJxpEvhullJY4Sl4GcpAw== - -wrap-ansi@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-2.1.0.tgz#d8fc3d284dd05794fe84973caecdd1cf824fdd85" - integrity sha512-vAaEaDM946gbNpH5pLVNR+vX2ht6n0Bt3GXwVB1AuAqZosOvHNF3P7wDnh8KLkSqgUh0uh77le7Owgoz+Z9XBw== - dependencies: - string-width "^1.0.1" - strip-ansi "^3.0.1" - -wrap-ansi@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-5.1.0.tgz#1fd1f67235d5b6d0fee781056001bfb694c03b09" - integrity sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q== - dependencies: - ansi-styles "^3.2.0" - string-width "^3.0.0" - strip-ansi "^5.0.0" - -wrap-ansi@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" - integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== - dependencies: - ansi-styles "^4.0.0" - string-width "^4.1.0" - strip-ansi "^6.0.0" - -wrappy@1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" - integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ== - -write-file-atomic@^3.0.0: - version "3.0.3" - resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-3.0.3.tgz#56bd5c5a5c70481cd19c571bd39ab965a5de56e8" - integrity sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q== - dependencies: - imurmurhash "^0.1.4" - is-typedarray "^1.0.0" - signal-exit "^3.0.2" - typedarray-to-buffer "^3.1.5" - -write-stream@~0.4.3: - version "0.4.3" - resolved "https://registry.yarnpkg.com/write-stream/-/write-stream-0.4.3.tgz#83cc8c0347d0af6057a93862b4e3ae01de5c81c1" - integrity sha512-IJrvkhbAnj89W/GAVdVgbnPiVw5Ntg/B4tc/MUCIEwj/g6JIww1DWJyB/yBMT3yw2/TkT6IUZ0+IYef3flEw8A== - dependencies: - readable-stream "~0.0.2" - -ws@7.4.6: - version "7.4.6" - resolved "https://registry.yarnpkg.com/ws/-/ws-7.4.6.tgz#5654ca8ecdeee47c33a9a4bf6d28e2be2980377c" - integrity sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A== - -ws@7.5.9, ws@^7, ws@^7.2.0, ws@^7.4.0, ws@^7.4.5, ws@^7.4.6, ws@^7.5.1: - version "7.5.9" - resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.9.tgz#54fa7db29f4c7cec68b1ddd3a89de099942bb591" - integrity sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q== - -ws@8.12.0: - version "8.12.0" - resolved "https://registry.yarnpkg.com/ws/-/ws-8.12.0.tgz#485074cc392689da78e1828a9ff23585e06cddd8" - integrity sha512-kU62emKIdKVeEIOIKVegvqpXMSTAMLJozpHZaJNDYqBjzlSYXQGviYwN1osDLJ9av68qHd4a2oSjd7yD4pacig== - -ws@^3.0.0: - version "3.3.3" - resolved "https://registry.yarnpkg.com/ws/-/ws-3.3.3.tgz#f1cf84fe2d5e901ebce94efaece785f187a228f2" - integrity sha512-nnWLa/NwZSt4KQJu51MYlCcSQ5g7INpOrOMt4XV8j4dqTXdmlUmSHQ8/oLC069ckre0fRsgfvsKwbTdtKLCDkA== - dependencies: - async-limiter "~1.0.0" - safe-buffer "~5.1.0" - ultron "~1.1.0" - -ws@^8.5.0: - version "8.13.0" - resolved "https://registry.yarnpkg.com/ws/-/ws-8.13.0.tgz#9a9fb92f93cf41512a0735c8f4dd09b8a1211cd0" - integrity sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA== - -ws@~8.11.0: - version "8.11.0" - resolved "https://registry.yarnpkg.com/ws/-/ws-8.11.0.tgz#6a0d36b8edfd9f96d8b25683db2f8d7de6e8e143" - integrity sha512-HPG3wQd9sNQoT9xHyNCXoDUa+Xw/VevmY9FoHyQ+g+rrMn4j6FB4np7Z0OhdTgjx6MgQLK7jwSy1YecU1+4Asg== - -xhr-request-promise@^0.1.2: - version "0.1.3" - resolved "https://registry.yarnpkg.com/xhr-request-promise/-/xhr-request-promise-0.1.3.tgz#2d5f4b16d8c6c893be97f1a62b0ed4cf3ca5f96c" - integrity sha512-YUBytBsuwgitWtdRzXDDkWAXzhdGB8bYm0sSzMPZT7Z2MBjMSTHFsyCT1yCRATY+XC69DUrQraRAEgcoCRaIPg== - dependencies: - xhr-request "^1.1.0" - -xhr-request@^1.0.1, xhr-request@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/xhr-request/-/xhr-request-1.1.0.tgz#f4a7c1868b9f198723444d82dcae317643f2e2ed" - integrity sha512-Y7qzEaR3FDtL3fP30k9wO/e+FBnBByZeybKOhASsGP30NIkRAAkKD/sCnLvgEfAIEC1rcmK7YG8f4oEnIrrWzA== - dependencies: - buffer-to-arraybuffer "^0.0.5" - object-assign "^4.1.1" - query-string "^5.0.1" - simple-get "^2.7.0" - timed-out "^4.0.1" - url-set-query "^1.0.0" - xhr "^2.0.4" - -xhr2-cookies@1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/xhr2-cookies/-/xhr2-cookies-1.1.0.tgz#7d77449d0999197f155cb73b23df72505ed89d48" - integrity sha512-hjXUA6q+jl/bd8ADHcVfFsSPIf+tyLIjuO9TwJC9WI6JP2zKcS7C+p56I9kCLLsaCiNT035iYvEUUzdEFj/8+g== - dependencies: - cookiejar "^2.1.1" - -xhr@^2.0.4, xhr@^2.3.3: - version "2.6.0" - resolved "https://registry.yarnpkg.com/xhr/-/xhr-2.6.0.tgz#b69d4395e792b4173d6b7df077f0fc5e4e2b249d" - integrity sha512-/eCGLb5rxjx5e3mF1A7s+pLlR6CGyqWN91fv1JgER5mVWg1MZmlhBvy9kjcsOdRk8RrIujotWyJamfyrp+WIcA== - dependencies: - global "~4.4.0" - is-function "^1.0.1" - parse-headers "^2.0.0" - xtend "^4.0.0" - -xml-name-validator@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-3.0.0.tgz#6ae73e06de4d8c6e47f9fb181f78d648ad457c6a" - integrity sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw== - -xml2js@0.4.19: - version "0.4.19" - resolved "https://registry.yarnpkg.com/xml2js/-/xml2js-0.4.19.tgz#686c20f213209e94abf0d1bcf1efaa291c7827a7" - integrity sha512-esZnJZJOiJR9wWKMyuvSE1y6Dq5LCuJanqhxslH2bxM6duahNZ+HMpCLhBQGZkbX6xRf8x1Y2eJlgt2q3qo49Q== - dependencies: - sax ">=0.6.0" - xmlbuilder "~9.0.1" - -xml2js@^0.4.19, xml2js@^0.4.9: - version "0.4.23" - resolved "https://registry.yarnpkg.com/xml2js/-/xml2js-0.4.23.tgz#a0c69516752421eb2ac758ee4d4ccf58843eac66" - integrity sha512-ySPiMjM0+pLDftHgXY4By0uswI3SPKLDw/i3UXbnO8M/p28zqexCUoPmQFrYD+/1BzhGJSs2i1ERWKJAtiLrug== - dependencies: - sax ">=0.6.0" - xmlbuilder "~11.0.0" - -xmlbuilder@~11.0.0: - version "11.0.1" - resolved "https://registry.yarnpkg.com/xmlbuilder/-/xmlbuilder-11.0.1.tgz#be9bae1c8a046e76b31127726347d0ad7002beb3" - integrity sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA== - -xmlbuilder@~9.0.1: - version "9.0.7" - resolved "https://registry.yarnpkg.com/xmlbuilder/-/xmlbuilder-9.0.7.tgz#132ee63d2ec5565c557e20f4c22df9aca686b10d" - integrity sha512-7YXTQc3P2l9+0rjaUbLwMKRhtmwg1M1eDf6nag7urC7pIPYLD9W/jmzQ4ptRSUbodw5S0jfoGTflLemQibSpeQ== - -xmlchars@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/xmlchars/-/xmlchars-2.2.0.tgz#060fe1bcb7f9c76fe2a17db86a9bc3ab894210cb" - integrity sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw== - -xmlhttprequest-ssl@~2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/xmlhttprequest-ssl/-/xmlhttprequest-ssl-2.0.0.tgz#91360c86b914e67f44dce769180027c0da618c67" - integrity sha512-QKxVRxiRACQcVuQEYFsI1hhkrMlrXHPegbbd1yn9UHOmRxY+si12nQYzri3vbzt8VdTTRviqcKxcyllFas5z2A== - -xmlhttprequest@1.8.0: - version "1.8.0" - resolved "https://registry.yarnpkg.com/xmlhttprequest/-/xmlhttprequest-1.8.0.tgz#67fe075c5c24fef39f9d65f5f7b7fe75171968fc" - integrity sha512-58Im/U0mlVBLM38NdZjHyhuMtCqa61469k2YP/AaPbvCoV9aQGUpbJBj1QRm2ytRiVQBD/fsw7L2bJGDVQswBA== - -xss@^1.0.8: - version "1.0.14" - resolved "https://registry.yarnpkg.com/xss/-/xss-1.0.14.tgz#4f3efbde75ad0d82e9921cc3c95e6590dd336694" - integrity sha512-og7TEJhXvn1a7kzZGQ7ETjdQVS2UfZyTlsEdDOqvQF7GoxNfY+0YLCzBy1kPdsDDx4QuNAonQPddpsn6Xl/7sw== - dependencies: - commander "^2.20.3" - cssfilter "0.0.10" - -xsswap-sdk@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/xsswap-sdk/-/xsswap-sdk-1.0.1.tgz#39a3b3a5e946b750d8a801a6f1fa78db64b96bbb" - integrity sha512-erBr5eDlzqrxbto+uDkVGE0G5oKZZ05Na3150g8dnEf5zeAnmwl3+ze7cjpeLgCbO2vidCQqgs9dFeGC7KShlw== + "async" "^3.2.3" + "is-stream" "^2.0.0" + "logform" "^2.4.0" + "one-time" "^1.0.0" + "readable-stream" "^3.4.0" + "safe-stable-stringify" "^2.3.1" + "stack-trace" "0.0.x" + "triple-beam" "^1.3.0" + "winston-transport" "^4.5.0" + +"word-wrap@^1.2.3", "word-wrap@~1.2.3": + "integrity" "sha512-2V81OA4ugVo5pRo46hAoD2ivUJx8jXmWXfUkY4KFNw0hEptvN0QfH3K4nHiwzGeKl5rFKedV48QVoqYavy4YpA==" + "resolved" "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.4.tgz" + "version" "1.2.4" + +"wordwrap@^1.0.0": + "integrity" "sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==" + "resolved" "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz" + "version" "1.0.0" + +"workerpool@6.2.1": + "integrity" "sha512-ILEIE97kDZvF9Wb9f6h5aXK4swSlKGUcOEGiIYb2OOu/IrDU9iwj0fD//SsA6E5ibwJxpEvhullJY4Sl4GcpAw==" + "resolved" "https://registry.npmjs.org/workerpool/-/workerpool-6.2.1.tgz" + "version" "6.2.1" + +"wrap-ansi@^2.0.0": + "integrity" "sha512-vAaEaDM946gbNpH5pLVNR+vX2ht6n0Bt3GXwVB1AuAqZosOvHNF3P7wDnh8KLkSqgUh0uh77le7Owgoz+Z9XBw==" + "resolved" "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz" + "version" "2.1.0" + dependencies: + "string-width" "^1.0.1" + "strip-ansi" "^3.0.1" + +"wrap-ansi@^5.1.0": + "integrity" "sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q==" + "resolved" "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-5.1.0.tgz" + "version" "5.1.0" + dependencies: + "ansi-styles" "^3.2.0" + "string-width" "^3.0.0" + "strip-ansi" "^5.0.0" + +"wrap-ansi@^7.0.0": + "integrity" "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==" + "resolved" "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz" + "version" "7.0.0" + dependencies: + "ansi-styles" "^4.0.0" + "string-width" "^4.1.0" + "strip-ansi" "^6.0.0" + +"wrappy@1": + "integrity" "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" + "resolved" "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz" + "version" "1.0.2" + +"write-file-atomic@^3.0.0": + "integrity" "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==" + "resolved" "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz" + "version" "3.0.3" + dependencies: + "imurmurhash" "^0.1.4" + "is-typedarray" "^1.0.0" + "signal-exit" "^3.0.2" + "typedarray-to-buffer" "^3.1.5" + +"write-stream@~0.4.3": + "integrity" "sha512-IJrvkhbAnj89W/GAVdVgbnPiVw5Ntg/B4tc/MUCIEwj/g6JIww1DWJyB/yBMT3yw2/TkT6IUZ0+IYef3flEw8A==" + "resolved" "https://registry.npmjs.org/write-stream/-/write-stream-0.4.3.tgz" + "version" "0.4.3" + dependencies: + "readable-stream" "~0.0.2" + +"ws@^3.0.0": + "integrity" "sha512-nnWLa/NwZSt4KQJu51MYlCcSQ5g7INpOrOMt4XV8j4dqTXdmlUmSHQ8/oLC069ckre0fRsgfvsKwbTdtKLCDkA==" + "resolved" "https://registry.npmjs.org/ws/-/ws-3.3.3.tgz" + "version" "3.3.3" + dependencies: + "async-limiter" "~1.0.0" + "safe-buffer" "~5.1.0" + "ultron" "~1.1.0" + +"ws@^7", "ws@^7.2.0", "ws@^7.4.0", "ws@^7.4.5", "ws@^7.4.6", "ws@^7.5.1", "ws@7.5.9": + "integrity" "sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==" + "resolved" "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz" + "version" "7.5.9" + +"ws@^8.5.0": + "integrity" "sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==" + "resolved" "https://registry.npmjs.org/ws/-/ws-8.13.0.tgz" + "version" "8.13.0" + +"ws@~8.11.0": + "integrity" "sha512-HPG3wQd9sNQoT9xHyNCXoDUa+Xw/VevmY9FoHyQ+g+rrMn4j6FB4np7Z0OhdTgjx6MgQLK7jwSy1YecU1+4Asg==" + "resolved" "https://registry.npmjs.org/ws/-/ws-8.11.0.tgz" + "version" "8.11.0" + +"ws@7.4.6": + "integrity" "sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==" + "resolved" "https://registry.npmjs.org/ws/-/ws-7.4.6.tgz" + "version" "7.4.6" + +"ws@8.12.0": + "integrity" "sha512-kU62emKIdKVeEIOIKVegvqpXMSTAMLJozpHZaJNDYqBjzlSYXQGviYwN1osDLJ9av68qHd4a2oSjd7yD4pacig==" + "resolved" "https://registry.npmjs.org/ws/-/ws-8.12.0.tgz" + "version" "8.12.0" + +"xhr-request-promise@^0.1.2": + "integrity" "sha512-YUBytBsuwgitWtdRzXDDkWAXzhdGB8bYm0sSzMPZT7Z2MBjMSTHFsyCT1yCRATY+XC69DUrQraRAEgcoCRaIPg==" + "resolved" "https://registry.npmjs.org/xhr-request-promise/-/xhr-request-promise-0.1.3.tgz" + "version" "0.1.3" + dependencies: + "xhr-request" "^1.1.0" + +"xhr-request@^1.0.1", "xhr-request@^1.1.0": + "integrity" "sha512-Y7qzEaR3FDtL3fP30k9wO/e+FBnBByZeybKOhASsGP30NIkRAAkKD/sCnLvgEfAIEC1rcmK7YG8f4oEnIrrWzA==" + "resolved" "https://registry.npmjs.org/xhr-request/-/xhr-request-1.1.0.tgz" + "version" "1.1.0" + dependencies: + "buffer-to-arraybuffer" "^0.0.5" + "object-assign" "^4.1.1" + "query-string" "^5.0.1" + "simple-get" "^2.7.0" + "timed-out" "^4.0.1" + "url-set-query" "^1.0.0" + "xhr" "^2.0.4" + +"xhr@^2.0.4", "xhr@^2.3.3": + "integrity" "sha512-/eCGLb5rxjx5e3mF1A7s+pLlR6CGyqWN91fv1JgER5mVWg1MZmlhBvy9kjcsOdRk8RrIujotWyJamfyrp+WIcA==" + "resolved" "https://registry.npmjs.org/xhr/-/xhr-2.6.0.tgz" + "version" "2.6.0" + dependencies: + "global" "~4.4.0" + "is-function" "^1.0.1" + "parse-headers" "^2.0.0" + "xtend" "^4.0.0" + +"xhr2-cookies@1.1.0": + "integrity" "sha512-hjXUA6q+jl/bd8ADHcVfFsSPIf+tyLIjuO9TwJC9WI6JP2zKcS7C+p56I9kCLLsaCiNT035iYvEUUzdEFj/8+g==" + "resolved" "https://registry.npmjs.org/xhr2-cookies/-/xhr2-cookies-1.1.0.tgz" + "version" "1.1.0" + dependencies: + "cookiejar" "^2.1.1" + +"xml-name-validator@^3.0.0": + "integrity" "sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw==" + "resolved" "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-3.0.0.tgz" + "version" "3.0.0" + +"xml2js@^0.4.19", "xml2js@^0.4.9": + "integrity" "sha512-ySPiMjM0+pLDftHgXY4By0uswI3SPKLDw/i3UXbnO8M/p28zqexCUoPmQFrYD+/1BzhGJSs2i1ERWKJAtiLrug==" + "resolved" "https://registry.npmjs.org/xml2js/-/xml2js-0.4.23.tgz" + "version" "0.4.23" + dependencies: + "sax" ">=0.6.0" + "xmlbuilder" "~11.0.0" + +"xml2js@0.4.19": + "integrity" "sha512-esZnJZJOiJR9wWKMyuvSE1y6Dq5LCuJanqhxslH2bxM6duahNZ+HMpCLhBQGZkbX6xRf8x1Y2eJlgt2q3qo49Q==" + "resolved" "https://registry.npmjs.org/xml2js/-/xml2js-0.4.19.tgz" + "version" "0.4.19" + dependencies: + "sax" ">=0.6.0" + "xmlbuilder" "~9.0.1" + +"xmlbuilder@~11.0.0": + "integrity" "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==" + "resolved" "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz" + "version" "11.0.1" + +"xmlbuilder@~9.0.1": + "integrity" "sha512-7YXTQc3P2l9+0rjaUbLwMKRhtmwg1M1eDf6nag7urC7pIPYLD9W/jmzQ4ptRSUbodw5S0jfoGTflLemQibSpeQ==" + "resolved" "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-9.0.7.tgz" + "version" "9.0.7" + +"xmlchars@^2.2.0": + "integrity" "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==" + "resolved" "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz" + "version" "2.2.0" + +"xmlhttprequest-ssl@~2.0.0": + "integrity" "sha512-QKxVRxiRACQcVuQEYFsI1hhkrMlrXHPegbbd1yn9UHOmRxY+si12nQYzri3vbzt8VdTTRviqcKxcyllFas5z2A==" + "resolved" "https://registry.npmjs.org/xmlhttprequest-ssl/-/xmlhttprequest-ssl-2.0.0.tgz" + "version" "2.0.0" + +"xmlhttprequest@1.8.0": + "integrity" "sha512-58Im/U0mlVBLM38NdZjHyhuMtCqa61469k2YP/AaPbvCoV9aQGUpbJBj1QRm2ytRiVQBD/fsw7L2bJGDVQswBA==" + "resolved" "https://registry.npmjs.org/xmlhttprequest/-/xmlhttprequest-1.8.0.tgz" + "version" "1.8.0" + +"xss@^1.0.8": + "integrity" "sha512-og7TEJhXvn1a7kzZGQ7ETjdQVS2UfZyTlsEdDOqvQF7GoxNfY+0YLCzBy1kPdsDDx4QuNAonQPddpsn6Xl/7sw==" + "resolved" "https://registry.npmjs.org/xss/-/xss-1.0.14.tgz" + "version" "1.0.14" + dependencies: + "commander" "^2.20.3" + "cssfilter" "0.0.10" + +"xsswap-sdk@^1.0.1": + "integrity" "sha512-erBr5eDlzqrxbto+uDkVGE0G5oKZZ05Na3150g8dnEf5zeAnmwl3+ze7cjpeLgCbO2vidCQqgs9dFeGC7KShlw==" + "resolved" "https://registry.npmjs.org/xsswap-sdk/-/xsswap-sdk-1.0.1.tgz" + "version" "1.0.1" dependencies: "@uniswap/v2-core" "^1.0.0" - big.js "^5.2.2" - decimal.js-light "^2.5.0" - jsbi "^3.1.1" - tiny-invariant "^1.1.0" - tiny-warning "^1.0.3" - toformat "^2.0.0" - -xstream@^11.14.0: - version "11.14.0" - resolved "https://registry.yarnpkg.com/xstream/-/xstream-11.14.0.tgz#2c071d26b18310523b6877e86b4e54df068a9ae5" - integrity sha512-1bLb+kKKtKPbgTK6i/BaoAn03g47PpFstlbe1BA+y3pNS/LfvcaghS5BFf9+EE1J+KwSQsEpfJvFN5GqFtiNmw== - dependencies: - globalthis "^1.0.1" - symbol-observable "^2.0.3" - -xtend@^4.0.0, xtend@^4.0.2, xtend@~4.0.0, xtend@~4.0.1: - version "4.0.2" - resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54" - integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ== - -"y18n@^3.2.1 || ^4.0.0", y18n@^4.0.0: - version "4.0.3" - resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.3.tgz#b5f259c82cd6e336921efd7bfd8bf560de9eeedf" - integrity sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ== - -y18n@^5.0.5: - version "5.0.8" - resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55" - integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA== - -yaeti@^0.0.6: - version "0.0.6" - resolved "https://registry.yarnpkg.com/yaeti/-/yaeti-0.0.6.tgz#f26f484d72684cf42bedfb76970aa1608fbf9577" - integrity sha512-MvQa//+KcZCUkBTIC9blM+CU9J2GzuTytsOUwf2lidtvkx/6gnEp1QvJv34t9vdjhFmha/mUiNDbN0D0mJWdug== - -yallist@^3.0.0, yallist@^3.0.2, yallist@^3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd" - integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g== - -yallist@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" - integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== - -yargs-parser@20.2.4: - version "20.2.4" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.4.tgz#b42890f14566796f85ae8e3a25290d205f154a54" - integrity sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA== - -yargs-parser@20.x, yargs-parser@^20.2.2: - version "20.2.9" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.9.tgz#2eb7dc3b0289718fc295f362753845c41a0c94ee" - integrity sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w== - -yargs-parser@^11.1.1: - version "11.1.1" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-11.1.1.tgz#879a0865973bca9f6bab5cbdf3b1c67ec7d3bcf4" - integrity sha512-C6kB/WJDiaxONLJQnF8ccx9SEeoTTLek8RVbaOIsrAUS8VrBEXfmeSnCZxygc+XC2sNMBIwOOnfcxiynjHsVSQ== - dependencies: - camelcase "^5.0.0" - decamelize "^1.2.0" - -yargs-parser@^13.1.2: - version "13.1.2" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-13.1.2.tgz#130f09702ebaeef2650d54ce6e3e5706f7a4fb38" - integrity sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg== - dependencies: - camelcase "^5.0.0" - decamelize "^1.2.0" - -yargs-unparser@2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/yargs-unparser/-/yargs-unparser-2.0.0.tgz#f131f9226911ae5d9ad38c432fe809366c2325eb" - integrity sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA== - dependencies: - camelcase "^6.0.0" - decamelize "^4.0.0" - flat "^5.0.2" - is-plain-obj "^2.1.0" - -yargs@16.2.0, yargs@^16.1.0, yargs@^16.2.0: - version "16.2.0" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-16.2.0.tgz#1c82bf0f6b6a66eafce7ef30e376f49a12477f66" - integrity sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw== - dependencies: - cliui "^7.0.2" - escalade "^3.1.1" - get-caller-file "^2.0.5" - require-directory "^2.1.1" - string-width "^4.2.0" - y18n "^5.0.5" - yargs-parser "^20.2.2" - -yargs@^12.0.2: - version "12.0.5" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-12.0.5.tgz#05f5997b609647b64f66b81e3b4b10a368e7ad13" - integrity sha512-Lhz8TLaYnxq/2ObqHDql8dX8CJi97oHxrjUcYtzKbbykPtVW9WB+poxI+NM2UIzsMgNCZTIf0AQwsjK5yMAqZw== - dependencies: - cliui "^4.0.0" - decamelize "^1.2.0" - find-up "^3.0.0" - get-caller-file "^1.0.1" - os-locale "^3.0.0" - require-directory "^2.1.1" - require-main-filename "^1.0.1" - set-blocking "^2.0.0" - string-width "^2.0.0" - which-module "^2.0.0" - y18n "^3.2.1 || ^4.0.0" - yargs-parser "^11.1.1" - -yargs@^13.2.4: - version "13.3.2" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-13.3.2.tgz#ad7ffefec1aa59565ac915f82dccb38a9c31a2dd" - integrity sha512-AX3Zw5iPruN5ie6xGRIDgqkT+ZhnRlZMLMHAs8tg7nRruy2Nb+i5o9bwghAogtM08q1dpr2LVoS8KSTMYpWXUw== - dependencies: - cliui "^5.0.0" - find-up "^3.0.0" - get-caller-file "^2.0.1" - require-directory "^2.1.1" - require-main-filename "^2.0.0" - set-blocking "^2.0.0" - string-width "^3.0.0" - which-module "^2.0.0" - y18n "^4.0.0" - yargs-parser "^13.1.2" - -yarn@^1.22.17, yarn@^1.22.19: - version "1.22.19" - resolved "https://registry.yarnpkg.com/yarn/-/yarn-1.22.19.tgz#4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447" - integrity sha512-/0V5q0WbslqnwP91tirOvldvYISzaqhClxzyUKXYxs07yUILIs5jx/k6CFe8bvKSkds5w+eiOqta39Wk3WxdcQ== - -yauzl@^2.4.2: - version "2.10.0" - resolved "https://registry.yarnpkg.com/yauzl/-/yauzl-2.10.0.tgz#c7eb17c93e112cb1086fa6d8e51fb0667b79a5f9" - integrity sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g== - dependencies: - buffer-crc32 "~0.2.3" - fd-slicer "~1.1.0" - -yn@3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/yn/-/yn-3.1.1.tgz#1e87401a09d767c1d5eab26a6e4c185182d2eb50" - integrity sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q== - -yocto-queue@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b" - integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== - -zen-observable-ts@^1.2.5: - version "1.2.5" - resolved "https://registry.yarnpkg.com/zen-observable-ts/-/zen-observable-ts-1.2.5.tgz#6c6d9ea3d3a842812c6e9519209365a122ba8b58" - integrity sha512-QZWQekv6iB72Naeake9hS1KxHlotfRpe+WGNbNx5/ta+R3DNjVO2bswf63gXlWDcs+EMd7XY8HfVQyP1X6T4Zg== - dependencies: - zen-observable "0.8.15" - -zen-observable@0.8.15: - version "0.8.15" - resolved "https://registry.yarnpkg.com/zen-observable/-/zen-observable-0.8.15.tgz#96415c512d8e3ffd920afd3889604e30b9eaac15" - integrity sha512-PQ2PC7R9rslx84ndNBZB/Dkv8V8fZEpk83RLgXtYd0fwUgEjseMn1Dgajh2x6S8QbZAFa9p2qVCEuYZNgve0dQ== + "big.js" "^5.2.2" + "decimal.js-light" "^2.5.0" + "jsbi" "^3.1.1" + "tiny-invariant" "^1.1.0" + "tiny-warning" "^1.0.3" + "toformat" "^2.0.0" + +"xstream@^11.14.0": + "integrity" "sha512-1bLb+kKKtKPbgTK6i/BaoAn03g47PpFstlbe1BA+y3pNS/LfvcaghS5BFf9+EE1J+KwSQsEpfJvFN5GqFtiNmw==" + "resolved" "https://registry.npmjs.org/xstream/-/xstream-11.14.0.tgz" + "version" "11.14.0" + dependencies: + "globalthis" "^1.0.1" + "symbol-observable" "^2.0.3" + +"xtend@^4.0.0", "xtend@^4.0.2", "xtend@~4.0.0", "xtend@~4.0.1": + "integrity" "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==" + "resolved" "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz" + "version" "4.0.2" + +"y18n@^3.2.1 || ^4.0.0", "y18n@^4.0.0": + "integrity" "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==" + "resolved" "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz" + "version" "4.0.3" + +"y18n@^5.0.5": + "integrity" "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==" + "resolved" "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz" + "version" "5.0.8" + +"yaeti@^0.0.6": + "integrity" "sha512-MvQa//+KcZCUkBTIC9blM+CU9J2GzuTytsOUwf2lidtvkx/6gnEp1QvJv34t9vdjhFmha/mUiNDbN0D0mJWdug==" + "resolved" "https://registry.npmjs.org/yaeti/-/yaeti-0.0.6.tgz" + "version" "0.0.6" + +"yallist@^3.0.0", "yallist@^3.0.2", "yallist@^3.1.1": + "integrity" "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==" + "resolved" "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz" + "version" "3.1.1" + +"yallist@^4.0.0": + "integrity" "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + "resolved" "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz" + "version" "4.0.0" + +"yargs-parser@^11.1.1": + "integrity" "sha512-C6kB/WJDiaxONLJQnF8ccx9SEeoTTLek8RVbaOIsrAUS8VrBEXfmeSnCZxygc+XC2sNMBIwOOnfcxiynjHsVSQ==" + "resolved" "https://registry.npmjs.org/yargs-parser/-/yargs-parser-11.1.1.tgz" + "version" "11.1.1" + dependencies: + "camelcase" "^5.0.0" + "decamelize" "^1.2.0" + +"yargs-parser@^13.1.2": + "integrity" "sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg==" + "resolved" "https://registry.npmjs.org/yargs-parser/-/yargs-parser-13.1.2.tgz" + "version" "13.1.2" + dependencies: + "camelcase" "^5.0.0" + "decamelize" "^1.2.0" + +"yargs-parser@^20.2.2": + "integrity" "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==" + "resolved" "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz" + "version" "20.2.9" + +"yargs-parser@^21.1.1": + "integrity" "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==" + "resolved" "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz" + "version" "21.1.1" + +"yargs-parser@20.2.4": + "integrity" "sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==" + "resolved" "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz" + "version" "20.2.4" + +"yargs-parser@20.x": + "integrity" "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==" + "resolved" "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz" + "version" "20.2.9" + +"yargs-unparser@2.0.0": + "integrity" "sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA==" + "resolved" "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-2.0.0.tgz" + "version" "2.0.0" + dependencies: + "camelcase" "^6.0.0" + "decamelize" "^4.0.0" + "flat" "^5.0.2" + "is-plain-obj" "^2.1.0" + +"yargs@^12.0.2": + "integrity" "sha512-Lhz8TLaYnxq/2ObqHDql8dX8CJi97oHxrjUcYtzKbbykPtVW9WB+poxI+NM2UIzsMgNCZTIf0AQwsjK5yMAqZw==" + "resolved" "https://registry.npmjs.org/yargs/-/yargs-12.0.5.tgz" + "version" "12.0.5" + dependencies: + "cliui" "^4.0.0" + "decamelize" "^1.2.0" + "find-up" "^3.0.0" + "get-caller-file" "^1.0.1" + "os-locale" "^3.0.0" + "require-directory" "^2.1.1" + "require-main-filename" "^1.0.1" + "set-blocking" "^2.0.0" + "string-width" "^2.0.0" + "which-module" "^2.0.0" + "y18n" "^3.2.1 || ^4.0.0" + "yargs-parser" "^11.1.1" + +"yargs@^13.2.4": + "integrity" "sha512-AX3Zw5iPruN5ie6xGRIDgqkT+ZhnRlZMLMHAs8tg7nRruy2Nb+i5o9bwghAogtM08q1dpr2LVoS8KSTMYpWXUw==" + "resolved" "https://registry.npmjs.org/yargs/-/yargs-13.3.2.tgz" + "version" "13.3.2" + dependencies: + "cliui" "^5.0.0" + "find-up" "^3.0.0" + "get-caller-file" "^2.0.1" + "require-directory" "^2.1.1" + "require-main-filename" "^2.0.0" + "set-blocking" "^2.0.0" + "string-width" "^3.0.0" + "which-module" "^2.0.0" + "y18n" "^4.0.0" + "yargs-parser" "^13.1.2" + +"yargs@^16.1.0", "yargs@^16.2.0", "yargs@16.2.0": + "integrity" "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==" + "resolved" "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz" + "version" "16.2.0" + dependencies: + "cliui" "^7.0.2" + "escalade" "^3.1.1" + "get-caller-file" "^2.0.5" + "require-directory" "^2.1.1" + "string-width" "^4.2.0" + "y18n" "^5.0.5" + "yargs-parser" "^20.2.2" + +"yargs@^17.7.2": + "integrity" "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==" + "resolved" "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz" + "version" "17.7.2" + dependencies: + "cliui" "^8.0.1" + "escalade" "^3.1.1" + "get-caller-file" "^2.0.5" + "require-directory" "^2.1.1" + "string-width" "^4.2.3" + "y18n" "^5.0.5" + "yargs-parser" "^21.1.1" + +"yarn@^1.22.17", "yarn@^1.22.19": + "integrity" "sha512-/0V5q0WbslqnwP91tirOvldvYISzaqhClxzyUKXYxs07yUILIs5jx/k6CFe8bvKSkds5w+eiOqta39Wk3WxdcQ==" + "resolved" "https://registry.npmjs.org/yarn/-/yarn-1.22.19.tgz" + "version" "1.22.19" + +"yauzl@^2.4.2": + "integrity" "sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==" + "resolved" "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz" + "version" "2.10.0" + dependencies: + "buffer-crc32" "~0.2.3" + "fd-slicer" "~1.1.0" + +"yn@3.1.1": + "integrity" "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==" + "resolved" "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz" + "version" "3.1.1" + +"yocto-queue@^0.1.0": + "integrity" "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==" + "resolved" "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz" + "version" "0.1.0" + +"zen-observable-ts@^1.2.5": + "integrity" "sha512-QZWQekv6iB72Naeake9hS1KxHlotfRpe+WGNbNx5/ta+R3DNjVO2bswf63gXlWDcs+EMd7XY8HfVQyP1X6T4Zg==" + "resolved" "https://registry.npmjs.org/zen-observable-ts/-/zen-observable-ts-1.2.5.tgz" + "version" "1.2.5" + dependencies: + "zen-observable" "0.8.15" + +"zen-observable@0.8.15": + "integrity" "sha512-PQ2PC7R9rslx84ndNBZB/Dkv8V8fZEpk83RLgXtYd0fwUgEjseMn1Dgajh2x6S8QbZAFa9p2qVCEuYZNgve0dQ==" + "resolved" "https://registry.npmjs.org/zen-observable/-/zen-observable-0.8.15.tgz" + "version" "0.8.15"