@sparkdreamnft/sparkdreamjs 0.0.48 → 0.0.50
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/amino-schema.d.ts +94 -0
- package/amino-schema.js +1 -1
- package/cosmos/bundle.d.ts +160 -160
- package/cosmos/bundle.js +182 -182
- package/esm/akash/bundle.js +150 -150
- package/esm/amino-schema.js +1 -1
- package/esm/cosmos/bundle.js +182 -182
- package/esm/ibc/bundle.js +116 -116
- package/esm/sparkdream/artifact/v1/types.js +25 -1
- package/esm/sparkdream/blog/v1/genesis.js +97 -1
- package/esm/sparkdream/bundle.js +447 -439
- package/esm/sparkdream/collect/v1/genesis.js +308 -3
- package/esm/sparkdream/collect/v1/tx.js +170 -0
- package/esm/sparkdream/collect/v1/tx.registry.js +20 -2
- package/esm/sparkdream/collect/v1/tx.rpc.msg.js +10 -1
- package/esm/sparkdream/collect/v1/types.js +51 -3
- package/esm/sparkdream/commons/v1/genesis.js +756 -27
- package/esm/sparkdream/commons/v1/group.js +130 -2
- package/esm/sparkdream/commons/v1/poll.js +281 -0
- package/esm/sparkdream/commons/v1/poll_vote.js +107 -0
- package/esm/sparkdream/commons/v1/query.js +759 -0
- package/esm/sparkdream/commons/v1/query.lcd.js +46 -0
- package/esm/sparkdream/commons/v1/query.rpc.Query.js +49 -1
- package/esm/sparkdream/commons/v1/tx.js +730 -4
- package/esm/sparkdream/commons/v1/tx.registry.js +74 -2
- package/esm/sparkdream/commons/v1/tx.rpc.msg.js +25 -1
- package/esm/sparkdream/commons/v1/voter_tree.js +208 -0
- package/esm/sparkdream/federation/v1/genesis.js +212 -2
- package/esm/sparkdream/federation/v1/tx.js +365 -0
- package/esm/sparkdream/federation/v1/tx.registry.js +38 -2
- package/esm/sparkdream/federation/v1/tx.rpc.msg.js +14 -1
- package/esm/sparkdream/federation/v1/types.js +194 -2
- package/esm/sparkdream/forum/v1/archive_metadata.js +13 -1
- package/esm/sparkdream/forum/v1/genesis.js +428 -1
- package/esm/sparkdream/forum/v1/params.js +182 -254
- package/esm/sparkdream/forum/v1/query.js +112 -7
- package/esm/sparkdream/forum/v1/user_reaction_limit.js +62 -1
- package/esm/sparkdream/futarchy/v1/market.js +37 -1
- package/esm/sparkdream/futarchy/v1/tx.js +13 -1
- package/esm/sparkdream/name/v1/dispute.js +13 -1
- package/esm/sparkdream/rep/v1/genesis.js +272 -2
- package/esm/sparkdream/rep/v1/initiative_review.js +13 -1
- package/esm/sparkdream/rep/v1/invitation.js +25 -1
- package/esm/sparkdream/rep/v1/member_report.js +335 -1
- package/esm/sparkdream/rep/v1/migration.js +27 -2
- package/esm/sparkdream/rep/v1/params.js +13 -1
- package/esm/sparkdream/rep/v1/stake.js +10 -0
- package/esm/sparkdream/rep/v1/tx.js +372 -14
- package/esm/sparkdream/rep/v1/tx.registry.js +38 -2
- package/esm/sparkdream/rep/v1/tx.rpc.msg.js +16 -2
- package/esm/sparkdream/reveal/v1/types.js +9 -21
- package/esm/sparkdream/season/v1/display_name_moderation.js +40 -1
- package/esm/sparkdream/season/v1/epoch_xp_tracker.js +13 -1
- package/esm/sparkdream/season/v1/genesis.js +125 -1
- package/esm/sparkdream/season/v1/guild_invite.js +13 -1
- package/esm/sparkdream/season/v1/guild_membership.js +13 -1
- package/esm/sparkdream/season/v1/member_profile.js +13 -1
- package/esm/sparkdream/season/v1/member_quest_progress.js +13 -1
- package/esm/sparkdream/season/v1/member_season_snapshot.js +16 -1
- package/esm/sparkdream/season/v1/nomination.js +37 -1
- package/esm/sparkdream/season/v1/query.js +26 -35
- package/esm/sparkdream/season/v1/query.lcd.js +1 -1
- package/esm/sparkdream/season/v1/quest.js +13 -1
- package/esm/sparkdream/season/v1/season.js +13 -1
- package/esm/sparkdream/season/v1/season_stats_counters.js +121 -0
- package/esm/sparkdream/season/v1/season_title_eligibility.js +4 -1
- package/esm/sparkdream/service/v1/genesis.js +126 -1
- package/esm/sparkdream/service/v1/refile_cooldown.js +20 -7
- package/esm/sparkdream/session/v1/genesis.js +303 -1
- package/esm/sparkdream/session/v1/params.js +24 -0
- package/esm/sparkdream/shield/v1/genesis.js +56 -2
- package/esm/sparkdream/shield/v1/params.js +13 -1
- package/esm/sparkdream/shield/v1/types.js +202 -1
- package/esm/sparkdream/vault/v1/genesis.js +25 -1
- package/esm/sparkdream/vault/v1/query.js +15 -2
- package/esm/sparkdream/vault/v1/query.lcd.js +3 -0
- package/esm/sparkdream/vault/v1/tx.js +301 -0
- package/esm/sparkdream/vault/v1/tx.registry.js +38 -2
- package/esm/sparkdream/vault/v1/tx.rpc.msg.js +13 -1
- package/esm/sparkdream/vault/v1/vault_signer.js +15 -2
- package/esm/tendermint/bundle.js +20 -20
- package/ibc/bundle.d.ts +99 -99
- package/ibc/bundle.js +116 -116
- package/package.json +1 -1
- package/sparkdream/artifact/v1/types.d.ts +14 -0
- package/sparkdream/artifact/v1/types.js +25 -1
- package/sparkdream/blog/v1/genesis.d.ts +60 -0
- package/sparkdream/blog/v1/genesis.js +98 -2
- package/sparkdream/bundle.d.ts +17133 -16171
- package/sparkdream/bundle.js +447 -439
- package/sparkdream/collect/v1/genesis.d.ts +186 -0
- package/sparkdream/collect/v1/genesis.js +309 -4
- package/sparkdream/collect/v1/tx.d.ts +100 -0
- package/sparkdream/collect/v1/tx.js +171 -1
- package/sparkdream/collect/v1/tx.registry.d.ts +13 -1
- package/sparkdream/collect/v1/tx.registry.js +19 -1
- package/sparkdream/collect/v1/tx.rpc.msg.d.ts +9 -1
- package/sparkdream/collect/v1/tx.rpc.msg.js +9 -0
- package/sparkdream/collect/v1/types.d.ts +52 -0
- package/sparkdream/collect/v1/types.js +51 -3
- package/sparkdream/commons/v1/genesis.d.ts +443 -22
- package/sparkdream/commons/v1/genesis.js +756 -27
- package/sparkdream/commons/v1/group.d.ts +75 -0
- package/sparkdream/commons/v1/group.js +133 -3
- package/sparkdream/commons/v1/poll.d.ts +135 -0
- package/sparkdream/commons/v1/poll.js +286 -0
- package/sparkdream/commons/v1/poll_vote.d.ts +58 -0
- package/sparkdream/commons/v1/poll_vote.js +110 -0
- package/sparkdream/commons/v1/query.d.ts +465 -0
- package/sparkdream/commons/v1/query.js +760 -1
- package/sparkdream/commons/v1/query.lcd.d.ts +6 -1
- package/sparkdream/commons/v1/query.lcd.js +46 -0
- package/sparkdream/commons/v1/query.rpc.Query.d.ts +30 -1
- package/sparkdream/commons/v1/query.rpc.Query.js +48 -0
- package/sparkdream/commons/v1/tx.d.ts +475 -1
- package/sparkdream/commons/v1/tx.js +731 -4
- package/sparkdream/commons/v1/tx.registry.d.ts +49 -1
- package/sparkdream/commons/v1/tx.registry.js +73 -1
- package/sparkdream/commons/v1/tx.rpc.msg.d.ts +13 -1
- package/sparkdream/commons/v1/tx.rpc.msg.js +24 -0
- package/sparkdream/commons/v1/voter_tree.d.ts +132 -0
- package/sparkdream/commons/v1/voter_tree.js +211 -0
- package/sparkdream/federation/v1/genesis.d.ts +136 -1
- package/sparkdream/federation/v1/genesis.js +212 -2
- package/sparkdream/federation/v1/tx.d.ts +235 -0
- package/sparkdream/federation/v1/tx.js +367 -1
- package/sparkdream/federation/v1/tx.registry.d.ts +25 -1
- package/sparkdream/federation/v1/tx.registry.js +37 -1
- package/sparkdream/federation/v1/tx.rpc.msg.d.ts +9 -1
- package/sparkdream/federation/v1/tx.rpc.msg.js +13 -0
- package/sparkdream/federation/v1/types.d.ts +166 -0
- package/sparkdream/federation/v1/types.js +197 -3
- package/sparkdream/forum/v1/archive_metadata.d.ts +12 -0
- package/sparkdream/forum/v1/archive_metadata.js +13 -1
- package/sparkdream/forum/v1/genesis.d.ts +256 -0
- package/sparkdream/forum/v1/genesis.js +429 -2
- package/sparkdream/forum/v1/params.d.ts +0 -30
- package/sparkdream/forum/v1/params.js +182 -254
- package/sparkdream/forum/v1/query.d.ts +70 -0
- package/sparkdream/forum/v1/query.js +112 -7
- package/sparkdream/forum/v1/user_reaction_limit.d.ts +25 -0
- package/sparkdream/forum/v1/user_reaction_limit.js +65 -2
- package/sparkdream/futarchy/v1/market.d.ts +32 -0
- package/sparkdream/futarchy/v1/market.js +37 -1
- package/sparkdream/futarchy/v1/tx.d.ts +10 -0
- package/sparkdream/futarchy/v1/tx.js +13 -1
- package/sparkdream/name/v1/dispute.d.ts +14 -0
- package/sparkdream/name/v1/dispute.js +13 -1
- package/sparkdream/rep/v1/genesis.d.ts +151 -1
- package/sparkdream/rep/v1/genesis.js +272 -2
- package/sparkdream/rep/v1/initiative_review.d.ts +14 -0
- package/sparkdream/rep/v1/initiative_review.js +13 -1
- package/sparkdream/rep/v1/invitation.d.ts +32 -0
- package/sparkdream/rep/v1/invitation.js +25 -1
- package/sparkdream/rep/v1/member_report.d.ts +215 -0
- package/sparkdream/rep/v1/member_report.js +336 -2
- package/sparkdream/rep/v1/migration.d.ts +34 -1
- package/sparkdream/rep/v1/migration.js +27 -2
- package/sparkdream/rep/v1/params.d.ts +18 -0
- package/sparkdream/rep/v1/params.js +13 -1
- package/sparkdream/rep/v1/stake.d.ts +5 -0
- package/sparkdream/rep/v1/stake.js +10 -0
- package/sparkdream/rep/v1/tx.d.ts +340 -39
- package/sparkdream/rep/v1/tx.js +375 -17
- package/sparkdream/rep/v1/tx.registry.d.ts +25 -1
- package/sparkdream/rep/v1/tx.registry.js +37 -1
- package/sparkdream/rep/v1/tx.rpc.msg.d.ts +12 -2
- package/sparkdream/rep/v1/tx.rpc.msg.js +15 -1
- package/sparkdream/reveal/v1/types.d.ts +0 -8
- package/sparkdream/reveal/v1/types.js +9 -21
- package/sparkdream/rpc.query.d.ts +5 -0
- package/sparkdream/season/v1/display_name_moderation.d.ts +28 -0
- package/sparkdream/season/v1/display_name_moderation.js +40 -1
- package/sparkdream/season/v1/epoch_xp_tracker.d.ts +10 -0
- package/sparkdream/season/v1/epoch_xp_tracker.js +13 -1
- package/sparkdream/season/v1/genesis.d.ts +75 -0
- package/sparkdream/season/v1/genesis.js +126 -2
- package/sparkdream/season/v1/guild_invite.d.ts +10 -0
- package/sparkdream/season/v1/guild_invite.js +13 -1
- package/sparkdream/season/v1/guild_membership.d.ts +12 -0
- package/sparkdream/season/v1/guild_membership.js +13 -1
- package/sparkdream/season/v1/member_profile.d.ts +12 -0
- package/sparkdream/season/v1/member_profile.js +13 -1
- package/sparkdream/season/v1/member_quest_progress.d.ts +8 -0
- package/sparkdream/season/v1/member_quest_progress.js +13 -1
- package/sparkdream/season/v1/member_season_snapshot.d.ts +14 -0
- package/sparkdream/season/v1/member_season_snapshot.js +16 -1
- package/sparkdream/season/v1/nomination.d.ts +32 -0
- package/sparkdream/season/v1/nomination.js +37 -1
- package/sparkdream/season/v1/query.d.ts +10 -6
- package/sparkdream/season/v1/query.js +26 -35
- package/sparkdream/season/v1/query.lcd.js +1 -1
- package/sparkdream/season/v1/quest.d.ts +12 -0
- package/sparkdream/season/v1/quest.js +13 -1
- package/sparkdream/season/v1/season.d.ts +12 -0
- package/sparkdream/season/v1/season.js +13 -1
- package/sparkdream/season/v1/season_stats_counters.d.ts +86 -0
- package/sparkdream/season/v1/season_stats_counters.js +124 -0
- package/sparkdream/season/v1/season_title_eligibility.d.ts +12 -3
- package/sparkdream/season/v1/season_title_eligibility.js +4 -1
- package/sparkdream/service/v1/genesis.d.ts +71 -0
- package/sparkdream/service/v1/genesis.js +127 -2
- package/sparkdream/service/v1/refile_cooldown.d.ts +35 -22
- package/sparkdream/service/v1/refile_cooldown.js +20 -7
- package/sparkdream/session/v1/genesis.d.ts +190 -0
- package/sparkdream/session/v1/genesis.js +304 -2
- package/sparkdream/session/v1/params.d.ts +18 -0
- package/sparkdream/session/v1/params.js +24 -0
- package/sparkdream/shield/v1/genesis.d.ts +37 -1
- package/sparkdream/shield/v1/genesis.js +55 -1
- package/sparkdream/shield/v1/params.d.ts +26 -2
- package/sparkdream/shield/v1/params.js +13 -1
- package/sparkdream/shield/v1/types.d.ts +122 -0
- package/sparkdream/shield/v1/types.js +203 -2
- package/sparkdream/vault/v1/genesis.d.ts +14 -0
- package/sparkdream/vault/v1/genesis.js +25 -1
- package/sparkdream/vault/v1/query.d.ts +16 -3
- package/sparkdream/vault/v1/query.js +15 -2
- package/sparkdream/vault/v1/query.lcd.js +3 -0
- package/sparkdream/vault/v1/tx.d.ts +219 -0
- package/sparkdream/vault/v1/tx.js +302 -1
- package/sparkdream/vault/v1/tx.registry.d.ts +25 -1
- package/sparkdream/vault/v1/tx.registry.js +37 -1
- package/sparkdream/vault/v1/tx.rpc.msg.d.ts +7 -1
- package/sparkdream/vault/v1/tx.rpc.msg.js +12 -0
- package/sparkdream/vault/v1/vault_signer.d.ts +22 -3
- package/sparkdream/vault/v1/vault_signer.js +15 -2
- package/tendermint/bundle.d.ts +844 -844
- package/tendermint/bundle.js +20 -20
package/ibc/bundle.js
CHANGED
|
@@ -94,64 +94,64 @@ const _352 = __importStar(require("./lightclients/wasm/v1/genesis"));
|
|
|
94
94
|
const _353 = __importStar(require("./lightclients/wasm/v1/query"));
|
|
95
95
|
const _354 = __importStar(require("./lightclients/wasm/v1/tx"));
|
|
96
96
|
const _355 = __importStar(require("./lightclients/wasm/v1/wasm"));
|
|
97
|
-
const
|
|
98
|
-
const
|
|
99
|
-
const
|
|
100
|
-
const
|
|
101
|
-
const
|
|
102
|
-
const
|
|
103
|
-
const
|
|
104
|
-
const
|
|
105
|
-
const
|
|
106
|
-
const
|
|
107
|
-
const
|
|
108
|
-
const
|
|
109
|
-
const
|
|
110
|
-
const
|
|
111
|
-
const
|
|
112
|
-
const
|
|
113
|
-
const
|
|
114
|
-
const
|
|
115
|
-
const
|
|
116
|
-
const
|
|
117
|
-
const
|
|
118
|
-
const
|
|
119
|
-
const
|
|
120
|
-
const
|
|
121
|
-
const
|
|
122
|
-
const
|
|
123
|
-
const
|
|
124
|
-
const
|
|
125
|
-
const
|
|
126
|
-
const
|
|
127
|
-
const
|
|
128
|
-
const
|
|
129
|
-
const
|
|
130
|
-
const
|
|
131
|
-
const
|
|
132
|
-
const
|
|
133
|
-
const
|
|
134
|
-
const
|
|
135
|
-
const
|
|
136
|
-
const
|
|
137
|
-
const
|
|
138
|
-
const
|
|
139
|
-
const
|
|
140
|
-
const
|
|
141
|
-
const
|
|
142
|
-
const
|
|
143
|
-
const
|
|
144
|
-
const
|
|
145
|
-
const
|
|
146
|
-
const
|
|
147
|
-
const
|
|
148
|
-
const
|
|
149
|
-
const
|
|
150
|
-
const
|
|
151
|
-
const
|
|
152
|
-
const
|
|
153
|
-
const
|
|
154
|
-
const
|
|
97
|
+
const _730 = __importStar(require("./applications/gmp/v1/tx.amino"));
|
|
98
|
+
const _731 = __importStar(require("./applications/interchain_accounts/controller/v1/tx.amino"));
|
|
99
|
+
const _732 = __importStar(require("./applications/interchain_accounts/host/v1/tx.amino"));
|
|
100
|
+
const _733 = __importStar(require("./applications/rate_limiting/v1/tx.amino"));
|
|
101
|
+
const _734 = __importStar(require("./applications/transfer/v1/tx.amino"));
|
|
102
|
+
const _735 = __importStar(require("./core/channel/v1/tx.amino"));
|
|
103
|
+
const _736 = __importStar(require("./core/channel/v2/tx.amino"));
|
|
104
|
+
const _737 = __importStar(require("./core/client/v1/tx.amino"));
|
|
105
|
+
const _738 = __importStar(require("./core/client/v2/tx.amino"));
|
|
106
|
+
const _739 = __importStar(require("./core/connection/v1/tx.amino"));
|
|
107
|
+
const _740 = __importStar(require("./lightclients/wasm/v1/tx.amino"));
|
|
108
|
+
const _741 = __importStar(require("./applications/gmp/v1/tx.registry"));
|
|
109
|
+
const _742 = __importStar(require("./applications/interchain_accounts/controller/v1/tx.registry"));
|
|
110
|
+
const _743 = __importStar(require("./applications/interchain_accounts/host/v1/tx.registry"));
|
|
111
|
+
const _744 = __importStar(require("./applications/rate_limiting/v1/tx.registry"));
|
|
112
|
+
const _745 = __importStar(require("./applications/transfer/v1/tx.registry"));
|
|
113
|
+
const _746 = __importStar(require("./core/channel/v1/tx.registry"));
|
|
114
|
+
const _747 = __importStar(require("./core/channel/v2/tx.registry"));
|
|
115
|
+
const _748 = __importStar(require("./core/client/v1/tx.registry"));
|
|
116
|
+
const _749 = __importStar(require("./core/client/v2/tx.registry"));
|
|
117
|
+
const _750 = __importStar(require("./core/connection/v1/tx.registry"));
|
|
118
|
+
const _751 = __importStar(require("./lightclients/wasm/v1/tx.registry"));
|
|
119
|
+
const _752 = __importStar(require("./applications/gmp/v1/query.lcd"));
|
|
120
|
+
const _753 = __importStar(require("./applications/interchain_accounts/controller/v1/query.lcd"));
|
|
121
|
+
const _754 = __importStar(require("./applications/interchain_accounts/host/v1/query.lcd"));
|
|
122
|
+
const _755 = __importStar(require("./applications/rate_limiting/v1/query.lcd"));
|
|
123
|
+
const _756 = __importStar(require("./applications/transfer/v1/query.lcd"));
|
|
124
|
+
const _757 = __importStar(require("./core/channel/v1/query.lcd"));
|
|
125
|
+
const _758 = __importStar(require("./core/channel/v2/query.lcd"));
|
|
126
|
+
const _759 = __importStar(require("./core/client/v1/query.lcd"));
|
|
127
|
+
const _760 = __importStar(require("./core/client/v2/query.lcd"));
|
|
128
|
+
const _761 = __importStar(require("./core/connection/v1/query.lcd"));
|
|
129
|
+
const _762 = __importStar(require("./lightclients/wasm/v1/query.lcd"));
|
|
130
|
+
const _763 = __importStar(require("./applications/gmp/v1/query.rpc.Query"));
|
|
131
|
+
const _764 = __importStar(require("./applications/interchain_accounts/controller/v1/query.rpc.Query"));
|
|
132
|
+
const _765 = __importStar(require("./applications/interchain_accounts/host/v1/query.rpc.Query"));
|
|
133
|
+
const _766 = __importStar(require("./applications/rate_limiting/v1/query.rpc.Query"));
|
|
134
|
+
const _767 = __importStar(require("./applications/transfer/v1/query.rpc.Query"));
|
|
135
|
+
const _768 = __importStar(require("./core/channel/v1/query.rpc.Query"));
|
|
136
|
+
const _769 = __importStar(require("./core/channel/v2/query.rpc.Query"));
|
|
137
|
+
const _770 = __importStar(require("./core/client/v1/query.rpc.Query"));
|
|
138
|
+
const _771 = __importStar(require("./core/client/v2/query.rpc.Query"));
|
|
139
|
+
const _772 = __importStar(require("./core/connection/v1/query.rpc.Query"));
|
|
140
|
+
const _773 = __importStar(require("./lightclients/wasm/v1/query.rpc.Query"));
|
|
141
|
+
const _774 = __importStar(require("./applications/gmp/v1/tx.rpc.msg"));
|
|
142
|
+
const _775 = __importStar(require("./applications/interchain_accounts/controller/v1/tx.rpc.msg"));
|
|
143
|
+
const _776 = __importStar(require("./applications/interchain_accounts/host/v1/tx.rpc.msg"));
|
|
144
|
+
const _777 = __importStar(require("./applications/rate_limiting/v1/tx.rpc.msg"));
|
|
145
|
+
const _778 = __importStar(require("./applications/transfer/v1/tx.rpc.msg"));
|
|
146
|
+
const _779 = __importStar(require("./core/channel/v1/tx.rpc.msg"));
|
|
147
|
+
const _780 = __importStar(require("./core/channel/v2/tx.rpc.msg"));
|
|
148
|
+
const _781 = __importStar(require("./core/client/v1/tx.rpc.msg"));
|
|
149
|
+
const _782 = __importStar(require("./core/client/v2/tx.rpc.msg"));
|
|
150
|
+
const _783 = __importStar(require("./core/connection/v1/tx.rpc.msg"));
|
|
151
|
+
const _784 = __importStar(require("./lightclients/wasm/v1/tx.rpc.msg"));
|
|
152
|
+
const _888 = __importStar(require("./lcd"));
|
|
153
|
+
const _889 = __importStar(require("./rpc.query"));
|
|
154
|
+
const _890 = __importStar(require("./rpc.tx"));
|
|
155
155
|
var ibc;
|
|
156
156
|
(function (ibc) {
|
|
157
157
|
let applications;
|
|
@@ -164,11 +164,11 @@ var ibc;
|
|
|
164
164
|
..._299,
|
|
165
165
|
..._300,
|
|
166
166
|
..._301,
|
|
167
|
-
...
|
|
168
|
-
...
|
|
169
|
-
...
|
|
170
|
-
...
|
|
171
|
-
...
|
|
167
|
+
..._730,
|
|
168
|
+
..._741,
|
|
169
|
+
..._752,
|
|
170
|
+
..._763,
|
|
171
|
+
..._774
|
|
172
172
|
};
|
|
173
173
|
})(gmp = applications.gmp || (applications.gmp = {}));
|
|
174
174
|
let interchain_accounts;
|
|
@@ -179,11 +179,11 @@ var ibc;
|
|
|
179
179
|
..._302,
|
|
180
180
|
..._303,
|
|
181
181
|
..._304,
|
|
182
|
-
...
|
|
183
|
-
...
|
|
184
|
-
...
|
|
185
|
-
...
|
|
186
|
-
...
|
|
182
|
+
..._731,
|
|
183
|
+
..._742,
|
|
184
|
+
..._753,
|
|
185
|
+
..._764,
|
|
186
|
+
..._775
|
|
187
187
|
};
|
|
188
188
|
})(controller = interchain_accounts.controller || (interchain_accounts.controller = {}));
|
|
189
189
|
let genesis;
|
|
@@ -198,11 +198,11 @@ var ibc;
|
|
|
198
198
|
..._306,
|
|
199
199
|
..._307,
|
|
200
200
|
..._308,
|
|
201
|
-
...
|
|
202
|
-
...
|
|
203
|
-
...
|
|
204
|
-
...
|
|
205
|
-
...
|
|
201
|
+
..._732,
|
|
202
|
+
..._743,
|
|
203
|
+
..._754,
|
|
204
|
+
..._765,
|
|
205
|
+
..._776
|
|
206
206
|
};
|
|
207
207
|
})(host = interchain_accounts.host || (interchain_accounts.host = {}));
|
|
208
208
|
interchain_accounts.v1 = {
|
|
@@ -224,11 +224,11 @@ var ibc;
|
|
|
224
224
|
..._314,
|
|
225
225
|
..._315,
|
|
226
226
|
..._316,
|
|
227
|
-
...
|
|
228
|
-
...
|
|
229
|
-
...
|
|
230
|
-
...
|
|
231
|
-
...
|
|
227
|
+
..._733,
|
|
228
|
+
..._744,
|
|
229
|
+
..._755,
|
|
230
|
+
..._766,
|
|
231
|
+
..._777
|
|
232
232
|
};
|
|
233
233
|
})(rate_limiting = applications.rate_limiting || (applications.rate_limiting = {}));
|
|
234
234
|
let transfer;
|
|
@@ -242,11 +242,11 @@ var ibc;
|
|
|
242
242
|
..._322,
|
|
243
243
|
..._323,
|
|
244
244
|
..._324,
|
|
245
|
-
...
|
|
246
|
-
...
|
|
247
|
-
...
|
|
248
|
-
...
|
|
249
|
-
...
|
|
245
|
+
..._734,
|
|
246
|
+
..._745,
|
|
247
|
+
..._756,
|
|
248
|
+
..._767,
|
|
249
|
+
..._778
|
|
250
250
|
};
|
|
251
251
|
})(transfer = applications.transfer || (applications.transfer = {}));
|
|
252
252
|
})(applications = ibc.applications || (ibc.applications = {}));
|
|
@@ -259,22 +259,22 @@ var ibc;
|
|
|
259
259
|
..._326,
|
|
260
260
|
..._327,
|
|
261
261
|
..._328,
|
|
262
|
-
...
|
|
263
|
-
...
|
|
264
|
-
...
|
|
265
|
-
...
|
|
266
|
-
...
|
|
262
|
+
..._735,
|
|
263
|
+
..._746,
|
|
264
|
+
..._757,
|
|
265
|
+
..._768,
|
|
266
|
+
..._779
|
|
267
267
|
};
|
|
268
268
|
channel.v2 = {
|
|
269
269
|
..._329,
|
|
270
270
|
..._330,
|
|
271
271
|
..._331,
|
|
272
272
|
..._332,
|
|
273
|
-
...
|
|
274
|
-
...
|
|
275
|
-
...
|
|
276
|
-
...
|
|
277
|
-
...
|
|
273
|
+
..._736,
|
|
274
|
+
..._747,
|
|
275
|
+
..._758,
|
|
276
|
+
..._769,
|
|
277
|
+
..._780
|
|
278
278
|
};
|
|
279
279
|
})(channel = core.channel || (core.channel = {}));
|
|
280
280
|
let client;
|
|
@@ -284,11 +284,11 @@ var ibc;
|
|
|
284
284
|
..._334,
|
|
285
285
|
..._335,
|
|
286
286
|
..._336,
|
|
287
|
-
...
|
|
288
|
-
...
|
|
289
|
-
...
|
|
290
|
-
...
|
|
291
|
-
...
|
|
287
|
+
..._737,
|
|
288
|
+
..._748,
|
|
289
|
+
..._759,
|
|
290
|
+
..._770,
|
|
291
|
+
..._781
|
|
292
292
|
};
|
|
293
293
|
client.v2 = {
|
|
294
294
|
..._337,
|
|
@@ -296,11 +296,11 @@ var ibc;
|
|
|
296
296
|
..._339,
|
|
297
297
|
..._340,
|
|
298
298
|
..._341,
|
|
299
|
-
...
|
|
300
|
-
...
|
|
301
|
-
...
|
|
302
|
-
...
|
|
303
|
-
...
|
|
299
|
+
..._738,
|
|
300
|
+
..._749,
|
|
301
|
+
..._760,
|
|
302
|
+
..._771,
|
|
303
|
+
..._782
|
|
304
304
|
};
|
|
305
305
|
})(client = core.client || (core.client = {}));
|
|
306
306
|
let commitment;
|
|
@@ -319,11 +319,11 @@ var ibc;
|
|
|
319
319
|
..._345,
|
|
320
320
|
..._346,
|
|
321
321
|
..._347,
|
|
322
|
-
...
|
|
323
|
-
...
|
|
324
|
-
...
|
|
325
|
-
...
|
|
326
|
-
...
|
|
322
|
+
..._739,
|
|
323
|
+
..._750,
|
|
324
|
+
..._761,
|
|
325
|
+
..._772,
|
|
326
|
+
..._783
|
|
327
327
|
};
|
|
328
328
|
})(connection = core.connection || (core.connection = {}));
|
|
329
329
|
})(core = ibc.core || (ibc.core = {}));
|
|
@@ -357,17 +357,17 @@ var ibc;
|
|
|
357
357
|
..._353,
|
|
358
358
|
..._354,
|
|
359
359
|
..._355,
|
|
360
|
-
...
|
|
361
|
-
...
|
|
362
|
-
...
|
|
363
|
-
...
|
|
364
|
-
...
|
|
360
|
+
..._740,
|
|
361
|
+
..._751,
|
|
362
|
+
..._762,
|
|
363
|
+
..._773,
|
|
364
|
+
..._784
|
|
365
365
|
};
|
|
366
366
|
})(wasm = lightclients.wasm || (lightclients.wasm = {}));
|
|
367
367
|
})(lightclients = ibc.lightclients || (ibc.lightclients = {}));
|
|
368
368
|
ibc.ClientFactory = {
|
|
369
|
-
...
|
|
370
|
-
...
|
|
371
|
-
...
|
|
369
|
+
..._888,
|
|
370
|
+
..._889,
|
|
371
|
+
..._890
|
|
372
372
|
};
|
|
373
373
|
})(ibc || (exports.ibc = ibc = {}));
|
package/package.json
CHANGED
|
@@ -2219,6 +2219,13 @@ export interface Auction {
|
|
|
2219
2219
|
highBidder: string;
|
|
2220
2220
|
highBid: string;
|
|
2221
2221
|
bids: number;
|
|
2222
|
+
/**
|
|
2223
|
+
* The high bid's optional pins (MsgBid expected_metadata_hash /
|
|
2224
|
+
* expected_contents_hash). Settlement re-checks them and refunds the bid
|
|
2225
|
+
* instead of selling when the token no longer matches.
|
|
2226
|
+
*/
|
|
2227
|
+
highBidMetadataHash: string;
|
|
2228
|
+
highBidContentsHash: string;
|
|
2222
2229
|
}
|
|
2223
2230
|
export interface AuctionProtoMsg {
|
|
2224
2231
|
typeUrl: "/sparkdream.artifact.v1.Auction";
|
|
@@ -2253,6 +2260,13 @@ export interface AuctionAmino {
|
|
|
2253
2260
|
high_bidder?: string;
|
|
2254
2261
|
high_bid?: string;
|
|
2255
2262
|
bids?: number;
|
|
2263
|
+
/**
|
|
2264
|
+
* The high bid's optional pins (MsgBid expected_metadata_hash /
|
|
2265
|
+
* expected_contents_hash). Settlement re-checks them and refunds the bid
|
|
2266
|
+
* instead of selling when the token no longer matches.
|
|
2267
|
+
*/
|
|
2268
|
+
high_bid_metadata_hash?: string;
|
|
2269
|
+
high_bid_contents_hash?: string;
|
|
2256
2270
|
}
|
|
2257
2271
|
export interface AuctionAminoMsg {
|
|
2258
2272
|
type: "/sparkdream.artifact.v1.Auction";
|
|
@@ -5640,7 +5640,9 @@ function createBaseAuction() {
|
|
|
5640
5640
|
endsAt: BigInt(0),
|
|
5641
5641
|
highBidder: "",
|
|
5642
5642
|
highBid: "",
|
|
5643
|
-
bids: 0
|
|
5643
|
+
bids: 0,
|
|
5644
|
+
highBidMetadataHash: "",
|
|
5645
|
+
highBidContentsHash: ""
|
|
5644
5646
|
};
|
|
5645
5647
|
}
|
|
5646
5648
|
/**
|
|
@@ -5687,6 +5689,12 @@ exports.Auction = {
|
|
|
5687
5689
|
if (message.bids !== 0) {
|
|
5688
5690
|
writer.uint32(88).uint32(message.bids);
|
|
5689
5691
|
}
|
|
5692
|
+
if (message.highBidMetadataHash !== "") {
|
|
5693
|
+
writer.uint32(98).string(message.highBidMetadataHash);
|
|
5694
|
+
}
|
|
5695
|
+
if (message.highBidContentsHash !== "") {
|
|
5696
|
+
writer.uint32(106).string(message.highBidContentsHash);
|
|
5697
|
+
}
|
|
5690
5698
|
return writer;
|
|
5691
5699
|
},
|
|
5692
5700
|
decode(input, length) {
|
|
@@ -5729,6 +5737,12 @@ exports.Auction = {
|
|
|
5729
5737
|
case 11:
|
|
5730
5738
|
message.bids = reader.uint32();
|
|
5731
5739
|
break;
|
|
5740
|
+
case 12:
|
|
5741
|
+
message.highBidMetadataHash = reader.string();
|
|
5742
|
+
break;
|
|
5743
|
+
case 13:
|
|
5744
|
+
message.highBidContentsHash = reader.string();
|
|
5745
|
+
break;
|
|
5732
5746
|
default:
|
|
5733
5747
|
reader.skipType(tag & 7);
|
|
5734
5748
|
break;
|
|
@@ -5749,6 +5763,8 @@ exports.Auction = {
|
|
|
5749
5763
|
message.highBidder = object.highBidder ?? "";
|
|
5750
5764
|
message.highBid = object.highBid ?? "";
|
|
5751
5765
|
message.bids = object.bids ?? 0;
|
|
5766
|
+
message.highBidMetadataHash = object.highBidMetadataHash ?? "";
|
|
5767
|
+
message.highBidContentsHash = object.highBidContentsHash ?? "";
|
|
5752
5768
|
return message;
|
|
5753
5769
|
},
|
|
5754
5770
|
fromAmino(object) {
|
|
@@ -5786,6 +5802,12 @@ exports.Auction = {
|
|
|
5786
5802
|
if (object.bids !== undefined && object.bids !== null) {
|
|
5787
5803
|
message.bids = object.bids;
|
|
5788
5804
|
}
|
|
5805
|
+
if (object.high_bid_metadata_hash !== undefined && object.high_bid_metadata_hash !== null) {
|
|
5806
|
+
message.highBidMetadataHash = object.high_bid_metadata_hash;
|
|
5807
|
+
}
|
|
5808
|
+
if (object.high_bid_contents_hash !== undefined && object.high_bid_contents_hash !== null) {
|
|
5809
|
+
message.highBidContentsHash = object.high_bid_contents_hash;
|
|
5810
|
+
}
|
|
5789
5811
|
return message;
|
|
5790
5812
|
},
|
|
5791
5813
|
toAmino(message) {
|
|
@@ -5801,6 +5823,8 @@ exports.Auction = {
|
|
|
5801
5823
|
obj.high_bidder = message.highBidder === "" ? undefined : message.highBidder;
|
|
5802
5824
|
obj.high_bid = message.highBid === "" ? undefined : message.highBid;
|
|
5803
5825
|
obj.bids = message.bids === 0 ? undefined : message.bids;
|
|
5826
|
+
obj.high_bid_metadata_hash = message.highBidMetadataHash === "" ? undefined : message.highBidMetadataHash;
|
|
5827
|
+
obj.high_bid_contents_hash = message.highBidContentsHash === "" ? undefined : message.highBidContentsHash;
|
|
5804
5828
|
return obj;
|
|
5805
5829
|
},
|
|
5806
5830
|
fromAminoMsg(object) {
|
|
@@ -38,6 +38,13 @@ export interface GenesisState {
|
|
|
38
38
|
* reaction_counts is the list of all aggregate reaction counts.
|
|
39
39
|
*/
|
|
40
40
|
reactionCounts: GenesisReactionCounts[];
|
|
41
|
+
/**
|
|
42
|
+
* Authors queued for eager promotion of their ephemeral content (admitted
|
|
43
|
+
* as members after posting). The queue is driven by an x/rep hook, so it
|
|
44
|
+
* cannot be rebuilt from the posts; without it an import would drop every
|
|
45
|
+
* pending promotion.
|
|
46
|
+
*/
|
|
47
|
+
promotionQueue: PromotionQueueEntry[];
|
|
41
48
|
}
|
|
42
49
|
export interface GenesisStateProtoMsg {
|
|
43
50
|
typeUrl: "/sparkdream.blog.v1.GenesisState";
|
|
@@ -78,11 +85,46 @@ export interface GenesisStateAmino {
|
|
|
78
85
|
* reaction_counts is the list of all aggregate reaction counts.
|
|
79
86
|
*/
|
|
80
87
|
reaction_counts?: GenesisReactionCountsAmino[];
|
|
88
|
+
/**
|
|
89
|
+
* Authors queued for eager promotion of their ephemeral content (admitted
|
|
90
|
+
* as members after posting). The queue is driven by an x/rep hook, so it
|
|
91
|
+
* cannot be rebuilt from the posts; without it an import would drop every
|
|
92
|
+
* pending promotion.
|
|
93
|
+
*/
|
|
94
|
+
promotion_queue?: PromotionQueueEntryAmino[];
|
|
81
95
|
}
|
|
82
96
|
export interface GenesisStateAminoMsg {
|
|
83
97
|
type: "/sparkdream.blog.v1.GenesisState";
|
|
84
98
|
value: GenesisStateAmino;
|
|
85
99
|
}
|
|
100
|
+
/**
|
|
101
|
+
* PromotionQueueEntry is one queued author and the height it was enqueued.
|
|
102
|
+
* @name PromotionQueueEntry
|
|
103
|
+
* @package sparkdream.blog.v1
|
|
104
|
+
* @see proto type: sparkdream.blog.v1.PromotionQueueEntry
|
|
105
|
+
*/
|
|
106
|
+
export interface PromotionQueueEntry {
|
|
107
|
+
creator: string;
|
|
108
|
+
enqueuedAt: bigint;
|
|
109
|
+
}
|
|
110
|
+
export interface PromotionQueueEntryProtoMsg {
|
|
111
|
+
typeUrl: "/sparkdream.blog.v1.PromotionQueueEntry";
|
|
112
|
+
value: Uint8Array;
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* PromotionQueueEntry is one queued author and the height it was enqueued.
|
|
116
|
+
* @name PromotionQueueEntryAmino
|
|
117
|
+
* @package sparkdream.blog.v1
|
|
118
|
+
* @see proto type: sparkdream.blog.v1.PromotionQueueEntry
|
|
119
|
+
*/
|
|
120
|
+
export interface PromotionQueueEntryAmino {
|
|
121
|
+
creator?: string;
|
|
122
|
+
enqueued_at?: string;
|
|
123
|
+
}
|
|
124
|
+
export interface PromotionQueueEntryAminoMsg {
|
|
125
|
+
type: "/sparkdream.blog.v1.PromotionQueueEntry";
|
|
126
|
+
value: PromotionQueueEntryAmino;
|
|
127
|
+
}
|
|
86
128
|
/**
|
|
87
129
|
* GenesisState defines the blog module's genesis state.
|
|
88
130
|
* @name GenesisState
|
|
@@ -101,3 +143,21 @@ export declare const GenesisState: {
|
|
|
101
143
|
toProto(message: GenesisState): Uint8Array;
|
|
102
144
|
toProtoMsg(message: GenesisState): GenesisStateProtoMsg;
|
|
103
145
|
};
|
|
146
|
+
/**
|
|
147
|
+
* PromotionQueueEntry is one queued author and the height it was enqueued.
|
|
148
|
+
* @name PromotionQueueEntry
|
|
149
|
+
* @package sparkdream.blog.v1
|
|
150
|
+
* @see proto type: sparkdream.blog.v1.PromotionQueueEntry
|
|
151
|
+
*/
|
|
152
|
+
export declare const PromotionQueueEntry: {
|
|
153
|
+
typeUrl: string;
|
|
154
|
+
encode(message: PromotionQueueEntry, writer?: BinaryWriter): BinaryWriter;
|
|
155
|
+
decode(input: BinaryReader | Uint8Array, length?: number): PromotionQueueEntry;
|
|
156
|
+
fromPartial(object: DeepPartial<PromotionQueueEntry>): PromotionQueueEntry;
|
|
157
|
+
fromAmino(object: PromotionQueueEntryAmino): PromotionQueueEntry;
|
|
158
|
+
toAmino(message: PromotionQueueEntry): PromotionQueueEntryAmino;
|
|
159
|
+
fromAminoMsg(object: PromotionQueueEntryAminoMsg): PromotionQueueEntry;
|
|
160
|
+
fromProtoMsg(message: PromotionQueueEntryProtoMsg): PromotionQueueEntry;
|
|
161
|
+
toProto(message: PromotionQueueEntry): Uint8Array;
|
|
162
|
+
toProtoMsg(message: PromotionQueueEntry): PromotionQueueEntryProtoMsg;
|
|
163
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GenesisState = void 0;
|
|
3
|
+
exports.PromotionQueueEntry = exports.GenesisState = void 0;
|
|
4
4
|
//@ts-nocheck
|
|
5
5
|
const params_1 = require("./params");
|
|
6
6
|
const post_1 = require("./post");
|
|
@@ -14,7 +14,8 @@ function createBaseGenesisState() {
|
|
|
14
14
|
replies: [],
|
|
15
15
|
replyCount: BigInt(0),
|
|
16
16
|
reactions: [],
|
|
17
|
-
reactionCounts: []
|
|
17
|
+
reactionCounts: [],
|
|
18
|
+
promotionQueue: []
|
|
18
19
|
};
|
|
19
20
|
}
|
|
20
21
|
/**
|
|
@@ -47,6 +48,9 @@ exports.GenesisState = {
|
|
|
47
48
|
for (const v of message.reactionCounts) {
|
|
48
49
|
types_1.GenesisReactionCounts.encode(v, writer.uint32(58).fork()).ldelim();
|
|
49
50
|
}
|
|
51
|
+
for (const v of message.promotionQueue) {
|
|
52
|
+
exports.PromotionQueueEntry.encode(v, writer.uint32(66).fork()).ldelim();
|
|
53
|
+
}
|
|
50
54
|
return writer;
|
|
51
55
|
},
|
|
52
56
|
decode(input, length) {
|
|
@@ -77,6 +81,9 @@ exports.GenesisState = {
|
|
|
77
81
|
case 7:
|
|
78
82
|
message.reactionCounts.push(types_1.GenesisReactionCounts.decode(reader, reader.uint32()));
|
|
79
83
|
break;
|
|
84
|
+
case 8:
|
|
85
|
+
message.promotionQueue.push(exports.PromotionQueueEntry.decode(reader, reader.uint32()));
|
|
86
|
+
break;
|
|
80
87
|
default:
|
|
81
88
|
reader.skipType(tag & 7);
|
|
82
89
|
break;
|
|
@@ -93,6 +100,7 @@ exports.GenesisState = {
|
|
|
93
100
|
message.replyCount = object.replyCount !== undefined && object.replyCount !== null ? BigInt(object.replyCount.toString()) : BigInt(0);
|
|
94
101
|
message.reactions = object.reactions?.map(e => types_1.Reaction.fromPartial(e)) || [];
|
|
95
102
|
message.reactionCounts = object.reactionCounts?.map(e => types_1.GenesisReactionCounts.fromPartial(e)) || [];
|
|
103
|
+
message.promotionQueue = object.promotionQueue?.map(e => exports.PromotionQueueEntry.fromPartial(e)) || [];
|
|
96
104
|
return message;
|
|
97
105
|
},
|
|
98
106
|
fromAmino(object) {
|
|
@@ -110,6 +118,7 @@ exports.GenesisState = {
|
|
|
110
118
|
}
|
|
111
119
|
message.reactions = object.reactions?.map(e => types_1.Reaction.fromAmino(e)) || [];
|
|
112
120
|
message.reactionCounts = object.reaction_counts?.map(e => types_1.GenesisReactionCounts.fromAmino(e)) || [];
|
|
121
|
+
message.promotionQueue = object.promotion_queue?.map(e => exports.PromotionQueueEntry.fromAmino(e)) || [];
|
|
113
122
|
return message;
|
|
114
123
|
},
|
|
115
124
|
toAmino(message) {
|
|
@@ -141,6 +150,12 @@ exports.GenesisState = {
|
|
|
141
150
|
else {
|
|
142
151
|
obj.reaction_counts = message.reactionCounts;
|
|
143
152
|
}
|
|
153
|
+
if (message.promotionQueue) {
|
|
154
|
+
obj.promotion_queue = message.promotionQueue.map(e => e ? exports.PromotionQueueEntry.toAmino(e) : undefined);
|
|
155
|
+
}
|
|
156
|
+
else {
|
|
157
|
+
obj.promotion_queue = message.promotionQueue;
|
|
158
|
+
}
|
|
144
159
|
return obj;
|
|
145
160
|
},
|
|
146
161
|
fromAminoMsg(object) {
|
|
@@ -159,3 +174,84 @@ exports.GenesisState = {
|
|
|
159
174
|
};
|
|
160
175
|
}
|
|
161
176
|
};
|
|
177
|
+
function createBasePromotionQueueEntry() {
|
|
178
|
+
return {
|
|
179
|
+
creator: "",
|
|
180
|
+
enqueuedAt: BigInt(0)
|
|
181
|
+
};
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* PromotionQueueEntry is one queued author and the height it was enqueued.
|
|
185
|
+
* @name PromotionQueueEntry
|
|
186
|
+
* @package sparkdream.blog.v1
|
|
187
|
+
* @see proto type: sparkdream.blog.v1.PromotionQueueEntry
|
|
188
|
+
*/
|
|
189
|
+
exports.PromotionQueueEntry = {
|
|
190
|
+
typeUrl: "/sparkdream.blog.v1.PromotionQueueEntry",
|
|
191
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
192
|
+
if (message.creator !== "") {
|
|
193
|
+
writer.uint32(10).string(message.creator);
|
|
194
|
+
}
|
|
195
|
+
if (message.enqueuedAt !== BigInt(0)) {
|
|
196
|
+
writer.uint32(16).int64(message.enqueuedAt);
|
|
197
|
+
}
|
|
198
|
+
return writer;
|
|
199
|
+
},
|
|
200
|
+
decode(input, length) {
|
|
201
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
202
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
203
|
+
const message = createBasePromotionQueueEntry();
|
|
204
|
+
while (reader.pos < end) {
|
|
205
|
+
const tag = reader.uint32();
|
|
206
|
+
switch (tag >>> 3) {
|
|
207
|
+
case 1:
|
|
208
|
+
message.creator = reader.string();
|
|
209
|
+
break;
|
|
210
|
+
case 2:
|
|
211
|
+
message.enqueuedAt = reader.int64();
|
|
212
|
+
break;
|
|
213
|
+
default:
|
|
214
|
+
reader.skipType(tag & 7);
|
|
215
|
+
break;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
return message;
|
|
219
|
+
},
|
|
220
|
+
fromPartial(object) {
|
|
221
|
+
const message = createBasePromotionQueueEntry();
|
|
222
|
+
message.creator = object.creator ?? "";
|
|
223
|
+
message.enqueuedAt = object.enqueuedAt !== undefined && object.enqueuedAt !== null ? BigInt(object.enqueuedAt.toString()) : BigInt(0);
|
|
224
|
+
return message;
|
|
225
|
+
},
|
|
226
|
+
fromAmino(object) {
|
|
227
|
+
const message = createBasePromotionQueueEntry();
|
|
228
|
+
if (object.creator !== undefined && object.creator !== null) {
|
|
229
|
+
message.creator = object.creator;
|
|
230
|
+
}
|
|
231
|
+
if (object.enqueued_at !== undefined && object.enqueued_at !== null) {
|
|
232
|
+
message.enqueuedAt = BigInt(object.enqueued_at);
|
|
233
|
+
}
|
|
234
|
+
return message;
|
|
235
|
+
},
|
|
236
|
+
toAmino(message) {
|
|
237
|
+
const obj = {};
|
|
238
|
+
obj.creator = message.creator === "" ? undefined : message.creator;
|
|
239
|
+
obj.enqueued_at = message.enqueuedAt !== BigInt(0) ? message.enqueuedAt?.toString() : undefined;
|
|
240
|
+
return obj;
|
|
241
|
+
},
|
|
242
|
+
fromAminoMsg(object) {
|
|
243
|
+
return exports.PromotionQueueEntry.fromAmino(object.value);
|
|
244
|
+
},
|
|
245
|
+
fromProtoMsg(message) {
|
|
246
|
+
return exports.PromotionQueueEntry.decode(message.value);
|
|
247
|
+
},
|
|
248
|
+
toProto(message) {
|
|
249
|
+
return exports.PromotionQueueEntry.encode(message).finish();
|
|
250
|
+
},
|
|
251
|
+
toProtoMsg(message) {
|
|
252
|
+
return {
|
|
253
|
+
typeUrl: "/sparkdream.blog.v1.PromotionQueueEntry",
|
|
254
|
+
value: exports.PromotionQueueEntry.encode(message).finish()
|
|
255
|
+
};
|
|
256
|
+
}
|
|
257
|
+
};
|