@sonarwatch/portfolio-plugins 0.11.230 → 0.11.232

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. package/CHANGELOG.md +1674 -1666
  2. package/README.md +3 -3
  3. package/package.json +2 -2
  4. package/src/index.js +4 -4
  5. package/src/index.js.map +1 -1
  6. package/src/plugins/balancer/helpers/pools.js +21 -21
  7. package/src/plugins/{metadao → futarchy}/constants.d.ts +3 -3
  8. package/src/plugins/futarchy/constants.js +19 -0
  9. package/src/plugins/futarchy/constants.js.map +1 -0
  10. package/src/plugins/futarchy/daosJob.js +283 -0
  11. package/src/plugins/futarchy/daosJob.js.map +1 -0
  12. package/src/plugins/{metadao → futarchy}/index.js +2 -3
  13. package/src/plugins/futarchy/index.js.map +1 -0
  14. package/src/plugins/futarchy/structs.d.ts +96 -0
  15. package/src/plugins/futarchy/structs.js +94 -0
  16. package/src/plugins/futarchy/structs.js.map +1 -0
  17. package/src/plugins/sushiswap/helpers.js +24 -24
  18. package/src/plugins/uniswap-v2/helpers.js +22 -22
  19. package/src/utils/aptos/getAccountResources.d.ts +1 -1
  20. package/src/utils/aptos/getCoinStoreResources.d.ts +1 -1
  21. package/src/utils/aptos/getView.d.ts +1 -1
  22. package/src/utils/clients/getClientCosmos.d.ts +84 -57
  23. package/src/utils/clients/getClientIbc.d.ts +144 -103
  24. package/src/utils/clients/getClientSei.d.ts +97 -97
  25. package/src/utils/misc/getLpUnderlyingTokenSource.d.ts +2 -0
  26. package/src/utils/misc/getLpUnderlyingTokenSource.js +3 -1
  27. package/src/utils/misc/getLpUnderlyingTokenSource.js.map +1 -1
  28. package/src/utils/sei/constants.js +8 -8
  29. package/src/utils/sei/getAllBalances.d.ts +2 -2
  30. package/src/utils/sei/getQueryBalanceByOwner.js +4 -4
  31. package/src/plugins/metadao/constants.js +0 -16
  32. package/src/plugins/metadao/constants.js.map +0 -1
  33. package/src/plugins/metadao/index.js.map +0 -1
  34. package/src/plugins/metadao/poolsJob.js +0 -98
  35. package/src/plugins/metadao/poolsJob.js.map +0 -1
  36. package/src/plugins/metadao/structs.d.ts +0 -44
  37. package/src/plugins/metadao/structs.js +0 -45
  38. package/src/plugins/metadao/structs.js.map +0 -1
  39. package/src/plugins/metadao/vaultsJob.d.ts +0 -3
  40. package/src/plugins/metadao/vaultsJob.js +0 -113
  41. package/src/plugins/metadao/vaultsJob.js.map +0 -1
  42. /package/src/plugins/{metadao/poolsJob.d.ts → futarchy/daosJob.d.ts} +0 -0
  43. /package/src/plugins/{metadao → futarchy}/index.d.ts +0 -0
@@ -0,0 +1,94 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.proposalStruct = exports.proposalInstructionStruct = exports.proposalAccountStruct = exports.ProposalState = exports.daoStruct = exports.ammStruct = exports.twapOracleStruct = exports.conditionnalVaultStruct = exports.VaultStatus = void 0;
4
+ const beet_1 = require("@metaplex-foundation/beet");
5
+ const beet_solana_1 = require("@metaplex-foundation/beet-solana");
6
+ const solana_1 = require("../../utils/solana");
7
+ var VaultStatus;
8
+ (function (VaultStatus) {
9
+ VaultStatus[VaultStatus["Active"] = 0] = "Active";
10
+ VaultStatus[VaultStatus["Finalized"] = 1] = "Finalized";
11
+ VaultStatus[VaultStatus["Reverted"] = 2] = "Reverted";
12
+ })(VaultStatus || (exports.VaultStatus = VaultStatus = {}));
13
+ exports.conditionnalVaultStruct = new beet_1.BeetStruct([
14
+ ['buffer', (0, solana_1.blob)(8)],
15
+ ['status', beet_1.u8],
16
+ ['settlementAuthority', beet_solana_1.publicKey],
17
+ ['underlyingTokenMint', beet_solana_1.publicKey],
18
+ ['underlyingTokenAccount', beet_solana_1.publicKey],
19
+ ['conditionalOnFinalizeTokenMint', beet_solana_1.publicKey],
20
+ ['conditionalOnRevertTokenMint', beet_solana_1.publicKey],
21
+ ['pdaBump', beet_1.u8],
22
+ ['decimals', beet_1.u8],
23
+ ], (args) => args);
24
+ exports.twapOracleStruct = new beet_1.BeetStruct([
25
+ ['lastUpdatedSlot', solana_1.u64],
26
+ ['lastPrice', solana_1.u128],
27
+ ['lastObservation', solana_1.u128],
28
+ ['aggregator', solana_1.u128],
29
+ ['maxObservationChangePerUpdate', solana_1.u128],
30
+ ['initialObservation', solana_1.u128],
31
+ ], (args) => args);
32
+ exports.ammStruct = new beet_1.BeetStruct([
33
+ ['buffer', (0, solana_1.blob)(8)],
34
+ ['bump', beet_1.u8],
35
+ ['createdAtSlot', solana_1.u64],
36
+ ['lpMint', beet_solana_1.publicKey],
37
+ ['baseMint', beet_solana_1.publicKey],
38
+ ['quoteMint', beet_solana_1.publicKey],
39
+ ['baseMintDecimals', beet_1.u8],
40
+ ['quoteMintDecimals', beet_1.u8],
41
+ ['baseAmount', solana_1.u64],
42
+ ['quoteAmount', solana_1.u64],
43
+ ['oracle', exports.twapOracleStruct],
44
+ ], (args) => args);
45
+ exports.daoStruct = new beet_1.BeetStruct([
46
+ ['buffer', (0, solana_1.blob)(8)],
47
+ ['treasuryPdaBump', beet_1.u8],
48
+ ['treasury', beet_solana_1.publicKey],
49
+ ['tokenMint', beet_solana_1.publicKey],
50
+ ['usdcMint', beet_solana_1.publicKey],
51
+ ['proposalCount', beet_1.u32],
52
+ ['passThresholdBps', beet_1.u16],
53
+ ['slotsPerProposal', solana_1.u64],
54
+ ['twapInitialObservation', solana_1.u128],
55
+ ['twapMaxObservationChangePerUpdate', solana_1.u128],
56
+ ['minQuoteFutarchicLiquidity', solana_1.u64],
57
+ ['minBaseFutarchicLiquidity', solana_1.u64],
58
+ ], (args) => args);
59
+ var ProposalState;
60
+ (function (ProposalState) {
61
+ ProposalState[ProposalState["Pending"] = 0] = "Pending";
62
+ ProposalState[ProposalState["Passed"] = 1] = "Passed";
63
+ ProposalState[ProposalState["Failed"] = 2] = "Failed";
64
+ ProposalState[ProposalState["Executed"] = 3] = "Executed";
65
+ })(ProposalState || (exports.ProposalState = ProposalState = {}));
66
+ exports.proposalAccountStruct = new beet_1.BeetStruct([
67
+ ['pubkey', beet_solana_1.publicKey],
68
+ ['isSigner', beet_1.bool],
69
+ ['isWritable', beet_1.bool],
70
+ ], (args) => args);
71
+ exports.proposalInstructionStruct = new beet_1.FixableBeetStruct([
72
+ ['programId', beet_solana_1.publicKey],
73
+ ['accounts', (0, beet_1.array)(exports.proposalAccountStruct)],
74
+ ['data', (0, beet_1.array)(beet_1.u8)],
75
+ ], (args) => args);
76
+ exports.proposalStruct = new beet_1.FixableBeetStruct([
77
+ ['buffer', (0, solana_1.blob)(8)],
78
+ ['number', beet_1.u32],
79
+ ['proposer', beet_solana_1.publicKey],
80
+ ['descriptionUrl', (0, beet_1.array)(beet_1.u8)],
81
+ ['slotEnqueued', solana_1.u64],
82
+ ['state', beet_1.u8],
83
+ ['instruction', exports.proposalInstructionStruct],
84
+ ['passAmm', beet_solana_1.publicKey],
85
+ ['failAmm', beet_solana_1.publicKey],
86
+ ['baseVault', beet_solana_1.publicKey],
87
+ ['quoteVault', beet_solana_1.publicKey],
88
+ ['dao', beet_solana_1.publicKey],
89
+ ['passLpTokensLocked', solana_1.u64],
90
+ ['failLpTokensLocked', solana_1.u64],
91
+ ['nonce', solana_1.u64],
92
+ ['pdaBump', beet_1.u8],
93
+ ], (args) => args);
94
+ //# sourceMappingURL=structs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"structs.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/futarchy/structs.ts"],"names":[],"mappings":"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"}
@@ -54,30 +54,30 @@ function sushiV3PairToUniV2(pair) {
54
54
  }
55
55
  function getV3PairsAddresses(url, length = 300) {
56
56
  return __awaiter(this, void 0, void 0, function* () {
57
- const query = (0, graphql_request_1.gql) `
58
- {
59
- pools(
60
- orderBy: totalValueLockedUSD
61
- first: ${length}
62
- orderDirection: desc
63
- where: { volumeUSD_not: "0", liquidity_not: "0" }
64
- ) {
65
- id
66
- token0Price
67
- token1Price
68
- liquidity
69
- token0 {
70
- id
71
- totalSupply
72
- decimals
73
- }
74
- token1 {
75
- id
76
- totalSupply
77
- decimals
78
- }
79
- }
80
- }
57
+ const query = (0, graphql_request_1.gql) `
58
+ {
59
+ pools(
60
+ orderBy: totalValueLockedUSD
61
+ first: ${length}
62
+ orderDirection: desc
63
+ where: { volumeUSD_not: "0", liquidity_not: "0" }
64
+ ) {
65
+ id
66
+ token0Price
67
+ token1Price
68
+ liquidity
69
+ token0 {
70
+ id
71
+ totalSupply
72
+ decimals
73
+ }
74
+ token1 {
75
+ id
76
+ totalSupply
77
+ decimals
78
+ }
79
+ }
80
+ }
81
81
  `;
82
82
  const res = yield (0, graphql_request_1.default)(url, query);
83
83
  const pools = res.pools;
@@ -40,28 +40,28 @@ function getPairKey(version) {
40
40
  exports.getPairKey = getPairKey;
41
41
  function getPairsV2FromTheGraph(url, length = 300) {
42
42
  return __awaiter(this, void 0, void 0, function* () {
43
- const query = (0, graphql_request_1.gql) `
44
- {
45
- pairs(
46
- orderBy: reserveUSD
47
- first: ${length}
48
- orderDirection: desc
49
- where: { trackedReserveETH_not: "0" }
50
- ) {
51
- id
52
- reserve0
53
- reserve1
54
- totalSupply
55
- token0 {
56
- id
57
- decimals
58
- }
59
- token1 {
60
- id
61
- decimals
62
- }
63
- }
64
- }
43
+ const query = (0, graphql_request_1.gql) `
44
+ {
45
+ pairs(
46
+ orderBy: reserveUSD
47
+ first: ${length}
48
+ orderDirection: desc
49
+ where: { trackedReserveETH_not: "0" }
50
+ ) {
51
+ id
52
+ reserve0
53
+ reserve1
54
+ totalSupply
55
+ token0 {
56
+ id
57
+ decimals
58
+ }
59
+ token1 {
60
+ id
61
+ decimals
62
+ }
63
+ }
64
+ }
65
65
  `;
66
66
  const res = yield (0, graphql_request_1.default)(url, query);
67
67
  const pairs = res.pairs;
@@ -1,2 +1,2 @@
1
1
  import { AptosClient } from '../clients/types';
2
- export declare function getAccountResources(client: AptosClient, accountAddress: string): Promise<import("@aptos-labs/ts-sdk").MoveResource[] | null>;
2
+ export declare function getAccountResources(client: AptosClient, accountAddress: string): Promise<import("@aptos-labs/ts-sdk/dist/common/accountAddress-ccLvlUQe").u[] | null>;
@@ -1,2 +1,2 @@
1
1
  import { AptosClient } from '../clients/types';
2
- export declare function getCoinStoreResources(client: AptosClient, owner: string): Promise<import("@aptos-labs/ts-sdk").MoveResource[] | null>;
2
+ export declare function getCoinStoreResources(client: AptosClient, owner: string): Promise<import("@aptos-labs/ts-sdk/dist/common/accountAddress-ccLvlUQe").u[] | null>;
@@ -1,3 +1,3 @@
1
1
  import { InputViewFunctionData } from '@aptos-labs/ts-sdk';
2
2
  import { AptosClient } from '../clients/types';
3
- export declare function getView(client: AptosClient, payload: InputViewFunctionData): Promise<import("@aptos-labs/ts-sdk").MoveValue[] | null>;
3
+ export declare function getView(client: AptosClient, payload: InputViewFunctionData): Promise<import("@aptos-labs/ts-sdk/dist/common/accountAddress-ccLvlUQe").a4[] | null>;
@@ -2,97 +2,124 @@ export default function getClientCosmos(): Promise<{
2
2
  cosmos: {
3
3
  auth: {
4
4
  v1beta1: {
5
- accounts(request?: import("osmojs/dist/codegen/cosmos/auth/v1beta1/query").QueryAccountsRequest | undefined): Promise<import("osmojs/dist/codegen/cosmos/auth/v1beta1/query").QueryAccountsResponse>;
6
- account(request: import("osmojs/dist/codegen/cosmos/auth/v1beta1/query").QueryAccountRequest): Promise<import("osmojs/dist/codegen/cosmos/auth/v1beta1/query").QueryAccountResponse>;
7
- params(request?: import("osmojs/dist/codegen/cosmos/auth/v1beta1/query").QueryParamsRequest | undefined): Promise<import("osmojs/dist/codegen/cosmos/auth/v1beta1/query").QueryParamsResponse>;
8
- moduleAccounts(request?: import("osmojs/dist/codegen/cosmos/auth/v1beta1/query").QueryModuleAccountsRequest | undefined): Promise<import("osmojs/dist/codegen/cosmos/auth/v1beta1/query").QueryModuleAccountsResponse>;
5
+ accounts(request?: import("osmojs/cosmos/auth/v1beta1/query").QueryAccountsRequest | undefined): Promise<import("osmojs/cosmos/auth/v1beta1/query").QueryAccountsResponse>;
6
+ account(request: import("osmojs/cosmos/auth/v1beta1/query").QueryAccountRequest): Promise<import("osmojs/cosmos/auth/v1beta1/query").QueryAccountResponse>;
7
+ accountAddressByID(request: import("osmojs/cosmos/auth/v1beta1/query").QueryAccountAddressByIDRequest): Promise<import("osmojs/cosmos/auth/v1beta1/query").QueryAccountAddressByIDResponse>;
8
+ params(request?: import("osmojs/cosmos/auth/v1beta1/query").QueryParamsRequest | undefined): Promise<import("osmojs/cosmos/auth/v1beta1/query").QueryParamsResponse>;
9
+ moduleAccounts(request?: import("osmojs/cosmos/auth/v1beta1/query").QueryModuleAccountsRequest | undefined): Promise<import("osmojs/cosmos/auth/v1beta1/query").QueryModuleAccountsResponse>;
10
+ moduleAccountByName(request: import("osmojs/cosmos/auth/v1beta1/query").QueryModuleAccountByNameRequest): Promise<import("osmojs/cosmos/auth/v1beta1/query").QueryModuleAccountByNameResponse>;
11
+ bech32Prefix(request?: import("osmojs/cosmos/auth/v1beta1/query").Bech32PrefixRequest | undefined): Promise<import("osmojs/cosmos/auth/v1beta1/query").Bech32PrefixResponse>;
12
+ addressBytesToString(request: import("osmojs/cosmos/auth/v1beta1/query").AddressBytesToStringRequest): Promise<import("osmojs/cosmos/auth/v1beta1/query").AddressBytesToStringResponse>;
13
+ addressStringToBytes(request: import("osmojs/cosmos/auth/v1beta1/query").AddressStringToBytesRequest): Promise<import("osmojs/cosmos/auth/v1beta1/query").AddressStringToBytesResponse>;
14
+ accountInfo(request: import("osmojs/cosmos/auth/v1beta1/query").QueryAccountInfoRequest): Promise<import("osmojs/cosmos/auth/v1beta1/query").QueryAccountInfoResponse>;
9
15
  };
10
16
  };
11
17
  authz: {
12
18
  v1beta1: {
13
- grants(request: import("osmojs/dist/codegen/cosmos/authz/v1beta1/query").QueryGrantsRequest): Promise<import("osmojs/dist/codegen/cosmos/authz/v1beta1/query").QueryGrantsResponse>;
14
- granterGrants(request: import("osmojs/dist/codegen/cosmos/authz/v1beta1/query").QueryGranterGrantsRequest): Promise<import("osmojs/dist/codegen/cosmos/authz/v1beta1/query").QueryGranterGrantsResponse>;
15
- granteeGrants(request: import("osmojs/dist/codegen/cosmos/authz/v1beta1/query").QueryGranteeGrantsRequest): Promise<import("osmojs/dist/codegen/cosmos/authz/v1beta1/query").QueryGranteeGrantsResponse>;
19
+ grants(request: import("osmojs/cosmos/authz/v1beta1/query").QueryGrantsRequest): Promise<import("osmojs/cosmos/authz/v1beta1/query").QueryGrantsResponse>;
20
+ granterGrants(request: import("osmojs/cosmos/authz/v1beta1/query").QueryGranterGrantsRequest): Promise<import("osmojs/cosmos/authz/v1beta1/query").QueryGranterGrantsResponse>;
21
+ granteeGrants(request: import("osmojs/cosmos/authz/v1beta1/query").QueryGranteeGrantsRequest): Promise<import("osmojs/cosmos/authz/v1beta1/query").QueryGranteeGrantsResponse>;
16
22
  };
17
23
  };
18
24
  bank: {
19
25
  v1beta1: {
20
- balance(request: import("osmojs/dist/codegen/cosmos/bank/v1beta1/query").QueryBalanceRequest): Promise<import("osmojs/dist/codegen/cosmos/bank/v1beta1/query").QueryBalanceResponse>;
21
- allBalances(request: import("osmojs/dist/codegen/cosmos/bank/v1beta1/query").QueryAllBalancesRequest): Promise<import("osmojs/dist/codegen/cosmos/bank/v1beta1/query").QueryAllBalancesResponse>;
22
- totalSupply(request?: import("osmojs/dist/codegen/cosmos/bank/v1beta1/query").QueryTotalSupplyRequest | undefined): Promise<import("osmojs/dist/codegen/cosmos/bank/v1beta1/query").QueryTotalSupplyResponse>;
23
- supplyOf(request: import("osmojs/dist/codegen/cosmos/bank/v1beta1/query").QuerySupplyOfRequest): Promise<import("osmojs/dist/codegen/cosmos/bank/v1beta1/query").QuerySupplyOfResponse>;
24
- totalSupplyWithoutOffset(request?: import("osmojs/dist/codegen/cosmos/bank/v1beta1/query").QueryTotalSupplyWithoutOffsetRequest | undefined): Promise<import("osmojs/dist/codegen/cosmos/bank/v1beta1/query").QueryTotalSupplyWithoutOffsetResponse>;
25
- supplyOfWithoutOffset(request: import("osmojs/dist/codegen/cosmos/bank/v1beta1/query").QuerySupplyOfWithoutOffsetRequest): Promise<import("osmojs/dist/codegen/cosmos/bank/v1beta1/query").QuerySupplyOfWithoutOffsetResponse>;
26
- params(request?: import("osmojs/dist/codegen/cosmos/bank/v1beta1/query").QueryParamsRequest | undefined): Promise<import("osmojs/dist/codegen/cosmos/bank/v1beta1/query").QueryParamsResponse>;
27
- denomMetadata(request: import("osmojs/dist/codegen/cosmos/bank/v1beta1/query").QueryDenomMetadataRequest): Promise<import("osmojs/dist/codegen/cosmos/bank/v1beta1/query").QueryDenomMetadataResponse>;
28
- denomsMetadata(request?: import("osmojs/dist/codegen/cosmos/bank/v1beta1/query").QueryDenomsMetadataRequest | undefined): Promise<import("osmojs/dist/codegen/cosmos/bank/v1beta1/query").QueryDenomsMetadataResponse>;
29
- baseDenom(request: import("osmojs/dist/codegen/cosmos/bank/v1beta1/query").QueryBaseDenomRequest): Promise<import("osmojs/dist/codegen/cosmos/bank/v1beta1/query").QueryBaseDenomResponse>;
26
+ balance(request: import("osmojs/cosmos/bank/v1beta1/query").QueryBalanceRequest): Promise<import("osmojs/cosmos/bank/v1beta1/query").QueryBalanceResponse>;
27
+ allBalances(request: import("osmojs/cosmos/bank/v1beta1/query").QueryAllBalancesRequest): Promise<import("osmojs/cosmos/bank/v1beta1/query").QueryAllBalancesResponse>;
28
+ spendableBalances(request: import("osmojs/cosmos/bank/v1beta1/query").QuerySpendableBalancesRequest): Promise<import("osmojs/cosmos/bank/v1beta1/query").QuerySpendableBalancesResponse>;
29
+ spendableBalanceByDenom(request: import("osmojs/cosmos/bank/v1beta1/query").QuerySpendableBalanceByDenomRequest): Promise<import("osmojs/cosmos/bank/v1beta1/query").QuerySpendableBalanceByDenomResponse>;
30
+ totalSupply(request?: import("osmojs/cosmos/bank/v1beta1/query").QueryTotalSupplyRequest | undefined): Promise<import("osmojs/cosmos/bank/v1beta1/query").QueryTotalSupplyResponse>;
31
+ supplyOf(request: import("osmojs/cosmos/bank/v1beta1/query").QuerySupplyOfRequest): Promise<import("osmojs/cosmos/bank/v1beta1/query").QuerySupplyOfResponse>;
32
+ params(request?: import("osmojs/cosmos/bank/v1beta1/query").QueryParamsRequest | undefined): Promise<import("osmojs/cosmos/bank/v1beta1/query").QueryParamsResponse>;
33
+ denomMetadata(request: import("osmojs/cosmos/bank/v1beta1/query").QueryDenomMetadataRequest): Promise<import("osmojs/cosmos/bank/v1beta1/query").QueryDenomMetadataResponse>;
34
+ denomsMetadata(request?: import("osmojs/cosmos/bank/v1beta1/query").QueryDenomsMetadataRequest | undefined): Promise<import("osmojs/cosmos/bank/v1beta1/query").QueryDenomsMetadataResponse>;
35
+ denomOwners(request: import("osmojs/cosmos/bank/v1beta1/query").QueryDenomOwnersRequest): Promise<import("osmojs/cosmos/bank/v1beta1/query").QueryDenomOwnersResponse>;
36
+ sendEnabled(request: import("osmojs/cosmos/bank/v1beta1/query").QuerySendEnabledRequest): Promise<import("osmojs/cosmos/bank/v1beta1/query").QuerySendEnabledResponse>;
30
37
  };
31
38
  };
32
39
  base: {
33
40
  node: {
34
41
  v1beta1: {
35
- config(request?: import("osmojs/dist/codegen/cosmos/base/node/v1beta1/query").ConfigRequest | undefined): Promise<import("osmojs/dist/codegen/cosmos/base/node/v1beta1/query").ConfigResponse>;
42
+ config(request?: import("osmojs/cosmos/base/node/v1beta1/query").ConfigRequest | undefined): Promise<import("osmojs/cosmos/base/node/v1beta1/query").ConfigResponse>;
36
43
  };
37
44
  };
38
45
  };
46
+ consensus: {
47
+ v1: {
48
+ params(request?: import("osmojs/cosmos/consensus/v1/query").QueryParamsRequest | undefined): Promise<import("osmojs/cosmos/consensus/v1/query").QueryParamsResponse>;
49
+ };
50
+ };
39
51
  distribution: {
40
52
  v1beta1: {
41
- params(request?: import("osmojs/dist/codegen/cosmos/distribution/v1beta1/query").QueryParamsRequest | undefined): Promise<import("osmojs/dist/codegen/cosmos/distribution/v1beta1/query").QueryParamsResponse>;
42
- validatorOutstandingRewards(request: import("osmojs/dist/codegen/cosmos/distribution/v1beta1/query").QueryValidatorOutstandingRewardsRequest): Promise<import("osmojs/dist/codegen/cosmos/distribution/v1beta1/query").QueryValidatorOutstandingRewardsResponse>;
43
- validatorCommission(request: import("osmojs/dist/codegen/cosmos/distribution/v1beta1/query").QueryValidatorCommissionRequest): Promise<import("osmojs/dist/codegen/cosmos/distribution/v1beta1/query").QueryValidatorCommissionResponse>;
44
- validatorSlashes(request: import("osmojs/dist/codegen/cosmos/distribution/v1beta1/query").QueryValidatorSlashesRequest): Promise<import("osmojs/dist/codegen/cosmos/distribution/v1beta1/query").QueryValidatorSlashesResponse>;
45
- delegationRewards(request: import("osmojs/dist/codegen/cosmos/distribution/v1beta1/query").QueryDelegationRewardsRequest): Promise<import("osmojs/dist/codegen/cosmos/distribution/v1beta1/query").QueryDelegationRewardsResponse>;
46
- delegationTotalRewards(request: import("osmojs/dist/codegen/cosmos/distribution/v1beta1/query").QueryDelegationTotalRewardsRequest): Promise<import("osmojs/dist/codegen/cosmos/distribution/v1beta1/query").QueryDelegationTotalRewardsResponse>;
47
- delegatorValidators(request: import("osmojs/dist/codegen/cosmos/distribution/v1beta1/query").QueryDelegatorValidatorsRequest): Promise<import("osmojs/dist/codegen/cosmos/distribution/v1beta1/query").QueryDelegatorValidatorsResponse>;
48
- delegatorWithdrawAddress(request: import("osmojs/dist/codegen/cosmos/distribution/v1beta1/query").QueryDelegatorWithdrawAddressRequest): Promise<import("osmojs/dist/codegen/cosmos/distribution/v1beta1/query").QueryDelegatorWithdrawAddressResponse>;
49
- communityPool(request?: import("osmojs/dist/codegen/cosmos/distribution/v1beta1/query").QueryCommunityPoolRequest | undefined): Promise<import("osmojs/dist/codegen/cosmos/distribution/v1beta1/query").QueryCommunityPoolResponse>;
53
+ params(request?: import("osmojs/cosmos/distribution/v1beta1/query").QueryParamsRequest | undefined): Promise<import("osmojs/cosmos/distribution/v1beta1/query").QueryParamsResponse>;
54
+ validatorDistributionInfo(request: import("osmojs/cosmos/distribution/v1beta1/query").QueryValidatorDistributionInfoRequest): Promise<import("osmojs/cosmos/distribution/v1beta1/query").QueryValidatorDistributionInfoResponse>;
55
+ validatorOutstandingRewards(request: import("osmojs/cosmos/distribution/v1beta1/query").QueryValidatorOutstandingRewardsRequest): Promise<import("osmojs/cosmos/distribution/v1beta1/query").QueryValidatorOutstandingRewardsResponse>;
56
+ validatorCommission(request: import("osmojs/cosmos/distribution/v1beta1/query").QueryValidatorCommissionRequest): Promise<import("osmojs/cosmos/distribution/v1beta1/query").QueryValidatorCommissionResponse>;
57
+ validatorSlashes(request: import("osmojs/cosmos/distribution/v1beta1/query").QueryValidatorSlashesRequest): Promise<import("osmojs/cosmos/distribution/v1beta1/query").QueryValidatorSlashesResponse>;
58
+ delegationRewards(request: import("osmojs/cosmos/distribution/v1beta1/query").QueryDelegationRewardsRequest): Promise<import("osmojs/cosmos/distribution/v1beta1/query").QueryDelegationRewardsResponse>;
59
+ delegationTotalRewards(request: import("osmojs/cosmos/distribution/v1beta1/query").QueryDelegationTotalRewardsRequest): Promise<import("osmojs/cosmos/distribution/v1beta1/query").QueryDelegationTotalRewardsResponse>;
60
+ delegatorValidators(request: import("osmojs/cosmos/distribution/v1beta1/query").QueryDelegatorValidatorsRequest): Promise<import("osmojs/cosmos/distribution/v1beta1/query").QueryDelegatorValidatorsResponse>;
61
+ delegatorWithdrawAddress(request: import("osmojs/cosmos/distribution/v1beta1/query").QueryDelegatorWithdrawAddressRequest): Promise<import("osmojs/cosmos/distribution/v1beta1/query").QueryDelegatorWithdrawAddressResponse>;
62
+ communityPool(request?: import("osmojs/cosmos/distribution/v1beta1/query").QueryCommunityPoolRequest | undefined): Promise<import("osmojs/cosmos/distribution/v1beta1/query").QueryCommunityPoolResponse>;
50
63
  };
51
64
  };
52
65
  gov: {
53
66
  v1beta1: {
54
- proposal(request: import("osmojs/dist/codegen/cosmos/gov/v1beta1/query").QueryProposalRequest): Promise<import("osmojs/dist/codegen/cosmos/gov/v1beta1/query").QueryProposalResponse>;
55
- proposals(request: import("osmojs/dist/codegen/cosmos/gov/v1beta1/query").QueryProposalsRequest): Promise<import("osmojs/dist/codegen/cosmos/gov/v1beta1/query").QueryProposalsResponse>;
56
- vote(request: import("osmojs/dist/codegen/cosmos/gov/v1beta1/query").QueryVoteRequest): Promise<import("osmojs/dist/codegen/cosmos/gov/v1beta1/query").QueryVoteResponse>;
57
- votes(request: import("osmojs/dist/codegen/cosmos/gov/v1beta1/query").QueryVotesRequest): Promise<import("osmojs/dist/codegen/cosmos/gov/v1beta1/query").QueryVotesResponse>;
58
- params(request: import("osmojs/dist/codegen/cosmos/gov/v1beta1/query").QueryParamsRequest): Promise<import("osmojs/dist/codegen/cosmos/gov/v1beta1/query").QueryParamsResponse>;
59
- deposit(request: import("osmojs/dist/codegen/cosmos/gov/v1beta1/query").QueryDepositRequest): Promise<import("osmojs/dist/codegen/cosmos/gov/v1beta1/query").QueryDepositResponse>;
60
- deposits(request: import("osmojs/dist/codegen/cosmos/gov/v1beta1/query").QueryDepositsRequest): Promise<import("osmojs/dist/codegen/cosmos/gov/v1beta1/query").QueryDepositsResponse>;
61
- tallyResult(request: import("osmojs/dist/codegen/cosmos/gov/v1beta1/query").QueryTallyResultRequest): Promise<import("osmojs/dist/codegen/cosmos/gov/v1beta1/query").QueryTallyResultResponse>;
67
+ proposal(request: import("osmojs/cosmos/gov/v1beta1/query").QueryProposalRequest): Promise<import("osmojs/cosmos/gov/v1beta1/query").QueryProposalResponse>;
68
+ proposals(request: import("osmojs/cosmos/gov/v1beta1/query").QueryProposalsRequest): Promise<import("osmojs/cosmos/gov/v1beta1/query").QueryProposalsResponse>;
69
+ vote(request: import("osmojs/cosmos/gov/v1beta1/query").QueryVoteRequest): Promise<import("osmojs/cosmos/gov/v1beta1/query").QueryVoteResponse>;
70
+ votes(request: import("osmojs/cosmos/gov/v1beta1/query").QueryVotesRequest): Promise<import("osmojs/cosmos/gov/v1beta1/query").QueryVotesResponse>;
71
+ params(request: import("osmojs/cosmos/gov/v1beta1/query").QueryParamsRequest): Promise<import("osmojs/cosmos/gov/v1beta1/query").QueryParamsResponse>;
72
+ deposit(request: import("osmojs/cosmos/gov/v1beta1/query").QueryDepositRequest): Promise<import("osmojs/cosmos/gov/v1beta1/query").QueryDepositResponse>;
73
+ deposits(request: import("osmojs/cosmos/gov/v1beta1/query").QueryDepositsRequest): Promise<import("osmojs/cosmos/gov/v1beta1/query").QueryDepositsResponse>;
74
+ tallyResult(request: import("osmojs/cosmos/gov/v1beta1/query").QueryTallyResultRequest): Promise<import("osmojs/cosmos/gov/v1beta1/query").QueryTallyResultResponse>;
75
+ };
76
+ };
77
+ orm: {
78
+ query: {
79
+ v1alpha1: {
80
+ get(request: import("osmojs/cosmos/orm/query/v1alpha1/query").GetRequest): Promise<import("osmojs/cosmos/orm/query/v1alpha1/query").GetResponse>;
81
+ list(request: import("osmojs/cosmos/orm/query/v1alpha1/query").ListRequest): Promise<import("osmojs/cosmos/orm/query/v1alpha1/query").ListResponse>;
82
+ };
62
83
  };
63
84
  };
64
85
  staking: {
65
86
  v1beta1: {
66
- validators(request: import("osmojs/dist/codegen/cosmos/staking/v1beta1/query").QueryValidatorsRequest): Promise<import("osmojs/dist/codegen/cosmos/staking/v1beta1/query").QueryValidatorsResponse>;
67
- validator(request: import("osmojs/dist/codegen/cosmos/staking/v1beta1/query").QueryValidatorRequest): Promise<import("osmojs/dist/codegen/cosmos/staking/v1beta1/query").QueryValidatorResponse>;
68
- validatorDelegations(request: import("osmojs/dist/codegen/cosmos/staking/v1beta1/query").QueryValidatorDelegationsRequest): Promise<import("osmojs/dist/codegen/cosmos/staking/v1beta1/query").QueryValidatorDelegationsResponse>;
69
- validatorUnbondingDelegations(request: import("osmojs/dist/codegen/cosmos/staking/v1beta1/query").QueryValidatorUnbondingDelegationsRequest): Promise<import("osmojs/dist/codegen/cosmos/staking/v1beta1/query").QueryValidatorUnbondingDelegationsResponse>;
70
- delegation(request: import("osmojs/dist/codegen/cosmos/staking/v1beta1/query").QueryDelegationRequest): Promise<import("osmojs/dist/codegen/cosmos/staking/v1beta1/query").QueryDelegationResponse>;
71
- unbondingDelegation(request: import("osmojs/dist/codegen/cosmos/staking/v1beta1/query").QueryUnbondingDelegationRequest): Promise<import("osmojs/dist/codegen/cosmos/staking/v1beta1/query").QueryUnbondingDelegationResponse>;
72
- delegatorDelegations(request: import("osmojs/dist/codegen/cosmos/staking/v1beta1/query").QueryDelegatorDelegationsRequest): Promise<import("osmojs/dist/codegen/cosmos/staking/v1beta1/query").QueryDelegatorDelegationsResponse>;
73
- delegatorUnbondingDelegations(request: import("osmojs/dist/codegen/cosmos/staking/v1beta1/query").QueryDelegatorUnbondingDelegationsRequest): Promise<import("osmojs/dist/codegen/cosmos/staking/v1beta1/query").QueryDelegatorUnbondingDelegationsResponse>;
74
- redelegations(request: import("osmojs/dist/codegen/cosmos/staking/v1beta1/query").QueryRedelegationsRequest): Promise<import("osmojs/dist/codegen/cosmos/staking/v1beta1/query").QueryRedelegationsResponse>;
75
- delegatorValidators(request: import("osmojs/dist/codegen/cosmos/staking/v1beta1/query").QueryDelegatorValidatorsRequest): Promise<import("osmojs/dist/codegen/cosmos/staking/v1beta1/query").QueryDelegatorValidatorsResponse>;
76
- delegatorValidator(request: import("osmojs/dist/codegen/cosmos/staking/v1beta1/query").QueryDelegatorValidatorRequest): Promise<import("osmojs/dist/codegen/cosmos/staking/v1beta1/query").QueryDelegatorValidatorResponse>;
77
- historicalInfo(request: import("osmojs/dist/codegen/cosmos/staking/v1beta1/query").QueryHistoricalInfoRequest): Promise<import("osmojs/dist/codegen/cosmos/staking/v1beta1/query").QueryHistoricalInfoResponse>;
78
- pool(request?: import("osmojs/dist/codegen/cosmos/staking/v1beta1/query").QueryPoolRequest | undefined): Promise<import("osmojs/dist/codegen/cosmos/staking/v1beta1/query").QueryPoolResponse>;
79
- params(request?: import("osmojs/dist/codegen/cosmos/staking/v1beta1/query").QueryParamsRequest | undefined): Promise<import("osmojs/dist/codegen/cosmos/staking/v1beta1/query").QueryParamsResponse>;
87
+ validators(request: import("osmojs/cosmos/staking/v1beta1/query").QueryValidatorsRequest): Promise<import("osmojs/cosmos/staking/v1beta1/query").QueryValidatorsResponse>;
88
+ validator(request: import("osmojs/cosmos/staking/v1beta1/query").QueryValidatorRequest): Promise<import("osmojs/cosmos/staking/v1beta1/query").QueryValidatorResponse>;
89
+ validatorDelegations(request: import("osmojs/cosmos/staking/v1beta1/query").QueryValidatorDelegationsRequest): Promise<import("osmojs/cosmos/staking/v1beta1/query").QueryValidatorDelegationsResponse>;
90
+ validatorUnbondingDelegations(request: import("osmojs/cosmos/staking/v1beta1/query").QueryValidatorUnbondingDelegationsRequest): Promise<import("osmojs/cosmos/staking/v1beta1/query").QueryValidatorUnbondingDelegationsResponse>;
91
+ delegation(request: import("osmojs/cosmos/staking/v1beta1/query").QueryDelegationRequest): Promise<import("osmojs/cosmos/staking/v1beta1/query").QueryDelegationResponse>;
92
+ unbondingDelegation(request: import("osmojs/cosmos/staking/v1beta1/query").QueryUnbondingDelegationRequest): Promise<import("osmojs/cosmos/staking/v1beta1/query").QueryUnbondingDelegationResponse>;
93
+ delegatorDelegations(request: import("osmojs/cosmos/staking/v1beta1/query").QueryDelegatorDelegationsRequest): Promise<import("osmojs/cosmos/staking/v1beta1/query").QueryDelegatorDelegationsResponse>;
94
+ delegatorUnbondingDelegations(request: import("osmojs/cosmos/staking/v1beta1/query").QueryDelegatorUnbondingDelegationsRequest): Promise<import("osmojs/cosmos/staking/v1beta1/query").QueryDelegatorUnbondingDelegationsResponse>;
95
+ redelegations(request: import("osmojs/cosmos/staking/v1beta1/query").QueryRedelegationsRequest): Promise<import("osmojs/cosmos/staking/v1beta1/query").QueryRedelegationsResponse>;
96
+ delegatorValidators(request: import("osmojs/cosmos/staking/v1beta1/query").QueryDelegatorValidatorsRequest): Promise<import("osmojs/cosmos/staking/v1beta1/query").QueryDelegatorValidatorsResponse>;
97
+ delegatorValidator(request: import("osmojs/cosmos/staking/v1beta1/query").QueryDelegatorValidatorRequest): Promise<import("osmojs/cosmos/staking/v1beta1/query").QueryDelegatorValidatorResponse>;
98
+ historicalInfo(request: import("osmojs/cosmos/staking/v1beta1/query").QueryHistoricalInfoRequest): Promise<import("osmojs/cosmos/staking/v1beta1/query").QueryHistoricalInfoResponse>;
99
+ pool(request?: import("osmojs/cosmos/staking/v1beta1/query").QueryPoolRequest | undefined): Promise<import("osmojs/cosmos/staking/v1beta1/query").QueryPoolResponse>;
100
+ params(request?: import("osmojs/cosmos/staking/v1beta1/query").QueryParamsRequest | undefined): Promise<import("osmojs/cosmos/staking/v1beta1/query").QueryParamsResponse>;
80
101
  };
81
102
  };
82
103
  tx: {
83
104
  v1beta1: {
84
- simulate(request: import("osmojs/dist/codegen/cosmos/tx/v1beta1/service").SimulateRequest): Promise<import("osmojs/dist/codegen/cosmos/tx/v1beta1/service").SimulateResponse>;
85
- getTx(request: import("osmojs/dist/codegen/cosmos/tx/v1beta1/service").GetTxRequest): Promise<import("osmojs/dist/codegen/cosmos/tx/v1beta1/service").GetTxResponse>;
86
- broadcastTx(request: import("osmojs/dist/codegen/cosmos/tx/v1beta1/service").BroadcastTxRequest): Promise<import("osmojs/dist/codegen/cosmos/tx/v1beta1/service").BroadcastTxResponse>;
87
- getTxsEvent(request: import("osmojs/dist/codegen/cosmos/tx/v1beta1/service").GetTxsEventRequest): Promise<import("osmojs/dist/codegen/cosmos/tx/v1beta1/service").GetTxsEventResponse>;
105
+ simulate(request: import("osmojs/cosmos/tx/v1beta1/service").SimulateRequest): Promise<import("osmojs/cosmos/tx/v1beta1/service").SimulateResponse>;
106
+ getTx(request: import("osmojs/cosmos/tx/v1beta1/service").GetTxRequest): Promise<import("osmojs/cosmos/tx/v1beta1/service").GetTxResponse>;
107
+ broadcastTx(request: import("osmojs/cosmos/tx/v1beta1/service").BroadcastTxRequest): Promise<import("osmojs/cosmos/tx/v1beta1/service").BroadcastTxResponse>;
108
+ getTxsEvent(request: import("osmojs/cosmos/tx/v1beta1/service").GetTxsEventRequest): Promise<import("osmojs/cosmos/tx/v1beta1/service").GetTxsEventResponse>;
109
+ getBlockWithTxs(request: import("osmojs/cosmos/tx/v1beta1/service").GetBlockWithTxsRequest): Promise<import("osmojs/cosmos/tx/v1beta1/service").GetBlockWithTxsResponse>;
110
+ txDecode(request: import("osmojs/cosmos/tx/v1beta1/service").TxDecodeRequest): Promise<import("osmojs/cosmos/tx/v1beta1/service").TxDecodeResponse>;
111
+ txEncode(request: import("osmojs/cosmos/tx/v1beta1/service").TxEncodeRequest): Promise<import("osmojs/cosmos/tx/v1beta1/service").TxEncodeResponse>;
112
+ txEncodeAmino(request: import("osmojs/cosmos/tx/v1beta1/service").TxEncodeAminoRequest): Promise<import("osmojs/cosmos/tx/v1beta1/service").TxEncodeAminoResponse>;
113
+ txDecodeAmino(request: import("osmojs/cosmos/tx/v1beta1/service").TxDecodeAminoRequest): Promise<import("osmojs/cosmos/tx/v1beta1/service").TxDecodeAminoResponse>;
88
114
  };
89
115
  };
90
116
  upgrade: {
91
117
  v1beta1: {
92
- currentPlan(request?: import("osmojs/dist/codegen/cosmos/upgrade/v1beta1/query").QueryCurrentPlanRequest | undefined): Promise<import("osmojs/dist/codegen/cosmos/upgrade/v1beta1/query").QueryCurrentPlanResponse>;
93
- appliedPlan(request: import("osmojs/dist/codegen/cosmos/upgrade/v1beta1/query").QueryAppliedPlanRequest): Promise<import("osmojs/dist/codegen/cosmos/upgrade/v1beta1/query").QueryAppliedPlanResponse>;
94
- upgradedConsensusState(request: import("osmojs/dist/codegen/cosmos/upgrade/v1beta1/query").QueryUpgradedConsensusStateRequest): Promise<import("osmojs/dist/codegen/cosmos/upgrade/v1beta1/query").QueryUpgradedConsensusStateResponse>;
95
- moduleVersions(request: import("osmojs/dist/codegen/cosmos/upgrade/v1beta1/query").QueryModuleVersionsRequest): Promise<import("osmojs/dist/codegen/cosmos/upgrade/v1beta1/query").QueryModuleVersionsResponse>;
118
+ currentPlan(request?: import("osmojs/cosmos/upgrade/v1beta1/query").QueryCurrentPlanRequest | undefined): Promise<import("osmojs/cosmos/upgrade/v1beta1/query").QueryCurrentPlanResponse>;
119
+ appliedPlan(request: import("osmojs/cosmos/upgrade/v1beta1/query").QueryAppliedPlanRequest): Promise<import("osmojs/cosmos/upgrade/v1beta1/query").QueryAppliedPlanResponse>;
120
+ upgradedConsensusState(request: import("osmojs/cosmos/upgrade/v1beta1/query").QueryUpgradedConsensusStateRequest): Promise<import("osmojs/cosmos/upgrade/v1beta1/query").QueryUpgradedConsensusStateResponse>;
121
+ moduleVersions(request: import("osmojs/cosmos/upgrade/v1beta1/query").QueryModuleVersionsRequest): Promise<import("osmojs/cosmos/upgrade/v1beta1/query").QueryModuleVersionsResponse>;
122
+ authority(request?: import("osmojs/cosmos/upgrade/v1beta1/query").QueryAuthorityRequest | undefined): Promise<import("osmojs/cosmos/upgrade/v1beta1/query").QueryAuthorityResponse>;
96
123
  };
97
124
  };
98
125
  };