coreum-js 2.11.0 → 2.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main/client/index.d.ts +2 -1
- package/dist/main/coreum/asset/ft/v1/genesis.d.ts +1 -1
- package/dist/main/coreum/asset/ft/v1/genesis.js +25 -12
- package/dist/main/coreum/asset/ft/v1/params.d.ts +1 -1
- package/dist/main/coreum/asset/ft/v1/params.js +14 -6
- package/dist/main/coreum/asset/ft/v1/query.d.ts +2 -2
- package/dist/main/coreum/asset/ft/v1/query.js +116 -54
- package/dist/main/coreum/asset/ft/v1/tx.d.ts +1 -1
- package/dist/main/coreum/asset/ft/v1/tx.js +1 -1
- package/dist/main/coreum/asset/nft/v1/genesis.d.ts +2 -2
- package/dist/main/coreum/asset/nft/v1/params.d.ts +1 -1
- package/dist/main/coreum/asset/nft/v1/params.js +14 -6
- package/dist/main/coreum/asset/nft/v1/query.d.ts +3 -3
- package/dist/main/coreum/asset/nft/v1/query.js +49 -22
- package/dist/main/coreum/feemodel/v1/genesis.d.ts +1 -1
- package/dist/main/coreum/feemodel/v1/genesis.js +17 -10
- package/dist/main/coreum/feemodel/v1/query.d.ts +1 -1
- package/dist/main/coreum/feemodel/v1/query.js +22 -11
- package/dist/main/coreum/nft/v1beta1/query.d.ts +1 -1
- package/dist/main/coreum/nft/v1beta1/query.js +83 -39
- package/dist/main/cosmos/extensions/bank.d.ts +8 -8
- package/dist/main/cosmos/extensions/bank.js +2 -2
- package/dist/main/cosmos/extensions/distribution.d.ts +11 -11
- package/dist/main/cosmos/extensions/distribution.js +1 -1
- package/dist/main/cosmos/extensions/gov.d.ts +21 -21
- package/dist/main/cosmos/extensions/gov.js +1 -1
- package/dist/main/cosmos/index.d.ts +12 -21
- package/dist/main/cosmos/index.js +50 -42
- package/dist/main/types/msgs.d.ts +4 -4
- package/dist/main/wasm/v1/authz.d.ts +1 -1
- package/dist/main/wasm/v1/authz.js +1 -1
- package/dist/main/wasm/v1/proposal.d.ts +1 -1
- package/dist/main/wasm/v1/proposal.js +1 -1
- package/dist/main/wasm/v1/tx.d.ts +1 -1
- package/dist/main/wasm/v1/tx.js +1 -1
- package/dist/module/client/index.d.ts +2 -1
- package/dist/module/coreum/asset/ft/v1/genesis.d.ts +1 -1
- package/dist/module/coreum/asset/ft/v1/genesis.js +25 -12
- package/dist/module/coreum/asset/ft/v1/params.d.ts +1 -1
- package/dist/module/coreum/asset/ft/v1/params.js +14 -6
- package/dist/module/coreum/asset/ft/v1/query.d.ts +2 -2
- package/dist/module/coreum/asset/ft/v1/query.js +116 -54
- package/dist/module/coreum/asset/ft/v1/tx.d.ts +1 -1
- package/dist/module/coreum/asset/ft/v1/tx.js +1 -1
- package/dist/module/coreum/asset/nft/v1/genesis.d.ts +2 -2
- package/dist/module/coreum/asset/nft/v1/params.d.ts +1 -1
- package/dist/module/coreum/asset/nft/v1/params.js +14 -6
- package/dist/module/coreum/asset/nft/v1/query.d.ts +3 -3
- package/dist/module/coreum/asset/nft/v1/query.js +49 -22
- package/dist/module/coreum/feemodel/v1/genesis.d.ts +1 -1
- package/dist/module/coreum/feemodel/v1/genesis.js +17 -10
- package/dist/module/coreum/feemodel/v1/query.d.ts +1 -1
- package/dist/module/coreum/feemodel/v1/query.js +22 -11
- package/dist/module/coreum/nft/v1beta1/query.d.ts +1 -1
- package/dist/module/coreum/nft/v1beta1/query.js +83 -39
- package/dist/module/cosmos/extensions/bank.d.ts +8 -8
- package/dist/module/cosmos/extensions/bank.js +2 -2
- package/dist/module/cosmos/extensions/distribution.d.ts +11 -11
- package/dist/module/cosmos/extensions/distribution.js +1 -1
- package/dist/module/cosmos/extensions/gov.d.ts +21 -21
- package/dist/module/cosmos/extensions/gov.js +1 -1
- package/dist/module/cosmos/index.d.ts +12 -21
- package/dist/module/cosmos/index.js +29 -19
- package/dist/module/types/msgs.d.ts +4 -4
- package/dist/module/wasm/v1/authz.d.ts +1 -1
- package/dist/module/wasm/v1/authz.js +1 -1
- package/dist/module/wasm/v1/proposal.d.ts +1 -1
- package/dist/module/wasm/v1/proposal.js +1 -1
- package/dist/module/wasm/v1/tx.d.ts +1 -1
- package/dist/module/wasm/v1/tx.js +1 -1
- package/package.json +1 -1
- package/dist/main/cosmos/auth/v1beta1/auth.d.ts +0 -229
- package/dist/main/cosmos/auth/v1beta1/auth.js +0 -437
- package/dist/main/cosmos/authz/v1beta1/authz.d.ts +0 -167
- package/dist/main/cosmos/authz/v1beta1/authz.js +0 -319
- package/dist/main/cosmos/authz/v1beta1/event.d.ts +0 -80
- package/dist/main/cosmos/authz/v1beta1/event.js +0 -162
- package/dist/main/cosmos/authz/v1beta1/genesis.d.ts +0 -121
- package/dist/main/cosmos/authz/v1beta1/genesis.js +0 -68
- package/dist/main/cosmos/authz/v1beta1/pagination.d.ts +0 -128
- package/dist/main/cosmos/authz/v1beta1/pagination.js +0 -227
- package/dist/main/cosmos/authz/v1beta1/query.d.ts +0 -616
- package/dist/main/cosmos/authz/v1beta1/query.js +0 -512
- package/dist/main/cosmos/authz/v1beta1/tx.d.ts +0 -264
- package/dist/main/cosmos/authz/v1beta1/tx.js +0 -435
- package/dist/main/cosmos/bank/v1beta1/authz.d.ts +0 -80
- package/dist/main/cosmos/bank/v1beta1/authz.js +0 -83
- package/dist/main/cosmos/bank/v1beta1/bank.d.ts +0 -440
- package/dist/main/cosmos/bank/v1beta1/bank.js +0 -556
- package/dist/main/cosmos/bank/v1beta1/genesis.d.ts +0 -473
- package/dist/main/cosmos/bank/v1beta1/genesis.js +0 -207
- package/dist/main/cosmos/bank/v1beta1/pagination.d.ts +0 -128
- package/dist/main/cosmos/bank/v1beta1/pagination.js +0 -227
- package/dist/main/cosmos/bank/v1beta1/query.d.ts +0 -1633
- package/dist/main/cosmos/bank/v1beta1/query.js +0 -1595
- package/dist/main/cosmos/bank/v1beta1/tx.d.ts +0 -514
- package/dist/main/cosmos/bank/v1beta1/tx.js +0 -498
- package/dist/main/cosmos/base/query/v1beta1/pagination.d.ts +0 -470
- package/dist/main/cosmos/base/query/v1beta1/pagination.js +0 -241
- package/dist/main/cosmos/base/v1beta1/coin.d.ts +0 -114
- package/dist/main/cosmos/base/v1beta1/coin.js +0 -241
- package/dist/main/cosmos/crypto/multisig/v1beta1/multisig.d.ts +0 -67
- package/dist/main/cosmos/crypto/multisig/v1beta1/multisig.js +0 -172
- package/dist/main/cosmos/distribution/v1beta1/distribution.d.ts +0 -638
- package/dist/main/cosmos/distribution/v1beta1/distribution.js +0 -887
- package/dist/main/cosmos/distribution/v1beta1/genesis.d.ts +0 -1259
- package/dist/main/cosmos/distribution/v1beta1/genesis.js +0 -784
- package/dist/main/cosmos/distribution/v1beta1/pagination.d.ts +0 -128
- package/dist/main/cosmos/distribution/v1beta1/pagination.js +0 -227
- package/dist/main/cosmos/distribution/v1beta1/query.d.ts +0 -995
- package/dist/main/cosmos/distribution/v1beta1/query.js +0 -1335
- package/dist/main/cosmos/distribution/v1beta1/tx.d.ts +0 -593
- package/dist/main/cosmos/distribution/v1beta1/tx.js +0 -824
- package/dist/main/cosmos/feegrant/v1beta1/feegrant.d.ts +0 -367
- package/dist/main/cosmos/feegrant/v1beta1/feegrant.js +0 -412
- package/dist/main/cosmos/feegrant/v1beta1/genesis.d.ts +0 -111
- package/dist/main/cosmos/feegrant/v1beta1/genesis.js +0 -66
- package/dist/main/cosmos/feegrant/v1beta1/pagination.d.ts +0 -128
- package/dist/main/cosmos/feegrant/v1beta1/pagination.js +0 -227
- package/dist/main/cosmos/feegrant/v1beta1/query.d.ts +0 -512
- package/dist/main/cosmos/feegrant/v1beta1/query.js +0 -460
- package/dist/main/cosmos/feegrant/v1beta1/tx.d.ts +0 -143
- package/dist/main/cosmos/feegrant/v1beta1/tx.js +0 -252
- package/dist/main/cosmos/gov/v1beta1/genesis.d.ts +0 -639
- package/dist/main/cosmos/gov/v1beta1/genesis.js +0 -194
- package/dist/main/cosmos/gov/v1beta1/gov.d.ts +0 -620
- package/dist/main/cosmos/gov/v1beta1/gov.js +0 -1037
- package/dist/main/cosmos/gov/v1beta1/pagination.d.ts +0 -128
- package/dist/main/cosmos/gov/v1beta1/pagination.js +0 -227
- package/dist/main/cosmos/gov/v1beta1/query.d.ts +0 -1511
- package/dist/main/cosmos/gov/v1beta1/query.js +0 -1186
- package/dist/main/cosmos/gov/v1beta1/tx.d.ts +0 -350
- package/dist/main/cosmos/gov/v1beta1/tx.js +0 -566
- package/dist/main/cosmos/msg/v1/msg.d.ts +0 -1
- package/dist/main/cosmos/msg/v1/msg.js +0 -5
- package/dist/main/cosmos/staking/v1beta1/authz.d.ts +0 -145
- package/dist/main/cosmos/staking/v1beta1/authz.js +0 -224
- package/dist/main/cosmos/staking/v1beta1/genesis.d.ts +0 -899
- package/dist/main/cosmos/staking/v1beta1/genesis.js +0 -305
- package/dist/main/cosmos/staking/v1beta1/pagination.d.ts +0 -128
- package/dist/main/cosmos/staking/v1beta1/pagination.js +0 -227
- package/dist/main/cosmos/staking/v1beta1/query.d.ts +0 -4165
- package/dist/main/cosmos/staking/v1beta1/query.js +0 -2019
- package/dist/main/cosmos/staking/v1beta1/staking.d.ts +0 -2059
- package/dist/main/cosmos/staking/v1beta1/staking.js +0 -2127
- package/dist/main/cosmos/staking/v1beta1/tx.d.ts +0 -748
- package/dist/main/cosmos/staking/v1beta1/tx.js +0 -1141
- package/dist/main/cosmos/tx/signing/v1beta1/signing.d.ts +0 -1938
- package/dist/main/cosmos/tx/signing/v1beta1/signing.js +0 -546
- package/dist/main/cosmos/tx/v1beta1/tx.d.ts +0 -3468
- package/dist/main/cosmos/tx/v1beta1/tx.js +0 -1276
- package/dist/main/cosmos/vesting/v1beta1/tx.d.ts +0 -350
- package/dist/main/cosmos/vesting/v1beta1/tx.js +0 -454
- package/dist/main/cosmos/vesting/v1beta1/vesting.d.ts +0 -1305
- package/dist/main/cosmos/vesting/v1beta1/vesting.js +0 -498
- package/dist/module/cosmos/auth/v1beta1/auth.d.ts +0 -229
- package/dist/module/cosmos/auth/v1beta1/auth.js +0 -427
- package/dist/module/cosmos/authz/v1beta1/authz.d.ts +0 -167
- package/dist/module/cosmos/authz/v1beta1/authz.js +0 -309
- package/dist/module/cosmos/authz/v1beta1/event.d.ts +0 -80
- package/dist/module/cosmos/authz/v1beta1/event.js +0 -154
- package/dist/module/cosmos/authz/v1beta1/genesis.d.ts +0 -121
- package/dist/module/cosmos/authz/v1beta1/genesis.js +0 -61
- package/dist/module/cosmos/authz/v1beta1/pagination.d.ts +0 -128
- package/dist/module/cosmos/authz/v1beta1/pagination.js +0 -219
- package/dist/module/cosmos/authz/v1beta1/query.d.ts +0 -616
- package/dist/module/cosmos/authz/v1beta1/query.js +0 -501
- package/dist/module/cosmos/authz/v1beta1/tx.d.ts +0 -264
- package/dist/module/cosmos/authz/v1beta1/tx.js +0 -426
- package/dist/module/cosmos/bank/v1beta1/authz.d.ts +0 -80
- package/dist/module/cosmos/bank/v1beta1/authz.js +0 -76
- package/dist/module/cosmos/bank/v1beta1/bank.d.ts +0 -440
- package/dist/module/cosmos/bank/v1beta1/bank.js +0 -543
- package/dist/module/cosmos/bank/v1beta1/genesis.d.ts +0 -473
- package/dist/module/cosmos/bank/v1beta1/genesis.js +0 -199
- package/dist/module/cosmos/bank/v1beta1/pagination.d.ts +0 -128
- package/dist/module/cosmos/bank/v1beta1/pagination.js +0 -219
- package/dist/module/cosmos/bank/v1beta1/query.d.ts +0 -1633
- package/dist/module/cosmos/bank/v1beta1/query.js +0 -1575
- package/dist/module/cosmos/bank/v1beta1/tx.d.ts +0 -514
- package/dist/module/cosmos/bank/v1beta1/tx.js +0 -489
- package/dist/module/cosmos/base/query/v1beta1/pagination.d.ts +0 -470
- package/dist/module/cosmos/base/query/v1beta1/pagination.js +0 -233
- package/dist/module/cosmos/base/v1beta1/coin.d.ts +0 -114
- package/dist/module/cosmos/base/v1beta1/coin.js +0 -231
- package/dist/module/cosmos/crypto/multisig/v1beta1/multisig.d.ts +0 -67
- package/dist/module/cosmos/crypto/multisig/v1beta1/multisig.js +0 -164
- package/dist/module/cosmos/distribution/v1beta1/distribution.d.ts +0 -638
- package/dist/module/cosmos/distribution/v1beta1/distribution.js +0 -869
- package/dist/module/cosmos/distribution/v1beta1/genesis.d.ts +0 -1259
- package/dist/module/cosmos/distribution/v1beta1/genesis.js +0 -770
- package/dist/module/cosmos/distribution/v1beta1/pagination.d.ts +0 -128
- package/dist/module/cosmos/distribution/v1beta1/pagination.js +0 -219
- package/dist/module/cosmos/distribution/v1beta1/query.d.ts +0 -995
- package/dist/module/cosmos/distribution/v1beta1/query.js +0 -1315
- package/dist/module/cosmos/distribution/v1beta1/tx.d.ts +0 -593
- package/dist/module/cosmos/distribution/v1beta1/tx.js +0 -810
- package/dist/module/cosmos/feegrant/v1beta1/feegrant.d.ts +0 -367
- package/dist/module/cosmos/feegrant/v1beta1/feegrant.js +0 -402
- package/dist/module/cosmos/feegrant/v1beta1/genesis.d.ts +0 -111
- package/dist/module/cosmos/feegrant/v1beta1/genesis.js +0 -59
- package/dist/module/cosmos/feegrant/v1beta1/pagination.d.ts +0 -128
- package/dist/module/cosmos/feegrant/v1beta1/pagination.js +0 -219
- package/dist/module/cosmos/feegrant/v1beta1/query.d.ts +0 -512
- package/dist/module/cosmos/feegrant/v1beta1/query.js +0 -450
- package/dist/module/cosmos/feegrant/v1beta1/tx.d.ts +0 -143
- package/dist/module/cosmos/feegrant/v1beta1/tx.js +0 -245
- package/dist/module/cosmos/gov/v1beta1/genesis.d.ts +0 -639
- package/dist/module/cosmos/gov/v1beta1/genesis.js +0 -187
- package/dist/module/cosmos/gov/v1beta1/gov.d.ts +0 -620
- package/dist/module/cosmos/gov/v1beta1/gov.js +0 -1019
- package/dist/module/cosmos/gov/v1beta1/pagination.d.ts +0 -128
- package/dist/module/cosmos/gov/v1beta1/pagination.js +0 -219
- package/dist/module/cosmos/gov/v1beta1/query.d.ts +0 -1511
- package/dist/module/cosmos/gov/v1beta1/query.js +0 -1170
- package/dist/module/cosmos/gov/v1beta1/tx.d.ts +0 -350
- package/dist/module/cosmos/gov/v1beta1/tx.js +0 -556
- package/dist/module/cosmos/msg/v1/msg.d.ts +0 -1
- package/dist/module/cosmos/msg/v1/msg.js +0 -2
- package/dist/module/cosmos/staking/v1beta1/authz.d.ts +0 -145
- package/dist/module/cosmos/staking/v1beta1/authz.js +0 -214
- package/dist/module/cosmos/staking/v1beta1/genesis.d.ts +0 -899
- package/dist/module/cosmos/staking/v1beta1/genesis.js +0 -297
- package/dist/module/cosmos/staking/v1beta1/pagination.d.ts +0 -128
- package/dist/module/cosmos/staking/v1beta1/pagination.js +0 -219
- package/dist/module/cosmos/staking/v1beta1/query.d.ts +0 -4165
- package/dist/module/cosmos/staking/v1beta1/query.js +0 -1995
- package/dist/module/cosmos/staking/v1beta1/staking.d.ts +0 -2059
- package/dist/module/cosmos/staking/v1beta1/staking.js +0 -2097
- package/dist/module/cosmos/staking/v1beta1/tx.d.ts +0 -748
- package/dist/module/cosmos/staking/v1beta1/tx.js +0 -1127
- package/dist/module/cosmos/tx/signing/v1beta1/signing.d.ts +0 -1938
- package/dist/module/cosmos/tx/signing/v1beta1/signing.js +0 -534
- package/dist/module/cosmos/tx/v1beta1/tx.d.ts +0 -3468
- package/dist/module/cosmos/tx/v1beta1/tx.js +0 -1258
- package/dist/module/cosmos/vesting/v1beta1/tx.d.ts +0 -350
- package/dist/module/cosmos/vesting/v1beta1/tx.js +0 -446
- package/dist/module/cosmos/vesting/v1beta1/vesting.d.ts +0 -1305
- package/dist/module/cosmos/vesting/v1beta1/vesting.js +0 -488
|
@@ -1,367 +0,0 @@
|
|
|
1
|
-
import _m0 from "protobufjs/minimal";
|
|
2
|
-
import { Any } from "../../../google/protobuf/any";
|
|
3
|
-
import { Duration } from "../../../google/protobuf/duration";
|
|
4
|
-
import { Coin } from "../../base/v1beta1/coin";
|
|
5
|
-
export declare const protobufPackage = "cosmos.feegrant.v1beta1";
|
|
6
|
-
/** Since: cosmos-sdk 0.43 */
|
|
7
|
-
/**
|
|
8
|
-
* BasicAllowance implements Allowance with a one-time grant of coins
|
|
9
|
-
* that optionally expires. The grantee can use up to SpendLimit to cover fees.
|
|
10
|
-
*/
|
|
11
|
-
export interface BasicAllowance {
|
|
12
|
-
/**
|
|
13
|
-
* spend_limit specifies the maximum amount of coins that can be spent
|
|
14
|
-
* by this allowance and will be updated as coins are spent. If it is
|
|
15
|
-
* empty, there is no spend limit and any amount of coins can be spent.
|
|
16
|
-
*/
|
|
17
|
-
spendLimit: Coin[];
|
|
18
|
-
/** expiration specifies an optional time when this allowance expires */
|
|
19
|
-
expiration: Date | undefined;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* PeriodicAllowance extends Allowance to allow for both a maximum cap,
|
|
23
|
-
* as well as a limit per time period.
|
|
24
|
-
*/
|
|
25
|
-
export interface PeriodicAllowance {
|
|
26
|
-
/** basic specifies a struct of `BasicAllowance` */
|
|
27
|
-
basic: BasicAllowance | undefined;
|
|
28
|
-
/**
|
|
29
|
-
* period specifies the time duration in which period_spend_limit coins can
|
|
30
|
-
* be spent before that allowance is reset
|
|
31
|
-
*/
|
|
32
|
-
period: Duration | undefined;
|
|
33
|
-
/**
|
|
34
|
-
* period_spend_limit specifies the maximum number of coins that can be spent
|
|
35
|
-
* in the period
|
|
36
|
-
*/
|
|
37
|
-
periodSpendLimit: Coin[];
|
|
38
|
-
/** period_can_spend is the number of coins left to be spent before the period_reset time */
|
|
39
|
-
periodCanSpend: Coin[];
|
|
40
|
-
/**
|
|
41
|
-
* period_reset is the time at which this period resets and a new one begins,
|
|
42
|
-
* it is calculated from the start time of the first transaction after the
|
|
43
|
-
* last period ended
|
|
44
|
-
*/
|
|
45
|
-
periodReset: Date | undefined;
|
|
46
|
-
}
|
|
47
|
-
/** AllowedMsgAllowance creates allowance only for specified message types. */
|
|
48
|
-
export interface AllowedMsgAllowance {
|
|
49
|
-
/** allowance can be any of basic and periodic fee allowance. */
|
|
50
|
-
allowance: Any | undefined;
|
|
51
|
-
/** allowed_messages are the messages for which the grantee has the access. */
|
|
52
|
-
allowedMessages: string[];
|
|
53
|
-
}
|
|
54
|
-
/** Grant is stored in the KVStore to record a grant with full context */
|
|
55
|
-
export interface Grant {
|
|
56
|
-
/** granter is the address of the user granting an allowance of their funds. */
|
|
57
|
-
granter: string;
|
|
58
|
-
/** grantee is the address of the user being granted an allowance of another user's funds. */
|
|
59
|
-
grantee: string;
|
|
60
|
-
/** allowance can be any of basic, periodic, allowed fee allowance. */
|
|
61
|
-
allowance: Any | undefined;
|
|
62
|
-
}
|
|
63
|
-
export declare const BasicAllowance: {
|
|
64
|
-
encode(message: BasicAllowance, writer?: _m0.Writer): _m0.Writer;
|
|
65
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): BasicAllowance;
|
|
66
|
-
fromJSON(object: any): BasicAllowance;
|
|
67
|
-
toJSON(message: BasicAllowance): unknown;
|
|
68
|
-
create<I extends {
|
|
69
|
-
spendLimit?: {
|
|
70
|
-
denom?: string;
|
|
71
|
-
amount?: string;
|
|
72
|
-
}[];
|
|
73
|
-
expiration?: Date | undefined;
|
|
74
|
-
} & {
|
|
75
|
-
spendLimit?: {
|
|
76
|
-
denom?: string;
|
|
77
|
-
amount?: string;
|
|
78
|
-
}[] & ({
|
|
79
|
-
denom?: string;
|
|
80
|
-
amount?: string;
|
|
81
|
-
} & {
|
|
82
|
-
denom?: string;
|
|
83
|
-
amount?: string;
|
|
84
|
-
} & { [K in Exclude<keyof I["spendLimit"][number], keyof Coin>]: never; })[] & { [K_1 in Exclude<keyof I["spendLimit"], keyof {
|
|
85
|
-
denom?: string;
|
|
86
|
-
amount?: string;
|
|
87
|
-
}[]>]: never; };
|
|
88
|
-
expiration?: Date | undefined;
|
|
89
|
-
} & { [K_2 in Exclude<keyof I, keyof BasicAllowance>]: never; }>(base?: I): BasicAllowance;
|
|
90
|
-
fromPartial<I_1 extends {
|
|
91
|
-
spendLimit?: {
|
|
92
|
-
denom?: string;
|
|
93
|
-
amount?: string;
|
|
94
|
-
}[];
|
|
95
|
-
expiration?: Date | undefined;
|
|
96
|
-
} & {
|
|
97
|
-
spendLimit?: {
|
|
98
|
-
denom?: string;
|
|
99
|
-
amount?: string;
|
|
100
|
-
}[] & ({
|
|
101
|
-
denom?: string;
|
|
102
|
-
amount?: string;
|
|
103
|
-
} & {
|
|
104
|
-
denom?: string;
|
|
105
|
-
amount?: string;
|
|
106
|
-
} & { [K_3 in Exclude<keyof I_1["spendLimit"][number], keyof Coin>]: never; })[] & { [K_4 in Exclude<keyof I_1["spendLimit"], keyof {
|
|
107
|
-
denom?: string;
|
|
108
|
-
amount?: string;
|
|
109
|
-
}[]>]: never; };
|
|
110
|
-
expiration?: Date | undefined;
|
|
111
|
-
} & { [K_5 in Exclude<keyof I_1, keyof BasicAllowance>]: never; }>(object: I_1): BasicAllowance;
|
|
112
|
-
};
|
|
113
|
-
export declare const PeriodicAllowance: {
|
|
114
|
-
encode(message: PeriodicAllowance, writer?: _m0.Writer): _m0.Writer;
|
|
115
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): PeriodicAllowance;
|
|
116
|
-
fromJSON(object: any): PeriodicAllowance;
|
|
117
|
-
toJSON(message: PeriodicAllowance): unknown;
|
|
118
|
-
create<I extends {
|
|
119
|
-
basic?: {
|
|
120
|
-
spendLimit?: {
|
|
121
|
-
denom?: string;
|
|
122
|
-
amount?: string;
|
|
123
|
-
}[];
|
|
124
|
-
expiration?: Date | undefined;
|
|
125
|
-
};
|
|
126
|
-
period?: {
|
|
127
|
-
seconds?: number;
|
|
128
|
-
nanos?: number;
|
|
129
|
-
};
|
|
130
|
-
periodSpendLimit?: {
|
|
131
|
-
denom?: string;
|
|
132
|
-
amount?: string;
|
|
133
|
-
}[];
|
|
134
|
-
periodCanSpend?: {
|
|
135
|
-
denom?: string;
|
|
136
|
-
amount?: string;
|
|
137
|
-
}[];
|
|
138
|
-
periodReset?: Date | undefined;
|
|
139
|
-
} & {
|
|
140
|
-
basic?: {
|
|
141
|
-
spendLimit?: {
|
|
142
|
-
denom?: string;
|
|
143
|
-
amount?: string;
|
|
144
|
-
}[];
|
|
145
|
-
expiration?: Date | undefined;
|
|
146
|
-
} & {
|
|
147
|
-
spendLimit?: {
|
|
148
|
-
denom?: string;
|
|
149
|
-
amount?: string;
|
|
150
|
-
}[] & ({
|
|
151
|
-
denom?: string;
|
|
152
|
-
amount?: string;
|
|
153
|
-
} & {
|
|
154
|
-
denom?: string;
|
|
155
|
-
amount?: string;
|
|
156
|
-
} & { [K in Exclude<keyof I["basic"]["spendLimit"][number], keyof Coin>]: never; })[] & { [K_1 in Exclude<keyof I["basic"]["spendLimit"], keyof {
|
|
157
|
-
denom?: string;
|
|
158
|
-
amount?: string;
|
|
159
|
-
}[]>]: never; };
|
|
160
|
-
expiration?: Date | undefined;
|
|
161
|
-
} & { [K_2 in Exclude<keyof I["basic"], keyof BasicAllowance>]: never; };
|
|
162
|
-
period?: {
|
|
163
|
-
seconds?: number;
|
|
164
|
-
nanos?: number;
|
|
165
|
-
} & {
|
|
166
|
-
seconds?: number;
|
|
167
|
-
nanos?: number;
|
|
168
|
-
} & { [K_3 in Exclude<keyof I["period"], keyof Duration>]: never; };
|
|
169
|
-
periodSpendLimit?: {
|
|
170
|
-
denom?: string;
|
|
171
|
-
amount?: string;
|
|
172
|
-
}[] & ({
|
|
173
|
-
denom?: string;
|
|
174
|
-
amount?: string;
|
|
175
|
-
} & {
|
|
176
|
-
denom?: string;
|
|
177
|
-
amount?: string;
|
|
178
|
-
} & { [K_4 in Exclude<keyof I["periodSpendLimit"][number], keyof Coin>]: never; })[] & { [K_5 in Exclude<keyof I["periodSpendLimit"], keyof {
|
|
179
|
-
denom?: string;
|
|
180
|
-
amount?: string;
|
|
181
|
-
}[]>]: never; };
|
|
182
|
-
periodCanSpend?: {
|
|
183
|
-
denom?: string;
|
|
184
|
-
amount?: string;
|
|
185
|
-
}[] & ({
|
|
186
|
-
denom?: string;
|
|
187
|
-
amount?: string;
|
|
188
|
-
} & {
|
|
189
|
-
denom?: string;
|
|
190
|
-
amount?: string;
|
|
191
|
-
} & { [K_6 in Exclude<keyof I["periodCanSpend"][number], keyof Coin>]: never; })[] & { [K_7 in Exclude<keyof I["periodCanSpend"], keyof {
|
|
192
|
-
denom?: string;
|
|
193
|
-
amount?: string;
|
|
194
|
-
}[]>]: never; };
|
|
195
|
-
periodReset?: Date | undefined;
|
|
196
|
-
} & { [K_8 in Exclude<keyof I, keyof PeriodicAllowance>]: never; }>(base?: I): PeriodicAllowance;
|
|
197
|
-
fromPartial<I_1 extends {
|
|
198
|
-
basic?: {
|
|
199
|
-
spendLimit?: {
|
|
200
|
-
denom?: string;
|
|
201
|
-
amount?: string;
|
|
202
|
-
}[];
|
|
203
|
-
expiration?: Date | undefined;
|
|
204
|
-
};
|
|
205
|
-
period?: {
|
|
206
|
-
seconds?: number;
|
|
207
|
-
nanos?: number;
|
|
208
|
-
};
|
|
209
|
-
periodSpendLimit?: {
|
|
210
|
-
denom?: string;
|
|
211
|
-
amount?: string;
|
|
212
|
-
}[];
|
|
213
|
-
periodCanSpend?: {
|
|
214
|
-
denom?: string;
|
|
215
|
-
amount?: string;
|
|
216
|
-
}[];
|
|
217
|
-
periodReset?: Date | undefined;
|
|
218
|
-
} & {
|
|
219
|
-
basic?: {
|
|
220
|
-
spendLimit?: {
|
|
221
|
-
denom?: string;
|
|
222
|
-
amount?: string;
|
|
223
|
-
}[];
|
|
224
|
-
expiration?: Date | undefined;
|
|
225
|
-
} & {
|
|
226
|
-
spendLimit?: {
|
|
227
|
-
denom?: string;
|
|
228
|
-
amount?: string;
|
|
229
|
-
}[] & ({
|
|
230
|
-
denom?: string;
|
|
231
|
-
amount?: string;
|
|
232
|
-
} & {
|
|
233
|
-
denom?: string;
|
|
234
|
-
amount?: string;
|
|
235
|
-
} & { [K_9 in Exclude<keyof I_1["basic"]["spendLimit"][number], keyof Coin>]: never; })[] & { [K_10 in Exclude<keyof I_1["basic"]["spendLimit"], keyof {
|
|
236
|
-
denom?: string;
|
|
237
|
-
amount?: string;
|
|
238
|
-
}[]>]: never; };
|
|
239
|
-
expiration?: Date | undefined;
|
|
240
|
-
} & { [K_11 in Exclude<keyof I_1["basic"], keyof BasicAllowance>]: never; };
|
|
241
|
-
period?: {
|
|
242
|
-
seconds?: number;
|
|
243
|
-
nanos?: number;
|
|
244
|
-
} & {
|
|
245
|
-
seconds?: number;
|
|
246
|
-
nanos?: number;
|
|
247
|
-
} & { [K_12 in Exclude<keyof I_1["period"], keyof Duration>]: never; };
|
|
248
|
-
periodSpendLimit?: {
|
|
249
|
-
denom?: string;
|
|
250
|
-
amount?: string;
|
|
251
|
-
}[] & ({
|
|
252
|
-
denom?: string;
|
|
253
|
-
amount?: string;
|
|
254
|
-
} & {
|
|
255
|
-
denom?: string;
|
|
256
|
-
amount?: string;
|
|
257
|
-
} & { [K_13 in Exclude<keyof I_1["periodSpendLimit"][number], keyof Coin>]: never; })[] & { [K_14 in Exclude<keyof I_1["periodSpendLimit"], keyof {
|
|
258
|
-
denom?: string;
|
|
259
|
-
amount?: string;
|
|
260
|
-
}[]>]: never; };
|
|
261
|
-
periodCanSpend?: {
|
|
262
|
-
denom?: string;
|
|
263
|
-
amount?: string;
|
|
264
|
-
}[] & ({
|
|
265
|
-
denom?: string;
|
|
266
|
-
amount?: string;
|
|
267
|
-
} & {
|
|
268
|
-
denom?: string;
|
|
269
|
-
amount?: string;
|
|
270
|
-
} & { [K_15 in Exclude<keyof I_1["periodCanSpend"][number], keyof Coin>]: never; })[] & { [K_16 in Exclude<keyof I_1["periodCanSpend"], keyof {
|
|
271
|
-
denom?: string;
|
|
272
|
-
amount?: string;
|
|
273
|
-
}[]>]: never; };
|
|
274
|
-
periodReset?: Date | undefined;
|
|
275
|
-
} & { [K_17 in Exclude<keyof I_1, keyof PeriodicAllowance>]: never; }>(object: I_1): PeriodicAllowance;
|
|
276
|
-
};
|
|
277
|
-
export declare const AllowedMsgAllowance: {
|
|
278
|
-
encode(message: AllowedMsgAllowance, writer?: _m0.Writer): _m0.Writer;
|
|
279
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): AllowedMsgAllowance;
|
|
280
|
-
fromJSON(object: any): AllowedMsgAllowance;
|
|
281
|
-
toJSON(message: AllowedMsgAllowance): unknown;
|
|
282
|
-
create<I extends {
|
|
283
|
-
allowance?: {
|
|
284
|
-
typeUrl?: string;
|
|
285
|
-
value?: Uint8Array;
|
|
286
|
-
};
|
|
287
|
-
allowedMessages?: string[];
|
|
288
|
-
} & {
|
|
289
|
-
allowance?: {
|
|
290
|
-
typeUrl?: string;
|
|
291
|
-
value?: Uint8Array;
|
|
292
|
-
} & {
|
|
293
|
-
typeUrl?: string;
|
|
294
|
-
value?: Uint8Array;
|
|
295
|
-
} & { [K in Exclude<keyof I["allowance"], keyof Any>]: never; };
|
|
296
|
-
allowedMessages?: string[] & string[] & { [K_1 in Exclude<keyof I["allowedMessages"], keyof string[]>]: never; };
|
|
297
|
-
} & { [K_2 in Exclude<keyof I, keyof AllowedMsgAllowance>]: never; }>(base?: I): AllowedMsgAllowance;
|
|
298
|
-
fromPartial<I_1 extends {
|
|
299
|
-
allowance?: {
|
|
300
|
-
typeUrl?: string;
|
|
301
|
-
value?: Uint8Array;
|
|
302
|
-
};
|
|
303
|
-
allowedMessages?: string[];
|
|
304
|
-
} & {
|
|
305
|
-
allowance?: {
|
|
306
|
-
typeUrl?: string;
|
|
307
|
-
value?: Uint8Array;
|
|
308
|
-
} & {
|
|
309
|
-
typeUrl?: string;
|
|
310
|
-
value?: Uint8Array;
|
|
311
|
-
} & { [K_3 in Exclude<keyof I_1["allowance"], keyof Any>]: never; };
|
|
312
|
-
allowedMessages?: string[] & string[] & { [K_4 in Exclude<keyof I_1["allowedMessages"], keyof string[]>]: never; };
|
|
313
|
-
} & { [K_5 in Exclude<keyof I_1, keyof AllowedMsgAllowance>]: never; }>(object: I_1): AllowedMsgAllowance;
|
|
314
|
-
};
|
|
315
|
-
export declare const Grant: {
|
|
316
|
-
encode(message: Grant, writer?: _m0.Writer): _m0.Writer;
|
|
317
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Grant;
|
|
318
|
-
fromJSON(object: any): Grant;
|
|
319
|
-
toJSON(message: Grant): unknown;
|
|
320
|
-
create<I extends {
|
|
321
|
-
granter?: string;
|
|
322
|
-
grantee?: string;
|
|
323
|
-
allowance?: {
|
|
324
|
-
typeUrl?: string;
|
|
325
|
-
value?: Uint8Array;
|
|
326
|
-
};
|
|
327
|
-
} & {
|
|
328
|
-
granter?: string;
|
|
329
|
-
grantee?: string;
|
|
330
|
-
allowance?: {
|
|
331
|
-
typeUrl?: string;
|
|
332
|
-
value?: Uint8Array;
|
|
333
|
-
} & {
|
|
334
|
-
typeUrl?: string;
|
|
335
|
-
value?: Uint8Array;
|
|
336
|
-
} & { [K in Exclude<keyof I["allowance"], keyof Any>]: never; };
|
|
337
|
-
} & { [K_1 in Exclude<keyof I, keyof Grant>]: never; }>(base?: I): Grant;
|
|
338
|
-
fromPartial<I_1 extends {
|
|
339
|
-
granter?: string;
|
|
340
|
-
grantee?: string;
|
|
341
|
-
allowance?: {
|
|
342
|
-
typeUrl?: string;
|
|
343
|
-
value?: Uint8Array;
|
|
344
|
-
};
|
|
345
|
-
} & {
|
|
346
|
-
granter?: string;
|
|
347
|
-
grantee?: string;
|
|
348
|
-
allowance?: {
|
|
349
|
-
typeUrl?: string;
|
|
350
|
-
value?: Uint8Array;
|
|
351
|
-
} & {
|
|
352
|
-
typeUrl?: string;
|
|
353
|
-
value?: Uint8Array;
|
|
354
|
-
} & { [K_2 in Exclude<keyof I_1["allowance"], keyof Any>]: never; };
|
|
355
|
-
} & { [K_3 in Exclude<keyof I_1, keyof Grant>]: never; }>(object: I_1): Grant;
|
|
356
|
-
};
|
|
357
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
358
|
-
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
359
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
360
|
-
} : Partial<T>;
|
|
361
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
362
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
363
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
364
|
-
} & {
|
|
365
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
366
|
-
};
|
|
367
|
-
export {};
|