@sparkdreamnft/sparkdreamjs 0.0.17 → 0.0.19
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/cosmos/bundle.d.ts +160 -160
- package/cosmos/bundle.js +182 -182
- package/esm/cosmos/bundle.js +182 -182
- package/esm/ibc/bundle.js +106 -106
- package/esm/sparkdream/blog/v1/params.js +113 -52
- package/esm/sparkdream/blog/v1/tx.js +583 -2
- package/esm/sparkdream/blog/v1/tx.registry.js +74 -2
- package/esm/sparkdream/blog/v1/tx.rpc.msg.js +33 -3
- package/esm/sparkdream/bundle.js +448 -346
- package/esm/sparkdream/client.js +7 -1
- package/esm/sparkdream/collect/v1/params.js +121 -1
- package/esm/sparkdream/collect/v1/tx.js +293 -1
- package/esm/sparkdream/collect/v1/tx.registry.js +38 -2
- package/esm/sparkdream/collect/v1/tx.rpc.msg.js +17 -2
- package/esm/sparkdream/collect/v1/types.js +147 -3
- package/esm/sparkdream/commons/v1/genesis.js +29 -1
- package/esm/sparkdream/commons/v1/query.js +317 -0
- package/esm/sparkdream/commons/v1/query.lcd.js +23 -0
- package/esm/sparkdream/commons/v1/query.rpc.Query.js +20 -1
- package/esm/sparkdream/commons/v1/recurring_spend.js +296 -0
- package/esm/sparkdream/commons/v1/tx.js +693 -0
- package/esm/sparkdream/commons/v1/tx.registry.js +74 -2
- package/esm/sparkdream/commons/v1/tx.rpc.msg.js +33 -1
- package/esm/sparkdream/federation/v1/genesis.js +10 -10
- package/esm/sparkdream/federation/v1/params.js +29 -54
- package/esm/sparkdream/federation/v1/query.js +216 -71
- package/esm/sparkdream/federation/v1/query.lcd.js +11 -6
- package/esm/sparkdream/federation/v1/query.rpc.Query.js +24 -15
- package/esm/sparkdream/federation/v1/tx.amino.js +21 -21
- package/esm/sparkdream/federation/v1/tx.js +1146 -1105
- package/esm/sparkdream/federation/v1/tx.registry.js +74 -74
- package/esm/sparkdream/federation/v1/tx.rpc.msg.js +32 -26
- package/esm/sparkdream/federation/v1/types.js +355 -99
- package/esm/sparkdream/federation/v1/verifier_activity.js +13 -1
- package/esm/sparkdream/forum/v1/params.js +389 -148
- package/esm/sparkdream/forum/v1/post.js +25 -1
- package/esm/sparkdream/forum/v1/tx.js +460 -0
- package/esm/sparkdream/forum/v1/tx.registry.js +56 -2
- package/esm/sparkdream/forum/v1/tx.rpc.msg.js +30 -1
- package/esm/sparkdream/forum/v1/types.js +355 -0
- package/esm/sparkdream/forum/v1/user_rate_limit.js +41 -2
- package/esm/sparkdream/guardian/module/v1/module.js +68 -0
- package/esm/sparkdream/guardian/v1/query.js +128 -0
- package/esm/sparkdream/guardian/v1/query.lcd.js +13 -0
- package/esm/sparkdream/guardian/v1/query.rpc.Query.js +26 -0
- package/esm/sparkdream/guardian/v1/tx.amino.js +9 -0
- package/esm/sparkdream/guardian/v1/tx.js +175 -0
- package/esm/sparkdream/guardian/v1/tx.registry.js +33 -0
- package/esm/sparkdream/guardian/v1/tx.rpc.msg.js +24 -0
- package/esm/sparkdream/identity/module/v1/module.js +71 -0
- package/esm/sparkdream/identity/v1/chain_identity.js +199 -0
- package/esm/sparkdream/identity/v1/genesis.js +84 -0
- package/esm/sparkdream/identity/v1/query.js +372 -0
- package/esm/sparkdream/identity/v1/query.lcd.js +21 -0
- package/esm/sparkdream/identity/v1/query.rpc.Query.js +42 -0
- package/esm/sparkdream/lcd.js +15 -0
- package/esm/sparkdream/name/v1/params.js +19 -18
- package/esm/sparkdream/rep/v1/bonded_role.js +48 -2
- package/esm/sparkdream/rep/v1/member.js +209 -1
- package/esm/sparkdream/rep/v1/tag.js +6 -13
- package/esm/sparkdream/rpc.query.js +9 -0
- package/esm/sparkdream/rpc.tx.js +6 -0
- package/esm/sparkdream/service/module/v1/module.js +71 -0
- package/esm/sparkdream/service/v1/controller_transfer_case.js +155 -0
- package/esm/sparkdream/service/v1/genesis.js +240 -0
- package/esm/sparkdream/service/v1/operator.js +250 -0
- package/esm/sparkdream/service/v1/params.js +355 -0
- package/esm/sparkdream/service/v1/query.js +1582 -0
- package/esm/sparkdream/service/v1/query.lcd.js +107 -0
- package/esm/sparkdream/service/v1/query.rpc.Query.js +109 -0
- package/esm/sparkdream/service/v1/refile_cooldown.js +121 -0
- package/esm/sparkdream/service/v1/report.js +212 -0
- package/esm/sparkdream/service/v1/reporter_rate_limit.js +137 -0
- package/esm/sparkdream/service/v1/service_type_config.js +264 -0
- package/esm/sparkdream/service/v1/system_report_rate_limit.js +115 -0
- package/esm/sparkdream/service/v1/tier1_escrow_entry.js +145 -0
- package/esm/sparkdream/service/v1/tier1_last_slash.js +121 -0
- package/esm/sparkdream/service/v1/tx.amino.js +69 -0
- package/esm/sparkdream/service/v1/tx.js +2124 -0
- package/esm/sparkdream/service/v1/tx.registry.js +249 -0
- package/esm/sparkdream/service/v1/tx.rpc.msg.js +100 -0
- package/esm/sparkdream/service/v1/types.js +353 -0
- package/esm/sparkdream/session/v1/genesis.js +136 -10
- package/esm/sparkdream/session/v1/grant.js +1020 -0
- package/esm/sparkdream/session/v1/params.js +543 -19
- package/esm/sparkdream/session/v1/query.js +487 -0
- package/esm/sparkdream/session/v1/query.lcd.js +41 -3
- package/esm/sparkdream/session/v1/query.rpc.Query.js +36 -4
- package/esm/sparkdream/session/v1/session.js +6 -0
- package/esm/sparkdream/session/v1/tx.js +1066 -0
- package/esm/sparkdream/session/v1/tx.registry.js +110 -2
- package/esm/sparkdream/session/v1/tx.rpc.msg.js +65 -3
- package/esm/tendermint/bundle.js +20 -20
- package/ibc/bundle.d.ts +90 -90
- package/ibc/bundle.js +106 -106
- package/package.json +1 -1
- package/sparkdream/blog/v1/params.d.ts +89 -28
- package/sparkdream/blog/v1/params.js +113 -52
- package/sparkdream/blog/v1/post.d.ts +2 -2
- package/sparkdream/blog/v1/tx.d.ts +385 -10
- package/sparkdream/blog/v1/tx.js +584 -3
- package/sparkdream/blog/v1/tx.registry.d.ts +49 -1
- package/sparkdream/blog/v1/tx.registry.js +73 -1
- package/sparkdream/blog/v1/tx.rpc.msg.d.ts +27 -3
- package/sparkdream/blog/v1/tx.rpc.msg.js +32 -2
- package/sparkdream/bundle.d.ts +15308 -12896
- package/sparkdream/bundle.js +448 -346
- package/sparkdream/client.d.ts +90 -20
- package/sparkdream/client.js +7 -1
- package/sparkdream/collect/v1/params.d.ts +140 -0
- package/sparkdream/collect/v1/params.js +121 -1
- package/sparkdream/collect/v1/tx.d.ts +195 -3
- package/sparkdream/collect/v1/tx.js +294 -2
- package/sparkdream/collect/v1/tx.registry.d.ts +25 -1
- package/sparkdream/collect/v1/tx.registry.js +37 -1
- package/sparkdream/collect/v1/tx.rpc.msg.d.ts +15 -2
- package/sparkdream/collect/v1/tx.rpc.msg.js +16 -1
- package/sparkdream/collect/v1/types.d.ts +114 -0
- package/sparkdream/collect/v1/types.js +147 -3
- package/sparkdream/commons/v1/genesis.d.ts +17 -0
- package/sparkdream/commons/v1/genesis.js +29 -1
- package/sparkdream/commons/v1/query.d.ts +186 -0
- package/sparkdream/commons/v1/query.js +318 -1
- package/sparkdream/commons/v1/query.lcd.d.ts +3 -1
- package/sparkdream/commons/v1/query.lcd.js +23 -0
- package/sparkdream/commons/v1/query.rpc.Query.d.ts +12 -1
- package/sparkdream/commons/v1/query.rpc.Query.js +19 -0
- package/sparkdream/commons/v1/recurring_spend.d.ts +234 -0
- package/sparkdream/commons/v1/recurring_spend.js +301 -0
- package/sparkdream/commons/v1/tx.d.ts +472 -0
- package/sparkdream/commons/v1/tx.js +694 -1
- 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 +29 -1
- package/sparkdream/commons/v1/tx.rpc.msg.js +32 -0
- package/sparkdream/federation/v1/genesis.d.ts +3 -3
- package/sparkdream/federation/v1/genesis.js +9 -9
- package/sparkdream/federation/v1/params.d.ts +64 -13
- package/sparkdream/federation/v1/params.js +29 -54
- package/sparkdream/federation/v1/query.d.ts +209 -100
- package/sparkdream/federation/v1/query.js +216 -71
- package/sparkdream/federation/v1/query.lcd.d.ts +4 -3
- package/sparkdream/federation/v1/query.lcd.js +11 -6
- package/sparkdream/federation/v1/query.rpc.Query.d.ts +10 -7
- package/sparkdream/federation/v1/query.rpc.Query.js +24 -15
- package/sparkdream/federation/v1/tx.amino.d.ts +21 -21
- package/sparkdream/federation/v1/tx.amino.js +20 -20
- package/sparkdream/federation/v1/tx.d.ts +479 -352
- package/sparkdream/federation/v1/tx.js +1147 -1106
- package/sparkdream/federation/v1/tx.registry.d.ts +49 -49
- package/sparkdream/federation/v1/tx.registry.js +73 -73
- package/sparkdream/federation/v1/tx.rpc.msg.d.ts +18 -9
- package/sparkdream/federation/v1/tx.rpc.msg.js +31 -25
- package/sparkdream/federation/v1/types.d.ts +307 -41
- package/sparkdream/federation/v1/types.js +360 -100
- package/sparkdream/federation/v1/verifier_activity.d.ts +18 -0
- package/sparkdream/federation/v1/verifier_activity.js +13 -1
- package/sparkdream/forum/v1/params.d.ts +309 -62
- package/sparkdream/forum/v1/params.js +389 -148
- package/sparkdream/forum/v1/post.d.ts +28 -0
- package/sparkdream/forum/v1/post.js +25 -1
- package/sparkdream/forum/v1/tx.d.ts +291 -0
- package/sparkdream/forum/v1/tx.js +462 -2
- package/sparkdream/forum/v1/tx.registry.d.ts +37 -1
- package/sparkdream/forum/v1/tx.registry.js +55 -1
- package/sparkdream/forum/v1/tx.rpc.msg.d.ts +27 -1
- package/sparkdream/forum/v1/tx.rpc.msg.js +29 -0
- package/sparkdream/forum/v1/types.d.ts +247 -0
- package/sparkdream/forum/v1/types.js +356 -1
- package/sparkdream/forum/v1/user_rate_limit.d.ts +24 -3
- package/sparkdream/forum/v1/user_rate_limit.js +41 -2
- package/sparkdream/guardian/module/v1/module.d.ts +74 -0
- package/sparkdream/guardian/module/v1/module.js +71 -0
- package/sparkdream/guardian/v1/query.d.ts +88 -0
- package/sparkdream/guardian/v1/query.js +131 -0
- package/sparkdream/guardian/v1/query.lcd.d.ts +9 -0
- package/sparkdream/guardian/v1/query.lcd.js +17 -0
- package/sparkdream/guardian/v1/query.rpc.Query.d.ts +20 -0
- package/sparkdream/guardian/v1/query.rpc.Query.js +31 -0
- package/sparkdream/guardian/v1/tx.amino.d.ts +8 -0
- package/sparkdream/guardian/v1/tx.amino.js +12 -0
- package/sparkdream/guardian/v1/tx.d.ts +138 -0
- package/sparkdream/guardian/v1/tx.js +181 -0
- package/sparkdream/guardian/v1/tx.registry.d.ts +25 -0
- package/sparkdream/guardian/v1/tx.registry.js +37 -0
- package/sparkdream/guardian/v1/tx.rpc.msg.d.ts +22 -0
- package/sparkdream/guardian/v1/tx.rpc.msg.js +29 -0
- package/sparkdream/identity/module/v1/module.d.ts +54 -0
- package/sparkdream/identity/module/v1/module.js +74 -0
- package/sparkdream/identity/v1/chain_identity.d.ts +131 -0
- package/sparkdream/identity/v1/chain_identity.js +202 -0
- package/sparkdream/identity/v1/genesis.d.ts +65 -0
- package/sparkdream/identity/v1/genesis.js +87 -0
- package/sparkdream/identity/v1/query.d.ts +243 -0
- package/sparkdream/identity/v1/query.js +375 -0
- package/sparkdream/identity/v1/query.lcd.d.ts +11 -0
- package/sparkdream/identity/v1/query.lcd.js +25 -0
- package/sparkdream/identity/v1/query.rpc.Query.d.ts +26 -0
- package/sparkdream/identity/v1/query.rpc.Query.js +47 -0
- package/sparkdream/lcd.d.ts +9 -0
- package/sparkdream/lcd.js +15 -0
- package/sparkdream/name/v1/params.d.ts +25 -8
- package/sparkdream/name/v1/params.js +19 -18
- package/sparkdream/rep/v1/bonded_role.d.ts +51 -0
- package/sparkdream/rep/v1/bonded_role.js +48 -2
- package/sparkdream/rep/v1/member.d.ts +134 -0
- package/sparkdream/rep/v1/member.js +210 -2
- package/sparkdream/rep/v1/tag.d.ts +15 -2
- package/sparkdream/rep/v1/tag.js +6 -13
- package/sparkdream/rpc.query.d.ts +34 -2
- package/sparkdream/rpc.query.js +9 -0
- package/sparkdream/rpc.tx.d.ts +6 -0
- package/sparkdream/rpc.tx.js +6 -0
- package/sparkdream/service/module/v1/module.d.ts +54 -0
- package/sparkdream/service/module/v1/module.js +74 -0
- package/sparkdream/service/v1/controller_transfer_case.d.ts +125 -0
- package/sparkdream/service/v1/controller_transfer_case.js +158 -0
- package/sparkdream/service/v1/genesis.d.ts +172 -0
- package/sparkdream/service/v1/genesis.js +243 -0
- package/sparkdream/service/v1/operator.d.ts +215 -0
- package/sparkdream/service/v1/operator.js +253 -0
- package/sparkdream/service/v1/params.d.ts +346 -0
- package/sparkdream/service/v1/params.js +358 -0
- package/sparkdream/service/v1/query.d.ts +964 -0
- package/sparkdream/service/v1/query.js +1585 -0
- package/sparkdream/service/v1/query.lcd.d.ts +18 -0
- package/sparkdream/service/v1/query.lcd.js +111 -0
- package/sparkdream/service/v1/query.rpc.Query.d.ts +63 -0
- package/sparkdream/service/v1/query.rpc.Query.js +114 -0
- package/sparkdream/service/v1/refile_cooldown.d.ts +105 -0
- package/sparkdream/service/v1/refile_cooldown.js +124 -0
- package/sparkdream/service/v1/report.d.ts +174 -0
- package/sparkdream/service/v1/report.js +215 -0
- package/sparkdream/service/v1/reporter_rate_limit.d.ts +112 -0
- package/sparkdream/service/v1/reporter_rate_limit.js +140 -0
- package/sparkdream/service/v1/service_type_config.d.ts +222 -0
- package/sparkdream/service/v1/service_type_config.js +269 -0
- package/sparkdream/service/v1/system_report_rate_limit.d.ts +106 -0
- package/sparkdream/service/v1/system_report_rate_limit.js +118 -0
- package/sparkdream/service/v1/tier1_escrow_entry.d.ts +125 -0
- package/sparkdream/service/v1/tier1_escrow_entry.js +148 -0
- package/sparkdream/service/v1/tier1_last_slash.d.ts +101 -0
- package/sparkdream/service/v1/tier1_last_slash.js +124 -0
- package/sparkdream/service/v1/tx.amino.d.ts +68 -0
- package/sparkdream/service/v1/tx.amino.js +72 -0
- package/sparkdream/service/v1/tx.d.ts +1264 -0
- package/sparkdream/service/v1/tx.js +2127 -0
- package/sparkdream/service/v1/tx.registry.d.ts +169 -0
- package/sparkdream/service/v1/tx.registry.js +253 -0
- package/sparkdream/service/v1/tx.rpc.msg.d.ts +80 -0
- package/sparkdream/service/v1/tx.rpc.msg.js +105 -0
- package/sparkdream/service/v1/types.d.ts +94 -0
- package/sparkdream/service/v1/types.js +370 -0
- package/sparkdream/session/v1/genesis.d.ts +93 -9
- package/sparkdream/session/v1/genesis.js +137 -11
- package/sparkdream/session/v1/grant.d.ts +517 -0
- package/sparkdream/session/v1/grant.js +1027 -0
- package/sparkdream/session/v1/params.d.ts +338 -7
- package/sparkdream/session/v1/params.js +543 -19
- package/sparkdream/session/v1/query.d.ts +265 -0
- package/sparkdream/session/v1/query.js +488 -1
- package/sparkdream/session/v1/query.lcd.d.ts +4 -1
- package/sparkdream/session/v1/query.lcd.js +41 -3
- package/sparkdream/session/v1/query.rpc.Query.d.ts +27 -4
- package/sparkdream/session/v1/query.rpc.Query.js +35 -3
- package/sparkdream/session/v1/session.d.ts +18 -0
- package/sparkdream/session/v1/session.js +6 -0
- package/sparkdream/session/v1/tx.d.ts +660 -0
- package/sparkdream/session/v1/tx.js +1067 -1
- package/sparkdream/session/v1/tx.registry.d.ts +73 -1
- package/sparkdream/session/v1/tx.registry.js +109 -1
- package/sparkdream/session/v1/tx.rpc.msg.d.ts +63 -3
- package/sparkdream/session/v1/tx.rpc.msg.js +64 -2
- package/tendermint/bundle.d.ts +844 -844
- package/tendermint/bundle.js +20 -20
|
@@ -1430,7 +1430,9 @@ export interface MsgSetSeekingEndorsementResponseAminoMsg {
|
|
|
1430
1430
|
value: MsgSetSeekingEndorsementResponseAmino;
|
|
1431
1431
|
}
|
|
1432
1432
|
/**
|
|
1433
|
-
* MsgPinCollection
|
|
1433
|
+
* MsgPinCollection sets the display-only pinned marker on a permanent
|
|
1434
|
+
* collection. Rejects ephemeral targets with ErrCannotPinEphemeral —
|
|
1435
|
+
* callers must promote via MsgMakeCollectionPermanent first.
|
|
1434
1436
|
* @name MsgPinCollection
|
|
1435
1437
|
* @package sparkdream.collect.v1
|
|
1436
1438
|
* @see proto type: sparkdream.collect.v1.MsgPinCollection
|
|
@@ -1444,7 +1446,9 @@ export interface MsgPinCollectionProtoMsg {
|
|
|
1444
1446
|
value: Uint8Array;
|
|
1445
1447
|
}
|
|
1446
1448
|
/**
|
|
1447
|
-
* MsgPinCollection
|
|
1449
|
+
* MsgPinCollection sets the display-only pinned marker on a permanent
|
|
1450
|
+
* collection. Rejects ephemeral targets with ErrCannotPinEphemeral —
|
|
1451
|
+
* callers must promote via MsgMakeCollectionPermanent first.
|
|
1448
1452
|
* @name MsgPinCollectionAmino
|
|
1449
1453
|
* @package sparkdream.collect.v1
|
|
1450
1454
|
* @see proto type: sparkdream.collect.v1.MsgPinCollection
|
|
@@ -1479,6 +1483,114 @@ export interface MsgPinCollectionResponseAminoMsg {
|
|
|
1479
1483
|
type: "/sparkdream.collect.v1.MsgPinCollectionResponse";
|
|
1480
1484
|
value: MsgPinCollectionResponseAmino;
|
|
1481
1485
|
}
|
|
1486
|
+
/**
|
|
1487
|
+
* MsgUnpinCollection clears the display-only pinned marker. Idempotent on
|
|
1488
|
+
* already-unpinned collections.
|
|
1489
|
+
* @name MsgUnpinCollection
|
|
1490
|
+
* @package sparkdream.collect.v1
|
|
1491
|
+
* @see proto type: sparkdream.collect.v1.MsgUnpinCollection
|
|
1492
|
+
*/
|
|
1493
|
+
export interface MsgUnpinCollection {
|
|
1494
|
+
creator: string;
|
|
1495
|
+
collectionId: bigint;
|
|
1496
|
+
}
|
|
1497
|
+
export interface MsgUnpinCollectionProtoMsg {
|
|
1498
|
+
typeUrl: "/sparkdream.collect.v1.MsgUnpinCollection";
|
|
1499
|
+
value: Uint8Array;
|
|
1500
|
+
}
|
|
1501
|
+
/**
|
|
1502
|
+
* MsgUnpinCollection clears the display-only pinned marker. Idempotent on
|
|
1503
|
+
* already-unpinned collections.
|
|
1504
|
+
* @name MsgUnpinCollectionAmino
|
|
1505
|
+
* @package sparkdream.collect.v1
|
|
1506
|
+
* @see proto type: sparkdream.collect.v1.MsgUnpinCollection
|
|
1507
|
+
*/
|
|
1508
|
+
export interface MsgUnpinCollectionAmino {
|
|
1509
|
+
creator?: string;
|
|
1510
|
+
collection_id?: string;
|
|
1511
|
+
}
|
|
1512
|
+
export interface MsgUnpinCollectionAminoMsg {
|
|
1513
|
+
type: "sparkdream/x/collect/MsgUnpinCollection";
|
|
1514
|
+
value: MsgUnpinCollectionAmino;
|
|
1515
|
+
}
|
|
1516
|
+
/**
|
|
1517
|
+
* @name MsgUnpinCollectionResponse
|
|
1518
|
+
* @package sparkdream.collect.v1
|
|
1519
|
+
* @see proto type: sparkdream.collect.v1.MsgUnpinCollectionResponse
|
|
1520
|
+
*/
|
|
1521
|
+
export interface MsgUnpinCollectionResponse {
|
|
1522
|
+
}
|
|
1523
|
+
export interface MsgUnpinCollectionResponseProtoMsg {
|
|
1524
|
+
typeUrl: "/sparkdream.collect.v1.MsgUnpinCollectionResponse";
|
|
1525
|
+
value: Uint8Array;
|
|
1526
|
+
}
|
|
1527
|
+
/**
|
|
1528
|
+
* @name MsgUnpinCollectionResponseAmino
|
|
1529
|
+
* @package sparkdream.collect.v1
|
|
1530
|
+
* @see proto type: sparkdream.collect.v1.MsgUnpinCollectionResponse
|
|
1531
|
+
*/
|
|
1532
|
+
export interface MsgUnpinCollectionResponseAmino {
|
|
1533
|
+
}
|
|
1534
|
+
export interface MsgUnpinCollectionResponseAminoMsg {
|
|
1535
|
+
type: "/sparkdream.collect.v1.MsgUnpinCollectionResponse";
|
|
1536
|
+
value: MsgUnpinCollectionResponseAmino;
|
|
1537
|
+
}
|
|
1538
|
+
/**
|
|
1539
|
+
* MsgMakeCollectionPermanent promotes an ephemeral collection to permanent
|
|
1540
|
+
* by burning the escrowed collection + item deposits. Gated on
|
|
1541
|
+
* params.make_permanent_min_trust_level. Idempotent on already-permanent
|
|
1542
|
+
* collections.
|
|
1543
|
+
* @name MsgMakeCollectionPermanent
|
|
1544
|
+
* @package sparkdream.collect.v1
|
|
1545
|
+
* @see proto type: sparkdream.collect.v1.MsgMakeCollectionPermanent
|
|
1546
|
+
*/
|
|
1547
|
+
export interface MsgMakeCollectionPermanent {
|
|
1548
|
+
creator: string;
|
|
1549
|
+
collectionId: bigint;
|
|
1550
|
+
}
|
|
1551
|
+
export interface MsgMakeCollectionPermanentProtoMsg {
|
|
1552
|
+
typeUrl: "/sparkdream.collect.v1.MsgMakeCollectionPermanent";
|
|
1553
|
+
value: Uint8Array;
|
|
1554
|
+
}
|
|
1555
|
+
/**
|
|
1556
|
+
* MsgMakeCollectionPermanent promotes an ephemeral collection to permanent
|
|
1557
|
+
* by burning the escrowed collection + item deposits. Gated on
|
|
1558
|
+
* params.make_permanent_min_trust_level. Idempotent on already-permanent
|
|
1559
|
+
* collections.
|
|
1560
|
+
* @name MsgMakeCollectionPermanentAmino
|
|
1561
|
+
* @package sparkdream.collect.v1
|
|
1562
|
+
* @see proto type: sparkdream.collect.v1.MsgMakeCollectionPermanent
|
|
1563
|
+
*/
|
|
1564
|
+
export interface MsgMakeCollectionPermanentAmino {
|
|
1565
|
+
creator?: string;
|
|
1566
|
+
collection_id?: string;
|
|
1567
|
+
}
|
|
1568
|
+
export interface MsgMakeCollectionPermanentAminoMsg {
|
|
1569
|
+
type: "sparkdream/x/collect/MsgMakeCollectionPermanent";
|
|
1570
|
+
value: MsgMakeCollectionPermanentAmino;
|
|
1571
|
+
}
|
|
1572
|
+
/**
|
|
1573
|
+
* @name MsgMakeCollectionPermanentResponse
|
|
1574
|
+
* @package sparkdream.collect.v1
|
|
1575
|
+
* @see proto type: sparkdream.collect.v1.MsgMakeCollectionPermanentResponse
|
|
1576
|
+
*/
|
|
1577
|
+
export interface MsgMakeCollectionPermanentResponse {
|
|
1578
|
+
}
|
|
1579
|
+
export interface MsgMakeCollectionPermanentResponseProtoMsg {
|
|
1580
|
+
typeUrl: "/sparkdream.collect.v1.MsgMakeCollectionPermanentResponse";
|
|
1581
|
+
value: Uint8Array;
|
|
1582
|
+
}
|
|
1583
|
+
/**
|
|
1584
|
+
* @name MsgMakeCollectionPermanentResponseAmino
|
|
1585
|
+
* @package sparkdream.collect.v1
|
|
1586
|
+
* @see proto type: sparkdream.collect.v1.MsgMakeCollectionPermanentResponse
|
|
1587
|
+
*/
|
|
1588
|
+
export interface MsgMakeCollectionPermanentResponseAmino {
|
|
1589
|
+
}
|
|
1590
|
+
export interface MsgMakeCollectionPermanentResponseAminoMsg {
|
|
1591
|
+
type: "/sparkdream.collect.v1.MsgMakeCollectionPermanentResponse";
|
|
1592
|
+
value: MsgMakeCollectionPermanentResponseAmino;
|
|
1593
|
+
}
|
|
1482
1594
|
/**
|
|
1483
1595
|
* MsgUpdateParams is the Msg/UpdateParams request type.
|
|
1484
1596
|
* @name MsgUpdateParams
|
|
@@ -2431,7 +2543,9 @@ export declare const MsgSetSeekingEndorsementResponse: {
|
|
|
2431
2543
|
toProtoMsg(message: MsgSetSeekingEndorsementResponse): MsgSetSeekingEndorsementResponseProtoMsg;
|
|
2432
2544
|
};
|
|
2433
2545
|
/**
|
|
2434
|
-
* MsgPinCollection
|
|
2546
|
+
* MsgPinCollection sets the display-only pinned marker on a permanent
|
|
2547
|
+
* collection. Rejects ephemeral targets with ErrCannotPinEphemeral —
|
|
2548
|
+
* callers must promote via MsgMakeCollectionPermanent first.
|
|
2435
2549
|
* @name MsgPinCollection
|
|
2436
2550
|
* @package sparkdream.collect.v1
|
|
2437
2551
|
* @see proto type: sparkdream.collect.v1.MsgPinCollection
|
|
@@ -2467,3 +2581,81 @@ export declare const MsgPinCollectionResponse: {
|
|
|
2467
2581
|
toProto(message: MsgPinCollectionResponse): Uint8Array;
|
|
2468
2582
|
toProtoMsg(message: MsgPinCollectionResponse): MsgPinCollectionResponseProtoMsg;
|
|
2469
2583
|
};
|
|
2584
|
+
/**
|
|
2585
|
+
* MsgUnpinCollection clears the display-only pinned marker. Idempotent on
|
|
2586
|
+
* already-unpinned collections.
|
|
2587
|
+
* @name MsgUnpinCollection
|
|
2588
|
+
* @package sparkdream.collect.v1
|
|
2589
|
+
* @see proto type: sparkdream.collect.v1.MsgUnpinCollection
|
|
2590
|
+
*/
|
|
2591
|
+
export declare const MsgUnpinCollection: {
|
|
2592
|
+
typeUrl: string;
|
|
2593
|
+
aminoType: string;
|
|
2594
|
+
encode(message: MsgUnpinCollection, writer?: BinaryWriter): BinaryWriter;
|
|
2595
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MsgUnpinCollection;
|
|
2596
|
+
fromPartial(object: DeepPartial<MsgUnpinCollection>): MsgUnpinCollection;
|
|
2597
|
+
fromAmino(object: MsgUnpinCollectionAmino): MsgUnpinCollection;
|
|
2598
|
+
toAmino(message: MsgUnpinCollection): MsgUnpinCollectionAmino;
|
|
2599
|
+
fromAminoMsg(object: MsgUnpinCollectionAminoMsg): MsgUnpinCollection;
|
|
2600
|
+
toAminoMsg(message: MsgUnpinCollection): MsgUnpinCollectionAminoMsg;
|
|
2601
|
+
fromProtoMsg(message: MsgUnpinCollectionProtoMsg): MsgUnpinCollection;
|
|
2602
|
+
toProto(message: MsgUnpinCollection): Uint8Array;
|
|
2603
|
+
toProtoMsg(message: MsgUnpinCollection): MsgUnpinCollectionProtoMsg;
|
|
2604
|
+
};
|
|
2605
|
+
/**
|
|
2606
|
+
* @name MsgUnpinCollectionResponse
|
|
2607
|
+
* @package sparkdream.collect.v1
|
|
2608
|
+
* @see proto type: sparkdream.collect.v1.MsgUnpinCollectionResponse
|
|
2609
|
+
*/
|
|
2610
|
+
export declare const MsgUnpinCollectionResponse: {
|
|
2611
|
+
typeUrl: string;
|
|
2612
|
+
encode(_: MsgUnpinCollectionResponse, writer?: BinaryWriter): BinaryWriter;
|
|
2613
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MsgUnpinCollectionResponse;
|
|
2614
|
+
fromPartial(_: DeepPartial<MsgUnpinCollectionResponse>): MsgUnpinCollectionResponse;
|
|
2615
|
+
fromAmino(_: MsgUnpinCollectionResponseAmino): MsgUnpinCollectionResponse;
|
|
2616
|
+
toAmino(_: MsgUnpinCollectionResponse): MsgUnpinCollectionResponseAmino;
|
|
2617
|
+
fromAminoMsg(object: MsgUnpinCollectionResponseAminoMsg): MsgUnpinCollectionResponse;
|
|
2618
|
+
fromProtoMsg(message: MsgUnpinCollectionResponseProtoMsg): MsgUnpinCollectionResponse;
|
|
2619
|
+
toProto(message: MsgUnpinCollectionResponse): Uint8Array;
|
|
2620
|
+
toProtoMsg(message: MsgUnpinCollectionResponse): MsgUnpinCollectionResponseProtoMsg;
|
|
2621
|
+
};
|
|
2622
|
+
/**
|
|
2623
|
+
* MsgMakeCollectionPermanent promotes an ephemeral collection to permanent
|
|
2624
|
+
* by burning the escrowed collection + item deposits. Gated on
|
|
2625
|
+
* params.make_permanent_min_trust_level. Idempotent on already-permanent
|
|
2626
|
+
* collections.
|
|
2627
|
+
* @name MsgMakeCollectionPermanent
|
|
2628
|
+
* @package sparkdream.collect.v1
|
|
2629
|
+
* @see proto type: sparkdream.collect.v1.MsgMakeCollectionPermanent
|
|
2630
|
+
*/
|
|
2631
|
+
export declare const MsgMakeCollectionPermanent: {
|
|
2632
|
+
typeUrl: string;
|
|
2633
|
+
aminoType: string;
|
|
2634
|
+
encode(message: MsgMakeCollectionPermanent, writer?: BinaryWriter): BinaryWriter;
|
|
2635
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MsgMakeCollectionPermanent;
|
|
2636
|
+
fromPartial(object: DeepPartial<MsgMakeCollectionPermanent>): MsgMakeCollectionPermanent;
|
|
2637
|
+
fromAmino(object: MsgMakeCollectionPermanentAmino): MsgMakeCollectionPermanent;
|
|
2638
|
+
toAmino(message: MsgMakeCollectionPermanent): MsgMakeCollectionPermanentAmino;
|
|
2639
|
+
fromAminoMsg(object: MsgMakeCollectionPermanentAminoMsg): MsgMakeCollectionPermanent;
|
|
2640
|
+
toAminoMsg(message: MsgMakeCollectionPermanent): MsgMakeCollectionPermanentAminoMsg;
|
|
2641
|
+
fromProtoMsg(message: MsgMakeCollectionPermanentProtoMsg): MsgMakeCollectionPermanent;
|
|
2642
|
+
toProto(message: MsgMakeCollectionPermanent): Uint8Array;
|
|
2643
|
+
toProtoMsg(message: MsgMakeCollectionPermanent): MsgMakeCollectionPermanentProtoMsg;
|
|
2644
|
+
};
|
|
2645
|
+
/**
|
|
2646
|
+
* @name MsgMakeCollectionPermanentResponse
|
|
2647
|
+
* @package sparkdream.collect.v1
|
|
2648
|
+
* @see proto type: sparkdream.collect.v1.MsgMakeCollectionPermanentResponse
|
|
2649
|
+
*/
|
|
2650
|
+
export declare const MsgMakeCollectionPermanentResponse: {
|
|
2651
|
+
typeUrl: string;
|
|
2652
|
+
encode(_: MsgMakeCollectionPermanentResponse, writer?: BinaryWriter): BinaryWriter;
|
|
2653
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MsgMakeCollectionPermanentResponse;
|
|
2654
|
+
fromPartial(_: DeepPartial<MsgMakeCollectionPermanentResponse>): MsgMakeCollectionPermanentResponse;
|
|
2655
|
+
fromAmino(_: MsgMakeCollectionPermanentResponseAmino): MsgMakeCollectionPermanentResponse;
|
|
2656
|
+
toAmino(_: MsgMakeCollectionPermanentResponse): MsgMakeCollectionPermanentResponseAmino;
|
|
2657
|
+
fromAminoMsg(object: MsgMakeCollectionPermanentResponseAminoMsg): MsgMakeCollectionPermanentResponse;
|
|
2658
|
+
fromProtoMsg(message: MsgMakeCollectionPermanentResponseProtoMsg): MsgMakeCollectionPermanentResponse;
|
|
2659
|
+
toProto(message: MsgMakeCollectionPermanentResponse): Uint8Array;
|
|
2660
|
+
toProtoMsg(message: MsgMakeCollectionPermanentResponse): MsgMakeCollectionPermanentResponseProtoMsg;
|
|
2661
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MsgEndorseCollectionResponse = exports.MsgEndorseCollection = exports.MsgAppealHideResponse = exports.MsgAppealHide = exports.MsgHideContentResponse = exports.MsgHideContent = exports.MsgFlagContentResponse = exports.MsgFlagContent = exports.MsgDownvoteContentResponse = exports.MsgDownvoteContent = exports.MsgUpvoteContentResponse = exports.MsgUpvoteContent = exports.MsgUpdateOperationalParamsResponse = exports.MsgUpdateOperationalParams = exports.MsgSponsorCollectionResponse = exports.MsgSponsorCollection = exports.MsgCancelSponsorshipRequestResponse = exports.MsgCancelSponsorshipRequest = exports.MsgRequestSponsorshipResponse = exports.MsgRequestSponsorship = exports.MsgChallengeReviewResponse = exports.MsgChallengeReview = exports.MsgRateCollectionResponse = exports.MsgRateCollection = exports.MsgUpdateCollaboratorRoleResponse = exports.MsgUpdateCollaboratorRole = exports.MsgRemoveCollaboratorResponse = exports.MsgRemoveCollaborator = exports.MsgAddCollaboratorResponse = exports.MsgAddCollaborator = exports.MsgReorderItemResponse = exports.MsgReorderItem = exports.MsgRemoveItemsResponse = exports.MsgRemoveItems = exports.MsgRemoveItemResponse = exports.MsgRemoveItem = exports.MsgUpdateItemResponse = exports.MsgUpdateItem = exports.MsgAddItemsResponse = exports.MsgAddItems = exports.MsgAddItemResponse = exports.MsgAddItem = exports.MsgDeleteCollectionResponse = exports.MsgDeleteCollection = exports.MsgUpdateCollectionResponse = exports.MsgUpdateCollection = exports.MsgCreateCollectionResponse = exports.MsgCreateCollection = exports.MsgUpdateParamsResponse = exports.MsgUpdateParams = void 0;
|
|
4
|
-
exports.MsgPinCollectionResponse = exports.MsgPinCollection = exports.MsgSetSeekingEndorsementResponse = exports.MsgSetSeekingEndorsement = void 0;
|
|
4
|
+
exports.MsgMakeCollectionPermanentResponse = exports.MsgMakeCollectionPermanent = exports.MsgUnpinCollectionResponse = exports.MsgUnpinCollection = exports.MsgPinCollectionResponse = exports.MsgPinCollection = exports.MsgSetSeekingEndorsementResponse = exports.MsgSetSeekingEndorsement = void 0;
|
|
5
5
|
//@ts-nocheck
|
|
6
6
|
const params_1 = require("./params");
|
|
7
7
|
const types_1 = require("./types");
|
|
@@ -4550,7 +4550,9 @@ function createBaseMsgPinCollection() {
|
|
|
4550
4550
|
};
|
|
4551
4551
|
}
|
|
4552
4552
|
/**
|
|
4553
|
-
* MsgPinCollection
|
|
4553
|
+
* MsgPinCollection sets the display-only pinned marker on a permanent
|
|
4554
|
+
* collection. Rejects ephemeral targets with ErrCannotPinEphemeral —
|
|
4555
|
+
* callers must promote via MsgMakeCollectionPermanent first.
|
|
4554
4556
|
* @name MsgPinCollection
|
|
4555
4557
|
* @package sparkdream.collect.v1
|
|
4556
4558
|
* @see proto type: sparkdream.collect.v1.MsgPinCollection
|
|
@@ -4686,3 +4688,293 @@ exports.MsgPinCollectionResponse = {
|
|
|
4686
4688
|
};
|
|
4687
4689
|
}
|
|
4688
4690
|
};
|
|
4691
|
+
function createBaseMsgUnpinCollection() {
|
|
4692
|
+
return {
|
|
4693
|
+
creator: "",
|
|
4694
|
+
collectionId: BigInt(0)
|
|
4695
|
+
};
|
|
4696
|
+
}
|
|
4697
|
+
/**
|
|
4698
|
+
* MsgUnpinCollection clears the display-only pinned marker. Idempotent on
|
|
4699
|
+
* already-unpinned collections.
|
|
4700
|
+
* @name MsgUnpinCollection
|
|
4701
|
+
* @package sparkdream.collect.v1
|
|
4702
|
+
* @see proto type: sparkdream.collect.v1.MsgUnpinCollection
|
|
4703
|
+
*/
|
|
4704
|
+
exports.MsgUnpinCollection = {
|
|
4705
|
+
typeUrl: "/sparkdream.collect.v1.MsgUnpinCollection",
|
|
4706
|
+
aminoType: "sparkdream/x/collect/MsgUnpinCollection",
|
|
4707
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
4708
|
+
if (message.creator !== "") {
|
|
4709
|
+
writer.uint32(10).string(message.creator);
|
|
4710
|
+
}
|
|
4711
|
+
if (message.collectionId !== BigInt(0)) {
|
|
4712
|
+
writer.uint32(16).uint64(message.collectionId);
|
|
4713
|
+
}
|
|
4714
|
+
return writer;
|
|
4715
|
+
},
|
|
4716
|
+
decode(input, length) {
|
|
4717
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
4718
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
4719
|
+
const message = createBaseMsgUnpinCollection();
|
|
4720
|
+
while (reader.pos < end) {
|
|
4721
|
+
const tag = reader.uint32();
|
|
4722
|
+
switch (tag >>> 3) {
|
|
4723
|
+
case 1:
|
|
4724
|
+
message.creator = reader.string();
|
|
4725
|
+
break;
|
|
4726
|
+
case 2:
|
|
4727
|
+
message.collectionId = reader.uint64();
|
|
4728
|
+
break;
|
|
4729
|
+
default:
|
|
4730
|
+
reader.skipType(tag & 7);
|
|
4731
|
+
break;
|
|
4732
|
+
}
|
|
4733
|
+
}
|
|
4734
|
+
return message;
|
|
4735
|
+
},
|
|
4736
|
+
fromPartial(object) {
|
|
4737
|
+
const message = createBaseMsgUnpinCollection();
|
|
4738
|
+
message.creator = object.creator ?? "";
|
|
4739
|
+
message.collectionId = object.collectionId !== undefined && object.collectionId !== null ? BigInt(object.collectionId.toString()) : BigInt(0);
|
|
4740
|
+
return message;
|
|
4741
|
+
},
|
|
4742
|
+
fromAmino(object) {
|
|
4743
|
+
const message = createBaseMsgUnpinCollection();
|
|
4744
|
+
if (object.creator !== undefined && object.creator !== null) {
|
|
4745
|
+
message.creator = object.creator;
|
|
4746
|
+
}
|
|
4747
|
+
if (object.collection_id !== undefined && object.collection_id !== null) {
|
|
4748
|
+
message.collectionId = BigInt(object.collection_id);
|
|
4749
|
+
}
|
|
4750
|
+
return message;
|
|
4751
|
+
},
|
|
4752
|
+
toAmino(message) {
|
|
4753
|
+
const obj = {};
|
|
4754
|
+
obj.creator = message.creator === "" ? undefined : message.creator;
|
|
4755
|
+
obj.collection_id = message.collectionId !== BigInt(0) ? message.collectionId?.toString() : undefined;
|
|
4756
|
+
return obj;
|
|
4757
|
+
},
|
|
4758
|
+
fromAminoMsg(object) {
|
|
4759
|
+
return exports.MsgUnpinCollection.fromAmino(object.value);
|
|
4760
|
+
},
|
|
4761
|
+
toAminoMsg(message) {
|
|
4762
|
+
return {
|
|
4763
|
+
type: "sparkdream/x/collect/MsgUnpinCollection",
|
|
4764
|
+
value: exports.MsgUnpinCollection.toAmino(message)
|
|
4765
|
+
};
|
|
4766
|
+
},
|
|
4767
|
+
fromProtoMsg(message) {
|
|
4768
|
+
return exports.MsgUnpinCollection.decode(message.value);
|
|
4769
|
+
},
|
|
4770
|
+
toProto(message) {
|
|
4771
|
+
return exports.MsgUnpinCollection.encode(message).finish();
|
|
4772
|
+
},
|
|
4773
|
+
toProtoMsg(message) {
|
|
4774
|
+
return {
|
|
4775
|
+
typeUrl: "/sparkdream.collect.v1.MsgUnpinCollection",
|
|
4776
|
+
value: exports.MsgUnpinCollection.encode(message).finish()
|
|
4777
|
+
};
|
|
4778
|
+
}
|
|
4779
|
+
};
|
|
4780
|
+
function createBaseMsgUnpinCollectionResponse() {
|
|
4781
|
+
return {};
|
|
4782
|
+
}
|
|
4783
|
+
/**
|
|
4784
|
+
* @name MsgUnpinCollectionResponse
|
|
4785
|
+
* @package sparkdream.collect.v1
|
|
4786
|
+
* @see proto type: sparkdream.collect.v1.MsgUnpinCollectionResponse
|
|
4787
|
+
*/
|
|
4788
|
+
exports.MsgUnpinCollectionResponse = {
|
|
4789
|
+
typeUrl: "/sparkdream.collect.v1.MsgUnpinCollectionResponse",
|
|
4790
|
+
encode(_, writer = binary_1.BinaryWriter.create()) {
|
|
4791
|
+
return writer;
|
|
4792
|
+
},
|
|
4793
|
+
decode(input, length) {
|
|
4794
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
4795
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
4796
|
+
const message = createBaseMsgUnpinCollectionResponse();
|
|
4797
|
+
while (reader.pos < end) {
|
|
4798
|
+
const tag = reader.uint32();
|
|
4799
|
+
switch (tag >>> 3) {
|
|
4800
|
+
default:
|
|
4801
|
+
reader.skipType(tag & 7);
|
|
4802
|
+
break;
|
|
4803
|
+
}
|
|
4804
|
+
}
|
|
4805
|
+
return message;
|
|
4806
|
+
},
|
|
4807
|
+
fromPartial(_) {
|
|
4808
|
+
const message = createBaseMsgUnpinCollectionResponse();
|
|
4809
|
+
return message;
|
|
4810
|
+
},
|
|
4811
|
+
fromAmino(_) {
|
|
4812
|
+
const message = createBaseMsgUnpinCollectionResponse();
|
|
4813
|
+
return message;
|
|
4814
|
+
},
|
|
4815
|
+
toAmino(_) {
|
|
4816
|
+
const obj = {};
|
|
4817
|
+
return obj;
|
|
4818
|
+
},
|
|
4819
|
+
fromAminoMsg(object) {
|
|
4820
|
+
return exports.MsgUnpinCollectionResponse.fromAmino(object.value);
|
|
4821
|
+
},
|
|
4822
|
+
fromProtoMsg(message) {
|
|
4823
|
+
return exports.MsgUnpinCollectionResponse.decode(message.value);
|
|
4824
|
+
},
|
|
4825
|
+
toProto(message) {
|
|
4826
|
+
return exports.MsgUnpinCollectionResponse.encode(message).finish();
|
|
4827
|
+
},
|
|
4828
|
+
toProtoMsg(message) {
|
|
4829
|
+
return {
|
|
4830
|
+
typeUrl: "/sparkdream.collect.v1.MsgUnpinCollectionResponse",
|
|
4831
|
+
value: exports.MsgUnpinCollectionResponse.encode(message).finish()
|
|
4832
|
+
};
|
|
4833
|
+
}
|
|
4834
|
+
};
|
|
4835
|
+
function createBaseMsgMakeCollectionPermanent() {
|
|
4836
|
+
return {
|
|
4837
|
+
creator: "",
|
|
4838
|
+
collectionId: BigInt(0)
|
|
4839
|
+
};
|
|
4840
|
+
}
|
|
4841
|
+
/**
|
|
4842
|
+
* MsgMakeCollectionPermanent promotes an ephemeral collection to permanent
|
|
4843
|
+
* by burning the escrowed collection + item deposits. Gated on
|
|
4844
|
+
* params.make_permanent_min_trust_level. Idempotent on already-permanent
|
|
4845
|
+
* collections.
|
|
4846
|
+
* @name MsgMakeCollectionPermanent
|
|
4847
|
+
* @package sparkdream.collect.v1
|
|
4848
|
+
* @see proto type: sparkdream.collect.v1.MsgMakeCollectionPermanent
|
|
4849
|
+
*/
|
|
4850
|
+
exports.MsgMakeCollectionPermanent = {
|
|
4851
|
+
typeUrl: "/sparkdream.collect.v1.MsgMakeCollectionPermanent",
|
|
4852
|
+
aminoType: "sparkdream/x/collect/MsgMakeCollectionPermanent",
|
|
4853
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
4854
|
+
if (message.creator !== "") {
|
|
4855
|
+
writer.uint32(10).string(message.creator);
|
|
4856
|
+
}
|
|
4857
|
+
if (message.collectionId !== BigInt(0)) {
|
|
4858
|
+
writer.uint32(16).uint64(message.collectionId);
|
|
4859
|
+
}
|
|
4860
|
+
return writer;
|
|
4861
|
+
},
|
|
4862
|
+
decode(input, length) {
|
|
4863
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
4864
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
4865
|
+
const message = createBaseMsgMakeCollectionPermanent();
|
|
4866
|
+
while (reader.pos < end) {
|
|
4867
|
+
const tag = reader.uint32();
|
|
4868
|
+
switch (tag >>> 3) {
|
|
4869
|
+
case 1:
|
|
4870
|
+
message.creator = reader.string();
|
|
4871
|
+
break;
|
|
4872
|
+
case 2:
|
|
4873
|
+
message.collectionId = reader.uint64();
|
|
4874
|
+
break;
|
|
4875
|
+
default:
|
|
4876
|
+
reader.skipType(tag & 7);
|
|
4877
|
+
break;
|
|
4878
|
+
}
|
|
4879
|
+
}
|
|
4880
|
+
return message;
|
|
4881
|
+
},
|
|
4882
|
+
fromPartial(object) {
|
|
4883
|
+
const message = createBaseMsgMakeCollectionPermanent();
|
|
4884
|
+
message.creator = object.creator ?? "";
|
|
4885
|
+
message.collectionId = object.collectionId !== undefined && object.collectionId !== null ? BigInt(object.collectionId.toString()) : BigInt(0);
|
|
4886
|
+
return message;
|
|
4887
|
+
},
|
|
4888
|
+
fromAmino(object) {
|
|
4889
|
+
const message = createBaseMsgMakeCollectionPermanent();
|
|
4890
|
+
if (object.creator !== undefined && object.creator !== null) {
|
|
4891
|
+
message.creator = object.creator;
|
|
4892
|
+
}
|
|
4893
|
+
if (object.collection_id !== undefined && object.collection_id !== null) {
|
|
4894
|
+
message.collectionId = BigInt(object.collection_id);
|
|
4895
|
+
}
|
|
4896
|
+
return message;
|
|
4897
|
+
},
|
|
4898
|
+
toAmino(message) {
|
|
4899
|
+
const obj = {};
|
|
4900
|
+
obj.creator = message.creator === "" ? undefined : message.creator;
|
|
4901
|
+
obj.collection_id = message.collectionId !== BigInt(0) ? message.collectionId?.toString() : undefined;
|
|
4902
|
+
return obj;
|
|
4903
|
+
},
|
|
4904
|
+
fromAminoMsg(object) {
|
|
4905
|
+
return exports.MsgMakeCollectionPermanent.fromAmino(object.value);
|
|
4906
|
+
},
|
|
4907
|
+
toAminoMsg(message) {
|
|
4908
|
+
return {
|
|
4909
|
+
type: "sparkdream/x/collect/MsgMakeCollectionPermanent",
|
|
4910
|
+
value: exports.MsgMakeCollectionPermanent.toAmino(message)
|
|
4911
|
+
};
|
|
4912
|
+
},
|
|
4913
|
+
fromProtoMsg(message) {
|
|
4914
|
+
return exports.MsgMakeCollectionPermanent.decode(message.value);
|
|
4915
|
+
},
|
|
4916
|
+
toProto(message) {
|
|
4917
|
+
return exports.MsgMakeCollectionPermanent.encode(message).finish();
|
|
4918
|
+
},
|
|
4919
|
+
toProtoMsg(message) {
|
|
4920
|
+
return {
|
|
4921
|
+
typeUrl: "/sparkdream.collect.v1.MsgMakeCollectionPermanent",
|
|
4922
|
+
value: exports.MsgMakeCollectionPermanent.encode(message).finish()
|
|
4923
|
+
};
|
|
4924
|
+
}
|
|
4925
|
+
};
|
|
4926
|
+
function createBaseMsgMakeCollectionPermanentResponse() {
|
|
4927
|
+
return {};
|
|
4928
|
+
}
|
|
4929
|
+
/**
|
|
4930
|
+
* @name MsgMakeCollectionPermanentResponse
|
|
4931
|
+
* @package sparkdream.collect.v1
|
|
4932
|
+
* @see proto type: sparkdream.collect.v1.MsgMakeCollectionPermanentResponse
|
|
4933
|
+
*/
|
|
4934
|
+
exports.MsgMakeCollectionPermanentResponse = {
|
|
4935
|
+
typeUrl: "/sparkdream.collect.v1.MsgMakeCollectionPermanentResponse",
|
|
4936
|
+
encode(_, writer = binary_1.BinaryWriter.create()) {
|
|
4937
|
+
return writer;
|
|
4938
|
+
},
|
|
4939
|
+
decode(input, length) {
|
|
4940
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
4941
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
4942
|
+
const message = createBaseMsgMakeCollectionPermanentResponse();
|
|
4943
|
+
while (reader.pos < end) {
|
|
4944
|
+
const tag = reader.uint32();
|
|
4945
|
+
switch (tag >>> 3) {
|
|
4946
|
+
default:
|
|
4947
|
+
reader.skipType(tag & 7);
|
|
4948
|
+
break;
|
|
4949
|
+
}
|
|
4950
|
+
}
|
|
4951
|
+
return message;
|
|
4952
|
+
},
|
|
4953
|
+
fromPartial(_) {
|
|
4954
|
+
const message = createBaseMsgMakeCollectionPermanentResponse();
|
|
4955
|
+
return message;
|
|
4956
|
+
},
|
|
4957
|
+
fromAmino(_) {
|
|
4958
|
+
const message = createBaseMsgMakeCollectionPermanentResponse();
|
|
4959
|
+
return message;
|
|
4960
|
+
},
|
|
4961
|
+
toAmino(_) {
|
|
4962
|
+
const obj = {};
|
|
4963
|
+
return obj;
|
|
4964
|
+
},
|
|
4965
|
+
fromAminoMsg(object) {
|
|
4966
|
+
return exports.MsgMakeCollectionPermanentResponse.fromAmino(object.value);
|
|
4967
|
+
},
|
|
4968
|
+
fromProtoMsg(message) {
|
|
4969
|
+
return exports.MsgMakeCollectionPermanentResponse.decode(message.value);
|
|
4970
|
+
},
|
|
4971
|
+
toProto(message) {
|
|
4972
|
+
return exports.MsgMakeCollectionPermanentResponse.encode(message).finish();
|
|
4973
|
+
},
|
|
4974
|
+
toProtoMsg(message) {
|
|
4975
|
+
return {
|
|
4976
|
+
typeUrl: "/sparkdream.collect.v1.MsgMakeCollectionPermanentResponse",
|
|
4977
|
+
value: exports.MsgMakeCollectionPermanentResponse.encode(message).finish()
|
|
4978
|
+
};
|
|
4979
|
+
}
|
|
4980
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TelescopeGeneratedType } from "../../../types";
|
|
2
2
|
import { Registry } from "@cosmjs/proto-signing";
|
|
3
|
-
import { MsgUpdateParams, MsgCreateCollection, MsgUpdateCollection, MsgDeleteCollection, MsgAddItem, MsgAddItems, MsgUpdateItem, MsgRemoveItem, MsgRemoveItems, MsgReorderItem, MsgAddCollaborator, MsgRemoveCollaborator, MsgUpdateCollaboratorRole, MsgRateCollection, MsgChallengeReview, MsgRequestSponsorship, MsgCancelSponsorshipRequest, MsgSponsorCollection, MsgUpdateOperationalParams, MsgUpvoteContent, MsgDownvoteContent, MsgFlagContent, MsgHideContent, MsgAppealHide, MsgEndorseCollection, MsgSetSeekingEndorsement, MsgPinCollection } from "./tx";
|
|
3
|
+
import { MsgUpdateParams, MsgCreateCollection, MsgUpdateCollection, MsgDeleteCollection, MsgAddItem, MsgAddItems, MsgUpdateItem, MsgRemoveItem, MsgRemoveItems, MsgReorderItem, MsgAddCollaborator, MsgRemoveCollaborator, MsgUpdateCollaboratorRole, MsgRateCollection, MsgChallengeReview, MsgRequestSponsorship, MsgCancelSponsorshipRequest, MsgSponsorCollection, MsgUpdateOperationalParams, MsgUpvoteContent, MsgDownvoteContent, MsgFlagContent, MsgHideContent, MsgAppealHide, MsgEndorseCollection, MsgSetSeekingEndorsement, MsgPinCollection, MsgUnpinCollection, MsgMakeCollectionPermanent } from "./tx";
|
|
4
4
|
export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType<any, any, any>]>;
|
|
5
5
|
export declare const load: (protoRegistry: Registry) => void;
|
|
6
6
|
export declare const MessageComposer: {
|
|
@@ -113,6 +113,14 @@ export declare const MessageComposer: {
|
|
|
113
113
|
typeUrl: string;
|
|
114
114
|
value: Uint8Array<ArrayBufferLike>;
|
|
115
115
|
};
|
|
116
|
+
unpinCollection(value: MsgUnpinCollection): {
|
|
117
|
+
typeUrl: string;
|
|
118
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
119
|
+
};
|
|
120
|
+
makeCollectionPermanent(value: MsgMakeCollectionPermanent): {
|
|
121
|
+
typeUrl: string;
|
|
122
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
123
|
+
};
|
|
116
124
|
};
|
|
117
125
|
withTypeUrl: {
|
|
118
126
|
updateParams(value: MsgUpdateParams): {
|
|
@@ -223,6 +231,14 @@ export declare const MessageComposer: {
|
|
|
223
231
|
typeUrl: string;
|
|
224
232
|
value: MsgPinCollection;
|
|
225
233
|
};
|
|
234
|
+
unpinCollection(value: MsgUnpinCollection): {
|
|
235
|
+
typeUrl: string;
|
|
236
|
+
value: MsgUnpinCollection;
|
|
237
|
+
};
|
|
238
|
+
makeCollectionPermanent(value: MsgMakeCollectionPermanent): {
|
|
239
|
+
typeUrl: string;
|
|
240
|
+
value: MsgMakeCollectionPermanent;
|
|
241
|
+
};
|
|
226
242
|
};
|
|
227
243
|
fromPartial: {
|
|
228
244
|
updateParams(value: MsgUpdateParams): {
|
|
@@ -333,5 +349,13 @@ export declare const MessageComposer: {
|
|
|
333
349
|
typeUrl: string;
|
|
334
350
|
value: MsgPinCollection;
|
|
335
351
|
};
|
|
352
|
+
unpinCollection(value: MsgUnpinCollection): {
|
|
353
|
+
typeUrl: string;
|
|
354
|
+
value: MsgUnpinCollection;
|
|
355
|
+
};
|
|
356
|
+
makeCollectionPermanent(value: MsgMakeCollectionPermanent): {
|
|
357
|
+
typeUrl: string;
|
|
358
|
+
value: MsgMakeCollectionPermanent;
|
|
359
|
+
};
|
|
336
360
|
};
|
|
337
361
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MessageComposer = exports.load = exports.registry = void 0;
|
|
4
4
|
const tx_1 = require("./tx");
|
|
5
|
-
exports.registry = [["/sparkdream.collect.v1.MsgUpdateParams", tx_1.MsgUpdateParams], ["/sparkdream.collect.v1.MsgCreateCollection", tx_1.MsgCreateCollection], ["/sparkdream.collect.v1.MsgUpdateCollection", tx_1.MsgUpdateCollection], ["/sparkdream.collect.v1.MsgDeleteCollection", tx_1.MsgDeleteCollection], ["/sparkdream.collect.v1.MsgAddItem", tx_1.MsgAddItem], ["/sparkdream.collect.v1.MsgAddItems", tx_1.MsgAddItems], ["/sparkdream.collect.v1.MsgUpdateItem", tx_1.MsgUpdateItem], ["/sparkdream.collect.v1.MsgRemoveItem", tx_1.MsgRemoveItem], ["/sparkdream.collect.v1.MsgRemoveItems", tx_1.MsgRemoveItems], ["/sparkdream.collect.v1.MsgReorderItem", tx_1.MsgReorderItem], ["/sparkdream.collect.v1.MsgAddCollaborator", tx_1.MsgAddCollaborator], ["/sparkdream.collect.v1.MsgRemoveCollaborator", tx_1.MsgRemoveCollaborator], ["/sparkdream.collect.v1.MsgUpdateCollaboratorRole", tx_1.MsgUpdateCollaboratorRole], ["/sparkdream.collect.v1.MsgRateCollection", tx_1.MsgRateCollection], ["/sparkdream.collect.v1.MsgChallengeReview", tx_1.MsgChallengeReview], ["/sparkdream.collect.v1.MsgRequestSponsorship", tx_1.MsgRequestSponsorship], ["/sparkdream.collect.v1.MsgCancelSponsorshipRequest", tx_1.MsgCancelSponsorshipRequest], ["/sparkdream.collect.v1.MsgSponsorCollection", tx_1.MsgSponsorCollection], ["/sparkdream.collect.v1.MsgUpdateOperationalParams", tx_1.MsgUpdateOperationalParams], ["/sparkdream.collect.v1.MsgUpvoteContent", tx_1.MsgUpvoteContent], ["/sparkdream.collect.v1.MsgDownvoteContent", tx_1.MsgDownvoteContent], ["/sparkdream.collect.v1.MsgFlagContent", tx_1.MsgFlagContent], ["/sparkdream.collect.v1.MsgHideContent", tx_1.MsgHideContent], ["/sparkdream.collect.v1.MsgAppealHide", tx_1.MsgAppealHide], ["/sparkdream.collect.v1.MsgEndorseCollection", tx_1.MsgEndorseCollection], ["/sparkdream.collect.v1.MsgSetSeekingEndorsement", tx_1.MsgSetSeekingEndorsement], ["/sparkdream.collect.v1.MsgPinCollection", tx_1.MsgPinCollection]];
|
|
5
|
+
exports.registry = [["/sparkdream.collect.v1.MsgUpdateParams", tx_1.MsgUpdateParams], ["/sparkdream.collect.v1.MsgCreateCollection", tx_1.MsgCreateCollection], ["/sparkdream.collect.v1.MsgUpdateCollection", tx_1.MsgUpdateCollection], ["/sparkdream.collect.v1.MsgDeleteCollection", tx_1.MsgDeleteCollection], ["/sparkdream.collect.v1.MsgAddItem", tx_1.MsgAddItem], ["/sparkdream.collect.v1.MsgAddItems", tx_1.MsgAddItems], ["/sparkdream.collect.v1.MsgUpdateItem", tx_1.MsgUpdateItem], ["/sparkdream.collect.v1.MsgRemoveItem", tx_1.MsgRemoveItem], ["/sparkdream.collect.v1.MsgRemoveItems", tx_1.MsgRemoveItems], ["/sparkdream.collect.v1.MsgReorderItem", tx_1.MsgReorderItem], ["/sparkdream.collect.v1.MsgAddCollaborator", tx_1.MsgAddCollaborator], ["/sparkdream.collect.v1.MsgRemoveCollaborator", tx_1.MsgRemoveCollaborator], ["/sparkdream.collect.v1.MsgUpdateCollaboratorRole", tx_1.MsgUpdateCollaboratorRole], ["/sparkdream.collect.v1.MsgRateCollection", tx_1.MsgRateCollection], ["/sparkdream.collect.v1.MsgChallengeReview", tx_1.MsgChallengeReview], ["/sparkdream.collect.v1.MsgRequestSponsorship", tx_1.MsgRequestSponsorship], ["/sparkdream.collect.v1.MsgCancelSponsorshipRequest", tx_1.MsgCancelSponsorshipRequest], ["/sparkdream.collect.v1.MsgSponsorCollection", tx_1.MsgSponsorCollection], ["/sparkdream.collect.v1.MsgUpdateOperationalParams", tx_1.MsgUpdateOperationalParams], ["/sparkdream.collect.v1.MsgUpvoteContent", tx_1.MsgUpvoteContent], ["/sparkdream.collect.v1.MsgDownvoteContent", tx_1.MsgDownvoteContent], ["/sparkdream.collect.v1.MsgFlagContent", tx_1.MsgFlagContent], ["/sparkdream.collect.v1.MsgHideContent", tx_1.MsgHideContent], ["/sparkdream.collect.v1.MsgAppealHide", tx_1.MsgAppealHide], ["/sparkdream.collect.v1.MsgEndorseCollection", tx_1.MsgEndorseCollection], ["/sparkdream.collect.v1.MsgSetSeekingEndorsement", tx_1.MsgSetSeekingEndorsement], ["/sparkdream.collect.v1.MsgPinCollection", tx_1.MsgPinCollection], ["/sparkdream.collect.v1.MsgUnpinCollection", tx_1.MsgUnpinCollection], ["/sparkdream.collect.v1.MsgMakeCollectionPermanent", tx_1.MsgMakeCollectionPermanent]];
|
|
6
6
|
const load = (protoRegistry) => {
|
|
7
7
|
exports.registry.forEach(([typeUrl, mod]) => {
|
|
8
8
|
protoRegistry.register(typeUrl, mod);
|
|
@@ -172,6 +172,18 @@ exports.MessageComposer = {
|
|
|
172
172
|
typeUrl: "/sparkdream.collect.v1.MsgPinCollection",
|
|
173
173
|
value: tx_1.MsgPinCollection.encode(value).finish()
|
|
174
174
|
};
|
|
175
|
+
},
|
|
176
|
+
unpinCollection(value) {
|
|
177
|
+
return {
|
|
178
|
+
typeUrl: "/sparkdream.collect.v1.MsgUnpinCollection",
|
|
179
|
+
value: tx_1.MsgUnpinCollection.encode(value).finish()
|
|
180
|
+
};
|
|
181
|
+
},
|
|
182
|
+
makeCollectionPermanent(value) {
|
|
183
|
+
return {
|
|
184
|
+
typeUrl: "/sparkdream.collect.v1.MsgMakeCollectionPermanent",
|
|
185
|
+
value: tx_1.MsgMakeCollectionPermanent.encode(value).finish()
|
|
186
|
+
};
|
|
175
187
|
}
|
|
176
188
|
},
|
|
177
189
|
withTypeUrl: {
|
|
@@ -336,6 +348,18 @@ exports.MessageComposer = {
|
|
|
336
348
|
typeUrl: "/sparkdream.collect.v1.MsgPinCollection",
|
|
337
349
|
value
|
|
338
350
|
};
|
|
351
|
+
},
|
|
352
|
+
unpinCollection(value) {
|
|
353
|
+
return {
|
|
354
|
+
typeUrl: "/sparkdream.collect.v1.MsgUnpinCollection",
|
|
355
|
+
value
|
|
356
|
+
};
|
|
357
|
+
},
|
|
358
|
+
makeCollectionPermanent(value) {
|
|
359
|
+
return {
|
|
360
|
+
typeUrl: "/sparkdream.collect.v1.MsgMakeCollectionPermanent",
|
|
361
|
+
value
|
|
362
|
+
};
|
|
339
363
|
}
|
|
340
364
|
},
|
|
341
365
|
fromPartial: {
|
|
@@ -500,6 +524,18 @@ exports.MessageComposer = {
|
|
|
500
524
|
typeUrl: "/sparkdream.collect.v1.MsgPinCollection",
|
|
501
525
|
value: tx_1.MsgPinCollection.fromPartial(value)
|
|
502
526
|
};
|
|
527
|
+
},
|
|
528
|
+
unpinCollection(value) {
|
|
529
|
+
return {
|
|
530
|
+
typeUrl: "/sparkdream.collect.v1.MsgUnpinCollection",
|
|
531
|
+
value: tx_1.MsgUnpinCollection.fromPartial(value)
|
|
532
|
+
};
|
|
533
|
+
},
|
|
534
|
+
makeCollectionPermanent(value) {
|
|
535
|
+
return {
|
|
536
|
+
typeUrl: "/sparkdream.collect.v1.MsgMakeCollectionPermanent",
|
|
537
|
+
value: tx_1.MsgMakeCollectionPermanent.fromPartial(value)
|
|
538
|
+
};
|
|
503
539
|
}
|
|
504
540
|
}
|
|
505
541
|
};
|