@trustwallet/wallet-core 3.1.29 → 3.1.31
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.
@@ -1558,6 +1558,319 @@ export namespace TW {
|
|
1558
1558
|
public toJSON(): { [k: string]: any };
|
1559
1559
|
}
|
1560
1560
|
|
1561
|
+
/** Properties of a TortugaClaim. */
|
1562
|
+
interface ITortugaClaim {
|
1563
|
+
|
1564
|
+
/** TortugaClaim idx */
|
1565
|
+
idx?: (Long|null);
|
1566
|
+
}
|
1567
|
+
|
1568
|
+
/** Represents a TortugaClaim. */
|
1569
|
+
class TortugaClaim implements ITortugaClaim {
|
1570
|
+
|
1571
|
+
/**
|
1572
|
+
* Constructs a new TortugaClaim.
|
1573
|
+
* @param [properties] Properties to set
|
1574
|
+
*/
|
1575
|
+
constructor(properties?: TW.Aptos.Proto.ITortugaClaim);
|
1576
|
+
|
1577
|
+
/** TortugaClaim idx. */
|
1578
|
+
public idx: Long;
|
1579
|
+
|
1580
|
+
/**
|
1581
|
+
* Creates a new TortugaClaim instance using the specified properties.
|
1582
|
+
* @param [properties] Properties to set
|
1583
|
+
* @returns TortugaClaim instance
|
1584
|
+
*/
|
1585
|
+
public static create(properties?: TW.Aptos.Proto.ITortugaClaim): TW.Aptos.Proto.TortugaClaim;
|
1586
|
+
|
1587
|
+
/**
|
1588
|
+
* Encodes the specified TortugaClaim message. Does not implicitly {@link TW.Aptos.Proto.TortugaClaim.verify|verify} messages.
|
1589
|
+
* @param message TortugaClaim message or plain object to encode
|
1590
|
+
* @param [writer] Writer to encode to
|
1591
|
+
* @returns Writer
|
1592
|
+
*/
|
1593
|
+
public static encode(message: TW.Aptos.Proto.ITortugaClaim, writer?: $protobuf.Writer): $protobuf.Writer;
|
1594
|
+
|
1595
|
+
/**
|
1596
|
+
* Decodes a TortugaClaim message from the specified reader or buffer.
|
1597
|
+
* @param reader Reader or buffer to decode from
|
1598
|
+
* @param [length] Message length if known beforehand
|
1599
|
+
* @returns TortugaClaim
|
1600
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
1601
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
1602
|
+
*/
|
1603
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Aptos.Proto.TortugaClaim;
|
1604
|
+
|
1605
|
+
/**
|
1606
|
+
* Verifies a TortugaClaim message.
|
1607
|
+
* @param message Plain object to verify
|
1608
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
1609
|
+
*/
|
1610
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
1611
|
+
|
1612
|
+
/**
|
1613
|
+
* Creates a TortugaClaim message from a plain object. Also converts values to their respective internal types.
|
1614
|
+
* @param object Plain object
|
1615
|
+
* @returns TortugaClaim
|
1616
|
+
*/
|
1617
|
+
public static fromObject(object: { [k: string]: any }): TW.Aptos.Proto.TortugaClaim;
|
1618
|
+
|
1619
|
+
/**
|
1620
|
+
* Creates a plain object from a TortugaClaim message. Also converts values to other types if specified.
|
1621
|
+
* @param message TortugaClaim
|
1622
|
+
* @param [options] Conversion options
|
1623
|
+
* @returns Plain object
|
1624
|
+
*/
|
1625
|
+
public static toObject(message: TW.Aptos.Proto.TortugaClaim, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
1626
|
+
|
1627
|
+
/**
|
1628
|
+
* Converts this TortugaClaim to JSON.
|
1629
|
+
* @returns JSON object
|
1630
|
+
*/
|
1631
|
+
public toJSON(): { [k: string]: any };
|
1632
|
+
}
|
1633
|
+
|
1634
|
+
/** Properties of a TortugaStake. */
|
1635
|
+
interface ITortugaStake {
|
1636
|
+
|
1637
|
+
/** TortugaStake amount */
|
1638
|
+
amount?: (Long|null);
|
1639
|
+
}
|
1640
|
+
|
1641
|
+
/** Represents a TortugaStake. */
|
1642
|
+
class TortugaStake implements ITortugaStake {
|
1643
|
+
|
1644
|
+
/**
|
1645
|
+
* Constructs a new TortugaStake.
|
1646
|
+
* @param [properties] Properties to set
|
1647
|
+
*/
|
1648
|
+
constructor(properties?: TW.Aptos.Proto.ITortugaStake);
|
1649
|
+
|
1650
|
+
/** TortugaStake amount. */
|
1651
|
+
public amount: Long;
|
1652
|
+
|
1653
|
+
/**
|
1654
|
+
* Creates a new TortugaStake instance using the specified properties.
|
1655
|
+
* @param [properties] Properties to set
|
1656
|
+
* @returns TortugaStake instance
|
1657
|
+
*/
|
1658
|
+
public static create(properties?: TW.Aptos.Proto.ITortugaStake): TW.Aptos.Proto.TortugaStake;
|
1659
|
+
|
1660
|
+
/**
|
1661
|
+
* Encodes the specified TortugaStake message. Does not implicitly {@link TW.Aptos.Proto.TortugaStake.verify|verify} messages.
|
1662
|
+
* @param message TortugaStake message or plain object to encode
|
1663
|
+
* @param [writer] Writer to encode to
|
1664
|
+
* @returns Writer
|
1665
|
+
*/
|
1666
|
+
public static encode(message: TW.Aptos.Proto.ITortugaStake, writer?: $protobuf.Writer): $protobuf.Writer;
|
1667
|
+
|
1668
|
+
/**
|
1669
|
+
* Decodes a TortugaStake message from the specified reader or buffer.
|
1670
|
+
* @param reader Reader or buffer to decode from
|
1671
|
+
* @param [length] Message length if known beforehand
|
1672
|
+
* @returns TortugaStake
|
1673
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
1674
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
1675
|
+
*/
|
1676
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Aptos.Proto.TortugaStake;
|
1677
|
+
|
1678
|
+
/**
|
1679
|
+
* Verifies a TortugaStake message.
|
1680
|
+
* @param message Plain object to verify
|
1681
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
1682
|
+
*/
|
1683
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
1684
|
+
|
1685
|
+
/**
|
1686
|
+
* Creates a TortugaStake message from a plain object. Also converts values to their respective internal types.
|
1687
|
+
* @param object Plain object
|
1688
|
+
* @returns TortugaStake
|
1689
|
+
*/
|
1690
|
+
public static fromObject(object: { [k: string]: any }): TW.Aptos.Proto.TortugaStake;
|
1691
|
+
|
1692
|
+
/**
|
1693
|
+
* Creates a plain object from a TortugaStake message. Also converts values to other types if specified.
|
1694
|
+
* @param message TortugaStake
|
1695
|
+
* @param [options] Conversion options
|
1696
|
+
* @returns Plain object
|
1697
|
+
*/
|
1698
|
+
public static toObject(message: TW.Aptos.Proto.TortugaStake, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
1699
|
+
|
1700
|
+
/**
|
1701
|
+
* Converts this TortugaStake to JSON.
|
1702
|
+
* @returns JSON object
|
1703
|
+
*/
|
1704
|
+
public toJSON(): { [k: string]: any };
|
1705
|
+
}
|
1706
|
+
|
1707
|
+
/** Properties of a TortugaUnstake. */
|
1708
|
+
interface ITortugaUnstake {
|
1709
|
+
|
1710
|
+
/** TortugaUnstake amount */
|
1711
|
+
amount?: (Long|null);
|
1712
|
+
}
|
1713
|
+
|
1714
|
+
/** Represents a TortugaUnstake. */
|
1715
|
+
class TortugaUnstake implements ITortugaUnstake {
|
1716
|
+
|
1717
|
+
/**
|
1718
|
+
* Constructs a new TortugaUnstake.
|
1719
|
+
* @param [properties] Properties to set
|
1720
|
+
*/
|
1721
|
+
constructor(properties?: TW.Aptos.Proto.ITortugaUnstake);
|
1722
|
+
|
1723
|
+
/** TortugaUnstake amount. */
|
1724
|
+
public amount: Long;
|
1725
|
+
|
1726
|
+
/**
|
1727
|
+
* Creates a new TortugaUnstake instance using the specified properties.
|
1728
|
+
* @param [properties] Properties to set
|
1729
|
+
* @returns TortugaUnstake instance
|
1730
|
+
*/
|
1731
|
+
public static create(properties?: TW.Aptos.Proto.ITortugaUnstake): TW.Aptos.Proto.TortugaUnstake;
|
1732
|
+
|
1733
|
+
/**
|
1734
|
+
* Encodes the specified TortugaUnstake message. Does not implicitly {@link TW.Aptos.Proto.TortugaUnstake.verify|verify} messages.
|
1735
|
+
* @param message TortugaUnstake message or plain object to encode
|
1736
|
+
* @param [writer] Writer to encode to
|
1737
|
+
* @returns Writer
|
1738
|
+
*/
|
1739
|
+
public static encode(message: TW.Aptos.Proto.ITortugaUnstake, writer?: $protobuf.Writer): $protobuf.Writer;
|
1740
|
+
|
1741
|
+
/**
|
1742
|
+
* Decodes a TortugaUnstake message from the specified reader or buffer.
|
1743
|
+
* @param reader Reader or buffer to decode from
|
1744
|
+
* @param [length] Message length if known beforehand
|
1745
|
+
* @returns TortugaUnstake
|
1746
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
1747
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
1748
|
+
*/
|
1749
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Aptos.Proto.TortugaUnstake;
|
1750
|
+
|
1751
|
+
/**
|
1752
|
+
* Verifies a TortugaUnstake message.
|
1753
|
+
* @param message Plain object to verify
|
1754
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
1755
|
+
*/
|
1756
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
1757
|
+
|
1758
|
+
/**
|
1759
|
+
* Creates a TortugaUnstake message from a plain object. Also converts values to their respective internal types.
|
1760
|
+
* @param object Plain object
|
1761
|
+
* @returns TortugaUnstake
|
1762
|
+
*/
|
1763
|
+
public static fromObject(object: { [k: string]: any }): TW.Aptos.Proto.TortugaUnstake;
|
1764
|
+
|
1765
|
+
/**
|
1766
|
+
* Creates a plain object from a TortugaUnstake message. Also converts values to other types if specified.
|
1767
|
+
* @param message TortugaUnstake
|
1768
|
+
* @param [options] Conversion options
|
1769
|
+
* @returns Plain object
|
1770
|
+
*/
|
1771
|
+
public static toObject(message: TW.Aptos.Proto.TortugaUnstake, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
1772
|
+
|
1773
|
+
/**
|
1774
|
+
* Converts this TortugaUnstake to JSON.
|
1775
|
+
* @returns JSON object
|
1776
|
+
*/
|
1777
|
+
public toJSON(): { [k: string]: any };
|
1778
|
+
}
|
1779
|
+
|
1780
|
+
/** Properties of a LiquidStaking. */
|
1781
|
+
interface ILiquidStaking {
|
1782
|
+
|
1783
|
+
/** LiquidStaking smartContractAddress */
|
1784
|
+
smartContractAddress?: (string|null);
|
1785
|
+
|
1786
|
+
/** LiquidStaking stake */
|
1787
|
+
stake?: (TW.Aptos.Proto.ITortugaStake|null);
|
1788
|
+
|
1789
|
+
/** LiquidStaking unstake */
|
1790
|
+
unstake?: (TW.Aptos.Proto.ITortugaUnstake|null);
|
1791
|
+
|
1792
|
+
/** LiquidStaking claim */
|
1793
|
+
claim?: (TW.Aptos.Proto.ITortugaClaim|null);
|
1794
|
+
}
|
1795
|
+
|
1796
|
+
/** Represents a LiquidStaking. */
|
1797
|
+
class LiquidStaking implements ILiquidStaking {
|
1798
|
+
|
1799
|
+
/**
|
1800
|
+
* Constructs a new LiquidStaking.
|
1801
|
+
* @param [properties] Properties to set
|
1802
|
+
*/
|
1803
|
+
constructor(properties?: TW.Aptos.Proto.ILiquidStaking);
|
1804
|
+
|
1805
|
+
/** LiquidStaking smartContractAddress. */
|
1806
|
+
public smartContractAddress: string;
|
1807
|
+
|
1808
|
+
/** LiquidStaking stake. */
|
1809
|
+
public stake?: (TW.Aptos.Proto.ITortugaStake|null);
|
1810
|
+
|
1811
|
+
/** LiquidStaking unstake. */
|
1812
|
+
public unstake?: (TW.Aptos.Proto.ITortugaUnstake|null);
|
1813
|
+
|
1814
|
+
/** LiquidStaking claim. */
|
1815
|
+
public claim?: (TW.Aptos.Proto.ITortugaClaim|null);
|
1816
|
+
|
1817
|
+
/** LiquidStaking liquidStakeTransactionPayload. */
|
1818
|
+
public liquidStakeTransactionPayload?: ("stake"|"unstake"|"claim");
|
1819
|
+
|
1820
|
+
/**
|
1821
|
+
* Creates a new LiquidStaking instance using the specified properties.
|
1822
|
+
* @param [properties] Properties to set
|
1823
|
+
* @returns LiquidStaking instance
|
1824
|
+
*/
|
1825
|
+
public static create(properties?: TW.Aptos.Proto.ILiquidStaking): TW.Aptos.Proto.LiquidStaking;
|
1826
|
+
|
1827
|
+
/**
|
1828
|
+
* Encodes the specified LiquidStaking message. Does not implicitly {@link TW.Aptos.Proto.LiquidStaking.verify|verify} messages.
|
1829
|
+
* @param message LiquidStaking message or plain object to encode
|
1830
|
+
* @param [writer] Writer to encode to
|
1831
|
+
* @returns Writer
|
1832
|
+
*/
|
1833
|
+
public static encode(message: TW.Aptos.Proto.ILiquidStaking, writer?: $protobuf.Writer): $protobuf.Writer;
|
1834
|
+
|
1835
|
+
/**
|
1836
|
+
* Decodes a LiquidStaking message from the specified reader or buffer.
|
1837
|
+
* @param reader Reader or buffer to decode from
|
1838
|
+
* @param [length] Message length if known beforehand
|
1839
|
+
* @returns LiquidStaking
|
1840
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
1841
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
1842
|
+
*/
|
1843
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Aptos.Proto.LiquidStaking;
|
1844
|
+
|
1845
|
+
/**
|
1846
|
+
* Verifies a LiquidStaking message.
|
1847
|
+
* @param message Plain object to verify
|
1848
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
1849
|
+
*/
|
1850
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
1851
|
+
|
1852
|
+
/**
|
1853
|
+
* Creates a LiquidStaking message from a plain object. Also converts values to their respective internal types.
|
1854
|
+
* @param object Plain object
|
1855
|
+
* @returns LiquidStaking
|
1856
|
+
*/
|
1857
|
+
public static fromObject(object: { [k: string]: any }): TW.Aptos.Proto.LiquidStaking;
|
1858
|
+
|
1859
|
+
/**
|
1860
|
+
* Creates a plain object from a LiquidStaking message. Also converts values to other types if specified.
|
1861
|
+
* @param message LiquidStaking
|
1862
|
+
* @param [options] Conversion options
|
1863
|
+
* @returns Plain object
|
1864
|
+
*/
|
1865
|
+
public static toObject(message: TW.Aptos.Proto.LiquidStaking, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
1866
|
+
|
1867
|
+
/**
|
1868
|
+
* Converts this LiquidStaking to JSON.
|
1869
|
+
* @returns JSON object
|
1870
|
+
*/
|
1871
|
+
public toJSON(): { [k: string]: any };
|
1872
|
+
}
|
1873
|
+
|
1561
1874
|
/** Properties of a NftMessage. */
|
1562
1875
|
interface INftMessage {
|
1563
1876
|
|
@@ -1687,6 +2000,9 @@ export namespace TW {
|
|
1687
2000
|
|
1688
2001
|
/** SigningInput registerToken */
|
1689
2002
|
registerToken?: (TW.Aptos.Proto.IManagedTokensRegisterMessage|null);
|
2003
|
+
|
2004
|
+
/** SigningInput liquidStakingMessage */
|
2005
|
+
liquidStakingMessage?: (TW.Aptos.Proto.ILiquidStaking|null);
|
1690
2006
|
}
|
1691
2007
|
|
1692
2008
|
/** Represents a SigningInput. */
|
@@ -1737,8 +2053,11 @@ export namespace TW {
|
|
1737
2053
|
/** SigningInput registerToken. */
|
1738
2054
|
public registerToken?: (TW.Aptos.Proto.IManagedTokensRegisterMessage|null);
|
1739
2055
|
|
2056
|
+
/** SigningInput liquidStakingMessage. */
|
2057
|
+
public liquidStakingMessage?: (TW.Aptos.Proto.ILiquidStaking|null);
|
2058
|
+
|
1740
2059
|
/** SigningInput transactionPayload. */
|
1741
|
-
public transactionPayload?: ("transfer"|"tokenTransfer"|"createAccount"|"nftMessage"|"registerToken");
|
2060
|
+
public transactionPayload?: ("transfer"|"tokenTransfer"|"createAccount"|"nftMessage"|"registerToken"|"liquidStakingMessage");
|
1742
2061
|
|
1743
2062
|
/**
|
1744
2063
|
* Creates a new SigningInput instance using the specified properties.
|
@@ -6917,6 +7236,12 @@ export namespace TW {
|
|
6917
7236
|
|
6918
7237
|
/** Message msgVote */
|
6919
7238
|
msgVote?: (TW.Cosmos.Proto.Message.IMsgVote|null);
|
7239
|
+
|
7240
|
+
/** Message msgStrideLiquidStakingStake */
|
7241
|
+
msgStrideLiquidStakingStake?: (TW.Cosmos.Proto.Message.IMsgStrideLiquidStakingStake|null);
|
7242
|
+
|
7243
|
+
/** Message msgStrideLiquidStakingRedeem */
|
7244
|
+
msgStrideLiquidStakingRedeem?: (TW.Cosmos.Proto.Message.IMsgStrideLiquidStakingRedeem|null);
|
6920
7245
|
}
|
6921
7246
|
|
6922
7247
|
/** Represents a Message. */
|
@@ -6982,8 +7307,14 @@ export namespace TW {
|
|
6982
7307
|
/** Message msgVote. */
|
6983
7308
|
public msgVote?: (TW.Cosmos.Proto.Message.IMsgVote|null);
|
6984
7309
|
|
7310
|
+
/** Message msgStrideLiquidStakingStake. */
|
7311
|
+
public msgStrideLiquidStakingStake?: (TW.Cosmos.Proto.Message.IMsgStrideLiquidStakingStake|null);
|
7312
|
+
|
7313
|
+
/** Message msgStrideLiquidStakingRedeem. */
|
7314
|
+
public msgStrideLiquidStakingRedeem?: (TW.Cosmos.Proto.Message.IMsgStrideLiquidStakingRedeem|null);
|
7315
|
+
|
6985
7316
|
/** Message messageOneof. */
|
6986
|
-
public messageOneof?: ("sendCoinsMessage"|"transferTokensMessage"|"stakeMessage"|"unstakeMessage"|"restakeMessage"|"withdrawStakeRewardMessage"|"rawJsonMessage"|"wasmTerraExecuteContractTransferMessage"|"wasmTerraExecuteContractSendMessage"|"thorchainSendMessage"|"wasmTerraExecuteContractGeneric"|"wasmExecuteContractTransferMessage"|"wasmExecuteContractSendMessage"|"wasmExecuteContractGeneric"|"signDirectMessage"|"authGrant"|"authRevoke"|"msgVote");
|
7317
|
+
public messageOneof?: ("sendCoinsMessage"|"transferTokensMessage"|"stakeMessage"|"unstakeMessage"|"restakeMessage"|"withdrawStakeRewardMessage"|"rawJsonMessage"|"wasmTerraExecuteContractTransferMessage"|"wasmTerraExecuteContractSendMessage"|"thorchainSendMessage"|"wasmTerraExecuteContractGeneric"|"wasmExecuteContractTransferMessage"|"wasmExecuteContractSendMessage"|"wasmExecuteContractGeneric"|"signDirectMessage"|"authGrant"|"authRevoke"|"msgVote"|"msgStrideLiquidStakingStake"|"msgStrideLiquidStakingRedeem");
|
6987
7318
|
|
6988
7319
|
/**
|
6989
7320
|
* Creates a new Message instance using the specified properties.
|
@@ -8868,6 +9199,182 @@ export namespace TW {
|
|
8868
9199
|
*/
|
8869
9200
|
public toJSON(): { [k: string]: any };
|
8870
9201
|
}
|
9202
|
+
|
9203
|
+
/** Properties of a MsgStrideLiquidStakingStake. */
|
9204
|
+
interface IMsgStrideLiquidStakingStake {
|
9205
|
+
|
9206
|
+
/** MsgStrideLiquidStakingStake creator */
|
9207
|
+
creator?: (string|null);
|
9208
|
+
|
9209
|
+
/** MsgStrideLiquidStakingStake amount */
|
9210
|
+
amount?: (string|null);
|
9211
|
+
|
9212
|
+
/** MsgStrideLiquidStakingStake hostDenom */
|
9213
|
+
hostDenom?: (string|null);
|
9214
|
+
}
|
9215
|
+
|
9216
|
+
/** Represents a MsgStrideLiquidStakingStake. */
|
9217
|
+
class MsgStrideLiquidStakingStake implements IMsgStrideLiquidStakingStake {
|
9218
|
+
|
9219
|
+
/**
|
9220
|
+
* Constructs a new MsgStrideLiquidStakingStake.
|
9221
|
+
* @param [properties] Properties to set
|
9222
|
+
*/
|
9223
|
+
constructor(properties?: TW.Cosmos.Proto.Message.IMsgStrideLiquidStakingStake);
|
9224
|
+
|
9225
|
+
/** MsgStrideLiquidStakingStake creator. */
|
9226
|
+
public creator: string;
|
9227
|
+
|
9228
|
+
/** MsgStrideLiquidStakingStake amount. */
|
9229
|
+
public amount: string;
|
9230
|
+
|
9231
|
+
/** MsgStrideLiquidStakingStake hostDenom. */
|
9232
|
+
public hostDenom: string;
|
9233
|
+
|
9234
|
+
/**
|
9235
|
+
* Creates a new MsgStrideLiquidStakingStake instance using the specified properties.
|
9236
|
+
* @param [properties] Properties to set
|
9237
|
+
* @returns MsgStrideLiquidStakingStake instance
|
9238
|
+
*/
|
9239
|
+
public static create(properties?: TW.Cosmos.Proto.Message.IMsgStrideLiquidStakingStake): TW.Cosmos.Proto.Message.MsgStrideLiquidStakingStake;
|
9240
|
+
|
9241
|
+
/**
|
9242
|
+
* Encodes the specified MsgStrideLiquidStakingStake message. Does not implicitly {@link TW.Cosmos.Proto.Message.MsgStrideLiquidStakingStake.verify|verify} messages.
|
9243
|
+
* @param message MsgStrideLiquidStakingStake message or plain object to encode
|
9244
|
+
* @param [writer] Writer to encode to
|
9245
|
+
* @returns Writer
|
9246
|
+
*/
|
9247
|
+
public static encode(message: TW.Cosmos.Proto.Message.IMsgStrideLiquidStakingStake, writer?: $protobuf.Writer): $protobuf.Writer;
|
9248
|
+
|
9249
|
+
/**
|
9250
|
+
* Decodes a MsgStrideLiquidStakingStake message from the specified reader or buffer.
|
9251
|
+
* @param reader Reader or buffer to decode from
|
9252
|
+
* @param [length] Message length if known beforehand
|
9253
|
+
* @returns MsgStrideLiquidStakingStake
|
9254
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
9255
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
9256
|
+
*/
|
9257
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Cosmos.Proto.Message.MsgStrideLiquidStakingStake;
|
9258
|
+
|
9259
|
+
/**
|
9260
|
+
* Verifies a MsgStrideLiquidStakingStake message.
|
9261
|
+
* @param message Plain object to verify
|
9262
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
9263
|
+
*/
|
9264
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
9265
|
+
|
9266
|
+
/**
|
9267
|
+
* Creates a MsgStrideLiquidStakingStake message from a plain object. Also converts values to their respective internal types.
|
9268
|
+
* @param object Plain object
|
9269
|
+
* @returns MsgStrideLiquidStakingStake
|
9270
|
+
*/
|
9271
|
+
public static fromObject(object: { [k: string]: any }): TW.Cosmos.Proto.Message.MsgStrideLiquidStakingStake;
|
9272
|
+
|
9273
|
+
/**
|
9274
|
+
* Creates a plain object from a MsgStrideLiquidStakingStake message. Also converts values to other types if specified.
|
9275
|
+
* @param message MsgStrideLiquidStakingStake
|
9276
|
+
* @param [options] Conversion options
|
9277
|
+
* @returns Plain object
|
9278
|
+
*/
|
9279
|
+
public static toObject(message: TW.Cosmos.Proto.Message.MsgStrideLiquidStakingStake, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
9280
|
+
|
9281
|
+
/**
|
9282
|
+
* Converts this MsgStrideLiquidStakingStake to JSON.
|
9283
|
+
* @returns JSON object
|
9284
|
+
*/
|
9285
|
+
public toJSON(): { [k: string]: any };
|
9286
|
+
}
|
9287
|
+
|
9288
|
+
/** Properties of a MsgStrideLiquidStakingRedeem. */
|
9289
|
+
interface IMsgStrideLiquidStakingRedeem {
|
9290
|
+
|
9291
|
+
/** MsgStrideLiquidStakingRedeem creator */
|
9292
|
+
creator?: (string|null);
|
9293
|
+
|
9294
|
+
/** MsgStrideLiquidStakingRedeem amount */
|
9295
|
+
amount?: (string|null);
|
9296
|
+
|
9297
|
+
/** MsgStrideLiquidStakingRedeem hostZone */
|
9298
|
+
hostZone?: (string|null);
|
9299
|
+
|
9300
|
+
/** MsgStrideLiquidStakingRedeem receiver */
|
9301
|
+
receiver?: (string|null);
|
9302
|
+
}
|
9303
|
+
|
9304
|
+
/** Represents a MsgStrideLiquidStakingRedeem. */
|
9305
|
+
class MsgStrideLiquidStakingRedeem implements IMsgStrideLiquidStakingRedeem {
|
9306
|
+
|
9307
|
+
/**
|
9308
|
+
* Constructs a new MsgStrideLiquidStakingRedeem.
|
9309
|
+
* @param [properties] Properties to set
|
9310
|
+
*/
|
9311
|
+
constructor(properties?: TW.Cosmos.Proto.Message.IMsgStrideLiquidStakingRedeem);
|
9312
|
+
|
9313
|
+
/** MsgStrideLiquidStakingRedeem creator. */
|
9314
|
+
public creator: string;
|
9315
|
+
|
9316
|
+
/** MsgStrideLiquidStakingRedeem amount. */
|
9317
|
+
public amount: string;
|
9318
|
+
|
9319
|
+
/** MsgStrideLiquidStakingRedeem hostZone. */
|
9320
|
+
public hostZone: string;
|
9321
|
+
|
9322
|
+
/** MsgStrideLiquidStakingRedeem receiver. */
|
9323
|
+
public receiver: string;
|
9324
|
+
|
9325
|
+
/**
|
9326
|
+
* Creates a new MsgStrideLiquidStakingRedeem instance using the specified properties.
|
9327
|
+
* @param [properties] Properties to set
|
9328
|
+
* @returns MsgStrideLiquidStakingRedeem instance
|
9329
|
+
*/
|
9330
|
+
public static create(properties?: TW.Cosmos.Proto.Message.IMsgStrideLiquidStakingRedeem): TW.Cosmos.Proto.Message.MsgStrideLiquidStakingRedeem;
|
9331
|
+
|
9332
|
+
/**
|
9333
|
+
* Encodes the specified MsgStrideLiquidStakingRedeem message. Does not implicitly {@link TW.Cosmos.Proto.Message.MsgStrideLiquidStakingRedeem.verify|verify} messages.
|
9334
|
+
* @param message MsgStrideLiquidStakingRedeem message or plain object to encode
|
9335
|
+
* @param [writer] Writer to encode to
|
9336
|
+
* @returns Writer
|
9337
|
+
*/
|
9338
|
+
public static encode(message: TW.Cosmos.Proto.Message.IMsgStrideLiquidStakingRedeem, writer?: $protobuf.Writer): $protobuf.Writer;
|
9339
|
+
|
9340
|
+
/**
|
9341
|
+
* Decodes a MsgStrideLiquidStakingRedeem message from the specified reader or buffer.
|
9342
|
+
* @param reader Reader or buffer to decode from
|
9343
|
+
* @param [length] Message length if known beforehand
|
9344
|
+
* @returns MsgStrideLiquidStakingRedeem
|
9345
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
9346
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
9347
|
+
*/
|
9348
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Cosmos.Proto.Message.MsgStrideLiquidStakingRedeem;
|
9349
|
+
|
9350
|
+
/**
|
9351
|
+
* Verifies a MsgStrideLiquidStakingRedeem message.
|
9352
|
+
* @param message Plain object to verify
|
9353
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
9354
|
+
*/
|
9355
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
9356
|
+
|
9357
|
+
/**
|
9358
|
+
* Creates a MsgStrideLiquidStakingRedeem message from a plain object. Also converts values to their respective internal types.
|
9359
|
+
* @param object Plain object
|
9360
|
+
* @returns MsgStrideLiquidStakingRedeem
|
9361
|
+
*/
|
9362
|
+
public static fromObject(object: { [k: string]: any }): TW.Cosmos.Proto.Message.MsgStrideLiquidStakingRedeem;
|
9363
|
+
|
9364
|
+
/**
|
9365
|
+
* Creates a plain object from a MsgStrideLiquidStakingRedeem message. Also converts values to other types if specified.
|
9366
|
+
* @param message MsgStrideLiquidStakingRedeem
|
9367
|
+
* @param [options] Conversion options
|
9368
|
+
* @returns Plain object
|
9369
|
+
*/
|
9370
|
+
public static toObject(message: TW.Cosmos.Proto.Message.MsgStrideLiquidStakingRedeem, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
9371
|
+
|
9372
|
+
/**
|
9373
|
+
* Converts this MsgStrideLiquidStakingRedeem to JSON.
|
9374
|
+
* @returns JSON object
|
9375
|
+
*/
|
9376
|
+
public toJSON(): { [k: string]: any };
|
9377
|
+
}
|
8871
9378
|
}
|
8872
9379
|
|
8873
9380
|
/** SigningMode enum. */
|
@@ -15655,7 +16162,8 @@ export namespace TW {
|
|
15655
16162
|
enum Coin {
|
15656
16163
|
MATIC = 0,
|
15657
16164
|
ATOM = 1,
|
15658
|
-
BNB = 2
|
16165
|
+
BNB = 2,
|
16166
|
+
APT = 3
|
15659
16167
|
}
|
15660
16168
|
|
15661
16169
|
/** Blockchain enum. */
|
@@ -15663,13 +16171,15 @@ export namespace TW {
|
|
15663
16171
|
ETHEREUM = 0,
|
15664
16172
|
POLYGON = 1,
|
15665
16173
|
STRIDE = 2,
|
15666
|
-
BNB_BSC = 3
|
16174
|
+
BNB_BSC = 3,
|
16175
|
+
APTOS = 4
|
15667
16176
|
}
|
15668
16177
|
|
15669
16178
|
/** Protocol enum. */
|
15670
16179
|
enum Protocol {
|
15671
16180
|
Strader = 0,
|
15672
|
-
Stride = 1
|
16181
|
+
Stride = 1,
|
16182
|
+
Tortuga = 2
|
15673
16183
|
}
|
15674
16184
|
|
15675
16185
|
/** StatusCode enum. */
|
@@ -15938,6 +16448,12 @@ export namespace TW {
|
|
15938
16448
|
|
15939
16449
|
/** Unstake amount */
|
15940
16450
|
amount?: (string|null);
|
16451
|
+
|
16452
|
+
/** Unstake receiverAddress */
|
16453
|
+
receiverAddress?: (string|null);
|
16454
|
+
|
16455
|
+
/** Unstake receiverChainId */
|
16456
|
+
receiverChainId?: (string|null);
|
15941
16457
|
}
|
15942
16458
|
|
15943
16459
|
/** Represents an Unstake. */
|
@@ -15955,6 +16471,12 @@ export namespace TW {
|
|
15955
16471
|
/** Unstake amount. */
|
15956
16472
|
public amount: string;
|
15957
16473
|
|
16474
|
+
/** Unstake receiverAddress. */
|
16475
|
+
public receiverAddress: string;
|
16476
|
+
|
16477
|
+
/** Unstake receiverChainId. */
|
16478
|
+
public receiverChainId: string;
|
16479
|
+
|
15958
16480
|
/**
|
15959
16481
|
* Creates a new Unstake instance using the specified properties.
|
15960
16482
|
* @param [properties] Properties to set
|
@@ -16211,6 +16733,9 @@ export namespace TW {
|
|
16211
16733
|
|
16212
16734
|
/** Output cosmos */
|
16213
16735
|
cosmos?: (TW.Cosmos.Proto.ISigningInput|null);
|
16736
|
+
|
16737
|
+
/** Output aptos */
|
16738
|
+
aptos?: (TW.Aptos.Proto.ISigningInput|null);
|
16214
16739
|
}
|
16215
16740
|
|
16216
16741
|
/** Represents an Output. */
|
@@ -16231,8 +16756,11 @@ export namespace TW {
|
|
16231
16756
|
/** Output cosmos. */
|
16232
16757
|
public cosmos?: (TW.Cosmos.Proto.ISigningInput|null);
|
16233
16758
|
|
16759
|
+
/** Output aptos. */
|
16760
|
+
public aptos?: (TW.Aptos.Proto.ISigningInput|null);
|
16761
|
+
|
16234
16762
|
/** Output signingInputOneof. */
|
16235
|
-
public signingInputOneof?: ("ethereum"|"cosmos");
|
16763
|
+
public signingInputOneof?: ("ethereum"|"cosmos"|"aptos");
|
16236
16764
|
|
16237
16765
|
/**
|
16238
16766
|
* Creates a new Output instance using the specified properties.
|