@sparkdreamnft/sparkdreamjs 0.0.44 → 0.0.46
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/akash/bundle.d.ts +134 -134
- package/akash/bundle.js +150 -150
- package/cosmos/bundle.d.ts +160 -160
- package/cosmos/bundle.js +182 -182
- package/esm/akash/bundle.js +150 -150
- package/esm/cosmos/bundle.js +182 -182
- package/esm/ibc/bundle.js +116 -116
- package/esm/nested-amino.js +6 -4
- package/esm/sparkdream/artifact/v1/genesis.js +217 -3
- package/esm/sparkdream/artifact/v1/params.js +146 -2
- package/esm/sparkdream/artifact/v1/query.js +3767 -5
- package/esm/sparkdream/artifact/v1/query.lcd.js +173 -0
- package/esm/sparkdream/artifact/v1/query.rpc.Query.js +195 -1
- package/esm/sparkdream/artifact/v1/tx.amino.js +324 -5
- package/esm/sparkdream/artifact/v1/tx.js +7498 -5
- package/esm/sparkdream/artifact/v1/tx.registry.js +704 -2
- package/esm/sparkdream/artifact/v1/tx.rpc.msg.js +241 -1
- package/esm/sparkdream/artifact/v1/types.js +4312 -1120
- package/esm/sparkdream/blog/v1/tx.amino.js +21 -1
- package/esm/sparkdream/bundle.js +329 -291
- package/esm/sparkdream/client.js +5 -2
- package/esm/sparkdream/collect/v1/tx.amino.js +16 -1
- package/esm/sparkdream/commons/v1/tx.amino.js +33 -1
- package/esm/sparkdream/commons/v1/tx.js +25 -1
- package/esm/sparkdream/federation/v1/tx.amino.js +51 -1
- package/esm/sparkdream/forum/v1/tx.amino.js +21 -1
- package/esm/sparkdream/guardian/v1/tx.amino.js +33 -3
- package/esm/sparkdream/lcd.js +5 -0
- package/esm/sparkdream/name/v1/genesis.js +32 -2
- package/esm/sparkdream/rep/v1/genesis.js +74 -1
- package/esm/sparkdream/rep/v1/member.js +110 -1
- package/esm/sparkdream/rep/v1/migration.js +957 -0
- package/esm/sparkdream/rep/v1/params.js +193 -1
- package/esm/sparkdream/rep/v1/query.js +1060 -0
- package/esm/sparkdream/rep/v1/query.lcd.js +48 -0
- package/esm/sparkdream/rep/v1/query.rpc.Query.js +65 -1
- package/esm/sparkdream/rep/v1/tx.amino.js +71 -1
- package/esm/sparkdream/rep/v1/tx.js +1886 -1
- package/esm/sparkdream/rep/v1/tx.registry.js +218 -2
- package/esm/sparkdream/rep/v1/tx.rpc.msg.js +75 -1
- package/esm/sparkdream/rpc.query.js +3 -0
- package/esm/sparkdream/rpc.tx.js +3 -0
- package/esm/sparkdream/season/v1/tx.amino.js +64 -2
- package/esm/sparkdream/season/v1/tx.js +33 -2
- package/esm/sparkdream/service/v1/operator.js +25 -1
- package/esm/sparkdream/service/v1/tx.amino.js +6 -1
- package/esm/sparkdream/service/v1/tx.js +163 -0
- package/esm/sparkdream/service/v1/tx.registry.js +20 -2
- package/esm/sparkdream/service/v1/tx.rpc.msg.js +11 -1
- package/esm/sparkdream/session/v1/grant.js +98 -6
- package/esm/sparkdream/session/v1/tx.amino.js +3 -0
- package/esm/sparkdream/session/v1/tx.js +53 -5
- package/esm/sparkdream/session/v1/tx.rpc.msg.js +2 -2
- package/esm/sparkdream/shield/v1/genesis.js +32 -2
- package/esm/sparkdream/shield/v1/params.js +13 -1
- package/esm/sparkdream/shield/v1/query.js +13 -1
- package/esm/sparkdream/shield/v1/types.js +414 -15
- package/esm/sparkdream/vault/module/v1/module.js +71 -0
- package/esm/sparkdream/vault/v1/genesis.js +104 -0
- package/esm/sparkdream/vault/v1/params.js +90 -0
- package/esm/sparkdream/vault/v1/query.js +1535 -0
- package/esm/sparkdream/vault/v1/query.lcd.js +100 -0
- package/esm/sparkdream/vault/v1/query.rpc.Query.js +111 -0
- package/esm/sparkdream/vault/v1/tx.amino.js +111 -0
- package/esm/sparkdream/vault/v1/tx.js +1393 -0
- package/esm/sparkdream/vault/v1/tx.registry.js +159 -0
- package/esm/sparkdream/vault/v1/tx.rpc.msg.js +60 -0
- package/esm/sparkdream/vault/v1/vault.js +163 -0
- package/esm/sparkdream/vault/v1/vault_proposal.js +277 -0
- package/esm/sparkdream/vault/v1/vault_signer.js +85 -0
- package/esm/tendermint/bundle.js +20 -20
- package/ibc/bundle.d.ts +99 -99
- package/ibc/bundle.js +116 -116
- package/nested-amino.d.ts +3 -2
- package/nested-amino.js +6 -4
- package/package.json +1 -13
- package/sparkdream/artifact/v1/genesis.d.ts +37 -4
- package/sparkdream/artifact/v1/genesis.js +216 -2
- package/sparkdream/artifact/v1/params.d.ts +92 -0
- package/sparkdream/artifact/v1/params.js +146 -2
- package/sparkdream/artifact/v1/query.d.ts +2373 -168
- package/sparkdream/artifact/v1/query.js +3768 -5
- package/sparkdream/artifact/v1/query.lcd.d.ts +22 -1
- package/sparkdream/artifact/v1/query.lcd.js +173 -0
- package/sparkdream/artifact/v1/query.rpc.Query.d.ts +98 -1
- package/sparkdream/artifact/v1/query.rpc.Query.js +194 -0
- package/sparkdream/artifact/v1/tx.amino.d.ts +200 -5
- package/sparkdream/artifact/v1/tx.amino.js +324 -5
- package/sparkdream/artifact/v1/tx.d.ts +5188 -930
- package/sparkdream/artifact/v1/tx.js +7499 -5
- package/sparkdream/artifact/v1/tx.registry.d.ts +469 -1
- package/sparkdream/artifact/v1/tx.registry.js +703 -1
- package/sparkdream/artifact/v1/tx.rpc.msg.d.ts +136 -1
- package/sparkdream/artifact/v1/tx.rpc.msg.js +240 -0
- package/sparkdream/artifact/v1/types.d.ts +1797 -25
- package/sparkdream/artifact/v1/types.js +4322 -1121
- package/sparkdream/blog/v1/tx.amino.d.ts +21 -1
- package/sparkdream/blog/v1/tx.amino.js +20 -0
- package/sparkdream/bundle.d.ts +13721 -9493
- package/sparkdream/bundle.js +329 -291
- package/sparkdream/client.d.ts +394 -9
- package/sparkdream/client.js +5 -2
- package/sparkdream/collect/v1/tx.amino.d.ts +16 -1
- package/sparkdream/collect/v1/tx.amino.js +15 -0
- package/sparkdream/commons/v1/tx.amino.d.ts +21 -1
- package/sparkdream/commons/v1/tx.amino.js +32 -0
- package/sparkdream/commons/v1/tx.d.ts +18 -0
- package/sparkdream/commons/v1/tx.js +25 -1
- package/sparkdream/federation/v1/tx.amino.d.ts +1 -1
- package/sparkdream/federation/v1/tx.amino.js +52 -2
- package/sparkdream/forum/v1/tx.amino.d.ts +21 -1
- package/sparkdream/forum/v1/tx.amino.js +20 -0
- package/sparkdream/guardian/v1/tx.amino.d.ts +3 -3
- package/sparkdream/guardian/v1/tx.amino.js +36 -5
- package/sparkdream/lcd.d.ts +3 -0
- package/sparkdream/lcd.js +5 -0
- package/sparkdream/name/v1/genesis.d.ts +23 -1
- package/sparkdream/name/v1/genesis.js +31 -1
- package/sparkdream/rep/v1/genesis.d.ts +19 -0
- package/sparkdream/rep/v1/genesis.js +74 -1
- package/sparkdream/rep/v1/member.d.ts +92 -0
- package/sparkdream/rep/v1/member.js +110 -1
- package/sparkdream/rep/v1/migration.d.ts +587 -0
- package/sparkdream/rep/v1/migration.js +964 -0
- package/sparkdream/rep/v1/params.d.ts +190 -0
- package/sparkdream/rep/v1/params.js +193 -1
- package/sparkdream/rep/v1/query.d.ts +679 -0
- package/sparkdream/rep/v1/query.js +1061 -1
- package/sparkdream/rep/v1/query.lcd.d.ts +8 -1
- package/sparkdream/rep/v1/query.lcd.js +48 -0
- package/sparkdream/rep/v1/query.rpc.Query.d.ts +32 -1
- package/sparkdream/rep/v1/query.rpc.Query.js +64 -0
- package/sparkdream/rep/v1/tx.amino.d.ts +71 -1
- package/sparkdream/rep/v1/tx.amino.js +70 -0
- package/sparkdream/rep/v1/tx.d.ts +1278 -0
- package/sparkdream/rep/v1/tx.js +1887 -2
- package/sparkdream/rep/v1/tx.registry.d.ts +145 -1
- package/sparkdream/rep/v1/tx.registry.js +217 -1
- package/sparkdream/rep/v1/tx.rpc.msg.d.ts +41 -1
- package/sparkdream/rep/v1/tx.rpc.msg.js +74 -0
- package/sparkdream/rpc.query.d.ts +42 -0
- package/sparkdream/rpc.query.js +3 -0
- package/sparkdream/rpc.tx.d.ts +3 -0
- package/sparkdream/rpc.tx.js +3 -0
- package/sparkdream/season/v1/tx.amino.d.ts +2 -2
- package/sparkdream/season/v1/tx.amino.js +65 -3
- package/sparkdream/season/v1/tx.d.ts +19 -0
- package/sparkdream/season/v1/tx.js +33 -2
- package/sparkdream/service/v1/operator.d.ts +30 -0
- package/sparkdream/service/v1/operator.js +25 -1
- package/sparkdream/service/v1/tx.amino.d.ts +6 -1
- package/sparkdream/service/v1/tx.amino.js +5 -0
- package/sparkdream/service/v1/tx.d.ts +119 -0
- package/sparkdream/service/v1/tx.js +164 -1
- package/sparkdream/service/v1/tx.registry.d.ts +13 -1
- package/sparkdream/service/v1/tx.registry.js +19 -1
- package/sparkdream/service/v1/tx.rpc.msg.d.ts +10 -1
- package/sparkdream/service/v1/tx.rpc.msg.js +10 -0
- package/sparkdream/session/v1/grant.d.ts +75 -7
- package/sparkdream/session/v1/grant.js +99 -7
- package/sparkdream/session/v1/tx.amino.js +3 -0
- package/sparkdream/session/v1/tx.d.ts +36 -4
- package/sparkdream/session/v1/tx.js +52 -4
- package/sparkdream/session/v1/tx.rpc.msg.d.ts +2 -2
- package/sparkdream/session/v1/tx.rpc.msg.js +2 -2
- package/sparkdream/shield/v1/genesis.d.ts +17 -1
- package/sparkdream/shield/v1/genesis.js +31 -1
- package/sparkdream/shield/v1/params.d.ts +16 -4
- package/sparkdream/shield/v1/params.js +13 -1
- package/sparkdream/shield/v1/query.d.ts +8 -0
- package/sparkdream/shield/v1/query.js +13 -1
- package/sparkdream/shield/v1/tx.d.ts +36 -10
- package/sparkdream/shield/v1/types.d.ts +294 -13
- package/sparkdream/shield/v1/types.js +415 -16
- package/sparkdream/vault/module/v1/module.d.ts +54 -0
- package/sparkdream/vault/module/v1/module.js +74 -0
- package/sparkdream/vault/v1/genesis.d.ts +59 -0
- package/sparkdream/vault/v1/genesis.js +107 -0
- package/sparkdream/vault/v1/params.d.ts +68 -0
- package/sparkdream/vault/v1/params.js +93 -0
- package/sparkdream/vault/v1/query.d.ts +935 -0
- package/sparkdream/vault/v1/query.js +1538 -0
- package/sparkdream/vault/v1/query.lcd.d.ts +18 -0
- package/sparkdream/vault/v1/query.lcd.js +104 -0
- package/sparkdream/vault/v1/query.rpc.Query.d.ts +56 -0
- package/sparkdream/vault/v1/query.rpc.Query.js +116 -0
- package/sparkdream/vault/v1/tx.amino.d.ts +44 -0
- package/sparkdream/vault/v1/tx.amino.js +115 -0
- package/sparkdream/vault/v1/tx.d.ts +826 -0
- package/sparkdream/vault/v1/tx.js +1399 -0
- package/sparkdream/vault/v1/tx.registry.d.ts +109 -0
- package/sparkdream/vault/v1/tx.registry.js +163 -0
- package/sparkdream/vault/v1/tx.rpc.msg.d.ts +37 -0
- package/sparkdream/vault/v1/tx.rpc.msg.js +65 -0
- package/sparkdream/vault/v1/vault.d.ts +117 -0
- package/sparkdream/vault/v1/vault.js +166 -0
- package/sparkdream/vault/v1/vault_proposal.d.ts +158 -0
- package/sparkdream/vault/v1/vault_proposal.js +285 -0
- package/sparkdream/vault/v1/vault_signer.d.ts +54 -0
- package/sparkdream/vault/v1/vault_signer.js +88 -0
- package/tendermint/bundle.d.ts +844 -844
- package/tendermint/bundle.js +20 -20
|
@@ -0,0 +1,587 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
2
|
+
import { DeepPartial } from "../../../helpers";
|
|
3
|
+
/**
|
|
4
|
+
* MigrationPath is how a member migration was authorized. Precedence is
|
|
5
|
+
* RECOVERY > COUNCIL > KEY: opening a higher-precedence migration for a
|
|
6
|
+
* member cancels any pending lower-precedence one.
|
|
7
|
+
*/
|
|
8
|
+
export declare enum MigrationPath {
|
|
9
|
+
MIGRATION_PATH_UNSPECIFIED = 0,
|
|
10
|
+
/**
|
|
11
|
+
* MIGRATION_PATH_KEY - KEY: the old address signed the request. The cheap routine path, subject
|
|
12
|
+
* to the cooldown, the rolling window cap and the open-report block. Can
|
|
13
|
+
* be switched off by governance (key_path_enabled) if the account
|
|
14
|
+
* signature scheme is considered broken.
|
|
15
|
+
*/
|
|
16
|
+
MIGRATION_PATH_KEY = 1,
|
|
17
|
+
/**
|
|
18
|
+
* MIGRATION_PATH_RECOVERY - RECOVERY: a pre-registered SHA-256 commitment was revealed. Relies on
|
|
19
|
+
* nothing signed by the old address, so it survives a signature-scheme
|
|
20
|
+
* break and outranks a thief holding the old key.
|
|
21
|
+
*/
|
|
22
|
+
MIGRATION_PATH_RECOVERY = 2,
|
|
23
|
+
/**
|
|
24
|
+
* MIGRATION_PATH_COUNCIL - COUNCIL: the Commons HR committee (or x/gov) forced the migration on
|
|
25
|
+
* off-chain evidence; the old address may object to a jury.
|
|
26
|
+
*/
|
|
27
|
+
MIGRATION_PATH_COUNCIL = 3,
|
|
28
|
+
UNRECOGNIZED = -1
|
|
29
|
+
}
|
|
30
|
+
export declare const MigrationPathAmino: typeof MigrationPath;
|
|
31
|
+
export declare function migrationPathFromJSON(object: any): MigrationPath;
|
|
32
|
+
export declare function migrationPathToJSON(object: MigrationPath): string;
|
|
33
|
+
/** MigrationStatus is the lifecycle of a MemberMigration. */
|
|
34
|
+
export declare enum MigrationStatus {
|
|
35
|
+
MIGRATION_STATUS_UNSPECIFIED = 0,
|
|
36
|
+
/**
|
|
37
|
+
* MIGRATION_STATUS_REQUESTED - REQUESTED: created, waiting for the new address to accept within
|
|
38
|
+
* migration_accept_window.
|
|
39
|
+
*/
|
|
40
|
+
MIGRATION_STATUS_REQUESTED = 1,
|
|
41
|
+
/**
|
|
42
|
+
* MIGRATION_STATUS_ACCEPTED - ACCEPTED: the new address accepted; executes_at is set and the
|
|
43
|
+
* migration sits in the EndBlocker queue.
|
|
44
|
+
*/
|
|
45
|
+
MIGRATION_STATUS_ACCEPTED = 2,
|
|
46
|
+
/**
|
|
47
|
+
* MIGRATION_STATUS_OBJECTED - OBJECTED: (COUNCIL path) the old address objected during the delay and
|
|
48
|
+
* a jury review decides. The queue entry is removed until the verdict.
|
|
49
|
+
*/
|
|
50
|
+
MIGRATION_STATUS_OBJECTED = 3,
|
|
51
|
+
/** MIGRATION_STATUS_FINALIZED - FINALIZED: the identity moved; the old address is a tombstone. */
|
|
52
|
+
MIGRATION_STATUS_FINALIZED = 4,
|
|
53
|
+
/**
|
|
54
|
+
* MIGRATION_STATUS_CANCELLED - CANCELLED: cancelled by a party, by precedence, by a jury verdict, or at
|
|
55
|
+
* finalization because the member was zeroed during the delay.
|
|
56
|
+
*/
|
|
57
|
+
MIGRATION_STATUS_CANCELLED = 5,
|
|
58
|
+
/** MIGRATION_STATUS_EXPIRED - EXPIRED: the new address never accepted within the window. */
|
|
59
|
+
MIGRATION_STATUS_EXPIRED = 6,
|
|
60
|
+
/**
|
|
61
|
+
* MIGRATION_STATUS_FAILED - FAILED: finalization raised an error (a hook veto or a re-key failure);
|
|
62
|
+
* the chain did not halt and nothing moved. failure_reason says why.
|
|
63
|
+
*/
|
|
64
|
+
MIGRATION_STATUS_FAILED = 7,
|
|
65
|
+
UNRECOGNIZED = -1
|
|
66
|
+
}
|
|
67
|
+
export declare const MigrationStatusAmino: typeof MigrationStatus;
|
|
68
|
+
export declare function migrationStatusFromJSON(object: any): MigrationStatus;
|
|
69
|
+
export declare function migrationStatusToJSON(object: MigrationStatus): string;
|
|
70
|
+
/**
|
|
71
|
+
* MemberMigration moves a member identity from from_address to to_address.
|
|
72
|
+
* @name MemberMigration
|
|
73
|
+
* @package sparkdream.rep.v1
|
|
74
|
+
* @see proto type: sparkdream.rep.v1.MemberMigration
|
|
75
|
+
*/
|
|
76
|
+
export interface MemberMigration {
|
|
77
|
+
id: bigint;
|
|
78
|
+
fromAddress: string;
|
|
79
|
+
toAddress: string;
|
|
80
|
+
path: MigrationPath;
|
|
81
|
+
status: MigrationStatus;
|
|
82
|
+
/**
|
|
83
|
+
* requested_at is the block time of the request / reveal / force.
|
|
84
|
+
*/
|
|
85
|
+
requestedAt: bigint;
|
|
86
|
+
/**
|
|
87
|
+
* accepted_at is the block time of MsgAcceptMigration (0 until then).
|
|
88
|
+
*/
|
|
89
|
+
acceptedAt: bigint;
|
|
90
|
+
/**
|
|
91
|
+
* executes_at = accepted_at + the path's delay. Set on accept.
|
|
92
|
+
*/
|
|
93
|
+
executesAt: bigint;
|
|
94
|
+
/**
|
|
95
|
+
* jury_review_id is the x/rep jury review opened by an objection
|
|
96
|
+
* (COUNCIL path only; 0 otherwise).
|
|
97
|
+
*/
|
|
98
|
+
juryReviewId: bigint;
|
|
99
|
+
/**
|
|
100
|
+
* evidence_uri references the off-chain evidence a COUNCIL migration was
|
|
101
|
+
* filed on (inviter attestation, guild officers' statements, ...).
|
|
102
|
+
*/
|
|
103
|
+
evidenceUri: string;
|
|
104
|
+
/**
|
|
105
|
+
* objector is the address that posted the objection bond (COUNCIL path).
|
|
106
|
+
*/
|
|
107
|
+
objector: string;
|
|
108
|
+
/**
|
|
109
|
+
* objection_bond is the SPARK bond held while the jury decides, as a
|
|
110
|
+
* micro-denom integer string. Paid to to_address when the migration is
|
|
111
|
+
* upheld, refunded to the objector otherwise; never burned.
|
|
112
|
+
*/
|
|
113
|
+
objectionBond: string;
|
|
114
|
+
/**
|
|
115
|
+
* failure_reason is set when status is FAILED or CANCELLED by the chain.
|
|
116
|
+
*/
|
|
117
|
+
failureReason: string;
|
|
118
|
+
/**
|
|
119
|
+
* finalized_at is the block time of finalization (0 until then).
|
|
120
|
+
*/
|
|
121
|
+
finalizedAt: bigint;
|
|
122
|
+
}
|
|
123
|
+
export interface MemberMigrationProtoMsg {
|
|
124
|
+
typeUrl: "/sparkdream.rep.v1.MemberMigration";
|
|
125
|
+
value: Uint8Array;
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* MemberMigration moves a member identity from from_address to to_address.
|
|
129
|
+
* @name MemberMigrationAmino
|
|
130
|
+
* @package sparkdream.rep.v1
|
|
131
|
+
* @see proto type: sparkdream.rep.v1.MemberMigration
|
|
132
|
+
*/
|
|
133
|
+
export interface MemberMigrationAmino {
|
|
134
|
+
id?: string;
|
|
135
|
+
from_address?: string;
|
|
136
|
+
to_address?: string;
|
|
137
|
+
path?: MigrationPath;
|
|
138
|
+
status?: MigrationStatus;
|
|
139
|
+
/**
|
|
140
|
+
* requested_at is the block time of the request / reveal / force.
|
|
141
|
+
*/
|
|
142
|
+
requested_at?: string;
|
|
143
|
+
/**
|
|
144
|
+
* accepted_at is the block time of MsgAcceptMigration (0 until then).
|
|
145
|
+
*/
|
|
146
|
+
accepted_at?: string;
|
|
147
|
+
/**
|
|
148
|
+
* executes_at = accepted_at + the path's delay. Set on accept.
|
|
149
|
+
*/
|
|
150
|
+
executes_at?: string;
|
|
151
|
+
/**
|
|
152
|
+
* jury_review_id is the x/rep jury review opened by an objection
|
|
153
|
+
* (COUNCIL path only; 0 otherwise).
|
|
154
|
+
*/
|
|
155
|
+
jury_review_id?: string;
|
|
156
|
+
/**
|
|
157
|
+
* evidence_uri references the off-chain evidence a COUNCIL migration was
|
|
158
|
+
* filed on (inviter attestation, guild officers' statements, ...).
|
|
159
|
+
*/
|
|
160
|
+
evidence_uri?: string;
|
|
161
|
+
/**
|
|
162
|
+
* objector is the address that posted the objection bond (COUNCIL path).
|
|
163
|
+
*/
|
|
164
|
+
objector?: string;
|
|
165
|
+
/**
|
|
166
|
+
* objection_bond is the SPARK bond held while the jury decides, as a
|
|
167
|
+
* micro-denom integer string. Paid to to_address when the migration is
|
|
168
|
+
* upheld, refunded to the objector otherwise; never burned.
|
|
169
|
+
*/
|
|
170
|
+
objection_bond?: string;
|
|
171
|
+
/**
|
|
172
|
+
* failure_reason is set when status is FAILED or CANCELLED by the chain.
|
|
173
|
+
*/
|
|
174
|
+
failure_reason?: string;
|
|
175
|
+
/**
|
|
176
|
+
* finalized_at is the block time of finalization (0 until then).
|
|
177
|
+
*/
|
|
178
|
+
finalized_at?: string;
|
|
179
|
+
}
|
|
180
|
+
export interface MemberMigrationAminoMsg {
|
|
181
|
+
type: "/sparkdream.rep.v1.MemberMigration";
|
|
182
|
+
value: MemberMigrationAmino;
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* Tombstone is the forward alias left behind at from_address once a
|
|
186
|
+
* migration finalizes. canonical always points at the CURRENT address: when
|
|
187
|
+
* the canonical address migrates again, every predecessor is rewritten
|
|
188
|
+
* (path compression), so one lookup is enough.
|
|
189
|
+
* @name Tombstone
|
|
190
|
+
* @package sparkdream.rep.v1
|
|
191
|
+
* @see proto type: sparkdream.rep.v1.Tombstone
|
|
192
|
+
*/
|
|
193
|
+
export interface Tombstone {
|
|
194
|
+
/**
|
|
195
|
+
* address is the tombstoned (old) address; the map key in state.
|
|
196
|
+
*/
|
|
197
|
+
address: string;
|
|
198
|
+
canonical: string;
|
|
199
|
+
/**
|
|
200
|
+
* path is the path of the migration that tombstoned this address. The
|
|
201
|
+
* ante decorator reads it: a KEY tombstone may still MsgSend, a RECOVERY
|
|
202
|
+
* or COUNCIL tombstone (presumed compromised) may not.
|
|
203
|
+
*/
|
|
204
|
+
path: MigrationPath;
|
|
205
|
+
migrationId: bigint;
|
|
206
|
+
/**
|
|
207
|
+
* finalized_epoch is the rep epoch in which this address stopped being
|
|
208
|
+
* canonical. The dedup horizon (AliasDedupHorizonEpochs) is measured from
|
|
209
|
+
* it, so it is never rewritten by a later path compression.
|
|
210
|
+
*/
|
|
211
|
+
finalizedEpoch: bigint;
|
|
212
|
+
}
|
|
213
|
+
export interface TombstoneProtoMsg {
|
|
214
|
+
typeUrl: "/sparkdream.rep.v1.Tombstone";
|
|
215
|
+
value: Uint8Array;
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* Tombstone is the forward alias left behind at from_address once a
|
|
219
|
+
* migration finalizes. canonical always points at the CURRENT address: when
|
|
220
|
+
* the canonical address migrates again, every predecessor is rewritten
|
|
221
|
+
* (path compression), so one lookup is enough.
|
|
222
|
+
* @name TombstoneAmino
|
|
223
|
+
* @package sparkdream.rep.v1
|
|
224
|
+
* @see proto type: sparkdream.rep.v1.Tombstone
|
|
225
|
+
*/
|
|
226
|
+
export interface TombstoneAmino {
|
|
227
|
+
/**
|
|
228
|
+
* address is the tombstoned (old) address; the map key in state.
|
|
229
|
+
*/
|
|
230
|
+
address?: string;
|
|
231
|
+
canonical?: string;
|
|
232
|
+
/**
|
|
233
|
+
* path is the path of the migration that tombstoned this address. The
|
|
234
|
+
* ante decorator reads it: a KEY tombstone may still MsgSend, a RECOVERY
|
|
235
|
+
* or COUNCIL tombstone (presumed compromised) may not.
|
|
236
|
+
*/
|
|
237
|
+
path?: MigrationPath;
|
|
238
|
+
migration_id?: string;
|
|
239
|
+
/**
|
|
240
|
+
* finalized_epoch is the rep epoch in which this address stopped being
|
|
241
|
+
* canonical. The dedup horizon (AliasDedupHorizonEpochs) is measured from
|
|
242
|
+
* it, so it is never rewritten by a later path compression.
|
|
243
|
+
*/
|
|
244
|
+
finalized_epoch?: string;
|
|
245
|
+
}
|
|
246
|
+
export interface TombstoneAminoMsg {
|
|
247
|
+
type: "/sparkdream.rep.v1.Tombstone";
|
|
248
|
+
value: TombstoneAmino;
|
|
249
|
+
}
|
|
250
|
+
/**
|
|
251
|
+
* RecoveryCommitment is one SHA-256 commitment to a secret preimage. A reveal
|
|
252
|
+
* of the preimage opens a RECOVERY migration without any signature from the
|
|
253
|
+
* member's account key.
|
|
254
|
+
* @name RecoveryCommitment
|
|
255
|
+
* @package sparkdream.rep.v1
|
|
256
|
+
* @see proto type: sparkdream.rep.v1.RecoveryCommitment
|
|
257
|
+
*/
|
|
258
|
+
export interface RecoveryCommitment {
|
|
259
|
+
/**
|
|
260
|
+
* commitment = SHA-256("sparkdream/recovery/commit/v1" || preimage).
|
|
261
|
+
*/
|
|
262
|
+
commitment: Uint8Array;
|
|
263
|
+
/**
|
|
264
|
+
* effective_at is the block time from which the commitment is active;
|
|
265
|
+
* 0 means active now. Every commitment set by an existing member waits out
|
|
266
|
+
* recovery_change_delay; only the one carried by MsgAcceptInvitation at
|
|
267
|
+
* onboarding is immediate.
|
|
268
|
+
*/
|
|
269
|
+
effectiveAt: bigint;
|
|
270
|
+
}
|
|
271
|
+
export interface RecoveryCommitmentProtoMsg {
|
|
272
|
+
typeUrl: "/sparkdream.rep.v1.RecoveryCommitment";
|
|
273
|
+
value: Uint8Array;
|
|
274
|
+
}
|
|
275
|
+
/**
|
|
276
|
+
* RecoveryCommitment is one SHA-256 commitment to a secret preimage. A reveal
|
|
277
|
+
* of the preimage opens a RECOVERY migration without any signature from the
|
|
278
|
+
* member's account key.
|
|
279
|
+
* @name RecoveryCommitmentAmino
|
|
280
|
+
* @package sparkdream.rep.v1
|
|
281
|
+
* @see proto type: sparkdream.rep.v1.RecoveryCommitment
|
|
282
|
+
*/
|
|
283
|
+
export interface RecoveryCommitmentAmino {
|
|
284
|
+
/**
|
|
285
|
+
* commitment = SHA-256("sparkdream/recovery/commit/v1" || preimage).
|
|
286
|
+
*/
|
|
287
|
+
commitment?: string;
|
|
288
|
+
/**
|
|
289
|
+
* effective_at is the block time from which the commitment is active;
|
|
290
|
+
* 0 means active now. Every commitment set by an existing member waits out
|
|
291
|
+
* recovery_change_delay; only the one carried by MsgAcceptInvitation at
|
|
292
|
+
* onboarding is immediate.
|
|
293
|
+
*/
|
|
294
|
+
effective_at?: string;
|
|
295
|
+
}
|
|
296
|
+
export interface RecoveryCommitmentAminoMsg {
|
|
297
|
+
type: "/sparkdream.rep.v1.RecoveryCommitment";
|
|
298
|
+
value: RecoveryCommitmentAmino;
|
|
299
|
+
}
|
|
300
|
+
/**
|
|
301
|
+
* RecoveryCommitmentSet is a member's commitments, at most
|
|
302
|
+
* MaxRecoveryCommitments, in no particular order. A failed reveal burns one
|
|
303
|
+
* commitment, never the member's only recovery.
|
|
304
|
+
* @name RecoveryCommitmentSet
|
|
305
|
+
* @package sparkdream.rep.v1
|
|
306
|
+
* @see proto type: sparkdream.rep.v1.RecoveryCommitmentSet
|
|
307
|
+
*/
|
|
308
|
+
export interface RecoveryCommitmentSet {
|
|
309
|
+
commitments: RecoveryCommitment[];
|
|
310
|
+
/**
|
|
311
|
+
* pending_removals are commitments whose removal is waiting out
|
|
312
|
+
* recovery_change_delay: the commitment stays active until removal_at.
|
|
313
|
+
*/
|
|
314
|
+
pendingRemovals: PendingCommitmentRemoval[];
|
|
315
|
+
}
|
|
316
|
+
export interface RecoveryCommitmentSetProtoMsg {
|
|
317
|
+
typeUrl: "/sparkdream.rep.v1.RecoveryCommitmentSet";
|
|
318
|
+
value: Uint8Array;
|
|
319
|
+
}
|
|
320
|
+
/**
|
|
321
|
+
* RecoveryCommitmentSet is a member's commitments, at most
|
|
322
|
+
* MaxRecoveryCommitments, in no particular order. A failed reveal burns one
|
|
323
|
+
* commitment, never the member's only recovery.
|
|
324
|
+
* @name RecoveryCommitmentSetAmino
|
|
325
|
+
* @package sparkdream.rep.v1
|
|
326
|
+
* @see proto type: sparkdream.rep.v1.RecoveryCommitmentSet
|
|
327
|
+
*/
|
|
328
|
+
export interface RecoveryCommitmentSetAmino {
|
|
329
|
+
commitments?: RecoveryCommitmentAmino[];
|
|
330
|
+
/**
|
|
331
|
+
* pending_removals are commitments whose removal is waiting out
|
|
332
|
+
* recovery_change_delay: the commitment stays active until removal_at.
|
|
333
|
+
*/
|
|
334
|
+
pending_removals?: PendingCommitmentRemovalAmino[];
|
|
335
|
+
}
|
|
336
|
+
export interface RecoveryCommitmentSetAminoMsg {
|
|
337
|
+
type: "/sparkdream.rep.v1.RecoveryCommitmentSet";
|
|
338
|
+
value: RecoveryCommitmentSetAmino;
|
|
339
|
+
}
|
|
340
|
+
/**
|
|
341
|
+
* PendingCommitmentRemoval schedules the removal of a commitment.
|
|
342
|
+
* @name PendingCommitmentRemoval
|
|
343
|
+
* @package sparkdream.rep.v1
|
|
344
|
+
* @see proto type: sparkdream.rep.v1.PendingCommitmentRemoval
|
|
345
|
+
*/
|
|
346
|
+
export interface PendingCommitmentRemoval {
|
|
347
|
+
commitment: Uint8Array;
|
|
348
|
+
removalAt: bigint;
|
|
349
|
+
}
|
|
350
|
+
export interface PendingCommitmentRemovalProtoMsg {
|
|
351
|
+
typeUrl: "/sparkdream.rep.v1.PendingCommitmentRemoval";
|
|
352
|
+
value: Uint8Array;
|
|
353
|
+
}
|
|
354
|
+
/**
|
|
355
|
+
* PendingCommitmentRemoval schedules the removal of a commitment.
|
|
356
|
+
* @name PendingCommitmentRemovalAmino
|
|
357
|
+
* @package sparkdream.rep.v1
|
|
358
|
+
* @see proto type: sparkdream.rep.v1.PendingCommitmentRemoval
|
|
359
|
+
*/
|
|
360
|
+
export interface PendingCommitmentRemovalAmino {
|
|
361
|
+
commitment?: string;
|
|
362
|
+
removal_at?: string;
|
|
363
|
+
}
|
|
364
|
+
export interface PendingCommitmentRemovalAminoMsg {
|
|
365
|
+
type: "/sparkdream.rep.v1.PendingCommitmentRemoval";
|
|
366
|
+
value: PendingCommitmentRemovalAmino;
|
|
367
|
+
}
|
|
368
|
+
/**
|
|
369
|
+
* RecoveryCommit is the front-running guard for a reveal: a sealed hash of
|
|
370
|
+
* (preimage, old address, new address) that must have aged
|
|
371
|
+
* recovery_reveal_min_blocks before the reveal is accepted. Anyone can submit
|
|
372
|
+
* one; it says nothing about the member, the preimage or the target.
|
|
373
|
+
* @name RecoveryCommit
|
|
374
|
+
* @package sparkdream.rep.v1
|
|
375
|
+
* @see proto type: sparkdream.rep.v1.RecoveryCommit
|
|
376
|
+
*/
|
|
377
|
+
export interface RecoveryCommit {
|
|
378
|
+
/**
|
|
379
|
+
* sealed = SHA-256("sparkdream/recovery/seal/v1" || preimage || A || B);
|
|
380
|
+
* the map key in state.
|
|
381
|
+
*/
|
|
382
|
+
sealed: Uint8Array;
|
|
383
|
+
submitter: string;
|
|
384
|
+
height: bigint;
|
|
385
|
+
expiresAt: bigint;
|
|
386
|
+
/**
|
|
387
|
+
* deposit is the SPARK locked by the submitter, refunded when a reveal
|
|
388
|
+
* consumes the seal and burned when the seal expires.
|
|
389
|
+
*/
|
|
390
|
+
deposit: string;
|
|
391
|
+
}
|
|
392
|
+
export interface RecoveryCommitProtoMsg {
|
|
393
|
+
typeUrl: "/sparkdream.rep.v1.RecoveryCommit";
|
|
394
|
+
value: Uint8Array;
|
|
395
|
+
}
|
|
396
|
+
/**
|
|
397
|
+
* RecoveryCommit is the front-running guard for a reveal: a sealed hash of
|
|
398
|
+
* (preimage, old address, new address) that must have aged
|
|
399
|
+
* recovery_reveal_min_blocks before the reveal is accepted. Anyone can submit
|
|
400
|
+
* one; it says nothing about the member, the preimage or the target.
|
|
401
|
+
* @name RecoveryCommitAmino
|
|
402
|
+
* @package sparkdream.rep.v1
|
|
403
|
+
* @see proto type: sparkdream.rep.v1.RecoveryCommit
|
|
404
|
+
*/
|
|
405
|
+
export interface RecoveryCommitAmino {
|
|
406
|
+
/**
|
|
407
|
+
* sealed = SHA-256("sparkdream/recovery/seal/v1" || preimage || A || B);
|
|
408
|
+
* the map key in state.
|
|
409
|
+
*/
|
|
410
|
+
sealed?: string;
|
|
411
|
+
submitter?: string;
|
|
412
|
+
height?: string;
|
|
413
|
+
expires_at?: string;
|
|
414
|
+
/**
|
|
415
|
+
* deposit is the SPARK locked by the submitter, refunded when a reveal
|
|
416
|
+
* consumes the seal and burned when the seal expires.
|
|
417
|
+
*/
|
|
418
|
+
deposit?: string;
|
|
419
|
+
}
|
|
420
|
+
export interface RecoveryCommitAminoMsg {
|
|
421
|
+
type: "/sparkdream.rep.v1.RecoveryCommit";
|
|
422
|
+
value: RecoveryCommitAmino;
|
|
423
|
+
}
|
|
424
|
+
/**
|
|
425
|
+
* RecoveryCommitmentEntry is the genesis form of the RecoveryCommitments map.
|
|
426
|
+
* @name RecoveryCommitmentEntry
|
|
427
|
+
* @package sparkdream.rep.v1
|
|
428
|
+
* @see proto type: sparkdream.rep.v1.RecoveryCommitmentEntry
|
|
429
|
+
*/
|
|
430
|
+
export interface RecoveryCommitmentEntry {
|
|
431
|
+
member: string;
|
|
432
|
+
set: RecoveryCommitmentSet;
|
|
433
|
+
}
|
|
434
|
+
export interface RecoveryCommitmentEntryProtoMsg {
|
|
435
|
+
typeUrl: "/sparkdream.rep.v1.RecoveryCommitmentEntry";
|
|
436
|
+
value: Uint8Array;
|
|
437
|
+
}
|
|
438
|
+
/**
|
|
439
|
+
* RecoveryCommitmentEntry is the genesis form of the RecoveryCommitments map.
|
|
440
|
+
* @name RecoveryCommitmentEntryAmino
|
|
441
|
+
* @package sparkdream.rep.v1
|
|
442
|
+
* @see proto type: sparkdream.rep.v1.RecoveryCommitmentEntry
|
|
443
|
+
*/
|
|
444
|
+
export interface RecoveryCommitmentEntryAmino {
|
|
445
|
+
member?: string;
|
|
446
|
+
set?: RecoveryCommitmentSetAmino;
|
|
447
|
+
}
|
|
448
|
+
export interface RecoveryCommitmentEntryAminoMsg {
|
|
449
|
+
type: "/sparkdream.rep.v1.RecoveryCommitmentEntry";
|
|
450
|
+
value: RecoveryCommitmentEntryAmino;
|
|
451
|
+
}
|
|
452
|
+
/**
|
|
453
|
+
* MemberMigration moves a member identity from from_address to to_address.
|
|
454
|
+
* @name MemberMigration
|
|
455
|
+
* @package sparkdream.rep.v1
|
|
456
|
+
* @see proto type: sparkdream.rep.v1.MemberMigration
|
|
457
|
+
*/
|
|
458
|
+
export declare const MemberMigration: {
|
|
459
|
+
typeUrl: string;
|
|
460
|
+
encode(message: MemberMigration, writer?: BinaryWriter): BinaryWriter;
|
|
461
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MemberMigration;
|
|
462
|
+
fromPartial(object: DeepPartial<MemberMigration>): MemberMigration;
|
|
463
|
+
fromAmino(object: MemberMigrationAmino): MemberMigration;
|
|
464
|
+
toAmino(message: MemberMigration): MemberMigrationAmino;
|
|
465
|
+
fromAminoMsg(object: MemberMigrationAminoMsg): MemberMigration;
|
|
466
|
+
fromProtoMsg(message: MemberMigrationProtoMsg): MemberMigration;
|
|
467
|
+
toProto(message: MemberMigration): Uint8Array;
|
|
468
|
+
toProtoMsg(message: MemberMigration): MemberMigrationProtoMsg;
|
|
469
|
+
};
|
|
470
|
+
/**
|
|
471
|
+
* Tombstone is the forward alias left behind at from_address once a
|
|
472
|
+
* migration finalizes. canonical always points at the CURRENT address: when
|
|
473
|
+
* the canonical address migrates again, every predecessor is rewritten
|
|
474
|
+
* (path compression), so one lookup is enough.
|
|
475
|
+
* @name Tombstone
|
|
476
|
+
* @package sparkdream.rep.v1
|
|
477
|
+
* @see proto type: sparkdream.rep.v1.Tombstone
|
|
478
|
+
*/
|
|
479
|
+
export declare const Tombstone: {
|
|
480
|
+
typeUrl: string;
|
|
481
|
+
encode(message: Tombstone, writer?: BinaryWriter): BinaryWriter;
|
|
482
|
+
decode(input: BinaryReader | Uint8Array, length?: number): Tombstone;
|
|
483
|
+
fromPartial(object: DeepPartial<Tombstone>): Tombstone;
|
|
484
|
+
fromAmino(object: TombstoneAmino): Tombstone;
|
|
485
|
+
toAmino(message: Tombstone): TombstoneAmino;
|
|
486
|
+
fromAminoMsg(object: TombstoneAminoMsg): Tombstone;
|
|
487
|
+
fromProtoMsg(message: TombstoneProtoMsg): Tombstone;
|
|
488
|
+
toProto(message: Tombstone): Uint8Array;
|
|
489
|
+
toProtoMsg(message: Tombstone): TombstoneProtoMsg;
|
|
490
|
+
};
|
|
491
|
+
/**
|
|
492
|
+
* RecoveryCommitment is one SHA-256 commitment to a secret preimage. A reveal
|
|
493
|
+
* of the preimage opens a RECOVERY migration without any signature from the
|
|
494
|
+
* member's account key.
|
|
495
|
+
* @name RecoveryCommitment
|
|
496
|
+
* @package sparkdream.rep.v1
|
|
497
|
+
* @see proto type: sparkdream.rep.v1.RecoveryCommitment
|
|
498
|
+
*/
|
|
499
|
+
export declare const RecoveryCommitment: {
|
|
500
|
+
typeUrl: string;
|
|
501
|
+
encode(message: RecoveryCommitment, writer?: BinaryWriter): BinaryWriter;
|
|
502
|
+
decode(input: BinaryReader | Uint8Array, length?: number): RecoveryCommitment;
|
|
503
|
+
fromPartial(object: DeepPartial<RecoveryCommitment>): RecoveryCommitment;
|
|
504
|
+
fromAmino(object: RecoveryCommitmentAmino): RecoveryCommitment;
|
|
505
|
+
toAmino(message: RecoveryCommitment): RecoveryCommitmentAmino;
|
|
506
|
+
fromAminoMsg(object: RecoveryCommitmentAminoMsg): RecoveryCommitment;
|
|
507
|
+
fromProtoMsg(message: RecoveryCommitmentProtoMsg): RecoveryCommitment;
|
|
508
|
+
toProto(message: RecoveryCommitment): Uint8Array;
|
|
509
|
+
toProtoMsg(message: RecoveryCommitment): RecoveryCommitmentProtoMsg;
|
|
510
|
+
};
|
|
511
|
+
/**
|
|
512
|
+
* RecoveryCommitmentSet is a member's commitments, at most
|
|
513
|
+
* MaxRecoveryCommitments, in no particular order. A failed reveal burns one
|
|
514
|
+
* commitment, never the member's only recovery.
|
|
515
|
+
* @name RecoveryCommitmentSet
|
|
516
|
+
* @package sparkdream.rep.v1
|
|
517
|
+
* @see proto type: sparkdream.rep.v1.RecoveryCommitmentSet
|
|
518
|
+
*/
|
|
519
|
+
export declare const RecoveryCommitmentSet: {
|
|
520
|
+
typeUrl: string;
|
|
521
|
+
encode(message: RecoveryCommitmentSet, writer?: BinaryWriter): BinaryWriter;
|
|
522
|
+
decode(input: BinaryReader | Uint8Array, length?: number): RecoveryCommitmentSet;
|
|
523
|
+
fromPartial(object: DeepPartial<RecoveryCommitmentSet>): RecoveryCommitmentSet;
|
|
524
|
+
fromAmino(object: RecoveryCommitmentSetAmino): RecoveryCommitmentSet;
|
|
525
|
+
toAmino(message: RecoveryCommitmentSet): RecoveryCommitmentSetAmino;
|
|
526
|
+
fromAminoMsg(object: RecoveryCommitmentSetAminoMsg): RecoveryCommitmentSet;
|
|
527
|
+
fromProtoMsg(message: RecoveryCommitmentSetProtoMsg): RecoveryCommitmentSet;
|
|
528
|
+
toProto(message: RecoveryCommitmentSet): Uint8Array;
|
|
529
|
+
toProtoMsg(message: RecoveryCommitmentSet): RecoveryCommitmentSetProtoMsg;
|
|
530
|
+
};
|
|
531
|
+
/**
|
|
532
|
+
* PendingCommitmentRemoval schedules the removal of a commitment.
|
|
533
|
+
* @name PendingCommitmentRemoval
|
|
534
|
+
* @package sparkdream.rep.v1
|
|
535
|
+
* @see proto type: sparkdream.rep.v1.PendingCommitmentRemoval
|
|
536
|
+
*/
|
|
537
|
+
export declare const PendingCommitmentRemoval: {
|
|
538
|
+
typeUrl: string;
|
|
539
|
+
encode(message: PendingCommitmentRemoval, writer?: BinaryWriter): BinaryWriter;
|
|
540
|
+
decode(input: BinaryReader | Uint8Array, length?: number): PendingCommitmentRemoval;
|
|
541
|
+
fromPartial(object: DeepPartial<PendingCommitmentRemoval>): PendingCommitmentRemoval;
|
|
542
|
+
fromAmino(object: PendingCommitmentRemovalAmino): PendingCommitmentRemoval;
|
|
543
|
+
toAmino(message: PendingCommitmentRemoval): PendingCommitmentRemovalAmino;
|
|
544
|
+
fromAminoMsg(object: PendingCommitmentRemovalAminoMsg): PendingCommitmentRemoval;
|
|
545
|
+
fromProtoMsg(message: PendingCommitmentRemovalProtoMsg): PendingCommitmentRemoval;
|
|
546
|
+
toProto(message: PendingCommitmentRemoval): Uint8Array;
|
|
547
|
+
toProtoMsg(message: PendingCommitmentRemoval): PendingCommitmentRemovalProtoMsg;
|
|
548
|
+
};
|
|
549
|
+
/**
|
|
550
|
+
* RecoveryCommit is the front-running guard for a reveal: a sealed hash of
|
|
551
|
+
* (preimage, old address, new address) that must have aged
|
|
552
|
+
* recovery_reveal_min_blocks before the reveal is accepted. Anyone can submit
|
|
553
|
+
* one; it says nothing about the member, the preimage or the target.
|
|
554
|
+
* @name RecoveryCommit
|
|
555
|
+
* @package sparkdream.rep.v1
|
|
556
|
+
* @see proto type: sparkdream.rep.v1.RecoveryCommit
|
|
557
|
+
*/
|
|
558
|
+
export declare const RecoveryCommit: {
|
|
559
|
+
typeUrl: string;
|
|
560
|
+
encode(message: RecoveryCommit, writer?: BinaryWriter): BinaryWriter;
|
|
561
|
+
decode(input: BinaryReader | Uint8Array, length?: number): RecoveryCommit;
|
|
562
|
+
fromPartial(object: DeepPartial<RecoveryCommit>): RecoveryCommit;
|
|
563
|
+
fromAmino(object: RecoveryCommitAmino): RecoveryCommit;
|
|
564
|
+
toAmino(message: RecoveryCommit): RecoveryCommitAmino;
|
|
565
|
+
fromAminoMsg(object: RecoveryCommitAminoMsg): RecoveryCommit;
|
|
566
|
+
fromProtoMsg(message: RecoveryCommitProtoMsg): RecoveryCommit;
|
|
567
|
+
toProto(message: RecoveryCommit): Uint8Array;
|
|
568
|
+
toProtoMsg(message: RecoveryCommit): RecoveryCommitProtoMsg;
|
|
569
|
+
};
|
|
570
|
+
/**
|
|
571
|
+
* RecoveryCommitmentEntry is the genesis form of the RecoveryCommitments map.
|
|
572
|
+
* @name RecoveryCommitmentEntry
|
|
573
|
+
* @package sparkdream.rep.v1
|
|
574
|
+
* @see proto type: sparkdream.rep.v1.RecoveryCommitmentEntry
|
|
575
|
+
*/
|
|
576
|
+
export declare const RecoveryCommitmentEntry: {
|
|
577
|
+
typeUrl: string;
|
|
578
|
+
encode(message: RecoveryCommitmentEntry, writer?: BinaryWriter): BinaryWriter;
|
|
579
|
+
decode(input: BinaryReader | Uint8Array, length?: number): RecoveryCommitmentEntry;
|
|
580
|
+
fromPartial(object: DeepPartial<RecoveryCommitmentEntry>): RecoveryCommitmentEntry;
|
|
581
|
+
fromAmino(object: RecoveryCommitmentEntryAmino): RecoveryCommitmentEntry;
|
|
582
|
+
toAmino(message: RecoveryCommitmentEntry): RecoveryCommitmentEntryAmino;
|
|
583
|
+
fromAminoMsg(object: RecoveryCommitmentEntryAminoMsg): RecoveryCommitmentEntry;
|
|
584
|
+
fromProtoMsg(message: RecoveryCommitmentEntryProtoMsg): RecoveryCommitmentEntry;
|
|
585
|
+
toProto(message: RecoveryCommitmentEntry): Uint8Array;
|
|
586
|
+
toProtoMsg(message: RecoveryCommitmentEntry): RecoveryCommitmentEntryProtoMsg;
|
|
587
|
+
};
|