@sparkdreamnft/sparkdreamjs 0.0.9 → 0.0.11
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 +25 -1
- package/esm/sparkdream/blog/v1/post.js +16 -1
- package/esm/sparkdream/blog/v1/query.js +165 -0
- package/esm/sparkdream/blog/v1/query.lcd.js +11 -0
- package/esm/sparkdream/blog/v1/query.rpc.Query.js +10 -1
- package/esm/sparkdream/blog/v1/tx.js +32 -2
- package/esm/sparkdream/bundle.js +343 -339
- package/esm/sparkdream/collect/v1/curator_activity.js +158 -0
- package/esm/sparkdream/collect/v1/genesis.js +12 -11
- package/esm/sparkdream/collect/v1/params.js +37 -1
- package/esm/sparkdream/collect/v1/query.js +201 -186
- package/esm/sparkdream/collect/v1/query.lcd.js +16 -16
- package/esm/sparkdream/collect/v1/query.rpc.Query.js +19 -19
- package/esm/sparkdream/collect/v1/tx.amino.js +1 -11
- package/esm/sparkdream/collect/v1/tx.js +0 -258
- package/esm/sparkdream/collect/v1/tx.registry.js +2 -38
- package/esm/sparkdream/collect/v1/tx.rpc.msg.js +3 -14
- package/esm/sparkdream/collect/v1/types.js +50 -143
- package/esm/sparkdream/federation/v1/genesis.js +12 -11
- package/esm/sparkdream/federation/v1/query.js +37 -187
- package/esm/sparkdream/federation/v1/query.lcd.js +6 -16
- package/esm/sparkdream/federation/v1/query.rpc.Query.js +11 -19
- package/esm/sparkdream/federation/v1/tx.amino.js +1 -11
- package/esm/sparkdream/federation/v1/tx.js +0 -270
- package/esm/sparkdream/federation/v1/tx.registry.js +2 -38
- package/esm/sparkdream/federation/v1/tx.rpc.msg.js +4 -14
- package/esm/sparkdream/federation/v1/types.js +13 -318
- package/esm/sparkdream/federation/v1/verifier_activity.js +194 -0
- package/esm/sparkdream/forum/v1/params.js +146 -2
- package/esm/sparkdream/futarchy/v1/market.js +13 -1
- package/esm/sparkdream/name/v1/owner_info.js +13 -1
- package/esm/sparkdream/name/v1/query.js +141 -0
- package/esm/sparkdream/name/v1/query.lcd.js +7 -0
- package/esm/sparkdream/name/v1/query.rpc.Query.js +12 -1
- package/esm/sparkdream/name/v1/tx.amino.js +6 -1
- package/esm/sparkdream/name/v1/tx.js +147 -0
- package/esm/sparkdream/name/v1/tx.registry.js +20 -2
- package/esm/sparkdream/name/v1/tx.rpc.msg.js +8 -1
- package/esm/sparkdream/rep/v1/bonded_role.js +446 -0
- package/esm/sparkdream/rep/v1/genesis.js +32 -17
- package/esm/sparkdream/rep/v1/member_report.js +98 -1
- package/esm/sparkdream/rep/v1/query.js +297 -306
- package/esm/sparkdream/rep/v1/query.lcd.js +23 -16
- package/esm/sparkdream/rep/v1/query.rpc.Query.js +36 -35
- package/esm/sparkdream/rep/v1/tx.amino.js +9 -9
- package/esm/sparkdream/rep/v1/tx.js +86 -58
- package/esm/sparkdream/rep/v1/tx.registry.js +18 -18
- package/esm/sparkdream/rep/v1/tx.rpc.msg.js +16 -14
- package/esm/sparkdream/season/v1/enums.js +10 -0
- package/esm/tendermint/bundle.js +18 -18
- 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 +16 -0
- package/sparkdream/blog/v1/params.js +25 -1
- package/sparkdream/blog/v1/post.d.ts +8 -0
- package/sparkdream/blog/v1/post.js +16 -1
- package/sparkdream/blog/v1/query.d.ts +92 -0
- package/sparkdream/blog/v1/query.js +166 -1
- package/sparkdream/blog/v1/query.lcd.d.ts +2 -1
- package/sparkdream/blog/v1/query.lcd.js +11 -0
- package/sparkdream/blog/v1/query.rpc.Query.d.ts +5 -1
- package/sparkdream/blog/v1/query.rpc.Query.js +9 -0
- package/sparkdream/blog/v1/tx.d.ts +16 -0
- package/sparkdream/blog/v1/tx.js +32 -2
- package/sparkdream/bundle.d.ts +14445 -14514
- package/sparkdream/bundle.js +343 -339
- package/sparkdream/client.d.ts +11 -26
- package/sparkdream/collect/v1/curator_activity.d.ts +123 -0
- package/sparkdream/collect/v1/curator_activity.js +161 -0
- package/sparkdream/collect/v1/genesis.d.ts +4 -3
- package/sparkdream/collect/v1/genesis.js +11 -10
- package/sparkdream/collect/v1/params.d.ts +32 -0
- package/sparkdream/collect/v1/params.js +37 -1
- package/sparkdream/collect/v1/query.d.ts +142 -133
- package/sparkdream/collect/v1/query.js +201 -186
- package/sparkdream/collect/v1/query.lcd.d.ts +3 -3
- package/sparkdream/collect/v1/query.lcd.js +16 -16
- package/sparkdream/collect/v1/query.rpc.Query.d.ts +13 -7
- package/sparkdream/collect/v1/query.rpc.Query.js +18 -18
- package/sparkdream/collect/v1/tx.amino.d.ts +1 -11
- package/sparkdream/collect/v1/tx.amino.js +0 -10
- package/sparkdream/collect/v1/tx.d.ts +0 -162
- package/sparkdream/collect/v1/tx.js +2 -260
- package/sparkdream/collect/v1/tx.registry.d.ts +1 -25
- package/sparkdream/collect/v1/tx.registry.js +1 -37
- package/sparkdream/collect/v1/tx.rpc.msg.d.ts +5 -5
- package/sparkdream/collect/v1/tx.rpc.msg.js +2 -13
- package/sparkdream/collect/v1/types.d.ts +26 -56
- package/sparkdream/collect/v1/types.js +51 -144
- package/sparkdream/federation/v1/genesis.d.ts +4 -3
- package/sparkdream/federation/v1/genesis.js +11 -10
- package/sparkdream/federation/v1/query.d.ts +53 -136
- package/sparkdream/federation/v1/query.js +37 -187
- package/sparkdream/federation/v1/query.lcd.d.ts +2 -3
- package/sparkdream/federation/v1/query.lcd.js +6 -16
- package/sparkdream/federation/v1/query.rpc.Query.d.ts +10 -7
- package/sparkdream/federation/v1/query.rpc.Query.js +10 -18
- package/sparkdream/federation/v1/tx.amino.d.ts +1 -11
- package/sparkdream/federation/v1/tx.amino.js +0 -10
- package/sparkdream/federation/v1/tx.d.ts +0 -164
- package/sparkdream/federation/v1/tx.js +1 -272
- package/sparkdream/federation/v1/tx.registry.d.ts +1 -25
- package/sparkdream/federation/v1/tx.registry.js +1 -37
- package/sparkdream/federation/v1/tx.rpc.msg.d.ts +6 -5
- package/sparkdream/federation/v1/tx.rpc.msg.js +3 -13
- package/sparkdream/federation/v1/types.d.ts +10 -106
- package/sparkdream/federation/v1/types.js +14 -321
- package/sparkdream/federation/v1/verifier_activity.d.ts +113 -0
- package/sparkdream/federation/v1/verifier_activity.js +197 -0
- package/sparkdream/forum/v1/params.d.ts +112 -0
- package/sparkdream/forum/v1/params.js +146 -2
- package/sparkdream/futarchy/v1/market.d.ts +14 -0
- package/sparkdream/futarchy/v1/market.js +13 -1
- package/sparkdream/name/v1/owner_info.d.ts +12 -0
- package/sparkdream/name/v1/owner_info.js +13 -1
- package/sparkdream/name/v1/query.d.ts +95 -0
- package/sparkdream/name/v1/query.js +142 -1
- package/sparkdream/name/v1/query.lcd.d.ts +2 -1
- package/sparkdream/name/v1/query.lcd.js +7 -0
- package/sparkdream/name/v1/query.rpc.Query.d.ts +9 -1
- package/sparkdream/name/v1/query.rpc.Query.js +11 -0
- package/sparkdream/name/v1/tx.amino.d.ts +6 -1
- package/sparkdream/name/v1/tx.amino.js +5 -0
- package/sparkdream/name/v1/tx.d.ts +105 -0
- package/sparkdream/name/v1/tx.js +148 -1
- package/sparkdream/name/v1/tx.registry.d.ts +13 -1
- package/sparkdream/name/v1/tx.registry.js +19 -1
- package/sparkdream/name/v1/tx.rpc.msg.d.ts +7 -1
- package/sparkdream/name/v1/tx.rpc.msg.js +7 -0
- package/sparkdream/rep/v1/bonded_role.d.ts +330 -0
- package/sparkdream/rep/v1/bonded_role.js +453 -0
- package/sparkdream/rep/v1/genesis.d.ts +11 -9
- package/sparkdream/rep/v1/genesis.js +32 -17
- package/sparkdream/rep/v1/member_report.d.ts +61 -0
- package/sparkdream/rep/v1/member_report.js +99 -2
- package/sparkdream/rep/v1/query.d.ts +259 -261
- package/sparkdream/rep/v1/query.js +299 -308
- package/sparkdream/rep/v1/query.lcd.d.ts +5 -5
- package/sparkdream/rep/v1/query.lcd.js +23 -16
- package/sparkdream/rep/v1/query.rpc.Query.d.ts +20 -17
- package/sparkdream/rep/v1/query.rpc.Query.js +35 -34
- package/sparkdream/rep/v1/tx.amino.d.ts +7 -7
- package/sparkdream/rep/v1/tx.amino.js +9 -9
- package/sparkdream/rep/v1/tx.d.ts +121 -104
- package/sparkdream/rep/v1/tx.js +87 -59
- package/sparkdream/rep/v1/tx.registry.d.ts +11 -11
- package/sparkdream/rep/v1/tx.registry.js +17 -17
- package/sparkdream/rep/v1/tx.rpc.msg.d.ts +11 -9
- package/sparkdream/rep/v1/tx.rpc.msg.js +15 -13
- package/sparkdream/rpc.query.d.ts +9 -8
- package/sparkdream/season/v1/enums.d.ts +5 -0
- package/sparkdream/season/v1/enums.js +10 -0
- package/tendermint/bundle.d.ts +844 -844
- package/tendermint/bundle.js +18 -18
- package/esm/sparkdream/rep/v1/sentinel_activity.js +0 -214
- package/sparkdream/rep/v1/sentinel_activity.d.ts +0 -79
- package/sparkdream/rep/v1/sentinel_activity.js +0 -219
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
//@ts-nocheck
|
|
2
2
|
import { PageRequest, PageResponse } from "../../../cosmos/base/query/v1beta1/pagination";
|
|
3
|
-
import { Collection, Item, Collaborator,
|
|
3
|
+
import { Collection, Item, Collaborator, CurationSummary, CurationReview, SponsorshipRequest, CollectionFlag, HideRecord, Endorsement } from "./types";
|
|
4
4
|
import { Params } from "./params";
|
|
5
|
+
import { CuratorActivity } from "./curator_activity";
|
|
5
6
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
6
7
|
import { Decimal } from "@interchainjs/math";
|
|
7
8
|
function createBaseQueryParamsRequest() {
|
|
@@ -1504,18 +1505,18 @@ export const QueryCollaboratorsResponse = {
|
|
|
1504
1505
|
};
|
|
1505
1506
|
}
|
|
1506
1507
|
};
|
|
1507
|
-
function
|
|
1508
|
+
function createBaseQueryCuratorActivityRequest() {
|
|
1508
1509
|
return {
|
|
1509
1510
|
address: ""
|
|
1510
1511
|
};
|
|
1511
1512
|
}
|
|
1512
1513
|
/**
|
|
1513
|
-
* @name
|
|
1514
|
+
* @name QueryCuratorActivityRequest
|
|
1514
1515
|
* @package sparkdream.collect.v1
|
|
1515
|
-
* @see proto type: sparkdream.collect.v1.
|
|
1516
|
+
* @see proto type: sparkdream.collect.v1.QueryCuratorActivityRequest
|
|
1516
1517
|
*/
|
|
1517
|
-
export const
|
|
1518
|
-
typeUrl: "/sparkdream.collect.v1.
|
|
1518
|
+
export const QueryCuratorActivityRequest = {
|
|
1519
|
+
typeUrl: "/sparkdream.collect.v1.QueryCuratorActivityRequest",
|
|
1519
1520
|
encode(message, writer = BinaryWriter.create()) {
|
|
1520
1521
|
if (message.address !== "") {
|
|
1521
1522
|
writer.uint32(10).string(message.address);
|
|
@@ -1525,7 +1526,7 @@ export const QueryCuratorRequest = {
|
|
|
1525
1526
|
decode(input, length) {
|
|
1526
1527
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1527
1528
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1528
|
-
const message =
|
|
1529
|
+
const message = createBaseQueryCuratorActivityRequest();
|
|
1529
1530
|
while (reader.pos < end) {
|
|
1530
1531
|
const tag = reader.uint32();
|
|
1531
1532
|
switch (tag >>> 3) {
|
|
@@ -1540,12 +1541,12 @@ export const QueryCuratorRequest = {
|
|
|
1540
1541
|
return message;
|
|
1541
1542
|
},
|
|
1542
1543
|
fromPartial(object) {
|
|
1543
|
-
const message =
|
|
1544
|
+
const message = createBaseQueryCuratorActivityRequest();
|
|
1544
1545
|
message.address = object.address ?? "";
|
|
1545
1546
|
return message;
|
|
1546
1547
|
},
|
|
1547
1548
|
fromAmino(object) {
|
|
1548
|
-
const message =
|
|
1549
|
+
const message = createBaseQueryCuratorActivityRequest();
|
|
1549
1550
|
if (object.address !== undefined && object.address !== null) {
|
|
1550
1551
|
message.address = object.address;
|
|
1551
1552
|
}
|
|
@@ -1557,48 +1558,48 @@ export const QueryCuratorRequest = {
|
|
|
1557
1558
|
return obj;
|
|
1558
1559
|
},
|
|
1559
1560
|
fromAminoMsg(object) {
|
|
1560
|
-
return
|
|
1561
|
+
return QueryCuratorActivityRequest.fromAmino(object.value);
|
|
1561
1562
|
},
|
|
1562
1563
|
fromProtoMsg(message) {
|
|
1563
|
-
return
|
|
1564
|
+
return QueryCuratorActivityRequest.decode(message.value);
|
|
1564
1565
|
},
|
|
1565
1566
|
toProto(message) {
|
|
1566
|
-
return
|
|
1567
|
+
return QueryCuratorActivityRequest.encode(message).finish();
|
|
1567
1568
|
},
|
|
1568
1569
|
toProtoMsg(message) {
|
|
1569
1570
|
return {
|
|
1570
|
-
typeUrl: "/sparkdream.collect.v1.
|
|
1571
|
-
value:
|
|
1571
|
+
typeUrl: "/sparkdream.collect.v1.QueryCuratorActivityRequest",
|
|
1572
|
+
value: QueryCuratorActivityRequest.encode(message).finish()
|
|
1572
1573
|
};
|
|
1573
1574
|
}
|
|
1574
1575
|
};
|
|
1575
|
-
function
|
|
1576
|
+
function createBaseQueryCuratorActivityResponse() {
|
|
1576
1577
|
return {
|
|
1577
|
-
|
|
1578
|
+
activity: CuratorActivity.fromPartial({})
|
|
1578
1579
|
};
|
|
1579
1580
|
}
|
|
1580
1581
|
/**
|
|
1581
|
-
* @name
|
|
1582
|
+
* @name QueryCuratorActivityResponse
|
|
1582
1583
|
* @package sparkdream.collect.v1
|
|
1583
|
-
* @see proto type: sparkdream.collect.v1.
|
|
1584
|
+
* @see proto type: sparkdream.collect.v1.QueryCuratorActivityResponse
|
|
1584
1585
|
*/
|
|
1585
|
-
export const
|
|
1586
|
-
typeUrl: "/sparkdream.collect.v1.
|
|
1586
|
+
export const QueryCuratorActivityResponse = {
|
|
1587
|
+
typeUrl: "/sparkdream.collect.v1.QueryCuratorActivityResponse",
|
|
1587
1588
|
encode(message, writer = BinaryWriter.create()) {
|
|
1588
|
-
if (message.
|
|
1589
|
-
|
|
1589
|
+
if (message.activity !== undefined) {
|
|
1590
|
+
CuratorActivity.encode(message.activity, writer.uint32(10).fork()).ldelim();
|
|
1590
1591
|
}
|
|
1591
1592
|
return writer;
|
|
1592
1593
|
},
|
|
1593
1594
|
decode(input, length) {
|
|
1594
1595
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1595
1596
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1596
|
-
const message =
|
|
1597
|
+
const message = createBaseQueryCuratorActivityResponse();
|
|
1597
1598
|
while (reader.pos < end) {
|
|
1598
1599
|
const tag = reader.uint32();
|
|
1599
1600
|
switch (tag >>> 3) {
|
|
1600
1601
|
case 1:
|
|
1601
|
-
message.
|
|
1602
|
+
message.activity = CuratorActivity.decode(reader, reader.uint32());
|
|
1602
1603
|
break;
|
|
1603
1604
|
default:
|
|
1604
1605
|
reader.skipType(tag & 7);
|
|
@@ -1608,186 +1609,35 @@ export const QueryCuratorResponse = {
|
|
|
1608
1609
|
return message;
|
|
1609
1610
|
},
|
|
1610
1611
|
fromPartial(object) {
|
|
1611
|
-
const message =
|
|
1612
|
-
message.
|
|
1612
|
+
const message = createBaseQueryCuratorActivityResponse();
|
|
1613
|
+
message.activity = object.activity !== undefined && object.activity !== null ? CuratorActivity.fromPartial(object.activity) : undefined;
|
|
1613
1614
|
return message;
|
|
1614
1615
|
},
|
|
1615
1616
|
fromAmino(object) {
|
|
1616
|
-
const message =
|
|
1617
|
-
if (object.
|
|
1618
|
-
message.
|
|
1619
|
-
}
|
|
1620
|
-
return message;
|
|
1621
|
-
},
|
|
1622
|
-
toAmino(message) {
|
|
1623
|
-
const obj = {};
|
|
1624
|
-
obj.curator = message.curator ? Curator.toAmino(message.curator) : undefined;
|
|
1625
|
-
return obj;
|
|
1626
|
-
},
|
|
1627
|
-
fromAminoMsg(object) {
|
|
1628
|
-
return QueryCuratorResponse.fromAmino(object.value);
|
|
1629
|
-
},
|
|
1630
|
-
fromProtoMsg(message) {
|
|
1631
|
-
return QueryCuratorResponse.decode(message.value);
|
|
1632
|
-
},
|
|
1633
|
-
toProto(message) {
|
|
1634
|
-
return QueryCuratorResponse.encode(message).finish();
|
|
1635
|
-
},
|
|
1636
|
-
toProtoMsg(message) {
|
|
1637
|
-
return {
|
|
1638
|
-
typeUrl: "/sparkdream.collect.v1.QueryCuratorResponse",
|
|
1639
|
-
value: QueryCuratorResponse.encode(message).finish()
|
|
1640
|
-
};
|
|
1641
|
-
}
|
|
1642
|
-
};
|
|
1643
|
-
function createBaseQueryActiveCuratorsRequest() {
|
|
1644
|
-
return {
|
|
1645
|
-
pagination: undefined
|
|
1646
|
-
};
|
|
1647
|
-
}
|
|
1648
|
-
/**
|
|
1649
|
-
* @name QueryActiveCuratorsRequest
|
|
1650
|
-
* @package sparkdream.collect.v1
|
|
1651
|
-
* @see proto type: sparkdream.collect.v1.QueryActiveCuratorsRequest
|
|
1652
|
-
*/
|
|
1653
|
-
export const QueryActiveCuratorsRequest = {
|
|
1654
|
-
typeUrl: "/sparkdream.collect.v1.QueryActiveCuratorsRequest",
|
|
1655
|
-
encode(message, writer = BinaryWriter.create()) {
|
|
1656
|
-
if (message.pagination !== undefined) {
|
|
1657
|
-
PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim();
|
|
1658
|
-
}
|
|
1659
|
-
return writer;
|
|
1660
|
-
},
|
|
1661
|
-
decode(input, length) {
|
|
1662
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1663
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1664
|
-
const message = createBaseQueryActiveCuratorsRequest();
|
|
1665
|
-
while (reader.pos < end) {
|
|
1666
|
-
const tag = reader.uint32();
|
|
1667
|
-
switch (tag >>> 3) {
|
|
1668
|
-
case 1:
|
|
1669
|
-
message.pagination = PageRequest.decode(reader, reader.uint32());
|
|
1670
|
-
break;
|
|
1671
|
-
default:
|
|
1672
|
-
reader.skipType(tag & 7);
|
|
1673
|
-
break;
|
|
1674
|
-
}
|
|
1675
|
-
}
|
|
1676
|
-
return message;
|
|
1677
|
-
},
|
|
1678
|
-
fromPartial(object) {
|
|
1679
|
-
const message = createBaseQueryActiveCuratorsRequest();
|
|
1680
|
-
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
|
|
1681
|
-
return message;
|
|
1682
|
-
},
|
|
1683
|
-
fromAmino(object) {
|
|
1684
|
-
const message = createBaseQueryActiveCuratorsRequest();
|
|
1685
|
-
if (object.pagination !== undefined && object.pagination !== null) {
|
|
1686
|
-
message.pagination = PageRequest.fromAmino(object.pagination);
|
|
1617
|
+
const message = createBaseQueryCuratorActivityResponse();
|
|
1618
|
+
if (object.activity !== undefined && object.activity !== null) {
|
|
1619
|
+
message.activity = CuratorActivity.fromAmino(object.activity);
|
|
1687
1620
|
}
|
|
1688
1621
|
return message;
|
|
1689
1622
|
},
|
|
1690
1623
|
toAmino(message) {
|
|
1691
1624
|
const obj = {};
|
|
1692
|
-
obj.
|
|
1625
|
+
obj.activity = message.activity ? CuratorActivity.toAmino(message.activity) : undefined;
|
|
1693
1626
|
return obj;
|
|
1694
1627
|
},
|
|
1695
1628
|
fromAminoMsg(object) {
|
|
1696
|
-
return
|
|
1629
|
+
return QueryCuratorActivityResponse.fromAmino(object.value);
|
|
1697
1630
|
},
|
|
1698
1631
|
fromProtoMsg(message) {
|
|
1699
|
-
return
|
|
1632
|
+
return QueryCuratorActivityResponse.decode(message.value);
|
|
1700
1633
|
},
|
|
1701
1634
|
toProto(message) {
|
|
1702
|
-
return
|
|
1635
|
+
return QueryCuratorActivityResponse.encode(message).finish();
|
|
1703
1636
|
},
|
|
1704
1637
|
toProtoMsg(message) {
|
|
1705
1638
|
return {
|
|
1706
|
-
typeUrl: "/sparkdream.collect.v1.
|
|
1707
|
-
value:
|
|
1708
|
-
};
|
|
1709
|
-
}
|
|
1710
|
-
};
|
|
1711
|
-
function createBaseQueryActiveCuratorsResponse() {
|
|
1712
|
-
return {
|
|
1713
|
-
curators: [],
|
|
1714
|
-
pagination: undefined
|
|
1715
|
-
};
|
|
1716
|
-
}
|
|
1717
|
-
/**
|
|
1718
|
-
* @name QueryActiveCuratorsResponse
|
|
1719
|
-
* @package sparkdream.collect.v1
|
|
1720
|
-
* @see proto type: sparkdream.collect.v1.QueryActiveCuratorsResponse
|
|
1721
|
-
*/
|
|
1722
|
-
export const QueryActiveCuratorsResponse = {
|
|
1723
|
-
typeUrl: "/sparkdream.collect.v1.QueryActiveCuratorsResponse",
|
|
1724
|
-
encode(message, writer = BinaryWriter.create()) {
|
|
1725
|
-
for (const v of message.curators) {
|
|
1726
|
-
Curator.encode(v, writer.uint32(10).fork()).ldelim();
|
|
1727
|
-
}
|
|
1728
|
-
if (message.pagination !== undefined) {
|
|
1729
|
-
PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
1730
|
-
}
|
|
1731
|
-
return writer;
|
|
1732
|
-
},
|
|
1733
|
-
decode(input, length) {
|
|
1734
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1735
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1736
|
-
const message = createBaseQueryActiveCuratorsResponse();
|
|
1737
|
-
while (reader.pos < end) {
|
|
1738
|
-
const tag = reader.uint32();
|
|
1739
|
-
switch (tag >>> 3) {
|
|
1740
|
-
case 1:
|
|
1741
|
-
message.curators.push(Curator.decode(reader, reader.uint32()));
|
|
1742
|
-
break;
|
|
1743
|
-
case 2:
|
|
1744
|
-
message.pagination = PageResponse.decode(reader, reader.uint32());
|
|
1745
|
-
break;
|
|
1746
|
-
default:
|
|
1747
|
-
reader.skipType(tag & 7);
|
|
1748
|
-
break;
|
|
1749
|
-
}
|
|
1750
|
-
}
|
|
1751
|
-
return message;
|
|
1752
|
-
},
|
|
1753
|
-
fromPartial(object) {
|
|
1754
|
-
const message = createBaseQueryActiveCuratorsResponse();
|
|
1755
|
-
message.curators = object.curators?.map(e => Curator.fromPartial(e)) || [];
|
|
1756
|
-
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
|
|
1757
|
-
return message;
|
|
1758
|
-
},
|
|
1759
|
-
fromAmino(object) {
|
|
1760
|
-
const message = createBaseQueryActiveCuratorsResponse();
|
|
1761
|
-
message.curators = object.curators?.map(e => Curator.fromAmino(e)) || [];
|
|
1762
|
-
if (object.pagination !== undefined && object.pagination !== null) {
|
|
1763
|
-
message.pagination = PageResponse.fromAmino(object.pagination);
|
|
1764
|
-
}
|
|
1765
|
-
return message;
|
|
1766
|
-
},
|
|
1767
|
-
toAmino(message) {
|
|
1768
|
-
const obj = {};
|
|
1769
|
-
if (message.curators) {
|
|
1770
|
-
obj.curators = message.curators.map(e => e ? Curator.toAmino(e) : undefined);
|
|
1771
|
-
}
|
|
1772
|
-
else {
|
|
1773
|
-
obj.curators = message.curators;
|
|
1774
|
-
}
|
|
1775
|
-
obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined;
|
|
1776
|
-
return obj;
|
|
1777
|
-
},
|
|
1778
|
-
fromAminoMsg(object) {
|
|
1779
|
-
return QueryActiveCuratorsResponse.fromAmino(object.value);
|
|
1780
|
-
},
|
|
1781
|
-
fromProtoMsg(message) {
|
|
1782
|
-
return QueryActiveCuratorsResponse.decode(message.value);
|
|
1783
|
-
},
|
|
1784
|
-
toProto(message) {
|
|
1785
|
-
return QueryActiveCuratorsResponse.encode(message).finish();
|
|
1786
|
-
},
|
|
1787
|
-
toProtoMsg(message) {
|
|
1788
|
-
return {
|
|
1789
|
-
typeUrl: "/sparkdream.collect.v1.QueryActiveCuratorsResponse",
|
|
1790
|
-
value: QueryActiveCuratorsResponse.encode(message).finish()
|
|
1639
|
+
typeUrl: "/sparkdream.collect.v1.QueryCuratorActivityResponse",
|
|
1640
|
+
value: QueryCuratorActivityResponse.encode(message).finish()
|
|
1791
1641
|
};
|
|
1792
1642
|
}
|
|
1793
1643
|
};
|
|
@@ -3788,3 +3638,168 @@ export const QueryCollectionConvictionResponse = {
|
|
|
3788
3638
|
};
|
|
3789
3639
|
}
|
|
3790
3640
|
};
|
|
3641
|
+
function createBaseQueryListCollectionsByTagRequest() {
|
|
3642
|
+
return {
|
|
3643
|
+
tag: "",
|
|
3644
|
+
pagination: undefined
|
|
3645
|
+
};
|
|
3646
|
+
}
|
|
3647
|
+
/**
|
|
3648
|
+
* QueryListCollectionsByTagRequest defines the QueryListCollectionsByTag request.
|
|
3649
|
+
* @name QueryListCollectionsByTagRequest
|
|
3650
|
+
* @package sparkdream.collect.v1
|
|
3651
|
+
* @see proto type: sparkdream.collect.v1.QueryListCollectionsByTagRequest
|
|
3652
|
+
*/
|
|
3653
|
+
export const QueryListCollectionsByTagRequest = {
|
|
3654
|
+
typeUrl: "/sparkdream.collect.v1.QueryListCollectionsByTagRequest",
|
|
3655
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
3656
|
+
if (message.tag !== "") {
|
|
3657
|
+
writer.uint32(10).string(message.tag);
|
|
3658
|
+
}
|
|
3659
|
+
if (message.pagination !== undefined) {
|
|
3660
|
+
PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
3661
|
+
}
|
|
3662
|
+
return writer;
|
|
3663
|
+
},
|
|
3664
|
+
decode(input, length) {
|
|
3665
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
3666
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3667
|
+
const message = createBaseQueryListCollectionsByTagRequest();
|
|
3668
|
+
while (reader.pos < end) {
|
|
3669
|
+
const tag = reader.uint32();
|
|
3670
|
+
switch (tag >>> 3) {
|
|
3671
|
+
case 1:
|
|
3672
|
+
message.tag = reader.string();
|
|
3673
|
+
break;
|
|
3674
|
+
case 2:
|
|
3675
|
+
message.pagination = PageRequest.decode(reader, reader.uint32());
|
|
3676
|
+
break;
|
|
3677
|
+
default:
|
|
3678
|
+
reader.skipType(tag & 7);
|
|
3679
|
+
break;
|
|
3680
|
+
}
|
|
3681
|
+
}
|
|
3682
|
+
return message;
|
|
3683
|
+
},
|
|
3684
|
+
fromPartial(object) {
|
|
3685
|
+
const message = createBaseQueryListCollectionsByTagRequest();
|
|
3686
|
+
message.tag = object.tag ?? "";
|
|
3687
|
+
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
|
|
3688
|
+
return message;
|
|
3689
|
+
},
|
|
3690
|
+
fromAmino(object) {
|
|
3691
|
+
const message = createBaseQueryListCollectionsByTagRequest();
|
|
3692
|
+
if (object.tag !== undefined && object.tag !== null) {
|
|
3693
|
+
message.tag = object.tag;
|
|
3694
|
+
}
|
|
3695
|
+
if (object.pagination !== undefined && object.pagination !== null) {
|
|
3696
|
+
message.pagination = PageRequest.fromAmino(object.pagination);
|
|
3697
|
+
}
|
|
3698
|
+
return message;
|
|
3699
|
+
},
|
|
3700
|
+
toAmino(message) {
|
|
3701
|
+
const obj = {};
|
|
3702
|
+
obj.tag = message.tag === "" ? undefined : message.tag;
|
|
3703
|
+
obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined;
|
|
3704
|
+
return obj;
|
|
3705
|
+
},
|
|
3706
|
+
fromAminoMsg(object) {
|
|
3707
|
+
return QueryListCollectionsByTagRequest.fromAmino(object.value);
|
|
3708
|
+
},
|
|
3709
|
+
fromProtoMsg(message) {
|
|
3710
|
+
return QueryListCollectionsByTagRequest.decode(message.value);
|
|
3711
|
+
},
|
|
3712
|
+
toProto(message) {
|
|
3713
|
+
return QueryListCollectionsByTagRequest.encode(message).finish();
|
|
3714
|
+
},
|
|
3715
|
+
toProtoMsg(message) {
|
|
3716
|
+
return {
|
|
3717
|
+
typeUrl: "/sparkdream.collect.v1.QueryListCollectionsByTagRequest",
|
|
3718
|
+
value: QueryListCollectionsByTagRequest.encode(message).finish()
|
|
3719
|
+
};
|
|
3720
|
+
}
|
|
3721
|
+
};
|
|
3722
|
+
function createBaseQueryListCollectionsByTagResponse() {
|
|
3723
|
+
return {
|
|
3724
|
+
collections: [],
|
|
3725
|
+
pagination: undefined
|
|
3726
|
+
};
|
|
3727
|
+
}
|
|
3728
|
+
/**
|
|
3729
|
+
* QueryListCollectionsByTagResponse defines the QueryListCollectionsByTag response.
|
|
3730
|
+
* @name QueryListCollectionsByTagResponse
|
|
3731
|
+
* @package sparkdream.collect.v1
|
|
3732
|
+
* @see proto type: sparkdream.collect.v1.QueryListCollectionsByTagResponse
|
|
3733
|
+
*/
|
|
3734
|
+
export const QueryListCollectionsByTagResponse = {
|
|
3735
|
+
typeUrl: "/sparkdream.collect.v1.QueryListCollectionsByTagResponse",
|
|
3736
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
3737
|
+
for (const v of message.collections) {
|
|
3738
|
+
Collection.encode(v, writer.uint32(10).fork()).ldelim();
|
|
3739
|
+
}
|
|
3740
|
+
if (message.pagination !== undefined) {
|
|
3741
|
+
PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
3742
|
+
}
|
|
3743
|
+
return writer;
|
|
3744
|
+
},
|
|
3745
|
+
decode(input, length) {
|
|
3746
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
3747
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3748
|
+
const message = createBaseQueryListCollectionsByTagResponse();
|
|
3749
|
+
while (reader.pos < end) {
|
|
3750
|
+
const tag = reader.uint32();
|
|
3751
|
+
switch (tag >>> 3) {
|
|
3752
|
+
case 1:
|
|
3753
|
+
message.collections.push(Collection.decode(reader, reader.uint32()));
|
|
3754
|
+
break;
|
|
3755
|
+
case 2:
|
|
3756
|
+
message.pagination = PageResponse.decode(reader, reader.uint32());
|
|
3757
|
+
break;
|
|
3758
|
+
default:
|
|
3759
|
+
reader.skipType(tag & 7);
|
|
3760
|
+
break;
|
|
3761
|
+
}
|
|
3762
|
+
}
|
|
3763
|
+
return message;
|
|
3764
|
+
},
|
|
3765
|
+
fromPartial(object) {
|
|
3766
|
+
const message = createBaseQueryListCollectionsByTagResponse();
|
|
3767
|
+
message.collections = object.collections?.map(e => Collection.fromPartial(e)) || [];
|
|
3768
|
+
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
|
|
3769
|
+
return message;
|
|
3770
|
+
},
|
|
3771
|
+
fromAmino(object) {
|
|
3772
|
+
const message = createBaseQueryListCollectionsByTagResponse();
|
|
3773
|
+
message.collections = object.collections?.map(e => Collection.fromAmino(e)) || [];
|
|
3774
|
+
if (object.pagination !== undefined && object.pagination !== null) {
|
|
3775
|
+
message.pagination = PageResponse.fromAmino(object.pagination);
|
|
3776
|
+
}
|
|
3777
|
+
return message;
|
|
3778
|
+
},
|
|
3779
|
+
toAmino(message) {
|
|
3780
|
+
const obj = {};
|
|
3781
|
+
if (message.collections) {
|
|
3782
|
+
obj.collections = message.collections.map(e => e ? Collection.toAmino(e) : undefined);
|
|
3783
|
+
}
|
|
3784
|
+
else {
|
|
3785
|
+
obj.collections = message.collections;
|
|
3786
|
+
}
|
|
3787
|
+
obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined;
|
|
3788
|
+
return obj;
|
|
3789
|
+
},
|
|
3790
|
+
fromAminoMsg(object) {
|
|
3791
|
+
return QueryListCollectionsByTagResponse.fromAmino(object.value);
|
|
3792
|
+
},
|
|
3793
|
+
fromProtoMsg(message) {
|
|
3794
|
+
return QueryListCollectionsByTagResponse.decode(message.value);
|
|
3795
|
+
},
|
|
3796
|
+
toProto(message) {
|
|
3797
|
+
return QueryListCollectionsByTagResponse.encode(message).finish();
|
|
3798
|
+
},
|
|
3799
|
+
toProtoMsg(message) {
|
|
3800
|
+
return {
|
|
3801
|
+
typeUrl: "/sparkdream.collect.v1.QueryListCollectionsByTagResponse",
|
|
3802
|
+
value: QueryListCollectionsByTagResponse.encode(message).finish()
|
|
3803
|
+
};
|
|
3804
|
+
}
|
|
3805
|
+
};
|
|
@@ -93,24 +93,13 @@ export class LCDQueryClient {
|
|
|
93
93
|
const endpoint = `sparkdream/collect/v1/collaborators/${params.collectionId}`;
|
|
94
94
|
return await this.req.get(endpoint);
|
|
95
95
|
};
|
|
96
|
-
/*
|
|
97
|
-
|
|
98
|
-
|
|
96
|
+
/* CuratorActivity returns collect-specific per-curator counters (reviews,
|
|
97
|
+
challenged, upheld, overturned). The generic bond/status record lives in
|
|
98
|
+
x/rep under BondedRole(ROLE_TYPE_COLLECT_CURATOR, addr). */
|
|
99
|
+
curatorActivity = async (params) => {
|
|
100
|
+
const endpoint = `sparkdream/collect/v1/curator_activity/${params.address}`;
|
|
99
101
|
return await this.req.get(endpoint);
|
|
100
102
|
};
|
|
101
|
-
/* ActiveCurators */
|
|
102
|
-
activeCurators = async (params = {
|
|
103
|
-
pagination: undefined
|
|
104
|
-
}) => {
|
|
105
|
-
const options = {
|
|
106
|
-
params: {}
|
|
107
|
-
};
|
|
108
|
-
if (typeof params?.pagination !== "undefined") {
|
|
109
|
-
setPaginationParams(options, params.pagination);
|
|
110
|
-
}
|
|
111
|
-
const endpoint = `sparkdream/collect/v1/active_curators`;
|
|
112
|
-
return await this.req.get(endpoint, options);
|
|
113
|
-
};
|
|
114
103
|
/* CurationSummary */
|
|
115
104
|
curationSummary = async (params) => {
|
|
116
105
|
const endpoint = `sparkdream/collect/v1/curation_summary/${params.collectionId}`;
|
|
@@ -220,4 +209,15 @@ export class LCDQueryClient {
|
|
|
220
209
|
const endpoint = `sparkdream/collect/v1/collection_conviction/${params.collectionId}`;
|
|
221
210
|
return await this.req.get(endpoint);
|
|
222
211
|
};
|
|
212
|
+
/* ListCollectionsByTag returns paginated collections that carry a given tag. */
|
|
213
|
+
listCollectionsByTag = async (params) => {
|
|
214
|
+
const options = {
|
|
215
|
+
params: {}
|
|
216
|
+
};
|
|
217
|
+
if (typeof params?.pagination !== "undefined") {
|
|
218
|
+
setPaginationParams(options, params.pagination);
|
|
219
|
+
}
|
|
220
|
+
const endpoint = `sparkdream/collect/v1/list_collections_by_tag/${params.tag}`;
|
|
221
|
+
return await this.req.get(endpoint, options);
|
|
222
|
+
};
|
|
223
223
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BinaryReader } from "../../../binary";
|
|
2
2
|
import { createProtobufRpcClient } from "@cosmjs/stargate";
|
|
3
|
-
import { QueryParamsRequest, QueryParamsResponse, QueryCollectionRequest, QueryCollectionResponse, QueryCollectionsByOwnerRequest, QueryCollectionsByOwnerResponse, QueryPublicCollectionsRequest, QueryPublicCollectionsResponse, QueryPublicCollectionsByTypeRequest, QueryPublicCollectionsByTypeResponse, QueryCollectionsByCollaboratorRequest, QueryCollectionsByCollaboratorResponse, QueryItemRequest, QueryItemResponse, QueryItemsRequest, QueryItemsResponse, QueryItemsByOwnerRequest, QueryItemsByOwnerResponse, QueryCollaboratorsRequest, QueryCollaboratorsResponse,
|
|
3
|
+
import { QueryParamsRequest, QueryParamsResponse, QueryCollectionRequest, QueryCollectionResponse, QueryCollectionsByOwnerRequest, QueryCollectionsByOwnerResponse, QueryPublicCollectionsRequest, QueryPublicCollectionsResponse, QueryPublicCollectionsByTypeRequest, QueryPublicCollectionsByTypeResponse, QueryCollectionsByCollaboratorRequest, QueryCollectionsByCollaboratorResponse, QueryItemRequest, QueryItemResponse, QueryItemsRequest, QueryItemsResponse, QueryItemsByOwnerRequest, QueryItemsByOwnerResponse, QueryCollaboratorsRequest, QueryCollaboratorsResponse, QueryCuratorActivityRequest, QueryCuratorActivityResponse, QueryCurationSummaryRequest, QueryCurationSummaryResponse, QueryCurationReviewsRequest, QueryCurationReviewsResponse, QueryCurationReviewsByCuratorRequest, QueryCurationReviewsByCuratorResponse, QuerySponsorshipRequestRequest, QuerySponsorshipRequestResponse, QuerySponsorshipRequestsRequest, QuerySponsorshipRequestsResponse, QueryContentFlagRequest, QueryContentFlagResponse, QueryFlaggedContentRequest, QueryFlaggedContentResponse, QueryHideRecordRequest, QueryHideRecordResponse, QueryHideRecordsByTargetRequest, QueryHideRecordsByTargetResponse, QueryPendingCollectionsRequest, QueryPendingCollectionsResponse, QueryEndorsementRequest, QueryEndorsementResponse, QueryCollectionsByContentRequest, QueryCollectionsByContentResponse, QueryCollectionConvictionRequest, QueryCollectionConvictionResponse, QueryListCollectionsByTagRequest, QueryListCollectionsByTagResponse } from "./query";
|
|
4
4
|
export class QueryClientImpl {
|
|
5
5
|
rpc;
|
|
6
6
|
constructor(rpc) {
|
|
@@ -68,19 +68,13 @@ export class QueryClientImpl {
|
|
|
68
68
|
const promise = this.rpc.request("sparkdream.collect.v1.Query", "Collaborators", data);
|
|
69
69
|
return promise.then(data => QueryCollaboratorsResponse.decode(new BinaryReader(data)));
|
|
70
70
|
};
|
|
71
|
-
/*
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
activeCurators = async (request = {
|
|
79
|
-
pagination: undefined
|
|
80
|
-
}) => {
|
|
81
|
-
const data = QueryActiveCuratorsRequest.encode(request).finish();
|
|
82
|
-
const promise = this.rpc.request("sparkdream.collect.v1.Query", "ActiveCurators", data);
|
|
83
|
-
return promise.then(data => QueryActiveCuratorsResponse.decode(new BinaryReader(data)));
|
|
71
|
+
/* CuratorActivity returns collect-specific per-curator counters (reviews,
|
|
72
|
+
challenged, upheld, overturned). The generic bond/status record lives in
|
|
73
|
+
x/rep under BondedRole(ROLE_TYPE_COLLECT_CURATOR, addr). */
|
|
74
|
+
curatorActivity = async (request) => {
|
|
75
|
+
const data = QueryCuratorActivityRequest.encode(request).finish();
|
|
76
|
+
const promise = this.rpc.request("sparkdream.collect.v1.Query", "CuratorActivity", data);
|
|
77
|
+
return promise.then(data => QueryCuratorActivityResponse.decode(new BinaryReader(data)));
|
|
84
78
|
};
|
|
85
79
|
/* CurationSummary */
|
|
86
80
|
curationSummary = async (request) => {
|
|
@@ -168,6 +162,12 @@ export class QueryClientImpl {
|
|
|
168
162
|
const promise = this.rpc.request("sparkdream.collect.v1.Query", "CollectionConviction", data);
|
|
169
163
|
return promise.then(data => QueryCollectionConvictionResponse.decode(new BinaryReader(data)));
|
|
170
164
|
};
|
|
165
|
+
/* ListCollectionsByTag returns paginated collections that carry a given tag. */
|
|
166
|
+
listCollectionsByTag = async (request) => {
|
|
167
|
+
const data = QueryListCollectionsByTagRequest.encode(request).finish();
|
|
168
|
+
const promise = this.rpc.request("sparkdream.collect.v1.Query", "ListCollectionsByTag", data);
|
|
169
|
+
return promise.then(data => QueryListCollectionsByTagResponse.decode(new BinaryReader(data)));
|
|
170
|
+
};
|
|
171
171
|
}
|
|
172
172
|
export const createRpcQueryExtension = (base) => {
|
|
173
173
|
const rpc = createProtobufRpcClient(base);
|
|
@@ -203,11 +203,8 @@ export const createRpcQueryExtension = (base) => {
|
|
|
203
203
|
collaborators(request) {
|
|
204
204
|
return queryService.collaborators(request);
|
|
205
205
|
},
|
|
206
|
-
|
|
207
|
-
return queryService.
|
|
208
|
-
},
|
|
209
|
-
activeCurators(request) {
|
|
210
|
-
return queryService.activeCurators(request);
|
|
206
|
+
curatorActivity(request) {
|
|
207
|
+
return queryService.curatorActivity(request);
|
|
211
208
|
},
|
|
212
209
|
curationSummary(request) {
|
|
213
210
|
return queryService.curationSummary(request);
|
|
@@ -247,6 +244,9 @@ export const createRpcQueryExtension = (base) => {
|
|
|
247
244
|
},
|
|
248
245
|
collectionConviction(request) {
|
|
249
246
|
return queryService.collectionConviction(request);
|
|
247
|
+
},
|
|
248
|
+
listCollectionsByTag(request) {
|
|
249
|
+
return queryService.listCollectionsByTag(request);
|
|
250
250
|
}
|
|
251
251
|
};
|
|
252
252
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//@ts-nocheck
|
|
2
|
-
import { MsgUpdateParams, MsgCreateCollection, MsgUpdateCollection, MsgDeleteCollection, MsgAddItem, MsgAddItems, MsgUpdateItem, MsgRemoveItem, MsgRemoveItems, MsgReorderItem, MsgAddCollaborator, MsgRemoveCollaborator, MsgUpdateCollaboratorRole,
|
|
2
|
+
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
3
|
export const AminoConverter = {
|
|
4
4
|
"/sparkdream.collect.v1.MsgUpdateParams": {
|
|
5
5
|
aminoType: "sparkdream/x/collect/MsgUpdateParams",
|
|
@@ -66,16 +66,6 @@ export const AminoConverter = {
|
|
|
66
66
|
toAmino: MsgUpdateCollaboratorRole.toAmino,
|
|
67
67
|
fromAmino: MsgUpdateCollaboratorRole.fromAmino
|
|
68
68
|
},
|
|
69
|
-
"/sparkdream.collect.v1.MsgRegisterCurator": {
|
|
70
|
-
aminoType: "/sparkdream.collect.v1.MsgRegisterCurator",
|
|
71
|
-
toAmino: MsgRegisterCurator.toAmino,
|
|
72
|
-
fromAmino: MsgRegisterCurator.fromAmino
|
|
73
|
-
},
|
|
74
|
-
"/sparkdream.collect.v1.MsgUnregisterCurator": {
|
|
75
|
-
aminoType: "/sparkdream.collect.v1.MsgUnregisterCurator",
|
|
76
|
-
toAmino: MsgUnregisterCurator.toAmino,
|
|
77
|
-
fromAmino: MsgUnregisterCurator.fromAmino
|
|
78
|
-
},
|
|
79
69
|
"/sparkdream.collect.v1.MsgRateCollection": {
|
|
80
70
|
aminoType: "/sparkdream.collect.v1.MsgRateCollection",
|
|
81
71
|
toAmino: MsgRateCollection.toAmino,
|