@initia/initia.js 1.0.5 → 1.0.7
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/client/rest/APIRequester.d.ts +4 -4
- package/dist/client/rest/api/AuctionAPI.d.ts +1 -1
- package/dist/client/rest/api/AuthAPI.d.ts +3 -3
- package/dist/client/rest/api/AuthzAPI.d.ts +3 -3
- package/dist/client/rest/api/BankAPI.d.ts +5 -5
- package/dist/client/rest/api/DistributionAPI.d.ts +7 -7
- package/dist/client/rest/api/EvidenceAPI.d.ts +2 -2
- package/dist/client/rest/api/EvmAPI.d.ts +8 -8
- package/dist/client/rest/api/FeeGrantAPI.d.ts +4 -4
- package/dist/client/rest/api/ForwardingAPI.d.ts +3 -3
- package/dist/client/rest/api/GovAPI.d.ts +7 -7
- package/dist/client/rest/api/GroupAPI.d.ts +14 -14
- package/dist/client/rest/api/IbcAPI.d.ts +13 -13
- package/dist/client/rest/api/IbcHooksAPI.d.ts +3 -3
- package/dist/client/rest/api/IbcNftAPI.d.ts +5 -5
- package/dist/client/rest/api/IbcPermAPI.d.ts +2 -2
- package/dist/client/rest/api/IbcTransferAPI.d.ts +5 -5
- package/dist/client/rest/api/InterTxAPI.d.ts +2 -1
- package/dist/client/rest/api/MarketmapAPI.d.ts +5 -5
- package/dist/client/rest/api/MoveAPI.d.ts +16 -16
- package/dist/client/rest/api/MstakingAPI.d.ts +11 -11
- package/dist/client/rest/api/OpchildAPI.d.ts +7 -7
- package/dist/client/rest/api/OphostAPI.d.ts +12 -12
- package/dist/client/rest/api/OracleAPI.d.ts +2 -2
- package/dist/client/rest/api/RewardAPI.d.ts +3 -3
- package/dist/client/rest/api/SlashingAPI.d.ts +4 -4
- package/dist/client/rest/api/TendermintAPI.d.ts +5 -5
- package/dist/client/rest/api/TokenfactoryAPI.d.ts +4 -4
- package/dist/client/rest/api/TxAPI.d.ts +10 -10
- package/dist/client/rest/api/UpgradeAPI.d.ts +3 -3
- package/dist/client/rest/api/WasmAPI.d.ts +11 -11
- package/dist/core/authz/authorizations/ExecuteAuthorization.d.ts +1 -1
- package/dist/core/bank/msgs/MsgMultiSend.d.ts +2 -2
- package/dist/core/evm/EvmParams.d.ts +2 -2
- package/dist/core/evm/msgs/MsgCall.d.ts +1 -1
- package/dist/core/evm/msgs/MsgCreate.d.ts +1 -1
- package/dist/core/evm/msgs/MsgCreate2.d.ts +1 -1
- package/dist/core/gov/Deposit.d.ts +1 -1
- package/dist/core/gov/GovParams.d.ts +3 -3
- package/dist/core/gov/msgs/MsgDeposit.d.ts +1 -1
- package/dist/core/gov/msgs/MsgVoteWeightedLegacy.d.ts +1 -1
- package/dist/core/gov/proposals/Proposal.d.ts +1 -1
- package/dist/core/group/msgs/MsgCreateGroup.d.ts +1 -1
- package/dist/core/group/msgs/MsgCreateGroupWithPolicy.d.ts +1 -1
- package/dist/core/group/msgs/MsgUpdateGroupMembers.d.ts +1 -1
- package/dist/core/move/MoveParams.d.ts +1 -1
- package/dist/core/mstaking/msgs/MsgBeginRedelegate.d.ts +1 -1
- package/dist/core/mstaking/msgs/MsgCancelUnbondingDelegation.d.ts +1 -1
- package/dist/core/mstaking/msgs/MsgCreateValidator.d.ts +1 -1
- package/dist/core/mstaking/msgs/MsgDelegate.d.ts +1 -1
- package/dist/core/mstaking/msgs/MsgUndelegate.d.ts +1 -1
- package/dist/core/opchild/OpchildParams.d.ts +2 -2
- package/dist/core/opchild/msgs/MsgSpendFeePool.d.ts +1 -1
- package/dist/core/ophost/OphostParams.d.ts +1 -1
- package/dist/core/params/proposals/ParameterChangeProposal.d.ts +1 -1
- package/dist/core/wasm/authorizations/ContractExecutionAuthorization.d.ts +1 -1
- package/dist/core/wasm/authorizations/ContractMigrationAuthorization.d.ts +1 -1
- package/dist/core/wasm/authorizations/StoreCodeAuthorization.d.ts +1 -1
- package/dist/index.cjs +6 -6
- package/dist/index.mjs +6463 -6257
- package/package.json +1 -1
|
@@ -61,18 +61,18 @@ export declare namespace CodeInfo {
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
export declare class WasmAPI extends BaseAPI {
|
|
64
|
-
contractInfo(address: AccAddress, params?: APIParams): Promise<ContractInfo>;
|
|
65
|
-
contractHistory(address: AccAddress, params?: Partial<PaginationOptions & APIParams>): Promise<[ContractCodeHistoryEntry[], Pagination]>;
|
|
66
|
-
contractsByCode(code_id: number, params?: Partial<PaginationOptions & APIParams>): Promise<[string[], Pagination]>;
|
|
67
|
-
allContractState(address: AccAddress, params?: Partial<PaginationOptions & APIParams>): Promise<[Model[], Pagination]>;
|
|
68
|
-
rawContractState(address: AccAddress, query_data: string, params?: APIParams): Promise<string>;
|
|
69
|
-
smartContractState<T>(address: AccAddress, query_data: string, params?: APIParams): Promise<T>;
|
|
70
|
-
codeInfos(params?: Partial<PaginationOptions & APIParams>): Promise<[CodeInfo[], Pagination]>;
|
|
71
|
-
codeInfo(code_id: number, params?: APIParams): Promise<{
|
|
64
|
+
contractInfo(address: AccAddress, params?: APIParams, headers?: Record<string, string>): Promise<ContractInfo>;
|
|
65
|
+
contractHistory(address: AccAddress, params?: Partial<PaginationOptions & APIParams>, headers?: Record<string, string>): Promise<[ContractCodeHistoryEntry[], Pagination]>;
|
|
66
|
+
contractsByCode(code_id: number, params?: Partial<PaginationOptions & APIParams>, headers?: Record<string, string>): Promise<[string[], Pagination]>;
|
|
67
|
+
allContractState(address: AccAddress, params?: Partial<PaginationOptions & APIParams>, headers?: Record<string, string>): Promise<[Model[], Pagination]>;
|
|
68
|
+
rawContractState(address: AccAddress, query_data: string, params?: APIParams, headers?: Record<string, string>): Promise<string>;
|
|
69
|
+
smartContractState<T>(address: AccAddress, query_data: string, params?: APIParams, headers?: Record<string, string>): Promise<T>;
|
|
70
|
+
codeInfos(params?: Partial<PaginationOptions & APIParams>, headers?: Record<string, string>): Promise<[CodeInfo[], Pagination]>;
|
|
71
|
+
codeInfo(code_id: number, params?: APIParams, headers?: Record<string, string>): Promise<{
|
|
72
72
|
code_info: CodeInfo;
|
|
73
73
|
data: string;
|
|
74
74
|
}>;
|
|
75
|
-
pinnedCodes(params?: Partial<PaginationOptions & APIParams>): Promise<[number[], Pagination]>;
|
|
76
|
-
parameters(params?: APIParams): Promise<WasmParams>;
|
|
77
|
-
contractsByCreator(creator: AccAddress, params?: Partial<PaginationOptions & APIParams>): Promise<[string[], Pagination]>;
|
|
75
|
+
pinnedCodes(params?: Partial<PaginationOptions & APIParams>, headers?: Record<string, string>): Promise<[number[], Pagination]>;
|
|
76
|
+
parameters(params?: APIParams, headers?: Record<string, string>): Promise<WasmParams>;
|
|
77
|
+
contractsByCreator(creator: AccAddress, params?: Partial<PaginationOptions & APIParams>, headers?: Record<string, string>): Promise<[string[], Pagination]>;
|
|
78
78
|
}
|
|
@@ -21,8 +21,8 @@ export declare namespace MsgMultiSend {
|
|
|
21
21
|
interface Amino {
|
|
22
22
|
readonly type: 'cosmos-sdk/MsgMultiSend';
|
|
23
23
|
value: {
|
|
24
|
-
inputs: Input.Amino[];
|
|
25
|
-
outputs: Output.Amino[];
|
|
24
|
+
inputs: Input.Amino[] | null;
|
|
25
|
+
outputs: Output.Amino[] | null;
|
|
26
26
|
};
|
|
27
27
|
}
|
|
28
28
|
interface Data {
|
|
@@ -19,9 +19,9 @@ export declare class EvmParams extends JSONSerializable<EvmParams.Amino, EvmPara
|
|
|
19
19
|
export declare namespace EvmParams {
|
|
20
20
|
interface Amino {
|
|
21
21
|
extra_eips: string[];
|
|
22
|
-
allowed_publishers: string[];
|
|
22
|
+
allowed_publishers: string[] | null;
|
|
23
23
|
allow_custom_erc20: boolean;
|
|
24
|
-
allowed_custom_erc20s: string[];
|
|
24
|
+
allowed_custom_erc20s: string[] | null;
|
|
25
25
|
fee_denom: string;
|
|
26
26
|
gas_refund_ratio: string;
|
|
27
27
|
num_retain_block_hashes: string;
|
|
@@ -35,7 +35,7 @@ export declare class GovParams extends JSONSerializable<GovParams.Amino, GovPara
|
|
|
35
35
|
}
|
|
36
36
|
export declare namespace GovParams {
|
|
37
37
|
interface Amino {
|
|
38
|
-
min_deposit: Coins.Amino;
|
|
38
|
+
min_deposit: Coins.Amino | null;
|
|
39
39
|
max_deposit_period: Duration.Amino;
|
|
40
40
|
voting_period: Duration.Amino;
|
|
41
41
|
quorum: string;
|
|
@@ -46,12 +46,12 @@ export declare namespace GovParams {
|
|
|
46
46
|
proposal_cancel_dest: AccAddress;
|
|
47
47
|
expedited_voting_period: Duration.Amino;
|
|
48
48
|
expedited_threshold: string;
|
|
49
|
-
expedited_min_deposit: Coins.Amino;
|
|
49
|
+
expedited_min_deposit: Coins.Amino | null;
|
|
50
50
|
burn_vote_quorum: boolean;
|
|
51
51
|
burn_proposal_deposit_prevote: boolean;
|
|
52
52
|
burn_vote_veto: boolean;
|
|
53
53
|
min_deposit_ratio: string;
|
|
54
|
-
emergency_min_deposit: Coins.Amino;
|
|
54
|
+
emergency_min_deposit: Coins.Amino | null;
|
|
55
55
|
emergency_tally_interval: Duration.Amino;
|
|
56
56
|
low_threshold_functions: string[];
|
|
57
57
|
vesting?: Vesting.Amino;
|
|
@@ -42,7 +42,7 @@ export declare namespace Proposal {
|
|
|
42
42
|
final_tally_result: TallyResult.Amino;
|
|
43
43
|
submit_time: string;
|
|
44
44
|
deposit_end_time: string;
|
|
45
|
-
total_deposit: Coins.Amino;
|
|
45
|
+
total_deposit: Coins.Amino | null;
|
|
46
46
|
voting_start_time: string;
|
|
47
47
|
voting_end_time: string;
|
|
48
48
|
emergency_start_time: string;
|
|
@@ -26,7 +26,7 @@ export declare namespace MsgCreateGroupWithPolicy {
|
|
|
26
26
|
type: 'cosmos-sdk/MsgCreateGroupWithPolicy';
|
|
27
27
|
value: {
|
|
28
28
|
admin: AccAddress;
|
|
29
|
-
members: MemberRequest.Amino[];
|
|
29
|
+
members: MemberRequest.Amino[] | null;
|
|
30
30
|
group_metadata: string;
|
|
31
31
|
group_policy_metadata: string;
|
|
32
32
|
group_policy_as_admin: boolean;
|
|
@@ -25,9 +25,9 @@ export declare namespace OpchildParams {
|
|
|
25
25
|
max_validators: number;
|
|
26
26
|
historical_entries: number;
|
|
27
27
|
min_gas_prices: Coins.Amino;
|
|
28
|
-
bridge_executors: AccAddress[];
|
|
28
|
+
bridge_executors: AccAddress[] | null;
|
|
29
29
|
admin: AccAddress;
|
|
30
|
-
fee_whitelist: string[];
|
|
30
|
+
fee_whitelist: string[] | null;
|
|
31
31
|
hook_max_gas: string;
|
|
32
32
|
};
|
|
33
33
|
}
|